Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiGenerateTokenRequest
- func (r ApiGenerateTokenRequest) Execute() (GenerateTokenResponse, *_nethttp.Response, error)
- func (r ApiGenerateTokenRequest) GenerateTokenRequest(generateTokenRequest GenerateTokenRequest) ApiGenerateTokenRequest
- func (r ApiGenerateTokenRequest) XAppid(xAppid string) ApiGenerateTokenRequest
- func (r ApiGenerateTokenRequest) XAppversion(xAppversion string) ApiGenerateTokenRequest
- func (r ApiGenerateTokenRequest) XDeviceos(xDeviceos string) ApiGenerateTokenRequest
- func (r ApiGenerateTokenRequest) XPhonemake(xPhonemake string) ApiGenerateTokenRequest
- func (r ApiGenerateTokenRequest) XPhonemodel(xPhonemodel string) ApiGenerateTokenRequest
- func (r ApiGenerateTokenRequest) XPlatform(xPlatform string) ApiGenerateTokenRequest
- func (r ApiGenerateTokenRequest) XPushtokentype(xPushtokentype string) ApiGenerateTokenRequest
- func (r ApiGenerateTokenRequest) XUniqueid(xUniqueid string) ApiGenerateTokenRequest
- func (r ApiGenerateTokenRequest) XUserType(xUserType string) ApiGenerateTokenRequest
- type ApiLoginRequestRequest
- func (r ApiLoginRequestRequest) Execute() (LoginRequestResponse, *_nethttp.Response, error)
- func (r ApiLoginRequestRequest) LoginRequestBody(loginRequestBody LoginRequestBody) ApiLoginRequestRequest
- func (r ApiLoginRequestRequest) XAppid(xAppid string) ApiLoginRequestRequest
- func (r ApiLoginRequestRequest) XAppversion(xAppversion string) ApiLoginRequestRequest
- func (r ApiLoginRequestRequest) XDeviceos(xDeviceos string) ApiLoginRequestRequest
- func (r ApiLoginRequestRequest) XPhonemake(xPhonemake string) ApiLoginRequestRequest
- func (r ApiLoginRequestRequest) XPhonemodel(xPhonemodel string) ApiLoginRequestRequest
- func (r ApiLoginRequestRequest) XPlatform(xPlatform string) ApiLoginRequestRequest
- func (r ApiLoginRequestRequest) XPushtokentype(xPushtokentype string) ApiLoginRequestRequest
- func (r ApiLoginRequestRequest) XUniqueid(xUniqueid string) ApiLoginRequestRequest
- func (r ApiLoginRequestRequest) XUserType(xUserType string) ApiLoginRequestRequest
- type BasicAuth
- type Configuration
- type GenerateTokenRequest
- func (o *GenerateTokenRequest) GetClientId() string
- func (o *GenerateTokenRequest) GetClientIdOk() (*string, bool)
- func (o *GenerateTokenRequest) GetClientSecret() string
- func (o *GenerateTokenRequest) GetClientSecretOk() (*string, bool)
- func (o *GenerateTokenRequest) GetData() GoidTokenData
- func (o *GenerateTokenRequest) GetDataOk() (*GoidTokenData, bool)
- func (o *GenerateTokenRequest) GetGrantType() string
- func (o *GenerateTokenRequest) GetGrantTypeOk() (*string, bool)
- func (o *GenerateTokenRequest) GetScopes() []interface{}
- func (o *GenerateTokenRequest) GetScopesOk() (*[]interface{}, bool)
- func (o *GenerateTokenRequest) HasClientId() bool
- func (o *GenerateTokenRequest) HasClientSecret() bool
- func (o *GenerateTokenRequest) HasData() bool
- func (o *GenerateTokenRequest) HasGrantType() bool
- func (o *GenerateTokenRequest) HasScopes() bool
- func (o GenerateTokenRequest) MarshalJSON() ([]byte, error)
- func (o *GenerateTokenRequest) SetClientId(v string)
- func (o *GenerateTokenRequest) SetClientSecret(v string)
- func (o *GenerateTokenRequest) SetData(v GoidTokenData)
- func (o *GenerateTokenRequest) SetGrantType(v string)
- func (o *GenerateTokenRequest) SetScopes(v []interface{})
- type GenerateTokenResponse
- func (o *GenerateTokenResponse) GetAccessToken() string
- func (o *GenerateTokenResponse) GetAccessTokenOk() (*string, bool)
- func (o *GenerateTokenResponse) GetDblEnabled() bool
- func (o *GenerateTokenResponse) GetDblEnabledOk() (*bool, bool)
- func (o *GenerateTokenResponse) GetFlags() GenerateTokenResponseFlags
- func (o *GenerateTokenResponse) GetFlagsOk() (*GenerateTokenResponseFlags, bool)
- func (o *GenerateTokenResponse) GetRefreshToken() string
- func (o *GenerateTokenResponse) GetRefreshTokenOk() (*string, bool)
- func (o *GenerateTokenResponse) HasAccessToken() bool
- func (o *GenerateTokenResponse) HasDblEnabled() bool
- func (o *GenerateTokenResponse) HasFlags() bool
- func (o *GenerateTokenResponse) HasRefreshToken() bool
- func (o GenerateTokenResponse) MarshalJSON() ([]byte, error)
- func (o *GenerateTokenResponse) SetAccessToken(v string)
- func (o *GenerateTokenResponse) SetDblEnabled(v bool)
- func (o *GenerateTokenResponse) SetFlags(v GenerateTokenResponseFlags)
- func (o *GenerateTokenResponse) SetRefreshToken(v string)
- type GenerateTokenResponseFlags
- func (o *GenerateTokenResponseFlags) GetIsAppPinSet() bool
- func (o *GenerateTokenResponseFlags) GetIsAppPinSetOk() (*bool, bool)
- func (o *GenerateTokenResponseFlags) GetOnetapEligible() bool
- func (o *GenerateTokenResponseFlags) GetOnetapEligibleOk() (*bool, bool)
- func (o *GenerateTokenResponseFlags) HasIsAppPinSet() bool
- func (o *GenerateTokenResponseFlags) HasOnetapEligible() bool
- func (o GenerateTokenResponseFlags) MarshalJSON() ([]byte, error)
- func (o *GenerateTokenResponseFlags) SetIsAppPinSet(v bool)
- func (o *GenerateTokenResponseFlags) SetOnetapEligible(v bool)
- type GenericOpenAPIError
- type GoidTokenData
- func (o *GoidTokenData) GetOtp() string
- func (o *GoidTokenData) GetOtpOk() (*string, bool)
- func (o *GoidTokenData) GetOtpToken() string
- func (o *GoidTokenData) GetOtpTokenOk() (*string, bool)
- func (o *GoidTokenData) HasOtp() bool
- func (o *GoidTokenData) HasOtpToken() bool
- func (o GoidTokenData) MarshalJSON() ([]byte, error)
- func (o *GoidTokenData) SetOtp(v string)
- func (o *GoidTokenData) SetOtpToken(v string)
- type LoginRequestBody
- func (o *LoginRequestBody) GetClientId() string
- func (o *LoginRequestBody) GetClientIdOk() (*string, bool)
- func (o *LoginRequestBody) GetClientSecret() string
- func (o *LoginRequestBody) GetClientSecretOk() (*string, bool)
- func (o *LoginRequestBody) GetCountryCode() string
- func (o *LoginRequestBody) GetCountryCodeOk() (*string, bool)
- func (o *LoginRequestBody) GetLoginType() string
- func (o *LoginRequestBody) GetLoginTypeOk() (*string, bool)
- func (o *LoginRequestBody) GetMagicLinkRef() string
- func (o *LoginRequestBody) GetMagicLinkRefOk() (*string, bool)
- func (o *LoginRequestBody) GetPhoneNumber() string
- func (o *LoginRequestBody) GetPhoneNumberOk() (*string, bool)
- func (o *LoginRequestBody) HasClientId() bool
- func (o *LoginRequestBody) HasClientSecret() bool
- func (o *LoginRequestBody) HasCountryCode() bool
- func (o *LoginRequestBody) HasLoginType() bool
- func (o *LoginRequestBody) HasMagicLinkRef() bool
- func (o *LoginRequestBody) HasPhoneNumber() bool
- func (o LoginRequestBody) MarshalJSON() ([]byte, error)
- func (o *LoginRequestBody) SetClientId(v string)
- func (o *LoginRequestBody) SetClientSecret(v string)
- func (o *LoginRequestBody) SetCountryCode(v string)
- func (o *LoginRequestBody) SetLoginType(v string)
- func (o *LoginRequestBody) SetMagicLinkRef(v string)
- func (o *LoginRequestBody) SetPhoneNumber(v string)
- type LoginRequestResponse
- func (o *LoginRequestResponse) GetData() LoginRequestResponseData
- func (o *LoginRequestResponse) GetDataOk() (*LoginRequestResponseData, bool)
- func (o *LoginRequestResponse) GetErrors() []interface{}
- func (o *LoginRequestResponse) GetErrorsOk() (*[]interface{}, bool)
- func (o *LoginRequestResponse) GetSuccess() bool
- func (o *LoginRequestResponse) GetSuccessOk() (*bool, bool)
- func (o *LoginRequestResponse) HasData() bool
- func (o *LoginRequestResponse) HasErrors() bool
- func (o *LoginRequestResponse) HasSuccess() bool
- func (o LoginRequestResponse) MarshalJSON() ([]byte, error)
- func (o *LoginRequestResponse) SetData(v LoginRequestResponseData)
- func (o *LoginRequestResponse) SetErrors(v []interface{})
- func (o *LoginRequestResponse) SetSuccess(v bool)
- type LoginRequestResponseData
- func (o *LoginRequestResponseData) GetNextState() LoginRequestResponseDataNextState
- func (o *LoginRequestResponseData) GetNextStateOk() (*LoginRequestResponseDataNextState, bool)
- func (o *LoginRequestResponseData) GetOtpExpiresIn() float32
- func (o *LoginRequestResponseData) GetOtpExpiresInOk() (*float32, bool)
- func (o *LoginRequestResponseData) GetOtpLength() float32
- func (o *LoginRequestResponseData) GetOtpLengthOk() (*float32, bool)
- func (o *LoginRequestResponseData) GetOtpToken() string
- func (o *LoginRequestResponseData) GetOtpTokenOk() (*string, bool)
- func (o *LoginRequestResponseData) HasNextState() bool
- func (o *LoginRequestResponseData) HasOtpExpiresIn() bool
- func (o *LoginRequestResponseData) HasOtpLength() bool
- func (o *LoginRequestResponseData) HasOtpToken() bool
- func (o LoginRequestResponseData) MarshalJSON() ([]byte, error)
- func (o *LoginRequestResponseData) SetNextState(v LoginRequestResponseDataNextState)
- func (o *LoginRequestResponseData) SetOtpExpiresIn(v float32)
- func (o *LoginRequestResponseData) SetOtpLength(v float32)
- func (o *LoginRequestResponseData) SetOtpToken(v string)
- type LoginRequestResponseDataNextState
- func (o *LoginRequestResponseDataNextState) GetDestination() string
- func (o *LoginRequestResponseDataNextState) GetDestinationOk() (*string, bool)
- func (o *LoginRequestResponseDataNextState) GetState() string
- func (o *LoginRequestResponseDataNextState) GetStateOk() (*string, bool)
- func (o *LoginRequestResponseDataNextState) GetTimerInSeconds() float32
- func (o *LoginRequestResponseDataNextState) GetTimerInSecondsOk() (*float32, bool)
- func (o *LoginRequestResponseDataNextState) HasDestination() bool
- func (o *LoginRequestResponseDataNextState) HasState() bool
- func (o *LoginRequestResponseDataNextState) HasTimerInSeconds() bool
- func (o LoginRequestResponseDataNextState) MarshalJSON() ([]byte, error)
- func (o *LoginRequestResponseDataNextState) SetDestination(v string)
- func (o *LoginRequestResponseDataNextState) SetState(v string)
- func (o *LoginRequestResponseDataNextState) SetTimerInSeconds(v float32)
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableGenerateTokenRequest
- func (v NullableGenerateTokenRequest) Get() *GenerateTokenRequest
- func (v NullableGenerateTokenRequest) IsSet() bool
- func (v NullableGenerateTokenRequest) MarshalJSON() ([]byte, error)
- func (v *NullableGenerateTokenRequest) Set(val *GenerateTokenRequest)
- func (v *NullableGenerateTokenRequest) UnmarshalJSON(src []byte) error
- func (v *NullableGenerateTokenRequest) Unset()
- type NullableGenerateTokenResponse
- func (v NullableGenerateTokenResponse) Get() *GenerateTokenResponse
- func (v NullableGenerateTokenResponse) IsSet() bool
- func (v NullableGenerateTokenResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGenerateTokenResponse) Set(val *GenerateTokenResponse)
- func (v *NullableGenerateTokenResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGenerateTokenResponse) Unset()
- type NullableGenerateTokenResponseFlags
- func (v NullableGenerateTokenResponseFlags) Get() *GenerateTokenResponseFlags
- func (v NullableGenerateTokenResponseFlags) IsSet() bool
- func (v NullableGenerateTokenResponseFlags) MarshalJSON() ([]byte, error)
- func (v *NullableGenerateTokenResponseFlags) Set(val *GenerateTokenResponseFlags)
- func (v *NullableGenerateTokenResponseFlags) UnmarshalJSON(src []byte) error
- func (v *NullableGenerateTokenResponseFlags) Unset()
- type NullableGoidTokenData
- func (v NullableGoidTokenData) Get() *GoidTokenData
- func (v NullableGoidTokenData) IsSet() bool
- func (v NullableGoidTokenData) MarshalJSON() ([]byte, error)
- func (v *NullableGoidTokenData) Set(val *GoidTokenData)
- func (v *NullableGoidTokenData) UnmarshalJSON(src []byte) error
- func (v *NullableGoidTokenData) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLoginRequestBody
- func (v NullableLoginRequestBody) Get() *LoginRequestBody
- func (v NullableLoginRequestBody) IsSet() bool
- func (v NullableLoginRequestBody) MarshalJSON() ([]byte, error)
- func (v *NullableLoginRequestBody) Set(val *LoginRequestBody)
- func (v *NullableLoginRequestBody) UnmarshalJSON(src []byte) error
- func (v *NullableLoginRequestBody) Unset()
- type NullableLoginRequestResponse
- func (v NullableLoginRequestResponse) Get() *LoginRequestResponse
- func (v NullableLoginRequestResponse) IsSet() bool
- func (v NullableLoginRequestResponse) MarshalJSON() ([]byte, error)
- func (v *NullableLoginRequestResponse) Set(val *LoginRequestResponse)
- func (v *NullableLoginRequestResponse) UnmarshalJSON(src []byte) error
- func (v *NullableLoginRequestResponse) Unset()
- type NullableLoginRequestResponseData
- func (v NullableLoginRequestResponseData) Get() *LoginRequestResponseData
- func (v NullableLoginRequestResponseData) IsSet() bool
- func (v NullableLoginRequestResponseData) MarshalJSON() ([]byte, error)
- func (v *NullableLoginRequestResponseData) Set(val *LoginRequestResponseData)
- func (v *NullableLoginRequestResponseData) UnmarshalJSON(src []byte) error
- func (v *NullableLoginRequestResponseData) Unset()
- type NullableLoginRequestResponseDataNextState
- func (v NullableLoginRequestResponseDataNextState) Get() *LoginRequestResponseDataNextState
- func (v NullableLoginRequestResponseDataNextState) IsSet() bool
- func (v NullableLoginRequestResponseDataNextState) MarshalJSON() ([]byte, error)
- func (v *NullableLoginRequestResponseDataNextState) Set(val *LoginRequestResponseDataNextState)
- func (v *NullableLoginRequestResponseDataNextState) UnmarshalJSON(src []byte) error
- func (v *NullableLoginRequestResponseDataNextState) Unset()
- type NullableString
- type NullableTime
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type TokenApiService
- func (a *TokenApiService) GenerateToken(ctx _context.Context) ApiGenerateTokenRequest
- func (a *TokenApiService) GenerateTokenExecute(r ApiGenerateTokenRequest) (GenerateTokenResponse, *_nethttp.Response, error)
- func (a *TokenApiService) LoginRequest(ctx _context.Context) ApiLoginRequestRequest
- func (a *TokenApiService) LoginRequestExecute(r ApiLoginRequestRequest) (LoginRequestResponse, *_nethttp.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { TokenApi *TokenApiService // contains filtered or unexported fields }
APIClient manages communication with the goid.gojekapi.com API v1.0.1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiGenerateTokenRequest ¶
type ApiGenerateTokenRequest struct { ApiService *TokenApiService // contains filtered or unexported fields }
func (ApiGenerateTokenRequest) Execute ¶
func (r ApiGenerateTokenRequest) Execute() (GenerateTokenResponse, *_nethttp.Response, error)
func (ApiGenerateTokenRequest) GenerateTokenRequest ¶
func (r ApiGenerateTokenRequest) GenerateTokenRequest(generateTokenRequest GenerateTokenRequest) ApiGenerateTokenRequest
func (ApiGenerateTokenRequest) XAppid ¶
func (r ApiGenerateTokenRequest) XAppid(xAppid string) ApiGenerateTokenRequest
func (ApiGenerateTokenRequest) XAppversion ¶
func (r ApiGenerateTokenRequest) XAppversion(xAppversion string) ApiGenerateTokenRequest
func (ApiGenerateTokenRequest) XDeviceos ¶
func (r ApiGenerateTokenRequest) XDeviceos(xDeviceos string) ApiGenerateTokenRequest
func (ApiGenerateTokenRequest) XPhonemake ¶
func (r ApiGenerateTokenRequest) XPhonemake(xPhonemake string) ApiGenerateTokenRequest
func (ApiGenerateTokenRequest) XPhonemodel ¶
func (r ApiGenerateTokenRequest) XPhonemodel(xPhonemodel string) ApiGenerateTokenRequest
func (ApiGenerateTokenRequest) XPlatform ¶
func (r ApiGenerateTokenRequest) XPlatform(xPlatform string) ApiGenerateTokenRequest
func (ApiGenerateTokenRequest) XPushtokentype ¶
func (r ApiGenerateTokenRequest) XPushtokentype(xPushtokentype string) ApiGenerateTokenRequest
func (ApiGenerateTokenRequest) XUniqueid ¶
func (r ApiGenerateTokenRequest) XUniqueid(xUniqueid string) ApiGenerateTokenRequest
func (ApiGenerateTokenRequest) XUserType ¶
func (r ApiGenerateTokenRequest) XUserType(xUserType string) ApiGenerateTokenRequest
type ApiLoginRequestRequest ¶
type ApiLoginRequestRequest struct { ApiService *TokenApiService // contains filtered or unexported fields }
func (ApiLoginRequestRequest) Execute ¶
func (r ApiLoginRequestRequest) Execute() (LoginRequestResponse, *_nethttp.Response, error)
func (ApiLoginRequestRequest) LoginRequestBody ¶
func (r ApiLoginRequestRequest) LoginRequestBody(loginRequestBody LoginRequestBody) ApiLoginRequestRequest
func (ApiLoginRequestRequest) XAppid ¶
func (r ApiLoginRequestRequest) XAppid(xAppid string) ApiLoginRequestRequest
func (ApiLoginRequestRequest) XAppversion ¶
func (r ApiLoginRequestRequest) XAppversion(xAppversion string) ApiLoginRequestRequest
func (ApiLoginRequestRequest) XDeviceos ¶
func (r ApiLoginRequestRequest) XDeviceos(xDeviceos string) ApiLoginRequestRequest
func (ApiLoginRequestRequest) XPhonemake ¶
func (r ApiLoginRequestRequest) XPhonemake(xPhonemake string) ApiLoginRequestRequest
func (ApiLoginRequestRequest) XPhonemodel ¶
func (r ApiLoginRequestRequest) XPhonemodel(xPhonemodel string) ApiLoginRequestRequest
func (ApiLoginRequestRequest) XPlatform ¶
func (r ApiLoginRequestRequest) XPlatform(xPlatform string) ApiLoginRequestRequest
func (ApiLoginRequestRequest) XPushtokentype ¶
func (r ApiLoginRequestRequest) XPushtokentype(xPushtokentype string) ApiLoginRequestRequest
func (ApiLoginRequestRequest) XUniqueid ¶
func (r ApiLoginRequestRequest) XUniqueid(xUniqueid string) ApiLoginRequestRequest
func (ApiLoginRequestRequest) XUserType ¶
func (r ApiLoginRequestRequest) XUserType(xUserType string) ApiLoginRequestRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type GenerateTokenRequest ¶
type GenerateTokenRequest struct { ClientId *string `json:"client_id,omitempty"` ClientSecret *string `json:"client_secret,omitempty"` Data *GoidTokenData `json:"data,omitempty"` GrantType *string `json:"grant_type,omitempty"` Scopes *[]interface{} `json:"scopes,omitempty"` }
GenerateTokenRequest struct for GenerateTokenRequest
func NewGenerateTokenRequest ¶
func NewGenerateTokenRequest() *GenerateTokenRequest
NewGenerateTokenRequest instantiates a new GenerateTokenRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGenerateTokenRequestWithDefaults ¶
func NewGenerateTokenRequestWithDefaults() *GenerateTokenRequest
NewGenerateTokenRequestWithDefaults instantiates a new GenerateTokenRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GenerateTokenRequest) GetClientId ¶
func (o *GenerateTokenRequest) GetClientId() string
GetClientId returns the ClientId field value if set, zero value otherwise.
func (*GenerateTokenRequest) GetClientIdOk ¶
func (o *GenerateTokenRequest) GetClientIdOk() (*string, bool)
GetClientIdOk returns a tuple with the ClientId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GenerateTokenRequest) GetClientSecret ¶
func (o *GenerateTokenRequest) GetClientSecret() string
GetClientSecret returns the ClientSecret field value if set, zero value otherwise.
func (*GenerateTokenRequest) GetClientSecretOk ¶
func (o *GenerateTokenRequest) GetClientSecretOk() (*string, bool)
GetClientSecretOk returns a tuple with the ClientSecret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GenerateTokenRequest) GetData ¶
func (o *GenerateTokenRequest) GetData() GoidTokenData
GetData returns the Data field value if set, zero value otherwise.
func (*GenerateTokenRequest) GetDataOk ¶
func (o *GenerateTokenRequest) GetDataOk() (*GoidTokenData, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GenerateTokenRequest) GetGrantType ¶
func (o *GenerateTokenRequest) GetGrantType() string
GetGrantType returns the GrantType field value if set, zero value otherwise.
func (*GenerateTokenRequest) GetGrantTypeOk ¶
func (o *GenerateTokenRequest) GetGrantTypeOk() (*string, bool)
GetGrantTypeOk returns a tuple with the GrantType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GenerateTokenRequest) GetScopes ¶
func (o *GenerateTokenRequest) GetScopes() []interface{}
GetScopes returns the Scopes field value if set, zero value otherwise.
func (*GenerateTokenRequest) GetScopesOk ¶
func (o *GenerateTokenRequest) GetScopesOk() (*[]interface{}, bool)
GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GenerateTokenRequest) HasClientId ¶
func (o *GenerateTokenRequest) HasClientId() bool
HasClientId returns a boolean if a field has been set.
func (*GenerateTokenRequest) HasClientSecret ¶
func (o *GenerateTokenRequest) HasClientSecret() bool
HasClientSecret returns a boolean if a field has been set.
func (*GenerateTokenRequest) HasData ¶
func (o *GenerateTokenRequest) HasData() bool
HasData returns a boolean if a field has been set.
func (*GenerateTokenRequest) HasGrantType ¶
func (o *GenerateTokenRequest) HasGrantType() bool
HasGrantType returns a boolean if a field has been set.
func (*GenerateTokenRequest) HasScopes ¶
func (o *GenerateTokenRequest) HasScopes() bool
HasScopes returns a boolean if a field has been set.
func (GenerateTokenRequest) MarshalJSON ¶
func (o GenerateTokenRequest) MarshalJSON() ([]byte, error)
func (*GenerateTokenRequest) SetClientId ¶
func (o *GenerateTokenRequest) SetClientId(v string)
SetClientId gets a reference to the given string and assigns it to the ClientId field.
func (*GenerateTokenRequest) SetClientSecret ¶
func (o *GenerateTokenRequest) SetClientSecret(v string)
SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.
func (*GenerateTokenRequest) SetData ¶
func (o *GenerateTokenRequest) SetData(v GoidTokenData)
SetData gets a reference to the given GoidTokenData and assigns it to the Data field.
func (*GenerateTokenRequest) SetGrantType ¶
func (o *GenerateTokenRequest) SetGrantType(v string)
SetGrantType gets a reference to the given string and assigns it to the GrantType field.
func (*GenerateTokenRequest) SetScopes ¶
func (o *GenerateTokenRequest) SetScopes(v []interface{})
SetScopes gets a reference to the given []interface{} and assigns it to the Scopes field.
type GenerateTokenResponse ¶
type GenerateTokenResponse struct { AccessToken *string `json:"access_token,omitempty"` RefreshToken *string `json:"refresh_token,omitempty"` DblEnabled *bool `json:"dbl_enabled,omitempty"` Flags *GenerateTokenResponseFlags `json:"flags,omitempty"` }
GenerateTokenResponse struct for GenerateTokenResponse
func NewGenerateTokenResponse ¶
func NewGenerateTokenResponse() *GenerateTokenResponse
NewGenerateTokenResponse instantiates a new GenerateTokenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGenerateTokenResponseWithDefaults ¶
func NewGenerateTokenResponseWithDefaults() *GenerateTokenResponse
NewGenerateTokenResponseWithDefaults instantiates a new GenerateTokenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GenerateTokenResponse) GetAccessToken ¶
func (o *GenerateTokenResponse) GetAccessToken() string
GetAccessToken returns the AccessToken field value if set, zero value otherwise.
func (*GenerateTokenResponse) GetAccessTokenOk ¶
func (o *GenerateTokenResponse) GetAccessTokenOk() (*string, bool)
GetAccessTokenOk returns a tuple with the AccessToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GenerateTokenResponse) GetDblEnabled ¶
func (o *GenerateTokenResponse) GetDblEnabled() bool
GetDblEnabled returns the DblEnabled field value if set, zero value otherwise.
func (*GenerateTokenResponse) GetDblEnabledOk ¶
func (o *GenerateTokenResponse) GetDblEnabledOk() (*bool, bool)
GetDblEnabledOk returns a tuple with the DblEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GenerateTokenResponse) GetFlags ¶
func (o *GenerateTokenResponse) GetFlags() GenerateTokenResponseFlags
GetFlags returns the Flags field value if set, zero value otherwise.
func (*GenerateTokenResponse) GetFlagsOk ¶
func (o *GenerateTokenResponse) GetFlagsOk() (*GenerateTokenResponseFlags, bool)
GetFlagsOk returns a tuple with the Flags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GenerateTokenResponse) GetRefreshToken ¶
func (o *GenerateTokenResponse) GetRefreshToken() string
GetRefreshToken returns the RefreshToken field value if set, zero value otherwise.
func (*GenerateTokenResponse) GetRefreshTokenOk ¶
func (o *GenerateTokenResponse) GetRefreshTokenOk() (*string, bool)
GetRefreshTokenOk returns a tuple with the RefreshToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GenerateTokenResponse) HasAccessToken ¶
func (o *GenerateTokenResponse) HasAccessToken() bool
HasAccessToken returns a boolean if a field has been set.
func (*GenerateTokenResponse) HasDblEnabled ¶
func (o *GenerateTokenResponse) HasDblEnabled() bool
HasDblEnabled returns a boolean if a field has been set.
func (*GenerateTokenResponse) HasFlags ¶
func (o *GenerateTokenResponse) HasFlags() bool
HasFlags returns a boolean if a field has been set.
func (*GenerateTokenResponse) HasRefreshToken ¶
func (o *GenerateTokenResponse) HasRefreshToken() bool
HasRefreshToken returns a boolean if a field has been set.
func (GenerateTokenResponse) MarshalJSON ¶
func (o GenerateTokenResponse) MarshalJSON() ([]byte, error)
func (*GenerateTokenResponse) SetAccessToken ¶
func (o *GenerateTokenResponse) SetAccessToken(v string)
SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.
func (*GenerateTokenResponse) SetDblEnabled ¶
func (o *GenerateTokenResponse) SetDblEnabled(v bool)
SetDblEnabled gets a reference to the given bool and assigns it to the DblEnabled field.
func (*GenerateTokenResponse) SetFlags ¶
func (o *GenerateTokenResponse) SetFlags(v GenerateTokenResponseFlags)
SetFlags gets a reference to the given GenerateTokenResponseFlags and assigns it to the Flags field.
func (*GenerateTokenResponse) SetRefreshToken ¶
func (o *GenerateTokenResponse) SetRefreshToken(v string)
SetRefreshToken gets a reference to the given string and assigns it to the RefreshToken field.
type GenerateTokenResponseFlags ¶
type GenerateTokenResponseFlags struct { OnetapEligible *bool `json:"onetap_eligible,omitempty"` IsAppPinSet *bool `json:"is_app_pin_set,omitempty"` }
GenerateTokenResponseFlags struct for GenerateTokenResponseFlags
func NewGenerateTokenResponseFlags ¶
func NewGenerateTokenResponseFlags() *GenerateTokenResponseFlags
NewGenerateTokenResponseFlags instantiates a new GenerateTokenResponseFlags object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGenerateTokenResponseFlagsWithDefaults ¶
func NewGenerateTokenResponseFlagsWithDefaults() *GenerateTokenResponseFlags
NewGenerateTokenResponseFlagsWithDefaults instantiates a new GenerateTokenResponseFlags object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GenerateTokenResponseFlags) GetIsAppPinSet ¶
func (o *GenerateTokenResponseFlags) GetIsAppPinSet() bool
GetIsAppPinSet returns the IsAppPinSet field value if set, zero value otherwise.
func (*GenerateTokenResponseFlags) GetIsAppPinSetOk ¶
func (o *GenerateTokenResponseFlags) GetIsAppPinSetOk() (*bool, bool)
GetIsAppPinSetOk returns a tuple with the IsAppPinSet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GenerateTokenResponseFlags) GetOnetapEligible ¶
func (o *GenerateTokenResponseFlags) GetOnetapEligible() bool
GetOnetapEligible returns the OnetapEligible field value if set, zero value otherwise.
func (*GenerateTokenResponseFlags) GetOnetapEligibleOk ¶
func (o *GenerateTokenResponseFlags) GetOnetapEligibleOk() (*bool, bool)
GetOnetapEligibleOk returns a tuple with the OnetapEligible field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GenerateTokenResponseFlags) HasIsAppPinSet ¶
func (o *GenerateTokenResponseFlags) HasIsAppPinSet() bool
HasIsAppPinSet returns a boolean if a field has been set.
func (*GenerateTokenResponseFlags) HasOnetapEligible ¶
func (o *GenerateTokenResponseFlags) HasOnetapEligible() bool
HasOnetapEligible returns a boolean if a field has been set.
func (GenerateTokenResponseFlags) MarshalJSON ¶
func (o GenerateTokenResponseFlags) MarshalJSON() ([]byte, error)
func (*GenerateTokenResponseFlags) SetIsAppPinSet ¶
func (o *GenerateTokenResponseFlags) SetIsAppPinSet(v bool)
SetIsAppPinSet gets a reference to the given bool and assigns it to the IsAppPinSet field.
func (*GenerateTokenResponseFlags) SetOnetapEligible ¶
func (o *GenerateTokenResponseFlags) SetOnetapEligible(v bool)
SetOnetapEligible gets a reference to the given bool and assigns it to the OnetapEligible field.
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GoidTokenData ¶
type GoidTokenData struct { // OTP from whatsapp or SMS Otp *string `json:"otp,omitempty"` // OTP token from login request OtpToken *string `json:"otp_token,omitempty"` }
GoidTokenData struct for GoidTokenData
func NewGoidTokenData ¶
func NewGoidTokenData() *GoidTokenData
NewGoidTokenData instantiates a new GoidTokenData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGoidTokenDataWithDefaults ¶
func NewGoidTokenDataWithDefaults() *GoidTokenData
NewGoidTokenDataWithDefaults instantiates a new GoidTokenData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GoidTokenData) GetOtp ¶
func (o *GoidTokenData) GetOtp() string
GetOtp returns the Otp field value if set, zero value otherwise.
func (*GoidTokenData) GetOtpOk ¶
func (o *GoidTokenData) GetOtpOk() (*string, bool)
GetOtpOk returns a tuple with the Otp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GoidTokenData) GetOtpToken ¶
func (o *GoidTokenData) GetOtpToken() string
GetOtpToken returns the OtpToken field value if set, zero value otherwise.
func (*GoidTokenData) GetOtpTokenOk ¶
func (o *GoidTokenData) GetOtpTokenOk() (*string, bool)
GetOtpTokenOk returns a tuple with the OtpToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GoidTokenData) HasOtp ¶
func (o *GoidTokenData) HasOtp() bool
HasOtp returns a boolean if a field has been set.
func (*GoidTokenData) HasOtpToken ¶
func (o *GoidTokenData) HasOtpToken() bool
HasOtpToken returns a boolean if a field has been set.
func (GoidTokenData) MarshalJSON ¶
func (o GoidTokenData) MarshalJSON() ([]byte, error)
func (*GoidTokenData) SetOtp ¶
func (o *GoidTokenData) SetOtp(v string)
SetOtp gets a reference to the given string and assigns it to the Otp field.
func (*GoidTokenData) SetOtpToken ¶
func (o *GoidTokenData) SetOtpToken(v string)
SetOtpToken gets a reference to the given string and assigns it to the OtpToken field.
type LoginRequestBody ¶
type LoginRequestBody struct { ClientId *string `json:"client_id,omitempty"` ClientSecret *string `json:"client_secret,omitempty"` CountryCode *string `json:"country_code,omitempty"` // possible value: otp_whatsapp, sms LoginType *string `json:"login_type,omitempty"` MagicLinkRef *string `json:"magic_link_ref,omitempty"` PhoneNumber *string `json:"phone_number,omitempty"` }
LoginRequestBody struct for LoginRequestBody
func NewLoginRequestBody ¶
func NewLoginRequestBody() *LoginRequestBody
NewLoginRequestBody instantiates a new LoginRequestBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLoginRequestBodyWithDefaults ¶
func NewLoginRequestBodyWithDefaults() *LoginRequestBody
NewLoginRequestBodyWithDefaults instantiates a new LoginRequestBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LoginRequestBody) GetClientId ¶
func (o *LoginRequestBody) GetClientId() string
GetClientId returns the ClientId field value if set, zero value otherwise.
func (*LoginRequestBody) GetClientIdOk ¶
func (o *LoginRequestBody) GetClientIdOk() (*string, bool)
GetClientIdOk returns a tuple with the ClientId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequestBody) GetClientSecret ¶
func (o *LoginRequestBody) GetClientSecret() string
GetClientSecret returns the ClientSecret field value if set, zero value otherwise.
func (*LoginRequestBody) GetClientSecretOk ¶
func (o *LoginRequestBody) GetClientSecretOk() (*string, bool)
GetClientSecretOk returns a tuple with the ClientSecret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequestBody) GetCountryCode ¶
func (o *LoginRequestBody) GetCountryCode() string
GetCountryCode returns the CountryCode field value if set, zero value otherwise.
func (*LoginRequestBody) GetCountryCodeOk ¶
func (o *LoginRequestBody) GetCountryCodeOk() (*string, bool)
GetCountryCodeOk returns a tuple with the CountryCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequestBody) GetLoginType ¶
func (o *LoginRequestBody) GetLoginType() string
GetLoginType returns the LoginType field value if set, zero value otherwise.
func (*LoginRequestBody) GetLoginTypeOk ¶
func (o *LoginRequestBody) GetLoginTypeOk() (*string, bool)
GetLoginTypeOk returns a tuple with the LoginType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequestBody) GetMagicLinkRef ¶
func (o *LoginRequestBody) GetMagicLinkRef() string
GetMagicLinkRef returns the MagicLinkRef field value if set, zero value otherwise.
func (*LoginRequestBody) GetMagicLinkRefOk ¶
func (o *LoginRequestBody) GetMagicLinkRefOk() (*string, bool)
GetMagicLinkRefOk returns a tuple with the MagicLinkRef field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequestBody) GetPhoneNumber ¶
func (o *LoginRequestBody) GetPhoneNumber() string
GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.
func (*LoginRequestBody) GetPhoneNumberOk ¶
func (o *LoginRequestBody) GetPhoneNumberOk() (*string, bool)
GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequestBody) HasClientId ¶
func (o *LoginRequestBody) HasClientId() bool
HasClientId returns a boolean if a field has been set.
func (*LoginRequestBody) HasClientSecret ¶
func (o *LoginRequestBody) HasClientSecret() bool
HasClientSecret returns a boolean if a field has been set.
func (*LoginRequestBody) HasCountryCode ¶
func (o *LoginRequestBody) HasCountryCode() bool
HasCountryCode returns a boolean if a field has been set.
func (*LoginRequestBody) HasLoginType ¶
func (o *LoginRequestBody) HasLoginType() bool
HasLoginType returns a boolean if a field has been set.
func (*LoginRequestBody) HasMagicLinkRef ¶
func (o *LoginRequestBody) HasMagicLinkRef() bool
HasMagicLinkRef returns a boolean if a field has been set.
func (*LoginRequestBody) HasPhoneNumber ¶
func (o *LoginRequestBody) HasPhoneNumber() bool
HasPhoneNumber returns a boolean if a field has been set.
func (LoginRequestBody) MarshalJSON ¶
func (o LoginRequestBody) MarshalJSON() ([]byte, error)
func (*LoginRequestBody) SetClientId ¶
func (o *LoginRequestBody) SetClientId(v string)
SetClientId gets a reference to the given string and assigns it to the ClientId field.
func (*LoginRequestBody) SetClientSecret ¶
func (o *LoginRequestBody) SetClientSecret(v string)
SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.
func (*LoginRequestBody) SetCountryCode ¶
func (o *LoginRequestBody) SetCountryCode(v string)
SetCountryCode gets a reference to the given string and assigns it to the CountryCode field.
func (*LoginRequestBody) SetLoginType ¶
func (o *LoginRequestBody) SetLoginType(v string)
SetLoginType gets a reference to the given string and assigns it to the LoginType field.
func (*LoginRequestBody) SetMagicLinkRef ¶
func (o *LoginRequestBody) SetMagicLinkRef(v string)
SetMagicLinkRef gets a reference to the given string and assigns it to the MagicLinkRef field.
func (*LoginRequestBody) SetPhoneNumber ¶
func (o *LoginRequestBody) SetPhoneNumber(v string)
SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.
type LoginRequestResponse ¶
type LoginRequestResponse struct { Data *LoginRequestResponseData `json:"data,omitempty"` Success *bool `json:"success,omitempty"` Errors *[]interface{} `json:"errors,omitempty"` }
LoginRequestResponse struct for LoginRequestResponse
func NewLoginRequestResponse ¶
func NewLoginRequestResponse() *LoginRequestResponse
NewLoginRequestResponse instantiates a new LoginRequestResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLoginRequestResponseWithDefaults ¶
func NewLoginRequestResponseWithDefaults() *LoginRequestResponse
NewLoginRequestResponseWithDefaults instantiates a new LoginRequestResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LoginRequestResponse) GetData ¶
func (o *LoginRequestResponse) GetData() LoginRequestResponseData
GetData returns the Data field value if set, zero value otherwise.
func (*LoginRequestResponse) GetDataOk ¶
func (o *LoginRequestResponse) GetDataOk() (*LoginRequestResponseData, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequestResponse) GetErrors ¶
func (o *LoginRequestResponse) GetErrors() []interface{}
GetErrors returns the Errors field value if set, zero value otherwise.
func (*LoginRequestResponse) GetErrorsOk ¶
func (o *LoginRequestResponse) GetErrorsOk() (*[]interface{}, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequestResponse) GetSuccess ¶
func (o *LoginRequestResponse) GetSuccess() bool
GetSuccess returns the Success field value if set, zero value otherwise.
func (*LoginRequestResponse) GetSuccessOk ¶
func (o *LoginRequestResponse) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequestResponse) HasData ¶
func (o *LoginRequestResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*LoginRequestResponse) HasErrors ¶
func (o *LoginRequestResponse) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*LoginRequestResponse) HasSuccess ¶
func (o *LoginRequestResponse) HasSuccess() bool
HasSuccess returns a boolean if a field has been set.
func (LoginRequestResponse) MarshalJSON ¶
func (o LoginRequestResponse) MarshalJSON() ([]byte, error)
func (*LoginRequestResponse) SetData ¶
func (o *LoginRequestResponse) SetData(v LoginRequestResponseData)
SetData gets a reference to the given LoginRequestResponseData and assigns it to the Data field.
func (*LoginRequestResponse) SetErrors ¶
func (o *LoginRequestResponse) SetErrors(v []interface{})
SetErrors gets a reference to the given []interface{} and assigns it to the Errors field.
func (*LoginRequestResponse) SetSuccess ¶
func (o *LoginRequestResponse) SetSuccess(v bool)
SetSuccess gets a reference to the given bool and assigns it to the Success field.
type LoginRequestResponseData ¶
type LoginRequestResponseData struct { OtpToken *string `json:"otp_token,omitempty"` OtpExpiresIn *float32 `json:"otp_expires_in,omitempty"` OtpLength *float32 `json:"otp_length,omitempty"` NextState *LoginRequestResponseDataNextState `json:"next_state,omitempty"` }
LoginRequestResponseData struct for LoginRequestResponseData
func NewLoginRequestResponseData ¶
func NewLoginRequestResponseData() *LoginRequestResponseData
NewLoginRequestResponseData instantiates a new LoginRequestResponseData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLoginRequestResponseDataWithDefaults ¶
func NewLoginRequestResponseDataWithDefaults() *LoginRequestResponseData
NewLoginRequestResponseDataWithDefaults instantiates a new LoginRequestResponseData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LoginRequestResponseData) GetNextState ¶
func (o *LoginRequestResponseData) GetNextState() LoginRequestResponseDataNextState
GetNextState returns the NextState field value if set, zero value otherwise.
func (*LoginRequestResponseData) GetNextStateOk ¶
func (o *LoginRequestResponseData) GetNextStateOk() (*LoginRequestResponseDataNextState, bool)
GetNextStateOk returns a tuple with the NextState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequestResponseData) GetOtpExpiresIn ¶
func (o *LoginRequestResponseData) GetOtpExpiresIn() float32
GetOtpExpiresIn returns the OtpExpiresIn field value if set, zero value otherwise.
func (*LoginRequestResponseData) GetOtpExpiresInOk ¶
func (o *LoginRequestResponseData) GetOtpExpiresInOk() (*float32, bool)
GetOtpExpiresInOk returns a tuple with the OtpExpiresIn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequestResponseData) GetOtpLength ¶
func (o *LoginRequestResponseData) GetOtpLength() float32
GetOtpLength returns the OtpLength field value if set, zero value otherwise.
func (*LoginRequestResponseData) GetOtpLengthOk ¶
func (o *LoginRequestResponseData) GetOtpLengthOk() (*float32, bool)
GetOtpLengthOk returns a tuple with the OtpLength field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequestResponseData) GetOtpToken ¶
func (o *LoginRequestResponseData) GetOtpToken() string
GetOtpToken returns the OtpToken field value if set, zero value otherwise.
func (*LoginRequestResponseData) GetOtpTokenOk ¶
func (o *LoginRequestResponseData) GetOtpTokenOk() (*string, bool)
GetOtpTokenOk returns a tuple with the OtpToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequestResponseData) HasNextState ¶
func (o *LoginRequestResponseData) HasNextState() bool
HasNextState returns a boolean if a field has been set.
func (*LoginRequestResponseData) HasOtpExpiresIn ¶
func (o *LoginRequestResponseData) HasOtpExpiresIn() bool
HasOtpExpiresIn returns a boolean if a field has been set.
func (*LoginRequestResponseData) HasOtpLength ¶
func (o *LoginRequestResponseData) HasOtpLength() bool
HasOtpLength returns a boolean if a field has been set.
func (*LoginRequestResponseData) HasOtpToken ¶
func (o *LoginRequestResponseData) HasOtpToken() bool
HasOtpToken returns a boolean if a field has been set.
func (LoginRequestResponseData) MarshalJSON ¶
func (o LoginRequestResponseData) MarshalJSON() ([]byte, error)
func (*LoginRequestResponseData) SetNextState ¶
func (o *LoginRequestResponseData) SetNextState(v LoginRequestResponseDataNextState)
SetNextState gets a reference to the given LoginRequestResponseDataNextState and assigns it to the NextState field.
func (*LoginRequestResponseData) SetOtpExpiresIn ¶
func (o *LoginRequestResponseData) SetOtpExpiresIn(v float32)
SetOtpExpiresIn gets a reference to the given float32 and assigns it to the OtpExpiresIn field.
func (*LoginRequestResponseData) SetOtpLength ¶
func (o *LoginRequestResponseData) SetOtpLength(v float32)
SetOtpLength gets a reference to the given float32 and assigns it to the OtpLength field.
func (*LoginRequestResponseData) SetOtpToken ¶
func (o *LoginRequestResponseData) SetOtpToken(v string)
SetOtpToken gets a reference to the given string and assigns it to the OtpToken field.
type LoginRequestResponseDataNextState ¶
type LoginRequestResponseDataNextState struct { State *string `json:"state,omitempty"` Destination *string `json:"destination,omitempty"` TimerInSeconds *float32 `json:"timer_in_seconds,omitempty"` }
LoginRequestResponseDataNextState struct for LoginRequestResponseDataNextState
func NewLoginRequestResponseDataNextState ¶
func NewLoginRequestResponseDataNextState() *LoginRequestResponseDataNextState
NewLoginRequestResponseDataNextState instantiates a new LoginRequestResponseDataNextState object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLoginRequestResponseDataNextStateWithDefaults ¶
func NewLoginRequestResponseDataNextStateWithDefaults() *LoginRequestResponseDataNextState
NewLoginRequestResponseDataNextStateWithDefaults instantiates a new LoginRequestResponseDataNextState object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LoginRequestResponseDataNextState) GetDestination ¶
func (o *LoginRequestResponseDataNextState) GetDestination() string
GetDestination returns the Destination field value if set, zero value otherwise.
func (*LoginRequestResponseDataNextState) GetDestinationOk ¶
func (o *LoginRequestResponseDataNextState) GetDestinationOk() (*string, bool)
GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequestResponseDataNextState) GetState ¶
func (o *LoginRequestResponseDataNextState) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*LoginRequestResponseDataNextState) GetStateOk ¶
func (o *LoginRequestResponseDataNextState) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequestResponseDataNextState) GetTimerInSeconds ¶
func (o *LoginRequestResponseDataNextState) GetTimerInSeconds() float32
GetTimerInSeconds returns the TimerInSeconds field value if set, zero value otherwise.
func (*LoginRequestResponseDataNextState) GetTimerInSecondsOk ¶
func (o *LoginRequestResponseDataNextState) GetTimerInSecondsOk() (*float32, bool)
GetTimerInSecondsOk returns a tuple with the TimerInSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequestResponseDataNextState) HasDestination ¶
func (o *LoginRequestResponseDataNextState) HasDestination() bool
HasDestination returns a boolean if a field has been set.
func (*LoginRequestResponseDataNextState) HasState ¶
func (o *LoginRequestResponseDataNextState) HasState() bool
HasState returns a boolean if a field has been set.
func (*LoginRequestResponseDataNextState) HasTimerInSeconds ¶
func (o *LoginRequestResponseDataNextState) HasTimerInSeconds() bool
HasTimerInSeconds returns a boolean if a field has been set.
func (LoginRequestResponseDataNextState) MarshalJSON ¶
func (o LoginRequestResponseDataNextState) MarshalJSON() ([]byte, error)
func (*LoginRequestResponseDataNextState) SetDestination ¶
func (o *LoginRequestResponseDataNextState) SetDestination(v string)
SetDestination gets a reference to the given string and assigns it to the Destination field.
func (*LoginRequestResponseDataNextState) SetState ¶
func (o *LoginRequestResponseDataNextState) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*LoginRequestResponseDataNextState) SetTimerInSeconds ¶
func (o *LoginRequestResponseDataNextState) SetTimerInSeconds(v float32)
SetTimerInSeconds gets a reference to the given float32 and assigns it to the TimerInSeconds field.
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGenerateTokenRequest ¶
type NullableGenerateTokenRequest struct {
// contains filtered or unexported fields
}
func NewNullableGenerateTokenRequest ¶
func NewNullableGenerateTokenRequest(val *GenerateTokenRequest) *NullableGenerateTokenRequest
func (NullableGenerateTokenRequest) Get ¶
func (v NullableGenerateTokenRequest) Get() *GenerateTokenRequest
func (NullableGenerateTokenRequest) IsSet ¶
func (v NullableGenerateTokenRequest) IsSet() bool
func (NullableGenerateTokenRequest) MarshalJSON ¶
func (v NullableGenerateTokenRequest) MarshalJSON() ([]byte, error)
func (*NullableGenerateTokenRequest) Set ¶
func (v *NullableGenerateTokenRequest) Set(val *GenerateTokenRequest)
func (*NullableGenerateTokenRequest) UnmarshalJSON ¶
func (v *NullableGenerateTokenRequest) UnmarshalJSON(src []byte) error
func (*NullableGenerateTokenRequest) Unset ¶
func (v *NullableGenerateTokenRequest) Unset()
type NullableGenerateTokenResponse ¶
type NullableGenerateTokenResponse struct {
// contains filtered or unexported fields
}
func NewNullableGenerateTokenResponse ¶
func NewNullableGenerateTokenResponse(val *GenerateTokenResponse) *NullableGenerateTokenResponse
func (NullableGenerateTokenResponse) Get ¶
func (v NullableGenerateTokenResponse) Get() *GenerateTokenResponse
func (NullableGenerateTokenResponse) IsSet ¶
func (v NullableGenerateTokenResponse) IsSet() bool
func (NullableGenerateTokenResponse) MarshalJSON ¶
func (v NullableGenerateTokenResponse) MarshalJSON() ([]byte, error)
func (*NullableGenerateTokenResponse) Set ¶
func (v *NullableGenerateTokenResponse) Set(val *GenerateTokenResponse)
func (*NullableGenerateTokenResponse) UnmarshalJSON ¶
func (v *NullableGenerateTokenResponse) UnmarshalJSON(src []byte) error
func (*NullableGenerateTokenResponse) Unset ¶
func (v *NullableGenerateTokenResponse) Unset()
type NullableGenerateTokenResponseFlags ¶
type NullableGenerateTokenResponseFlags struct {
// contains filtered or unexported fields
}
func NewNullableGenerateTokenResponseFlags ¶
func NewNullableGenerateTokenResponseFlags(val *GenerateTokenResponseFlags) *NullableGenerateTokenResponseFlags
func (NullableGenerateTokenResponseFlags) Get ¶
func (v NullableGenerateTokenResponseFlags) Get() *GenerateTokenResponseFlags
func (NullableGenerateTokenResponseFlags) IsSet ¶
func (v NullableGenerateTokenResponseFlags) IsSet() bool
func (NullableGenerateTokenResponseFlags) MarshalJSON ¶
func (v NullableGenerateTokenResponseFlags) MarshalJSON() ([]byte, error)
func (*NullableGenerateTokenResponseFlags) Set ¶
func (v *NullableGenerateTokenResponseFlags) Set(val *GenerateTokenResponseFlags)
func (*NullableGenerateTokenResponseFlags) UnmarshalJSON ¶
func (v *NullableGenerateTokenResponseFlags) UnmarshalJSON(src []byte) error
func (*NullableGenerateTokenResponseFlags) Unset ¶
func (v *NullableGenerateTokenResponseFlags) Unset()
type NullableGoidTokenData ¶
type NullableGoidTokenData struct {
// contains filtered or unexported fields
}
func NewNullableGoidTokenData ¶
func NewNullableGoidTokenData(val *GoidTokenData) *NullableGoidTokenData
func (NullableGoidTokenData) Get ¶
func (v NullableGoidTokenData) Get() *GoidTokenData
func (NullableGoidTokenData) IsSet ¶
func (v NullableGoidTokenData) IsSet() bool
func (NullableGoidTokenData) MarshalJSON ¶
func (v NullableGoidTokenData) MarshalJSON() ([]byte, error)
func (*NullableGoidTokenData) Set ¶
func (v *NullableGoidTokenData) Set(val *GoidTokenData)
func (*NullableGoidTokenData) UnmarshalJSON ¶
func (v *NullableGoidTokenData) UnmarshalJSON(src []byte) error
func (*NullableGoidTokenData) Unset ¶
func (v *NullableGoidTokenData) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLoginRequestBody ¶
type NullableLoginRequestBody struct {
// contains filtered or unexported fields
}
func NewNullableLoginRequestBody ¶
func NewNullableLoginRequestBody(val *LoginRequestBody) *NullableLoginRequestBody
func (NullableLoginRequestBody) Get ¶
func (v NullableLoginRequestBody) Get() *LoginRequestBody
func (NullableLoginRequestBody) IsSet ¶
func (v NullableLoginRequestBody) IsSet() bool
func (NullableLoginRequestBody) MarshalJSON ¶
func (v NullableLoginRequestBody) MarshalJSON() ([]byte, error)
func (*NullableLoginRequestBody) Set ¶
func (v *NullableLoginRequestBody) Set(val *LoginRequestBody)
func (*NullableLoginRequestBody) UnmarshalJSON ¶
func (v *NullableLoginRequestBody) UnmarshalJSON(src []byte) error
func (*NullableLoginRequestBody) Unset ¶
func (v *NullableLoginRequestBody) Unset()
type NullableLoginRequestResponse ¶
type NullableLoginRequestResponse struct {
// contains filtered or unexported fields
}
func NewNullableLoginRequestResponse ¶
func NewNullableLoginRequestResponse(val *LoginRequestResponse) *NullableLoginRequestResponse
func (NullableLoginRequestResponse) Get ¶
func (v NullableLoginRequestResponse) Get() *LoginRequestResponse
func (NullableLoginRequestResponse) IsSet ¶
func (v NullableLoginRequestResponse) IsSet() bool
func (NullableLoginRequestResponse) MarshalJSON ¶
func (v NullableLoginRequestResponse) MarshalJSON() ([]byte, error)
func (*NullableLoginRequestResponse) Set ¶
func (v *NullableLoginRequestResponse) Set(val *LoginRequestResponse)
func (*NullableLoginRequestResponse) UnmarshalJSON ¶
func (v *NullableLoginRequestResponse) UnmarshalJSON(src []byte) error
func (*NullableLoginRequestResponse) Unset ¶
func (v *NullableLoginRequestResponse) Unset()
type NullableLoginRequestResponseData ¶
type NullableLoginRequestResponseData struct {
// contains filtered or unexported fields
}
func NewNullableLoginRequestResponseData ¶
func NewNullableLoginRequestResponseData(val *LoginRequestResponseData) *NullableLoginRequestResponseData
func (NullableLoginRequestResponseData) Get ¶
func (v NullableLoginRequestResponseData) Get() *LoginRequestResponseData
func (NullableLoginRequestResponseData) IsSet ¶
func (v NullableLoginRequestResponseData) IsSet() bool
func (NullableLoginRequestResponseData) MarshalJSON ¶
func (v NullableLoginRequestResponseData) MarshalJSON() ([]byte, error)
func (*NullableLoginRequestResponseData) Set ¶
func (v *NullableLoginRequestResponseData) Set(val *LoginRequestResponseData)
func (*NullableLoginRequestResponseData) UnmarshalJSON ¶
func (v *NullableLoginRequestResponseData) UnmarshalJSON(src []byte) error
func (*NullableLoginRequestResponseData) Unset ¶
func (v *NullableLoginRequestResponseData) Unset()
type NullableLoginRequestResponseDataNextState ¶
type NullableLoginRequestResponseDataNextState struct {
// contains filtered or unexported fields
}
func NewNullableLoginRequestResponseDataNextState ¶
func NewNullableLoginRequestResponseDataNextState(val *LoginRequestResponseDataNextState) *NullableLoginRequestResponseDataNextState
func (NullableLoginRequestResponseDataNextState) IsSet ¶
func (v NullableLoginRequestResponseDataNextState) IsSet() bool
func (NullableLoginRequestResponseDataNextState) MarshalJSON ¶
func (v NullableLoginRequestResponseDataNextState) MarshalJSON() ([]byte, error)
func (*NullableLoginRequestResponseDataNextState) Set ¶
func (v *NullableLoginRequestResponseDataNextState) Set(val *LoginRequestResponseDataNextState)
func (*NullableLoginRequestResponseDataNextState) UnmarshalJSON ¶
func (v *NullableLoginRequestResponseDataNextState) UnmarshalJSON(src []byte) error
func (*NullableLoginRequestResponseDataNextState) Unset ¶
func (v *NullableLoginRequestResponseDataNextState) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type TokenApiService ¶
type TokenApiService service
TokenApiService TokenApi service
func (*TokenApiService) GenerateToken ¶
func (a *TokenApiService) GenerateToken(ctx _context.Context) ApiGenerateTokenRequest
GenerateToken POST token
Generate authentication token from OTP
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGenerateTokenRequest
func (*TokenApiService) GenerateTokenExecute ¶
func (a *TokenApiService) GenerateTokenExecute(r ApiGenerateTokenRequest) (GenerateTokenResponse, *_nethttp.Response, error)
Execute executes the request
@return GenerateTokenResponse
func (*TokenApiService) LoginRequest ¶
func (a *TokenApiService) LoginRequest(ctx _context.Context) ApiLoginRequestRequest
LoginRequest POST request
Request OTP to whatsapp or SMS
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiLoginRequestRequest
func (*TokenApiService) LoginRequestExecute ¶
func (a *TokenApiService) LoginRequestExecute(r ApiLoginRequestRequest) (LoginRequestResponse, *_nethttp.Response, error)
Execute executes the request
@return LoginRequestResponse
Source Files ¶
- api_token.go
- client.go
- configuration.go
- model__goid_token_data.go
- model_generate_token_request.go
- model_generate_token_response.go
- model_generate_token_response_flags.go
- model_login_request_body.go
- model_login_request_response.go
- model_login_request_response_data.go
- model_login_request_response_data_next_state.go
- response.go
- utils.go