/* Options: Date: 2024-04-27 23:40:22 Version: 8.13 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateOrganizationLabel.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class OrganizationLabelResponse implements IConvertible { ResponseStatus? responseStatus; OrganizationLabelResponse({this.responseStatus}); OrganizationLabelResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "OrganizationLabelResponse"; TypeContext? context = _ctx; } // @Route("/orgs/{OrganizationId}/members/{Slug}", "PUT") class UpdateOrganizationLabel implements IReturn, IPut, IConvertible { int? organizationId; String? slug; String? description; String? color; UpdateOrganizationLabel({this.organizationId,this.slug,this.description,this.color}); UpdateOrganizationLabel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { organizationId = json['organizationId']; slug = json['slug']; description = json['description']; color = json['color']; return this; } Map toJson() => { 'organizationId': organizationId, 'slug': slug, 'description': description, 'color': color }; createResponse() => OrganizationLabelResponse(); getResponseTypeName() => "OrganizationLabelResponse"; getTypeName() => "UpdateOrganizationLabel"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'techstacks.io', types: { 'OrganizationLabelResponse': TypeInfo(TypeOf.Class, create:() => OrganizationLabelResponse()), 'UpdateOrganizationLabel': TypeInfo(TypeOf.Class, create:() => UpdateOrganizationLabel()), });