| GET | /campaign/getinstanceactions/ispasswordprotected/{Id} | Is this instance password protected |
|---|
import 'package:servicestack/servicestack.dart';
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 .xml suffix or ?format=xml
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: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">false</boolean>