| All Verbs | /AddNodeToArea/{Area}/{LCAddress}/{PixelStart}/{PixelStop}/{Index} |
|---|
import 'package:servicestack/servicestack.dart';
class AddNodeToArea implements IConvertible
{
/**
* Area name
*/
// @ApiMember(Description="Area name", IsRequired=true)
String? Area;
/**
* LC address
*/
// @ApiMember(Description="LC address", IsRequired=true)
String? LCAddress;
/**
* Pixel start number
*/
// @ApiMember(Description="Pixel start number", IsRequired=true)
int? PixelStart;
/**
* Pixel stop number
*/
// @ApiMember(Description="Pixel stop number", IsRequired=true)
int? PixelStop;
/**
* Index of node in the group
*/
// @ApiMember(Description="Index of node in the group", IsRequired=true)
int? Index;
/**
* Optional: name of the stockroom where the area is located
*/
// @ApiMember(Description="Optional: name of the stockroom where the area is located")
String? StockroomName;
/**
* Optional: reverse direction
*/
// @ApiMember(Description="Optional: reverse direction")
bool? Reverse;
AddNodeToArea({this.Area,this.LCAddress,this.PixelStart,this.PixelStop,this.Index,this.StockroomName,this.Reverse});
AddNodeToArea.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Area = json['Area'];
LCAddress = json['LCAddress'];
PixelStart = json['PixelStart'];
PixelStop = json['PixelStop'];
Index = json['Index'];
StockroomName = json['StockroomName'];
Reverse = json['Reverse'];
return this;
}
Map<String, dynamic> toJson() => {
'Area': Area,
'LCAddress': LCAddress,
'PixelStart': PixelStart,
'PixelStop': PixelStop,
'Index': Index,
'StockroomName': StockroomName,
'Reverse': Reverse
};
getTypeName() => "AddNodeToArea";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: <String, TypeInfo> {
'AddNodeToArea': TypeInfo(TypeOf.Class, create:() => AddNodeToArea()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /AddNodeToArea/{Area}/{LCAddress}/{PixelStart}/{PixelStop}/{Index} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Area":"String","LCAddress":"String","PixelStart":0,"PixelStop":0,"Index":0,"StockroomName":"String","Reverse":false}