import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class PostInspectionReportResponse
{
public InspectionReport Result = null;
public ResponseStatus ResponseStatus = null;
public InspectionReport getResult() { return Result; }
public PostInspectionReportResponse setResult(InspectionReport value) { this.Result = value; return this; }
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public PostInspectionReportResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
}
public static class InspectionReport
{
public UUID AgentUID = null;
public UUID ContactUID = null;
public UUID InspectionReportUID = null;
public String TradeName = null;
public String BusinessPhone = null;
public String StreetAddress = null;
public String ZipCode = null;
public String OwnersName = null;
public Short ComplianceStatus = null;
public Boolean IsBusinessClassABeer = null;
public Boolean IsBusinessClassBBeer = null;
public Boolean IsBusinessClassALiquor = null;
public Boolean IsBusinessClassBLiquor = null;
public Boolean IsBusinessClassD = null;
public Boolean IsBusinessClassM = null;
public Boolean IsBusinessClassP = null;
public Boolean IsBusinessClassR = null;
public Boolean IsBusinessClassRAH = null;
public String ClassBeerAccountNum = null;
public String ClassBeerStateNum = null;
public String ClassLiquorAccountNum = null;
public String ClassLiquorStateNum = null;
public ArrayList<Employee> LicensedEmployees = new ArrayList<Employee>();
public String AgentName = null;
public Object ManagerSignature = null;
public String ManagerName = null;
public String ManagerPhone = null;
public Date InspectionDate = null;
public UUID getAgentUID() { return AgentUID; }
public InspectionReport setAgentUID(UUID value) { this.AgentUID = value; return this; }
public UUID getContactUID() { return ContactUID; }
public InspectionReport setContactUID(UUID value) { this.ContactUID = value; return this; }
public UUID getInspectionReportUID() { return InspectionReportUID; }
public InspectionReport setInspectionReportUID(UUID value) { this.InspectionReportUID = value; return this; }
public String getTradeName() { return TradeName; }
public InspectionReport setTradeName(String value) { this.TradeName = value; return this; }
public String getBusinessPhone() { return BusinessPhone; }
public InspectionReport setBusinessPhone(String value) { this.BusinessPhone = value; return this; }
public String getStreetAddress() { return StreetAddress; }
public InspectionReport setStreetAddress(String value) { this.StreetAddress = value; return this; }
public String getZipCode() { return ZipCode; }
public InspectionReport setZipCode(String value) { this.ZipCode = value; return this; }
public String getOwnersName() { return OwnersName; }
public InspectionReport setOwnersName(String value) { this.OwnersName = value; return this; }
public Short getComplianceStatus() { return ComplianceStatus; }
public InspectionReport setComplianceStatus(Short value) { this.ComplianceStatus = value; return this; }
public Boolean getIsBusinessClassABeer() { return IsBusinessClassABeer; }
public InspectionReport setIsBusinessClassABeer(Boolean value) { this.IsBusinessClassABeer = value; return this; }
public Boolean getIsBusinessClassBBeer() { return IsBusinessClassBBeer; }
public InspectionReport setIsBusinessClassBBeer(Boolean value) { this.IsBusinessClassBBeer = value; return this; }
public Boolean getIsBusinessClassALiquor() { return IsBusinessClassALiquor; }
public InspectionReport setIsBusinessClassALiquor(Boolean value) { this.IsBusinessClassALiquor = value; return this; }
public Boolean getIsBusinessClassBLiquor() { return IsBusinessClassBLiquor; }
public InspectionReport setIsBusinessClassBLiquor(Boolean value) { this.IsBusinessClassBLiquor = value; return this; }
public Boolean getIsBusinessClassD() { return IsBusinessClassD; }
public InspectionReport setIsBusinessClassD(Boolean value) { this.IsBusinessClassD = value; return this; }
public Boolean getIsBusinessClassM() { return IsBusinessClassM; }
public InspectionReport setIsBusinessClassM(Boolean value) { this.IsBusinessClassM = value; return this; }
public Boolean getIsBusinessClassP() { return IsBusinessClassP; }
public InspectionReport setIsBusinessClassP(Boolean value) { this.IsBusinessClassP = value; return this; }
public Boolean getIsBusinessClassR() { return IsBusinessClassR; }
public InspectionReport setIsBusinessClassR(Boolean value) { this.IsBusinessClassR = value; return this; }
public Boolean getIsBusinessClassRAH() { return IsBusinessClassRAH; }
public InspectionReport setIsBusinessClassRAH(Boolean value) { this.IsBusinessClassRAH = value; return this; }
public String getClassBeerAccountNum() { return ClassBeerAccountNum; }
public InspectionReport setClassBeerAccountNum(String value) { this.ClassBeerAccountNum = value; return this; }
public String getClassBeerStateNum() { return ClassBeerStateNum; }
public InspectionReport setClassBeerStateNum(String value) { this.ClassBeerStateNum = value; return this; }
public String getClassLiquorAccountNum() { return ClassLiquorAccountNum; }
public InspectionReport setClassLiquorAccountNum(String value) { this.ClassLiquorAccountNum = value; return this; }
public String getClassLiquorStateNum() { return ClassLiquorStateNum; }
public InspectionReport setClassLiquorStateNum(String value) { this.ClassLiquorStateNum = value; return this; }
public ArrayList<Employee> getLicensedEmployees() { return LicensedEmployees; }
public InspectionReport setLicensedEmployees(ArrayList<Employee> value) { this.LicensedEmployees = value; return this; }
public String getAgentName() { return AgentName; }
public InspectionReport setAgentName(String value) { this.AgentName = value; return this; }
public Object getManagerSignature() { return ManagerSignature; }
public InspectionReport setManagerSignature(Object value) { this.ManagerSignature = value; return this; }
public String getManagerName() { return ManagerName; }
public InspectionReport setManagerName(String value) { this.ManagerName = value; return this; }
public String getManagerPhone() { return ManagerPhone; }
public InspectionReport setManagerPhone(String value) { this.ManagerPhone = value; return this; }
public Date getInspectionDate() { return InspectionDate; }
public InspectionReport setInspectionDate(Date value) { this.InspectionDate = value; return this; }
}
public static class Employee
{
public String FirstName = null;
public String MiddleName = null;
public String LastName = null;
public String getFirstName() { return FirstName; }
public Employee setFirstName(String value) { this.FirstName = value; return this; }
public String getMiddleName() { return MiddleName; }
public Employee setMiddleName(String value) { this.MiddleName = value; return this; }
public String getLastName() { return LastName; }
public Employee setLastName(String value) { this.LastName = value; return this; }
}
}
Java PostInspectionReportResponse DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/oneway/PostInspectionReportResponse HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Result":{"AgentUID":"00000000000000000000000000000000","ContactUID":"00000000000000000000000000000000","InspectionReportUID":"00000000000000000000000000000000","TradeName":"String","BusinessPhone":"String","StreetAddress":"String","ZipCode":"String","OwnersName":"String","ComplianceStatus":0,"IsBusinessClassABeer":false,"IsBusinessClassBBeer":false,"IsBusinessClassALiquor":false,"IsBusinessClassBLiquor":false,"IsBusinessClassD":false,"IsBusinessClassM":false,"IsBusinessClassP":false,"IsBusinessClassR":false,"IsBusinessClassRAH":false,"ClassBeerAccountNum":"String","ClassBeerStateNum":"String","ClassLiquorAccountNum":"String","ClassLiquorStateNum":"String","LicensedEmployees":[{"FirstName":"String","MiddleName":"String","LastName":"String"}],"AgentName":"String","ManagerSignature":{},"ManagerName":"String","ManagerPhone":"String","InspectionDate":"0001-01-01T00:00:00.0000000"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}