/* Options: Date: 2024-12-15 20:47:04 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CreateOrganisationRequest.* //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="/organisations", Verbs="POST") public static class CreateOrganisationRequest extends PostOperationUnTenanted implements IReturn { public String name = null; public String getName() { return name; } public CreateOrganisationRequest setName(String value) { this.name = value; return this; } private static Object responseType = CreateOrganisationResponse.class; public Object getResponseType() { return responseType; } } public static class CreateOrganisationResponse { public ResponseStatus responseStatus = null; public Organisation organisation = null; public ResponseStatus getResponseStatus() { return responseStatus; } public CreateOrganisationResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public Organisation getOrganisation() { return organisation; } public CreateOrganisationResponse setOrganisation(Organisation value) { this.organisation = value; return this; } } public static class PostOperationUnTenanted implements IPost { } public static class Organisation implements IIdentifiableResource { public String displayName = null; public ArrayList owners = null; public Boolean isDefault = null; public String id = null; public String getDisplayName() { return displayName; } public Organisation setDisplayName(String value) { this.displayName = value; return this; } public ArrayList getOwners() { return owners; } public Organisation setOwners(ArrayList value) { this.owners = value; return this; } public Boolean getIsDefault() { return isDefault; } public Organisation setIsDefault(Boolean value) { this.isDefault = value; return this; } public String getId() { return id; } public Organisation setId(String value) { this.id = value; return this; } } public static interface IIdentifiableResource { public String id = null; } }