/* Options: Date: 2024-11-21 07:46:59 Version: 6.00 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://resourcelibrary.api.ashcompanies.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ResourceItemCompletionRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/memberResourceCompletions/{MemberId}/{StartDate}/{EndDate}", Verbs="GET") // @Route(Path="/memberResourceCompletions/{MemberId}/{StartDate}/{EndDate}/{ResourceType}", Verbs="GET") // @Route(Path="/memberResourceCompletions/{MemberId}/{StartDate}/{EndDate}/{ResourceType}/{RetrievalAmount}", Verbs="GET") public static class ResourceItemCompletionRequest implements IReturn { public Integer memberId = null; public Date startDate = null; public Date endDate = null; public String resourceType = null; public Integer retrievalAmount = null; public Integer getMemberId() { return memberId; } public ResourceItemCompletionRequest setMemberId(Integer value) { this.memberId = value; return this; } public Date getStartDate() { return startDate; } public ResourceItemCompletionRequest setStartDate(Date value) { this.startDate = value; return this; } public Date getEndDate() { return endDate; } public ResourceItemCompletionRequest setEndDate(Date value) { this.endDate = value; return this; } public String getResourceType() { return resourceType; } public ResourceItemCompletionRequest setResourceType(String value) { this.resourceType = value; return this; } public Integer getRetrievalAmount() { return retrievalAmount; } public ResourceItemCompletionRequest setRetrievalAmount(Integer value) { this.retrievalAmount = value; return this; } private static Object responseType = ResourceItemCompletionResponse.class; public Object getResponseType() { return responseType; } } public static class ResourceItemCompletionResponse { public Integer memberId = null; public Date startDate = null; public Date endDate = null; public Integer totalCompletions = null; public Integer retrievalAmount = null; public ArrayList resourceCompletions = null; public Integer getMemberId() { return memberId; } public ResourceItemCompletionResponse setMemberId(Integer value) { this.memberId = value; return this; } public Date getStartDate() { return startDate; } public ResourceItemCompletionResponse setStartDate(Date value) { this.startDate = value; return this; } public Date getEndDate() { return endDate; } public ResourceItemCompletionResponse setEndDate(Date value) { this.endDate = value; return this; } public Integer getTotalCompletions() { return totalCompletions; } public ResourceItemCompletionResponse setTotalCompletions(Integer value) { this.totalCompletions = value; return this; } public Integer getRetrievalAmount() { return retrievalAmount; } public ResourceItemCompletionResponse setRetrievalAmount(Integer value) { this.retrievalAmount = value; return this; } public ArrayList getResourceCompletions() { return resourceCompletions; } public ResourceItemCompletionResponse setResourceCompletions(ArrayList value) { this.resourceCompletions = value; return this; } } public static class ResourceItemCompletion { public Integer resourceCompletionId = null; public Integer resourceProgressId = null; public Integer progressOnCompletion = null; public String resourceId = null; public String resourceName = null; public String resourceType = null; public Date completionDate = null; public Integer getResourceCompletionId() { return resourceCompletionId; } public ResourceItemCompletion setResourceCompletionId(Integer value) { this.resourceCompletionId = value; return this; } public Integer getResourceProgressId() { return resourceProgressId; } public ResourceItemCompletion setResourceProgressId(Integer value) { this.resourceProgressId = value; return this; } public Integer getProgressOnCompletion() { return progressOnCompletion; } public ResourceItemCompletion setProgressOnCompletion(Integer value) { this.progressOnCompletion = value; return this; } public String getResourceId() { return resourceId; } public ResourceItemCompletion setResourceId(String value) { this.resourceId = value; return this; } public String getResourceName() { return resourceName; } public ResourceItemCompletion setResourceName(String value) { this.resourceName = value; return this; } public String getResourceType() { return resourceType; } public ResourceItemCompletion setResourceType(String value) { this.resourceType = value; return this; } public Date getCompletionDate() { return completionDate; } public ResourceItemCompletion setCompletionDate(Date value) { this.completionDate = value; return this; } } }