All Verbs | /resend-notification |
---|
import 'package:servicestack/servicestack.dart';
class ResendNotificationPublic implements IConvertible
{
String? notificationId;
ResendNotificationPublic({this.notificationId});
ResendNotificationPublic.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
notificationId = json['notificationId'];
return this;
}
Map<String, dynamic> toJson() => {
'notificationId': notificationId
};
getTypeName() => "ResendNotificationPublic";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'evovoice.io', types: <String, TypeInfo> {
'ResendNotificationPublic': TypeInfo(TypeOf.Class, create:() => ResendNotificationPublic()),
});
Dart ResendNotificationPublic DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /resend-notification HTTP/1.1
Host: evovoice.io
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
notificationId: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length (string)