package com.rmn.testrail.entity;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;

/**
 * @author Colin McCormack
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class TestRunCreator extends BaseEntity {

    @JsonProperty("name")
    private String name;
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }

    @JsonProperty("description")
    private String description;
    public String getDescription() { return description; }
    public void setDescription(String description) { this.description = description; }

    @JsonProperty("suite_id")
    private Integer suiteId;
    public Integer getSuiteId() { return suiteId; }
    public void setSuiteId(Integer suiteId) { this.suiteId = suiteId; }

    @JsonProperty("milestone_id")
    private Integer milestoneId;
    public Integer getMilestoneId() { return milestoneId; }
    public void setMilestoneId(Integer milestoneId) { this.milestoneId = milestoneId; }

    @JsonProperty("include_all")
    private Boolean includeAll;
    public Boolean isIncludeAll() { return includeAll; }
    public void setIncludeAll(Boolean includeAll) { this.includeAll = includeAll; }

}

@@ -1278,11 +1278,434 @@
 l; %7D%0D%0A%0D%0A
+    @JsonProperty(%22assignedto_id%22)%0D%0A    private Integer assignedToId;%0D%0A    public Integer getAssignedToId() %7B return assignedToId; %7D%0D%0A    public void setAssignedToId(Integer milestoneId) %7B this.assignedToId = assignedToId; %7D%0D%0A%0D%0A    @JsonProperty(%22case_ids%22)%0D%0A    private Integer%5B%5D caseIds;%0D%0A    public Integer%5B%5D getCaseIds() %7B return caseIds; %7D%0D%0A    public void setCaseIds(Integer milestoneId) %7B this.caseIds = caseIds; %7D%0D%0A
 %7D%0D%0A

add new fields to TestRunCreator