/* Options: Date: 2026-08-11 13:19:28 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: EngineGovernanceRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EngineGovernanceResponse implements IConvertible { String? RolePermsJson; String? GuardsJson; String? PacksJson; String? BranchesJson; ResponseStatus? ResponseStatus; EngineGovernanceResponse({this.RolePermsJson,this.GuardsJson,this.PacksJson,this.BranchesJson,this.ResponseStatus}); EngineGovernanceResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RolePermsJson = json['RolePermsJson']; GuardsJson = json['GuardsJson']; PacksJson = json['PacksJson']; BranchesJson = json['BranchesJson']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'RolePermsJson': RolePermsJson, 'GuardsJson': GuardsJson, 'PacksJson': PacksJson, 'BranchesJson': BranchesJson, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "EngineGovernanceResponse"; TypeContext? context = _ctx; } // @Route("/v1/engine/governance", "GET,PUT,OPTIONS") class EngineGovernanceRequest implements IReturn, IConvertible, IGet { String? RolePermsJson; String? GuardsJson; String? PacksJson; String? BranchesJson; EngineGovernanceRequest({this.RolePermsJson,this.GuardsJson,this.PacksJson,this.BranchesJson}); EngineGovernanceRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RolePermsJson = json['RolePermsJson']; GuardsJson = json['GuardsJson']; PacksJson = json['PacksJson']; BranchesJson = json['BranchesJson']; return this; } Map toJson() => { 'RolePermsJson': RolePermsJson, 'GuardsJson': GuardsJson, 'PacksJson': PacksJson, 'BranchesJson': BranchesJson }; createResponse() => EngineGovernanceResponse(); getResponseTypeName() => "EngineGovernanceResponse"; getTypeName() => "EngineGovernanceRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'EngineGovernanceResponse': TypeInfo(TypeOf.Class, create:() => EngineGovernanceResponse()), 'EngineGovernanceRequest': TypeInfo(TypeOf.Class, create:() => EngineGovernanceRequest()), });