/* Options: Date: 2024-12-22 12:42:56 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: AddOrganizationMember.* //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="/orgs/{OrganizationId}/members", Verbs="POST") public static class AddOrganizationMember implements IReturn, IPost { public Integer organizationId = null; public String userName = null; public Boolean isOwner = null; public Boolean isModerator = null; public Boolean denyPosts = null; public Boolean denyComments = null; public Boolean denyAll = null; public String notes = null; public Integer getOrganizationId() { return organizationId; } public AddOrganizationMember setOrganizationId(Integer value) { this.organizationId = value; return this; } public String getUserName() { return userName; } public AddOrganizationMember setUserName(String value) { this.userName = value; return this; } public Boolean getIsOwner() { return isOwner; } public AddOrganizationMember setIsOwner(Boolean value) { this.isOwner = value; return this; } public Boolean getIsModerator() { return isModerator; } public AddOrganizationMember setIsModerator(Boolean value) { this.isModerator = value; return this; } public Boolean isDenyPosts() { return denyPosts; } public AddOrganizationMember setDenyPosts(Boolean value) { this.denyPosts = value; return this; } public Boolean isDenyComments() { return denyComments; } public AddOrganizationMember setDenyComments(Boolean value) { this.denyComments = value; return this; } public Boolean isDenyAll() { return denyAll; } public AddOrganizationMember setDenyAll(Boolean value) { this.denyAll = value; return this; } public String getNotes() { return notes; } public AddOrganizationMember setNotes(String value) { this.notes = value; return this; } private static Object responseType = AddOrganizationMemberResponse.class; public Object getResponseType() { return responseType; } } public static class AddOrganizationMemberResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public AddOrganizationMemberResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } }