/* Options: Date: 2024-11-21 12:12:01 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: CreateApiKeySuperAdminUser.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using System.Globalization; using ServiceStack.Data; using System.IO; using BokaMera.API.ServiceModel.Interfaces; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { [Route("/superadmin/apikey", "POST")] [ApiResponse(Description="", StatusCode=400)] [ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401)] public partial class CreateApiKeySuperAdminUser : ICompany { public CreateApiKeySuperAdminUser() { RedirectUrls = new List{}; WebOrigins = new List{}; DefaultClientScopes = new List{}; OptionalClientScopes = new List{}; } /// ///Enter the companyId for the customer /// [ApiMember(Description="Enter the companyId for the customer", IsRequired=true, ParameterType="query")] public virtual Guid? CompanyId { get; set; } [ApiMember(IsRequired=true)] public virtual string FirstName { get; set; } [ApiMember(IsRequired=true)] public virtual string LastName { get; set; } [ApiMember(IsRequired=true)] public virtual string ClientId { get; set; } [ApiMember(IsRequired=true)] public virtual List RedirectUrls { get; set; } [ApiMember(IsRequired=true)] public virtual string ContactEmail { get; set; } [ApiMember(IsRequired=true)] public virtual string ContactPhone { get; set; } [ApiMember] public virtual string Notes { get; set; } [ApiMember] public virtual List WebOrigins { get; set; } [ApiMember] public virtual List DefaultClientScopes { get; set; } [ApiMember] public virtual List OptionalClientScopes { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }