/* Options: Date: 2026-06-13 03:45:43 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ProjectLocationSetPrimaryRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/v1/projectlocation/setprimary", Verbs="POST") public static class ProjectLocationSetPrimaryRequest implements IReturn { public Integer ProjectID = null; public Integer ProjectLocationID = null; public Integer getProjectID() { return ProjectID; } public ProjectLocationSetPrimaryRequest setProjectID(Integer value) { this.ProjectID = value; return this; } public Integer getProjectLocationID() { return ProjectLocationID; } public ProjectLocationSetPrimaryRequest setProjectLocationID(Integer value) { this.ProjectLocationID = value; return this; } private static Object responseType = ProjectLocationResponse.class; public Object getResponseType() { return responseType; } } public static class ProjectLocationResponse { public ArrayList Locations = new ArrayList(); public ArrayList Areas = new ArrayList(); public ArrayList Equipment = new ArrayList(); public ArrayList SiteDetails = new ArrayList(); public ArrayList Attachments = new ArrayList(); public ProjectLocationSiteDetail SiteDetail = null; public ResponseStatus ResponseStatus = null; public ArrayList getLocations() { return Locations; } public ProjectLocationResponse setLocations(ArrayList value) { this.Locations = value; return this; } public ArrayList getAreas() { return Areas; } public ProjectLocationResponse setAreas(ArrayList value) { this.Areas = value; return this; } public ArrayList getEquipment() { return Equipment; } public ProjectLocationResponse setEquipment(ArrayList value) { this.Equipment = value; return this; } public ArrayList getSiteDetails() { return SiteDetails; } public ProjectLocationResponse setSiteDetails(ArrayList value) { this.SiteDetails = value; return this; } public ArrayList getAttachments() { return Attachments; } public ProjectLocationResponse setAttachments(ArrayList value) { this.Attachments = value; return this; } public ProjectLocationSiteDetail getSiteDetail() { return SiteDetail; } public ProjectLocationResponse setSiteDetail(ProjectLocationSiteDetail value) { this.SiteDetail = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public ProjectLocationResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class ProjectLocation { public Integer ProjectLocationID = null; public Integer ProjectID = null; public String Name = null; public String Address1 = null; public String Address2 = null; public String City = null; public String State = null; public String Zip = null; public BigDecimal Latitude = null; public BigDecimal Longitude = null; public BigDecimal TotalArea = null; public String AreaUnit = null; public String AccessInstructions = null; public Boolean IsPrimary = null; public Integer DisplayOrder = null; public Boolean Active = null; public String CreatedBy = null; public Date CreatedAt = null; public Date UpdatedAt = null; public ArrayList Areas = new ArrayList(); public ArrayList Equipment = new ArrayList(); public ArrayList SiteDetails = new ArrayList(); public ArrayList Attachments = new ArrayList(); public Integer getProjectLocationID() { return ProjectLocationID; } public ProjectLocation setProjectLocationID(Integer value) { this.ProjectLocationID = value; return this; } public Integer getProjectID() { return ProjectID; } public ProjectLocation setProjectID(Integer value) { this.ProjectID = value; return this; } public String getName() { return Name; } public ProjectLocation setName(String value) { this.Name = value; return this; } public String getAddress1() { return Address1; } public ProjectLocation setAddress1(String value) { this.Address1 = value; return this; } public String getAddress2() { return Address2; } public ProjectLocation setAddress2(String value) { this.Address2 = value; return this; } public String getCity() { return City; } public ProjectLocation setCity(String value) { this.City = value; return this; } public String getState() { return State; } public ProjectLocation setState(String value) { this.State = value; return this; } public String getZip() { return Zip; } public ProjectLocation setZip(String value) { this.Zip = value; return this; } public BigDecimal getLatitude() { return Latitude; } public ProjectLocation setLatitude(BigDecimal value) { this.Latitude = value; return this; } public BigDecimal getLongitude() { return Longitude; } public ProjectLocation setLongitude(BigDecimal value) { this.Longitude = value; return this; } public BigDecimal getTotalArea() { return TotalArea; } public ProjectLocation setTotalArea(BigDecimal value) { this.TotalArea = value; return this; } public String getAreaUnit() { return AreaUnit; } public ProjectLocation setAreaUnit(String value) { this.AreaUnit = value; return this; } public String getAccessInstructions() { return AccessInstructions; } public ProjectLocation setAccessInstructions(String value) { this.AccessInstructions = value; return this; } public Boolean getIsPrimary() { return IsPrimary; } public ProjectLocation setIsPrimary(Boolean value) { this.IsPrimary = value; return this; } public Integer getDisplayOrder() { return DisplayOrder; } public ProjectLocation setDisplayOrder(Integer value) { this.DisplayOrder = value; return this; } public Boolean isActive() { return Active; } public ProjectLocation setActive(Boolean value) { this.Active = value; return this; } public String getCreatedBy() { return CreatedBy; } public ProjectLocation setCreatedBy(String value) { this.CreatedBy = value; return this; } public Date getCreatedAt() { return CreatedAt; } public ProjectLocation setCreatedAt(Date value) { this.CreatedAt = value; return this; } public Date getUpdatedAt() { return UpdatedAt; } public ProjectLocation setUpdatedAt(Date value) { this.UpdatedAt = value; return this; } public ArrayList getAreas() { return Areas; } public ProjectLocation setAreas(ArrayList value) { this.Areas = value; return this; } public ArrayList getEquipment() { return Equipment; } public ProjectLocation setEquipment(ArrayList value) { this.Equipment = value; return this; } public ArrayList getSiteDetails() { return SiteDetails; } public ProjectLocation setSiteDetails(ArrayList value) { this.SiteDetails = value; return this; } public ArrayList getAttachments() { return Attachments; } public ProjectLocation setAttachments(ArrayList value) { this.Attachments = value; return this; } } public static class ProjectLocationArea { public Integer ProjectLocationAreaID = null; public Integer ProjectLocationID = null; public String Name = null; public BigDecimal Measurement = null; public String MeasurementUnit = null; public String Notes = null; public Integer DisplayOrder = null; public Boolean Active = null; public String CreatedBy = null; public Date CreatedAt = null; public Date UpdatedAt = null; public Integer getProjectLocationAreaID() { return ProjectLocationAreaID; } public ProjectLocationArea setProjectLocationAreaID(Integer value) { this.ProjectLocationAreaID = value; return this; } public Integer getProjectLocationID() { return ProjectLocationID; } public ProjectLocationArea setProjectLocationID(Integer value) { this.ProjectLocationID = value; return this; } public String getName() { return Name; } public ProjectLocationArea setName(String value) { this.Name = value; return this; } public BigDecimal getMeasurement() { return Measurement; } public ProjectLocationArea setMeasurement(BigDecimal value) { this.Measurement = value; return this; } public String getMeasurementUnit() { return MeasurementUnit; } public ProjectLocationArea setMeasurementUnit(String value) { this.MeasurementUnit = value; return this; } public String getNotes() { return Notes; } public ProjectLocationArea setNotes(String value) { this.Notes = value; return this; } public Integer getDisplayOrder() { return DisplayOrder; } public ProjectLocationArea setDisplayOrder(Integer value) { this.DisplayOrder = value; return this; } public Boolean isActive() { return Active; } public ProjectLocationArea setActive(Boolean value) { this.Active = value; return this; } public String getCreatedBy() { return CreatedBy; } public ProjectLocationArea setCreatedBy(String value) { this.CreatedBy = value; return this; } public Date getCreatedAt() { return CreatedAt; } public ProjectLocationArea setCreatedAt(Date value) { this.CreatedAt = value; return this; } public Date getUpdatedAt() { return UpdatedAt; } public ProjectLocationArea setUpdatedAt(Date value) { this.UpdatedAt = value; return this; } } public static class ProjectLocationEquipment { public Integer ProjectLocationEquipmentID = null; public Integer ProjectLocationID = null; public String Name = null; public String Description = null; public String Manufacturer = null; public String Model = null; public String SerialNumber = null; public String AssetTag = null; public String Notes = null; public Boolean Active = null; public String CreatedBy = null; public Date CreatedAt = null; public Date UpdatedAt = null; public Integer getProjectLocationEquipmentID() { return ProjectLocationEquipmentID; } public ProjectLocationEquipment setProjectLocationEquipmentID(Integer value) { this.ProjectLocationEquipmentID = value; return this; } public Integer getProjectLocationID() { return ProjectLocationID; } public ProjectLocationEquipment setProjectLocationID(Integer value) { this.ProjectLocationID = value; return this; } public String getName() { return Name; } public ProjectLocationEquipment setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public ProjectLocationEquipment setDescription(String value) { this.Description = value; return this; } public String getManufacturer() { return Manufacturer; } public ProjectLocationEquipment setManufacturer(String value) { this.Manufacturer = value; return this; } public String getModel() { return Model; } public ProjectLocationEquipment setModel(String value) { this.Model = value; return this; } public String getSerialNumber() { return SerialNumber; } public ProjectLocationEquipment setSerialNumber(String value) { this.SerialNumber = value; return this; } public String getAssetTag() { return AssetTag; } public ProjectLocationEquipment setAssetTag(String value) { this.AssetTag = value; return this; } public String getNotes() { return Notes; } public ProjectLocationEquipment setNotes(String value) { this.Notes = value; return this; } public Boolean isActive() { return Active; } public ProjectLocationEquipment setActive(Boolean value) { this.Active = value; return this; } public String getCreatedBy() { return CreatedBy; } public ProjectLocationEquipment setCreatedBy(String value) { this.CreatedBy = value; return this; } public Date getCreatedAt() { return CreatedAt; } public ProjectLocationEquipment setCreatedAt(Date value) { this.CreatedAt = value; return this; } public Date getUpdatedAt() { return UpdatedAt; } public ProjectLocationEquipment setUpdatedAt(Date value) { this.UpdatedAt = value; return this; } } public static class ProjectLocationSiteDetail { public Integer ProjectLocationSiteDetailID = null; public Integer ProjectLocationID = null; public String DetailType = null; public String Label = null; public String Value = null; public Boolean IsSensitive = null; public Integer EncVersion = null; public Boolean HasValue = null; public String Notes = null; public Integer DisplayOrder = null; public Boolean Active = null; public String CreatedBy = null; public Date CreatedAt = null; public Date UpdatedAt = null; public Integer getProjectLocationSiteDetailID() { return ProjectLocationSiteDetailID; } public ProjectLocationSiteDetail setProjectLocationSiteDetailID(Integer value) { this.ProjectLocationSiteDetailID = value; return this; } public Integer getProjectLocationID() { return ProjectLocationID; } public ProjectLocationSiteDetail setProjectLocationID(Integer value) { this.ProjectLocationID = value; return this; } public String getDetailType() { return DetailType; } public ProjectLocationSiteDetail setDetailType(String value) { this.DetailType = value; return this; } public String getLabel() { return Label; } public ProjectLocationSiteDetail setLabel(String value) { this.Label = value; return this; } public String getValue() { return Value; } public ProjectLocationSiteDetail setValue(String value) { this.Value = value; return this; } public Boolean getIsSensitive() { return IsSensitive; } public ProjectLocationSiteDetail setIsSensitive(Boolean value) { this.IsSensitive = value; return this; } public Integer getEncVersion() { return EncVersion; } public ProjectLocationSiteDetail setEncVersion(Integer value) { this.EncVersion = value; return this; } public Boolean isHasValue() { return HasValue; } public ProjectLocationSiteDetail setHasValue(Boolean value) { this.HasValue = value; return this; } public String getNotes() { return Notes; } public ProjectLocationSiteDetail setNotes(String value) { this.Notes = value; return this; } public Integer getDisplayOrder() { return DisplayOrder; } public ProjectLocationSiteDetail setDisplayOrder(Integer value) { this.DisplayOrder = value; return this; } public Boolean isActive() { return Active; } public ProjectLocationSiteDetail setActive(Boolean value) { this.Active = value; return this; } public String getCreatedBy() { return CreatedBy; } public ProjectLocationSiteDetail setCreatedBy(String value) { this.CreatedBy = value; return this; } public Date getCreatedAt() { return CreatedAt; } public ProjectLocationSiteDetail setCreatedAt(Date value) { this.CreatedAt = value; return this; } public Date getUpdatedAt() { return UpdatedAt; } public ProjectLocationSiteDetail setUpdatedAt(Date value) { this.UpdatedAt = value; return this; } } public static class ProjectLocationAttachment { public Integer ProjectLocationAttachmentID = null; public Integer ProjectLocationID = null; public Integer ProjectLocationAreaID = null; public String Kind = null; public String DocTitle = null; public String FileName = null; public String Url = null; public String MimeType = null; public Date UploadDate = null; public String UploadedBy = null; public Boolean Active = null; public Integer getProjectLocationAttachmentID() { return ProjectLocationAttachmentID; } public ProjectLocationAttachment setProjectLocationAttachmentID(Integer value) { this.ProjectLocationAttachmentID = value; return this; } public Integer getProjectLocationID() { return ProjectLocationID; } public ProjectLocationAttachment setProjectLocationID(Integer value) { this.ProjectLocationID = value; return this; } public Integer getProjectLocationAreaID() { return ProjectLocationAreaID; } public ProjectLocationAttachment setProjectLocationAreaID(Integer value) { this.ProjectLocationAreaID = value; return this; } public String getKind() { return Kind; } public ProjectLocationAttachment setKind(String value) { this.Kind = value; return this; } public String getDocTitle() { return DocTitle; } public ProjectLocationAttachment setDocTitle(String value) { this.DocTitle = value; return this; } public String getFileName() { return FileName; } public ProjectLocationAttachment setFileName(String value) { this.FileName = value; return this; } public String getUrl() { return Url; } public ProjectLocationAttachment setUrl(String value) { this.Url = value; return this; } public String getMimeType() { return MimeType; } public ProjectLocationAttachment setMimeType(String value) { this.MimeType = value; return this; } public Date getUploadDate() { return UploadDate; } public ProjectLocationAttachment setUploadDate(Date value) { this.UploadDate = value; return this; } public String getUploadedBy() { return UploadedBy; } public ProjectLocationAttachment setUploadedBy(String value) { this.UploadedBy = value; return this; } public Boolean isActive() { return Active; } public ProjectLocationAttachment setActive(Boolean value) { this.Active = value; return this; } } }