| GET,OPTIONS | /v1/webix/kanban/users |
|---|
import 'package:servicestack/servicestack.dart';
class WebixKanbanUser implements IConvertible
{
int? id;
String? value;
String? image;
WebixKanbanUser({this.id,this.value,this.image});
WebixKanbanUser.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
id = json['id'];
value = json['value'];
image = json['image'];
return this;
}
Map<String, dynamic> toJson() => {
'id': id,
'value': value,
'image': image
};
getTypeName() => "WebixKanbanUser";
TypeContext? context = _ctx;
}
class WebixKanbanUserResponse extends WebixKanbanUser implements IConvertible
{
WebixKanbanUserResponse();
WebixKanbanUserResponse.fromJson(Map<String, dynamic> json) : super.fromJson(json);
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
return this;
}
Map<String, dynamic> toJson() => super.toJson();
getTypeName() => "WebixKanbanUserResponse";
TypeContext? context = _ctx;
}
class WebixKanbanUserRequest implements IConvertible
{
WebixKanbanUserRequest();
WebixKanbanUserRequest.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "WebixKanbanUserRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
'WebixKanbanUser': TypeInfo(TypeOf.Class, create:() => WebixKanbanUser()),
'WebixKanbanUserResponse': TypeInfo(TypeOf.Class, create:() => WebixKanbanUserResponse()),
'WebixKanbanUserRequest': TypeInfo(TypeOf.Class, create:() => WebixKanbanUserRequest()),
});
Dart WebixKanbanUserRequest DTOs
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.
GET /v1/webix/kanban/users HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"id":0,"value":"String","image":"String"}