/* Options: Date: 2024-11-21 11:58:30 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: WebhookCreateAgreement.* //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="/webhooks/terms", Verbs="POST") @ApiResponse(Description="Returned if there is a validation error on the input parameters", StatusCode=400) // @ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401) public static class WebhookCreateAgreement { public Releases releases = null; public ArrayList documents = null; public String secret = null; public Releases getReleases() { return releases; } public WebhookCreateAgreement setReleases(Releases value) { this.releases = value; return this; } public ArrayList getDocuments() { return documents; } public WebhookCreateAgreement setDocuments(ArrayList value) { this.documents = value; return this; } public String getSecret() { return secret; } public WebhookCreateAgreement setSecret(String value) { this.secret = value; return this; } } public static class Releases { public ArrayList deletion = null; public ArrayList getDeletion() { return deletion; } public Releases setDeletion(ArrayList value) { this.deletion = value; return this; } } public static class WebhookAgreements { public String id = null; public String label = null; public ArrayList documents = null; public String getId() { return id; } public WebhookAgreements setId(String value) { this.id = value; return this; } public String getLabel() { return label; } public WebhookAgreements setLabel(String value) { this.label = value; return this; } public ArrayList getDocuments() { return documents; } public WebhookAgreements setDocuments(ArrayList value) { this.documents = value; return this; } } }