/* Options: Date: 2026-06-13 03:46:45 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: DocumentShareListRequest.* //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/documentshare/attachment/{AttachmentId}", Verbs="GET,OPTIONS") public static class DocumentShareListRequest implements IReturn { public UUID AttachmentId = null; public UUID getAttachmentId() { return AttachmentId; } public DocumentShareListRequest setAttachmentId(UUID value) { this.AttachmentId = value; return this; } private static Object responseType = DocumentShareResponse.class; public Object getResponseType() { return responseType; } } public static class DocumentShareResponse { public ResponseStatus ResponseStatus = null; public ArrayList DocumentShare = new ArrayList(); public String ShareUrl = null; public ResponseStatus getResponseStatus() { return ResponseStatus; } public DocumentShareResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public ArrayList getDocumentShare() { return DocumentShare; } public DocumentShareResponse setDocumentShare(ArrayList value) { this.DocumentShare = value; return this; } public String getShareUrl() { return ShareUrl; } public DocumentShareResponse setShareUrl(String value) { this.ShareUrl = value; return this; } } public static class DocumentShareExtended extends DocumentShare { public String AttachmentName = null; public String RecipientDisplayName = null; public String RecipientType = null; public String CreatedByName = null; public String Status = null; public String getAttachmentName() { return AttachmentName; } public DocumentShareExtended setAttachmentName(String value) { this.AttachmentName = value; return this; } public String getRecipientDisplayName() { return RecipientDisplayName; } public DocumentShareExtended setRecipientDisplayName(String value) { this.RecipientDisplayName = value; return this; } public String getRecipientType() { return RecipientType; } public DocumentShareExtended setRecipientType(String value) { this.RecipientType = value; return this; } public String getCreatedByName() { return CreatedByName; } public DocumentShareExtended setCreatedByName(String value) { this.CreatedByName = value; return this; } public String getStatus() { return Status; } public DocumentShareExtended setStatus(String value) { this.Status = value; return this; } } public static class DocumentShare { public Integer DocumentShareId = null; public UUID DocumentShareUID = null; public String TokenHash = null; public UUID AttachmentId = null; public String SensitivityTier = null; public Boolean RequireOtp = null; public String OtpChannel = null; public String DeliveryChannels = null; public Integer RecipientContactId = null; public String RecipientEmail = null; public String RecipientPhone = null; public Boolean SmsConsentSnapshot = null; public UUID CreatedByUserId = null; public Integer CreatedByAgentId = null; public Date CreatedAtUtc = null; public Date ExpiresAtUtc = null; public Integer MaxViews = null; public Integer ViewCount = null; public Date RevokedAtUtc = null; public UUID RevokedByUserId = null; public Integer getDocumentShareId() { return DocumentShareId; } public DocumentShare setDocumentShareId(Integer value) { this.DocumentShareId = value; return this; } public UUID getDocumentShareUID() { return DocumentShareUID; } public DocumentShare setDocumentShareUID(UUID value) { this.DocumentShareUID = value; return this; } public String getTokenHash() { return TokenHash; } public DocumentShare setTokenHash(String value) { this.TokenHash = value; return this; } public UUID getAttachmentId() { return AttachmentId; } public DocumentShare setAttachmentId(UUID value) { this.AttachmentId = value; return this; } public String getSensitivityTier() { return SensitivityTier; } public DocumentShare setSensitivityTier(String value) { this.SensitivityTier = value; return this; } public Boolean isRequireOtp() { return RequireOtp; } public DocumentShare setRequireOtp(Boolean value) { this.RequireOtp = value; return this; } public String getOtpChannel() { return OtpChannel; } public DocumentShare setOtpChannel(String value) { this.OtpChannel = value; return this; } public String getDeliveryChannels() { return DeliveryChannels; } public DocumentShare setDeliveryChannels(String value) { this.DeliveryChannels = value; return this; } public Integer getRecipientContactId() { return RecipientContactId; } public DocumentShare setRecipientContactId(Integer value) { this.RecipientContactId = value; return this; } public String getRecipientEmail() { return RecipientEmail; } public DocumentShare setRecipientEmail(String value) { this.RecipientEmail = value; return this; } public String getRecipientPhone() { return RecipientPhone; } public DocumentShare setRecipientPhone(String value) { this.RecipientPhone = value; return this; } public Boolean isSmsConsentSnapshot() { return SmsConsentSnapshot; } public DocumentShare setSmsConsentSnapshot(Boolean value) { this.SmsConsentSnapshot = value; return this; } public UUID getCreatedByUserId() { return CreatedByUserId; } public DocumentShare setCreatedByUserId(UUID value) { this.CreatedByUserId = value; return this; } public Integer getCreatedByAgentId() { return CreatedByAgentId; } public DocumentShare setCreatedByAgentId(Integer value) { this.CreatedByAgentId = value; return this; } public Date getCreatedAtUtc() { return CreatedAtUtc; } public DocumentShare setCreatedAtUtc(Date value) { this.CreatedAtUtc = value; return this; } public Date getExpiresAtUtc() { return ExpiresAtUtc; } public DocumentShare setExpiresAtUtc(Date value) { this.ExpiresAtUtc = value; return this; } public Integer getMaxViews() { return MaxViews; } public DocumentShare setMaxViews(Integer value) { this.MaxViews = value; return this; } public Integer getViewCount() { return ViewCount; } public DocumentShare setViewCount(Integer value) { this.ViewCount = value; return this; } public Date getRevokedAtUtc() { return RevokedAtUtc; } public DocumentShare setRevokedAtUtc(Date value) { this.RevokedAtUtc = value; return this; } public UUID getRevokedByUserId() { return RevokedByUserId; } public DocumentShare setRevokedByUserId(UUID value) { this.RevokedByUserId = value; return this; } } }