/* Options: Date: 2024-12-22 12:45:51 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: SubscribeToOrganization.* //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}/subscribe", Verbs="PUT") public static class SubscribeToOrganization implements IReturnVoid, IPut { public Integer organizationId = null; public ArrayList postTypes = null; public Frequency frequency = null; public Integer getOrganizationId() { return organizationId; } public SubscribeToOrganization setOrganizationId(Integer value) { this.organizationId = value; return this; } public ArrayList getPostTypes() { return postTypes; } public SubscribeToOrganization setPostTypes(ArrayList value) { this.postTypes = value; return this; } public Frequency getFrequency() { return frequency; } public SubscribeToOrganization setFrequency(Frequency value) { this.frequency = value; return this; } } public static enum Frequency { Daily(1), Weekly(7), Monthly(30), Quarterly(90); private final int value; Frequency(final int intValue) { value = intValue; } public int getValue() { return value; } } }