/* Options: Date: 2026-04-04 04:54:25 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: UpdateContactGroupOrder.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; /** * Update the order of contacts in the specified contact group */ // @Route("/contactgroups/updatecontactgrouporder") // @Api(Description="Update the order of contacts in the specified contact group") class UpdateContactGroupOrder implements IReturn, IConvertible, IPost { /** * Connection of contact to update index in the group */ // @ApiMember(Description="Connection of contact to update index in the group", Name="ContactGroupConnectionId") String? ContactGroupConnectionId; /** * The index of the contact in the group */ // @ApiMember(Description="The index of the contact in the group", Name="Index") int? Index; UpdateContactGroupOrder({this.ContactGroupConnectionId,this.Index}); UpdateContactGroupOrder.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContactGroupConnectionId = json['ContactGroupConnectionId']; Index = json['Index']; return this; } Map toJson() => { 'ContactGroupConnectionId': ContactGroupConnectionId, 'Index': Index }; createResponse() => StringResponse(); getResponseTypeName() => "StringResponse"; getTypeName() => "UpdateContactGroupOrder"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pfapi.pstpf.com.au', types: { 'UpdateContactGroupOrder': TypeInfo(TypeOf.Class, create:() => UpdateContactGroupOrder()), });