| GET,OPTIONS | /v1/emailoauth/callback |
|---|
import 'package:servicestack/servicestack.dart';
class EmailOAuthCallbackRequest implements IConvertible
{
String? Code;
String? State;
String? Error;
EmailOAuthCallbackRequest({this.Code,this.State,this.Error});
EmailOAuthCallbackRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Code = json['Code'];
State = json['State'];
Error = json['Error'];
return this;
}
Map<String, dynamic> toJson() => {
'Code': Code,
'State': State,
'Error': Error
};
getTypeName() => "EmailOAuthCallbackRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
'EmailOAuthCallbackRequest': TypeInfo(TypeOf.Class, create:() => EmailOAuthCallbackRequest()),
});
Dart EmailOAuthCallbackRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/emailoauth/callback HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsonl