/* Options: Date: 2026-07-08 22:10:32 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: PunchUpdateRequest.* //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/projects/{ProjectID}/punch/{PunchItemID}", Verbs="PUT,OPTIONS") public static class PunchUpdateRequest implements IReturn { public Integer ProjectID = null; public Integer PunchItemID = null; public String Title = null; public String Description = null; public String Area = null; public String Trade = null; public String Priority = null; public String AssignedSub = null; public String AssignedTo = null; public Integer AssignedSubContactID = null; public Integer getProjectID() { return ProjectID; } public PunchUpdateRequest setProjectID(Integer value) { this.ProjectID = value; return this; } public Integer getPunchItemID() { return PunchItemID; } public PunchUpdateRequest setPunchItemID(Integer value) { this.PunchItemID = value; return this; } public String getTitle() { return Title; } public PunchUpdateRequest setTitle(String value) { this.Title = value; return this; } public String getDescription() { return Description; } public PunchUpdateRequest setDescription(String value) { this.Description = value; return this; } public String getArea() { return Area; } public PunchUpdateRequest setArea(String value) { this.Area = value; return this; } public String getTrade() { return Trade; } public PunchUpdateRequest setTrade(String value) { this.Trade = value; return this; } public String getPriority() { return Priority; } public PunchUpdateRequest setPriority(String value) { this.Priority = value; return this; } public String getAssignedSub() { return AssignedSub; } public PunchUpdateRequest setAssignedSub(String value) { this.AssignedSub = value; return this; } public String getAssignedTo() { return AssignedTo; } public PunchUpdateRequest setAssignedTo(String value) { this.AssignedTo = value; return this; } public Integer getAssignedSubContactID() { return AssignedSubContactID; } public PunchUpdateRequest setAssignedSubContactID(Integer value) { this.AssignedSubContactID = value; return this; } private static Object responseType = PunchItemResponse.class; public Object getResponseType() { return responseType; } } public static class PunchItemResponse { public ResponseStatus ResponseStatus = null; public PunchItem Item = null; public PunchSummary Summary = null; public ResponseStatus getResponseStatus() { return ResponseStatus; } public PunchItemResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public PunchItem getItem() { return Item; } public PunchItemResponse setItem(PunchItem value) { this.Item = value; return this; } public PunchSummary getSummary() { return Summary; } public PunchItemResponse setSummary(PunchSummary value) { this.Summary = value; return this; } } public static class PunchItem { public Integer PunchItemID = null; public UUID PunchItemUID = null; public Integer ProjectID = null; public String PunchNo = null; public String Title = null; public String Description = null; public String Area = null; public String Trade = null; public String Status = null; public String Priority = null; public String AssignedSub = null; public String AssignedTo = null; public Integer AssignedSubContactID = null; public Integer PhotoCount = null; public String OriginType = null; public String OriginRef = null; public Date OpenedAt = null; public Date VerifiedAt = null; public Date ClosedAt = null; public String CreatedBy = null; public Date CreatedAt = null; public Date UpdatedAt = null; public Integer getPunchItemID() { return PunchItemID; } public PunchItem setPunchItemID(Integer value) { this.PunchItemID = value; return this; } public UUID getPunchItemUID() { return PunchItemUID; } public PunchItem setPunchItemUID(UUID value) { this.PunchItemUID = value; return this; } public Integer getProjectID() { return ProjectID; } public PunchItem setProjectID(Integer value) { this.ProjectID = value; return this; } public String getPunchNo() { return PunchNo; } public PunchItem setPunchNo(String value) { this.PunchNo = value; return this; } public String getTitle() { return Title; } public PunchItem setTitle(String value) { this.Title = value; return this; } public String getDescription() { return Description; } public PunchItem setDescription(String value) { this.Description = value; return this; } public String getArea() { return Area; } public PunchItem setArea(String value) { this.Area = value; return this; } public String getTrade() { return Trade; } public PunchItem setTrade(String value) { this.Trade = value; return this; } public String getStatus() { return Status; } public PunchItem setStatus(String value) { this.Status = value; return this; } public String getPriority() { return Priority; } public PunchItem setPriority(String value) { this.Priority = value; return this; } public String getAssignedSub() { return AssignedSub; } public PunchItem setAssignedSub(String value) { this.AssignedSub = value; return this; } public String getAssignedTo() { return AssignedTo; } public PunchItem setAssignedTo(String value) { this.AssignedTo = value; return this; } public Integer getAssignedSubContactID() { return AssignedSubContactID; } public PunchItem setAssignedSubContactID(Integer value) { this.AssignedSubContactID = value; return this; } public Integer getPhotoCount() { return PhotoCount; } public PunchItem setPhotoCount(Integer value) { this.PhotoCount = value; return this; } public String getOriginType() { return OriginType; } public PunchItem setOriginType(String value) { this.OriginType = value; return this; } public String getOriginRef() { return OriginRef; } public PunchItem setOriginRef(String value) { this.OriginRef = value; return this; } public Date getOpenedAt() { return OpenedAt; } public PunchItem setOpenedAt(Date value) { this.OpenedAt = value; return this; } public Date getVerifiedAt() { return VerifiedAt; } public PunchItem setVerifiedAt(Date value) { this.VerifiedAt = value; return this; } public Date getClosedAt() { return ClosedAt; } public PunchItem setClosedAt(Date value) { this.ClosedAt = value; return this; } public String getCreatedBy() { return CreatedBy; } public PunchItem setCreatedBy(String value) { this.CreatedBy = value; return this; } public Date getCreatedAt() { return CreatedAt; } public PunchItem setCreatedAt(Date value) { this.CreatedAt = value; return this; } public Date getUpdatedAt() { return UpdatedAt; } public PunchItem setUpdatedAt(Date value) { this.UpdatedAt = value; return this; } } public static class PunchSummary { public Integer ProjectID = null; public Integer TotalItems = null; public Integer OpenCount = null; public Integer VerifyCount = null; public Integer ClosedCount = null; public Integer RejectedCount = null; public Integer PercentComplete = null; public Integer getProjectID() { return ProjectID; } public PunchSummary setProjectID(Integer value) { this.ProjectID = value; return this; } public Integer getTotalItems() { return TotalItems; } public PunchSummary setTotalItems(Integer value) { this.TotalItems = value; return this; } public Integer getOpenCount() { return OpenCount; } public PunchSummary setOpenCount(Integer value) { this.OpenCount = value; return this; } public Integer getVerifyCount() { return VerifyCount; } public PunchSummary setVerifyCount(Integer value) { this.VerifyCount = value; return this; } public Integer getClosedCount() { return ClosedCount; } public PunchSummary setClosedCount(Integer value) { this.ClosedCount = value; return this; } public Integer getRejectedCount() { return RejectedCount; } public PunchSummary setRejectedCount(Integer value) { this.RejectedCount = value; return this; } public Integer getPercentComplete() { return PercentComplete; } public PunchSummary setPercentComplete(Integer value) { this.PercentComplete = value; return this; } } }