package br.com.centralit.citsmart.rest.v3.schema;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;

import br.com.centralit.citsmart.rest.schema.CtMessage;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CtErrorGetList")
public class CtErrorGetList extends CtMessage {

    @XmlSchemaType(name = "dateTime")
    @XmlElement(name = "StartDate", required = false, nillable = true)
    protected Calendar startDate;
    
    @XmlSchemaType(name = "dateTime")
    @XmlElement(name = "EndDate", required = false, nillable = true)
    protected Calendar endDate;
    
    @XmlElement(name = "OperationList", required = false, nillable=true)
    protected List<String> operationList;
    
	public List<String> getOperationList() {
        if (operationList == null) {
        	operationList = new ArrayList<String>();
        }
		return operationList;
	}

	public Calendar getStartDate() {
		return startDate;
	}

	public void setStartDate(Calendar startDate) {
		this.startDate = startDate;
	}

	public Calendar getEndDate() {
		return endDate;
	}

	public void setEndDate(Calendar endDate) {
		this.endDate = endDate;
	}

	public void setOperationList(List<String> operationList) {
		this.operationList = operationList;
	}

    
    
}
