/* Options: Date: 2024-12-29 04:01:59 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //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: UserRoleUpdateRequest.* //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 regis.ClassLibrary.Requests; using regis.ClassLibrary.Responses; namespace regis.ClassLibrary.Requests { [Route("/UserRoles/{uuid}/Update", "POST")] public partial class UserRoleUpdateRequest : IReturn { public UserRoleUpdateRequest() { role_ids = new List{}; } public virtual string uuid { get; set; } public virtual string authorizing_uuid { get; set; } public virtual string admin_auth_secret { get; set; } public virtual bool is_staff { get; set; } public virtual List role_ids { get; set; } } } namespace regis.ClassLibrary.Responses { public partial class UserRoleResponse { public UserRoleResponse() { roles = new List{}; } public virtual ResponseStatus ResponseStatus { get; set; } public virtual int regent_id { get; set; } public virtual string uuid { get; set; } public virtual string regent_login { get; set; } public virtual string first_name { get; set; } public virtual string last_name { get; set; } public virtual string email { get; set; } public virtual bool is_staff { get; set; } public virtual List roles { get; set; } } } namespace ServiceStack { [DataContract] public partial class ResponseStatus : IMeta { public ResponseStatus() { Errors = new List{}; Meta = new Dictionary{}; } [DataMember(Order=1)] public virtual string ErrorCode { get; set; } [DataMember(Order=2)] public virtual string Message { get; set; } [DataMember(Order=3)] public virtual string StackTrace { get; set; } [DataMember(Order=4)] public virtual List Errors { get; set; } [DataMember(Order=5)] public virtual Dictionary Meta { get; set; } } }