/* Options: Date: 2026-04-04 03:04:37 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddUserProfile.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class AddUserProfileResponse implements IConvertible { List? Errors; /** * Guid representing the object that is the User Profile Id in Eros. */ // @ApiMember(DataType="Guid", Description="Guid representing the object that is the User Profile Id in Eros.", Name="UserProfileId", ParameterType="query") String? ProfileToShareId; /** * Service Stack Response Status. */ // @ApiMember(DataType="ResponseStatus", Description="Service Stack Response Status.", Name="ResponseStatus", ParameterType="query") ResponseStatus? ResponseStatus; AddUserProfileResponse({this.Errors,this.ProfileToShareId,this.ResponseStatus}); AddUserProfileResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Errors = JsonConverters.fromJson(json['Errors'],'List',context!); ProfileToShareId = json['ProfileToShareId']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Errors': JsonConverters.toJson(Errors,'List',context!), 'ProfileToShareId': ProfileToShareId, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "AddUserProfileResponse"; TypeContext? context = _ctx; } /** * Add a Users Profile information' */ // @Route("/profiles", "POST") // @Api(Description="Add a Users Profile information'") class AddUserProfile implements IReturn, IConvertible, IPost { List? UserIds; List? ContactIds; String? ProfileToShareId; AddUserProfile({this.UserIds,this.ContactIds,this.ProfileToShareId}); AddUserProfile.fromJson(Map json) { fromMap(json); } fromMap(Map json) { UserIds = JsonConverters.fromJson(json['UserIds'],'List',context!); ContactIds = JsonConverters.fromJson(json['ContactIds'],'List',context!); ProfileToShareId = json['ProfileToShareId']; return this; } Map toJson() => { 'UserIds': JsonConverters.toJson(UserIds,'List',context!), 'ContactIds': JsonConverters.toJson(ContactIds,'List',context!), 'ProfileToShareId': ProfileToShareId }; createResponse() => AddUserProfileResponse(); getResponseTypeName() => "AddUserProfileResponse"; getTypeName() => "AddUserProfile"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pfapi.pstpf.com.au', types: { 'AddUserProfileResponse': TypeInfo(TypeOf.Class, create:() => AddUserProfileResponse()), 'AddUserProfile': TypeInfo(TypeOf.Class, create:() => AddUserProfile()), });