/* Options: Date: 2024-11-21 11:55:23 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CreateApiKeySuperAdminUser.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/superadmin/apikey", Verbs="POST") @ApiResponse(Description="", StatusCode=400) // @ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401) public static class CreateApiKeySuperAdminUser implements ICompany { /** * Enter the companyId for the customer */ @ApiMember(Description="Enter the companyId for the customer", IsRequired=true, ParameterType="query") public UUID CompanyId = null; @ApiMember(IsRequired=true) public String FirstName = null; @ApiMember(IsRequired=true) public String LastName = null; @ApiMember(IsRequired=true) public String ClientId = null; @ApiMember(IsRequired=true) public ArrayList RedirectUrls = null; @ApiMember(IsRequired=true) public String ContactEmail = null; @ApiMember(IsRequired=true) public String ContactPhone = null; @ApiMember() public String Notes = null; @ApiMember() public ArrayList WebOrigins = null; @ApiMember() public ArrayList DefaultClientScopes = null; @ApiMember() public ArrayList OptionalClientScopes = null; public UUID getCompanyId() { return CompanyId; } public CreateApiKeySuperAdminUser setCompanyId(UUID value) { this.CompanyId = value; return this; } public String getFirstName() { return FirstName; } public CreateApiKeySuperAdminUser setFirstName(String value) { this.FirstName = value; return this; } public String getLastName() { return LastName; } public CreateApiKeySuperAdminUser setLastName(String value) { this.LastName = value; return this; } public String getClientId() { return ClientId; } public CreateApiKeySuperAdminUser setClientId(String value) { this.ClientId = value; return this; } public ArrayList getRedirectUrls() { return RedirectUrls; } public CreateApiKeySuperAdminUser setRedirectUrls(ArrayList value) { this.RedirectUrls = value; return this; } public String getContactEmail() { return ContactEmail; } public CreateApiKeySuperAdminUser setContactEmail(String value) { this.ContactEmail = value; return this; } public String getContactPhone() { return ContactPhone; } public CreateApiKeySuperAdminUser setContactPhone(String value) { this.ContactPhone = value; return this; } public String getNotes() { return Notes; } public CreateApiKeySuperAdminUser setNotes(String value) { this.Notes = value; return this; } public ArrayList getWebOrigins() { return WebOrigins; } public CreateApiKeySuperAdminUser setWebOrigins(ArrayList value) { this.WebOrigins = value; return this; } public ArrayList getDefaultClientScopes() { return DefaultClientScopes; } public CreateApiKeySuperAdminUser setDefaultClientScopes(ArrayList value) { this.DefaultClientScopes = value; return this; } public ArrayList getOptionalClientScopes() { return OptionalClientScopes; } public CreateApiKeySuperAdminUser setOptionalClientScopes(ArrayList value) { this.OptionalClientScopes = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } }