/* Options: Date: 2024-12-15 19:42:37 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: PromoteOrganisationOwnerRequest.* //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/{Id}/owners", Verbs="POST") public static class PromoteOrganisationOwnerRequest extends PostOperationUnTenanted implements IReturn { public String id = null; public String userAccountId = null; public String getId() { return id; } public PromoteOrganisationOwnerRequest setId(String value) { this.id = value; return this; } public String getUserAccountId() { return userAccountId; } public PromoteOrganisationOwnerRequest setUserAccountId(String value) { this.userAccountId = value; return this; } private static Object responseType = PromoteOrganisationOwnerResponse.class; public Object getResponseType() { return responseType; } } public static class PromoteOrganisationOwnerResponse { public ResponseStatus responseStatus = null; public Organisation organisation = null; public ResponseStatus getResponseStatus() { return responseStatus; } public PromoteOrganisationOwnerResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public Organisation getOrganisation() { return organisation; } public PromoteOrganisationOwnerResponse 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; } }