/* Options: Date: 2026-10-15 02:45:31 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetVossTargetGroups.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/voss/targetGroups", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) public static class GetVossTargetGroups implements IReturn { private static Object responseType = GetVossTargetGroupsResponse.class; public Object getResponseType() { return responseType; } } public static class GetVossTargetGroupsResponse { public Integer TotalCount = null; public ArrayList Items = new ArrayList(); public Integer getTotalCount() { return TotalCount; } public GetVossTargetGroupsResponse setTotalCount(Integer value) { this.TotalCount = value; return this; } public ArrayList getItems() { return Items; } public GetVossTargetGroupsResponse setItems(ArrayList value) { this.Items = value; return this; } } @DataContract(Name="TargetGroupResult") public static class TargetGroupResult { @DataMember(Name="id", IsRequired=true) @SerializedName("id") public UUID Id = null; @DataMember(Name="name", IsRequired=true) @SerializedName("name") public String Name = null; @DataMember(Name="isDefault") @SerializedName("isDefault") public Boolean IsDefault = null; @DataMember(Name="externalId") @SerializedName("externalId") public String ExternalId = null; @DataMember(Name="configuration", EmitDefaultValue=false) @SerializedName("configuration") public TargetGroupConfigurationResult VarConfiguration = null; @DataMember(Name="tags", EmitDefaultValue=false) @SerializedName("tags") public ArrayList Tags = new ArrayList(); public UUID getId() { return Id; } public TargetGroupResult setId(UUID value) { this.Id = value; return this; } public String getName() { return Name; } public TargetGroupResult setName(String value) { this.Name = value; return this; } public Boolean getIsDefault() { return IsDefault; } public TargetGroupResult setIsDefault(Boolean value) { this.IsDefault = value; return this; } public String getExternalId() { return ExternalId; } public TargetGroupResult setExternalId(String value) { this.ExternalId = value; return this; } public TargetGroupConfigurationResult getVarConfiguration() { return VarConfiguration; } public TargetGroupResult setVarConfiguration(TargetGroupConfigurationResult value) { this.VarConfiguration = value; return this; } public ArrayList getTags() { return Tags; } public TargetGroupResult setTags(ArrayList value) { this.Tags = value; return this; } } @DataContract(Name="TargetGroupConfigurationResult") public static class TargetGroupConfigurationResult { @DataMember(Name="id", IsRequired=true) @SerializedName("id") public UUID Id = null; @DataMember(Name="organizationNumberRequired") @SerializedName("organizationNumberRequired") public Boolean OrganizationNumberRequired = null; @DataMember(Name="organizationNumberUnique") @SerializedName("organizationNumberUnique") public Boolean OrganizationNumberUnique = null; @DataMember(Name="customerNumberRequired") @SerializedName("customerNumberRequired") public Boolean CustomerNumberRequired = null; @DataMember(Name="customerAddressRequired") @SerializedName("customerAddressRequired") public Boolean CustomerAddressRequired = null; @DataMember(Name="contactPersonRequired") @SerializedName("contactPersonRequired") public Boolean ContactPersonRequired = null; @DataMember(Name="expiryDateRequired") @SerializedName("expiryDateRequired") public Boolean ExpiryDateRequired = null; @DataMember(Name="excludeCustomerFromInvoiceFile") @SerializedName("excludeCustomerFromInvoiceFile") public Boolean ExcludeCustomerFromInvoiceFile = null; public UUID getId() { return Id; } public TargetGroupConfigurationResult setId(UUID value) { this.Id = value; return this; } public Boolean isOrganizationNumberRequired() { return OrganizationNumberRequired; } public TargetGroupConfigurationResult setOrganizationNumberRequired(Boolean value) { this.OrganizationNumberRequired = value; return this; } public Boolean isOrganizationNumberUnique() { return OrganizationNumberUnique; } public TargetGroupConfigurationResult setOrganizationNumberUnique(Boolean value) { this.OrganizationNumberUnique = value; return this; } public Boolean isCustomerNumberRequired() { return CustomerNumberRequired; } public TargetGroupConfigurationResult setCustomerNumberRequired(Boolean value) { this.CustomerNumberRequired = value; return this; } public Boolean isCustomerAddressRequired() { return CustomerAddressRequired; } public TargetGroupConfigurationResult setCustomerAddressRequired(Boolean value) { this.CustomerAddressRequired = value; return this; } public Boolean isContactPersonRequired() { return ContactPersonRequired; } public TargetGroupConfigurationResult setContactPersonRequired(Boolean value) { this.ContactPersonRequired = value; return this; } public Boolean isExpiryDateRequired() { return ExpiryDateRequired; } public TargetGroupConfigurationResult setExpiryDateRequired(Boolean value) { this.ExpiryDateRequired = value; return this; } public Boolean isExcludeCustomerFromInvoiceFile() { return ExcludeCustomerFromInvoiceFile; } public TargetGroupConfigurationResult setExcludeCustomerFromInvoiceFile(Boolean value) { this.ExcludeCustomerFromInvoiceFile = value; return this; } } @DataContract(Name="TargetGroupTagDto") public static class TargetGroupTagDto { @DataMember(Name="type", IsRequired=true) @SerializedName("type") public TypeEnum Type = null; @DataMember(Name="tag", IsRequired=true) @SerializedName("tag") public String Tag = null; public TypeEnum getType() { return Type; } public TargetGroupTagDto setType(TypeEnum value) { this.Type = value; return this; } public String getTag() { return Tag; } public TargetGroupTagDto setTag(String value) { this.Tag = value; return this; } } public static enum TypeEnum { Exclusivity; } }