| All Verbs | /MissionStartToReload/{Name}/{Owner} |
|---|
import 'package:servicestack/servicestack.dart';
class MissionStartToReload implements IConvertible
{
/**
* Mission name
*/
// @ApiMember(Description="Mission name", IsRequired=true)
String? Name;
/**
* Mission owner
*/
// @ApiMember(Description="Mission owner", IsRequired=true)
String? Owner;
/**
* Optional: name of the stockroom where are located the position
*/
// @ApiMember(Description="Optional: name of the stockroom where are located the position")
String? StockroomName;
/**
* Reference of the target printer
*/
// @ApiMember(Description="Reference of the target printer")
String? Printer;
MissionStartToReload({this.Name,this.Owner,this.StockroomName,this.Printer});
MissionStartToReload.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Name = json['Name'];
Owner = json['Owner'];
StockroomName = json['StockroomName'];
Printer = json['Printer'];
return this;
}
Map<String, dynamic> toJson() => {
'Name': Name,
'Owner': Owner,
'StockroomName': StockroomName,
'Printer': Printer
};
getTypeName() => "MissionStartToReload";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: <String, TypeInfo> {
'MissionStartToReload': TypeInfo(TypeOf.Class, create:() => MissionStartToReload()),
});
Dart MissionStartToReload 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 /MissionStartToReload/{Name}/{Owner} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Name: String,
Owner: String,
StockroomName: String,
Printer: String
}