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

import java.util.ArrayList;
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.XmlType;

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

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CtOccurrenceGetList")
public class CtOccurrenceGetList extends CtMessage {
	
    @XmlElement(name = "RequestNumber", required = false, nillable = true)
    protected String requestNumber;
    
    @XmlElement(name = "RequestNumberOrigin", required = false, nillable = true)
    protected String requestNumberOrigin;
    
    @XmlElement(name = "CategoryList", required = false, nillable=true)
    protected List<String> categoryList;

    @XmlElement(name = "RequestGetList", required = false, nillable = true)
    protected CtRequestGetList requestGetList;

	public String getRequestNumber() {
		return requestNumber;
	}

	public void setRequestNumber(String requestNumber) {
		this.requestNumber = requestNumber;
	}

	public String getRequestNumberOrigin() {
		return requestNumberOrigin;
	}

	public void setRequestNumberOrigin(String requestNumberOrigin) {
		this.requestNumberOrigin = requestNumberOrigin;
	}

	public CtRequestGetList getRequestGetList() {
		return requestGetList;
	}

	public void setRequestGetList(CtRequestGetList requestGetList) {
		this.requestGetList = requestGetList;
	}

	public List<String> getCategoryList() {
        if (categoryList == null) {
        	categoryList = new ArrayList<String>();
        }
		return categoryList;
	}

	public void setCategoryList(List<String> categoryList) {
		this.categoryList = categoryList;
	}
    
    
}
