| GET | /campaign/getinstanceactions/ispasswordprotected/{Id} | Is this instance password protected |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:collection';
class GetCampaignInstanceActionsIsPasswordProtected implements IConvertible
{
// @DataMember(Order=1)
// @Validate(Validator="NotNull")
String? Id;
String? Password;
GetCampaignInstanceActionsIsPasswordProtected({this.Id,this.Password});
GetCampaignInstanceActionsIsPasswordProtected.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Id = json['Id'];
Password = json['Password'];
return this;
}
Map<String, dynamic> toJson() => {
'Id': Id,
'Password': Password
};
getTypeName() => "GetCampaignInstanceActionsIsPasswordProtected";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
'GetCampaignInstanceActionsIsPasswordProtected': TypeInfo(TypeOf.Class, create:() => GetCampaignInstanceActionsIsPasswordProtected()),
});
Dart GetCampaignInstanceActionsIsPasswordProtected DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /campaign/getinstanceactions/ispasswordprotected/{Id} HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length false