com.logonlabs.dtos Maven / Gradle / Ivy
/* Options:
Date: 2019-03-29 17:40:21
Version: 5.40
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://idpx.logon-dev.com
//Package: com.logonlabs
//GlobalNamespace: dtos
//AddPropertyAccessors: True
//SettersReturnThis: True
//AddServiceStackTypes: True
//AddResponseStatus: False
//AddDescriptionAsComments: True
//AddImplicitVersion:
//IncludeTypes:
//ExcludeTypes:
//TreatTypesAsStrings:
//DefaultImports: java.math.*,java.util.*,net.servicestack.client.*
*/
package com.logonlabs;
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
@Route(Path="/callback", Verbs="GET")
// @Route(Path="/callback", Verbs="POST")
@DataContract
public static class Callback implements IReturn
{
@DataMember(IsRequired=true)
public String code = null;
@DataMember(IsRequired=true)
public String state = null;
@DataMember(IsRequired=true)
public String session_state = null;
@DataMember
public String relayState = null;
@DataMember
public String samlResponse = null;
@DataMember
public String oauth_token = null;
@DataMember
public String oauth_verifier = null;
public String getCode() { return code; }
public Callback setCode(String value) { this.code = value; return this; }
public String getState() { return state; }
public Callback setState(String value) { this.state = value; return this; }
public String getSessionState() { return session_state; }
public Callback setSessionState(String value) { this.session_state = value; return this; }
public String getRelayState() { return relayState; }
public Callback setRelayState(String value) { this.relayState = value; return this; }
public String getSamlResponse() { return samlResponse; }
public Callback setSamlResponse(String value) { this.samlResponse = value; return this; }
public String getOauthToken() { return oauth_token; }
public Callback setOauthToken(String value) { this.oauth_token = value; return this; }
public String getOauthVerifier() { return oauth_verifier; }
public Callback setOauthVerifier(String value) { this.oauth_verifier = value; return this; }
private static Object responseType = CallbackResponse.class;
public Object getResponseType() { return responseType; }
}
@Route(Path="/event", Verbs="POST")
@DataContract
public static class CreateEvent implements IReturn, IAppId
{
@DataMember
public String app_id = null;
@DataMember
public String type = null;
@DataMember
public Boolean validate = null;
@DataMember
public String local_validation = null;
@DataMember
public String email_address = null;
@DataMember
public String first_name = null;
@DataMember
public String last_name = null;
@DataMember
public String ip_address = null;
@DataMember
public String user_agent = null;
@DataMember
public ArrayList tags = null;
public String getAppId() { return app_id; }
public CreateEvent setAppId(String value) { this.app_id = value; return this; }
public String getType() { return type; }
public CreateEvent setType(String value) { this.type = value; return this; }
public Boolean isValidate() { return validate; }
public CreateEvent setValidate(Boolean value) { this.validate = value; return this; }
public String getLocalValidation() { return local_validation; }
public CreateEvent setLocalValidation(String value) { this.local_validation = value; return this; }
public String getEmailAddress() { return email_address; }
public CreateEvent setEmailAddress(String value) { this.email_address = value; return this; }
public String getFirstName() { return first_name; }
public CreateEvent setFirstName(String value) { this.first_name = value; return this; }
public String getLastName() { return last_name; }
public CreateEvent setLastName(String value) { this.last_name = value; return this; }
public String getIpAddress() { return ip_address; }
public CreateEvent setIpAddress(String value) { this.ip_address = value; return this; }
public String getUserAgent() { return user_agent; }
public CreateEvent setUserAgent(String value) { this.user_agent = value; return this; }
public ArrayList getTags() { return tags; }
public CreateEvent setTags(ArrayList value) { this.tags = value; return this; }
private static Object responseType = CreateEventResponse.class;
public Object getResponseType() { return responseType; }
}
@Route("/error")
@DataContract
public static class ErrorPage implements IReturn