/* Options: Date: 2024-12-01 03:40:44 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://nkapi-sgepz3-auth.azurewebsites.net //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: GetAuthorization.* //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 Norkart.Api.Authorization.ServiceModel; namespace Norkart.Api.Authorization.ServiceModel { [Route("/authorization/{ServiceName}/{TokenString}", "GET")] public partial class GetAuthorization : IReturn, IGetAuthorization { [ApiMember(IsRequired=true, ParameterType="path", Verb="GET")] public virtual string ServiceName { get; set; } [ApiMember(IsRequired=true, ParameterType="path", Verb="GET")] public virtual string TokenString { get; set; } [ApiMember] public virtual string UserTokenString { get; set; } [ApiMember] public virtual string Profile { get; set; } } public partial class GetAuthorizationResponse { public GetAuthorizationResponse() { Parameters = new Dictionary{}; } public virtual bool IsAuthorized { get; set; } public virtual Dictionary Parameters { get; set; } public virtual Guid? UserObjectId { get; set; } public virtual string UserTenant { get; set; } } public partial interface IGetAuthorization { string ServiceName { get; set; } string TokenString { get; set; } string UserTokenString { get; set; } string Profile { get; set; } } }