/* Options: Date: 2024-12-22 12:45:23 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: GetUserOrganizations.* //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="/user/organizations") public static class GetUserOrganizations implements IReturn, IGet { private static Object responseType = GetUserOrganizationsResponse.class; public Object getResponseType() { return responseType; } } public static class GetUserOrganizationsResponse { public ArrayList members = null; public ArrayList memberInvites = null; public ArrayList subscriptions = null; public ArrayList getMembers() { return members; } public GetUserOrganizationsResponse setMembers(ArrayList value) { this.members = value; return this; } public ArrayList getMemberInvites() { return memberInvites; } public GetUserOrganizationsResponse setMemberInvites(ArrayList value) { this.memberInvites = value; return this; } public ArrayList getSubscriptions() { return subscriptions; } public GetUserOrganizationsResponse setSubscriptions(ArrayList value) { this.subscriptions = value; return this; } } public static class OrganizationMember { public Integer id = null; public Integer organizationId = null; public Integer userId = null; public String userName = null; public Boolean isOwner = null; public Boolean isModerator = null; public Boolean denyAll = null; public Boolean denyPosts = null; public Boolean denyComments = null; public String notes = null; public Integer getId() { return id; } public OrganizationMember setId(Integer value) { this.id = value; return this; } public Integer getOrganizationId() { return organizationId; } public OrganizationMember setOrganizationId(Integer value) { this.organizationId = value; return this; } public Integer getUserId() { return userId; } public OrganizationMember setUserId(Integer value) { this.userId = value; return this; } public String getUserName() { return userName; } public OrganizationMember setUserName(String value) { this.userName = value; return this; } public Boolean getIsOwner() { return isOwner; } public OrganizationMember setIsOwner(Boolean value) { this.isOwner = value; return this; } public Boolean getIsModerator() { return isModerator; } public OrganizationMember setIsModerator(Boolean value) { this.isModerator = value; return this; } public Boolean isDenyAll() { return denyAll; } public OrganizationMember setDenyAll(Boolean value) { this.denyAll = value; return this; } public Boolean isDenyPosts() { return denyPosts; } public OrganizationMember setDenyPosts(Boolean value) { this.denyPosts = value; return this; } public Boolean isDenyComments() { return denyComments; } public OrganizationMember setDenyComments(Boolean value) { this.denyComments = value; return this; } public String getNotes() { return notes; } public OrganizationMember setNotes(String value) { this.notes = value; return this; } } public static class OrganizationMemberInvite { public Integer id = null; public Integer organizationId = null; public Integer userId = null; public String userName = null; public Date dismissed = null; public Integer getId() { return id; } public OrganizationMemberInvite setId(Integer value) { this.id = value; return this; } public Integer getOrganizationId() { return organizationId; } public OrganizationMemberInvite setOrganizationId(Integer value) { this.organizationId = value; return this; } public Integer getUserId() { return userId; } public OrganizationMemberInvite setUserId(Integer value) { this.userId = value; return this; } public String getUserName() { return userName; } public OrganizationMemberInvite setUserName(String value) { this.userName = value; return this; } public Date getDismissed() { return dismissed; } public OrganizationMemberInvite setDismissed(Date value) { this.dismissed = value; return this; } } public static class OrganizationSubscription { public Long id = null; public Integer organizationId = null; public Integer userId = null; public String userName = null; public ArrayList postTypes = null; public Integer frequencyDays = null; public Long lastSyncedId = null; public Date lastSynced = null; public Date created = null; public Long getId() { return id; } public OrganizationSubscription setId(Long value) { this.id = value; return this; } public Integer getOrganizationId() { return organizationId; } public OrganizationSubscription setOrganizationId(Integer value) { this.organizationId = value; return this; } public Integer getUserId() { return userId; } public OrganizationSubscription setUserId(Integer value) { this.userId = value; return this; } public String getUserName() { return userName; } public OrganizationSubscription setUserName(String value) { this.userName = value; return this; } public ArrayList getPostTypes() { return postTypes; } public OrganizationSubscription setPostTypes(ArrayList value) { this.postTypes = value; return this; } public Integer getFrequencyDays() { return frequencyDays; } public OrganizationSubscription setFrequencyDays(Integer value) { this.frequencyDays = value; return this; } public Long getLastSyncedId() { return lastSyncedId; } public OrganizationSubscription setLastSyncedId(Long value) { this.lastSyncedId = value; return this; } public Date getLastSynced() { return lastSynced; } public OrganizationSubscription setLastSynced(Date value) { this.lastSynced = value; return this; } public Date getCreated() { return created; } public OrganizationSubscription setCreated(Date value) { this.created = value; return this; } } }