/* Options: Date: 2026-04-04 06:47:53 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: UpdateContactGroupStatus.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; /** * Archives or Restores a Contact Group record. */ // @Route("/contactgroup/{ContactGroupId}/archive", "PUT") // @Route("/contactgroup/{ContactGroupId}/restore", "PUT") // @Api(Description="Archives or Restores a Contact Group record.") class UpdateContactGroupStatus implements IReturn, IConvertible, IPut { /** * ContactGroupId of the Contact group to be deleted */ // @ApiMember(Description="ContactGroupId of the Contact group to be deleted", Name="ContactGroupId") String? ContactGroupId; /** * True if the action is Archive, False for Restore. */ // @ApiMember(DataType="bool", Description="True if the action is Archive, False for Restore.", IsRequired=true, Name="IsActionArchive", ParameterType="query") bool? IsActionArchive; UpdateContactGroupStatus({this.ContactGroupId,this.IsActionArchive}); UpdateContactGroupStatus.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContactGroupId = json['ContactGroupId']; IsActionArchive = json['IsActionArchive']; return this; } Map toJson() => { 'ContactGroupId': ContactGroupId, 'IsActionArchive': IsActionArchive }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "UpdateContactGroupStatus"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pfapi.pstpf.com.au', types: { 'UpdateContactGroupStatus': TypeInfo(TypeOf.Class, create:() => UpdateContactGroupStatus()), });