/* Options: Date: 2026-09-23 02:15:38 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: ArticleMappingsQuery.* //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="/articles/mappings", Verbs="GET") @ValidateRequest(Validator="IsAuthenticated") public static class ArticleMappingsQuery implements IReturn>, ICompany { /** * Company to show article mappings for */ @ApiMember(Description="Company to show article mappings for") public UUID CompanyId = null; /** * The Reference Type to filter on: StripeArticle, EAccountingArticle */ @ApiMember(Description="The Reference Type to filter on: StripeArticle, EAccountingArticle") public String ReferenceType = null; /** * Article to show mappings for */ @ApiMember(Description="Article to show mappings for") public Integer ArticleId = null; public UUID getCompanyId() { return CompanyId; } public ArticleMappingsQuery setCompanyId(UUID value) { this.CompanyId = value; return this; } public String getReferenceType() { return ReferenceType; } public ArticleMappingsQuery setReferenceType(String value) { this.ReferenceType = value; return this; } public Integer getArticleId() { return ArticleId; } public ArticleMappingsQuery setArticleId(Integer value) { this.ArticleId = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static interface ICompany { public UUID CompanyId = null; } public static class ArticleMappingResponse { /** * The company id */ @ApiMember(Description="The company id") public UUID CompanyId = null; /** * The id */ @ApiMember(Description="The id") public UUID Id = null; /** * The BokaMera article id */ @ApiMember(Description="The BokaMera article id") public Integer ArticleId = null; /** * The external reference */ @ApiMember(Description="The external reference") public String ExternalReference = null; /** * The Reference Type */ @ApiMember(Description="The Reference Type") public String ReferenceType = null; public UUID getCompanyId() { return CompanyId; } public ArticleMappingResponse setCompanyId(UUID value) { this.CompanyId = value; return this; } public UUID getId() { return Id; } public ArticleMappingResponse setId(UUID value) { this.Id = value; return this; } public Integer getArticleId() { return ArticleId; } public ArticleMappingResponse setArticleId(Integer value) { this.ArticleId = value; return this; } public String getExternalReference() { return ExternalReference; } public ArticleMappingResponse setExternalReference(String value) { this.ExternalReference = value; return this; } public String getReferenceType() { return ReferenceType; } public ArticleMappingResponse setReferenceType(String value) { this.ReferenceType = value; return this; } } }