authapi

package
v0.299.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: MIT Imports: 21 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Go API client for authapi

REST API OpenAPI documentation for the Auth API

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.27.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Import the package in a go file in your project and run go mod tidy:

import authapi "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value authapi.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), authapi.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value authapi.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), authapi.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using authapi.ContextOperationServerIndices and authapi.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), authapi.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), authapi.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AuthLoginAPI AuthUserLogin Post /auth/login User Login – Generate JWT Tokens
AuthLoginAPI AuthUserLoginMethod Get /auth/login/method Check User Authentication Method
AuthLoginAPI TotpVerify Post /auth/mfa/totp/verify Retrieve user JWT tokens by MFA auth
AuthMFATOTPDeviceAPI CreateTotpDevice Post /auth/mfa/totp Create a TOTP device
AuthMFATOTPDeviceAPI DeleteTotpDevice Delete /auth/mfa/totp/{device_id} Delete a TOTP device
AuthMFATOTPDeviceAPI ListTotpDevices Get /auth/mfa/totp List of TOTP devices
AuthRefreshAccessTokenAPI AuthUserRefreshToken Post /auth/token Refresh user JWT access token
AuthRevokeAPI AuthUserRevoke Post /auth/revoke Revoke user JWT refresh token
PolicyLockoutPolicyAPI RetrieveLockoutPolicy Get /auth/policies/lockout Get Lockout Policy
PolicyLockoutPolicyAPI UpdateLockoutPolicy Put /auth/policies/lockout Put Lockout Policy
PolicyPoliciesAPI CreatePolicy Post /auth/policies Create a new policy
PolicyPoliciesAPI DeletePolicy Delete /auth/policies/{policy_id} Delete a policy
PolicyPoliciesAPI ListPolicy Get /auth/policies List of account policies
PolicyPoliciesAPI PartialUpdatePolicy Patch /auth/policies/{policy_id} Partially update a policy
PolicyPoliciesAPI RetrievePolicy Get /auth/policies/{policy_id} Retrieve details from a policy
PolicyPoliciesAPI UpdatePolicy Put /auth/policies/{policy_id} Update a policy
PolicySessionTimeoutPolicyAPI RetrieveSessionTimeoutPolicy Get /auth/policies/session Get Session Timeout Policy
PolicySessionTimeoutPolicyAPI UpdateSessionTimeoutPolicy Put /auth/policies/session Put Session Timeout Policy

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

BearerAuth
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), authapi.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)
JwtMfaAuthentication
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), authapi.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)
JwtRefreshAuthentication
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), authapi.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)
TokenAuth
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: TokenAuth and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		authapi.ContextAPIKeys,
		map[string]authapi.APIKey{
			"TokenAuth": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// 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")

	// 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

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	AuthLoginAPI *AuthLoginAPIService

	AuthMFATOTPDeviceAPI *AuthMFATOTPDeviceAPIService

	AuthRefreshAccessTokenAPI *AuthRefreshAccessTokenAPIService

	AuthRevokeAPI *AuthRevokeAPIService

	PolicyLockoutPolicyAPI *PolicyLockoutPolicyAPIService

	PolicyPoliciesAPI *PolicyPoliciesAPIService

	PolicySessionTimeoutPolicyAPI *PolicySessionTimeoutPolicyAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the auth-api API v1.0.0 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

type APIKey struct {
	Key    string
	Prefix string
}

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 ApiAuthUserLoginMethodRequest

type ApiAuthUserLoginMethodRequest struct {
	ApiService *AuthLoginAPIService
	// contains filtered or unexported fields
}

func (ApiAuthUserLoginMethodRequest) Email

Email address of the user

func (ApiAuthUserLoginMethodRequest) Execute

func (ApiAuthUserLoginMethodRequest) Fields

Comma-separated list of field names to include in the response.

type ApiAuthUserLoginRequest

type ApiAuthUserLoginRequest struct {
	ApiService *AuthLoginAPIService
	// contains filtered or unexported fields
}

func (ApiAuthUserLoginRequest) Execute

func (ApiAuthUserLoginRequest) LoginRequest

func (r ApiAuthUserLoginRequest) LoginRequest(loginRequest LoginRequest) ApiAuthUserLoginRequest

type ApiAuthUserRefreshTokenRequest

type ApiAuthUserRefreshTokenRequest struct {
	ApiService *AuthRefreshAccessTokenAPIService
	// contains filtered or unexported fields
}

func (ApiAuthUserRefreshTokenRequest) Execute

func (ApiAuthUserRefreshTokenRequest) TokenRequest

type ApiAuthUserRevokeRequest

type ApiAuthUserRevokeRequest struct {
	ApiService *AuthRevokeAPIService
	// contains filtered or unexported fields
}

func (ApiAuthUserRevokeRequest) Body

func (r ApiAuthUserRevokeRequest) Body(body interface{}) ApiAuthUserRevokeRequest

func (ApiAuthUserRevokeRequest) Execute

type ApiCreatePolicyRequest

type ApiCreatePolicyRequest struct {
	ApiService *PolicyPoliciesAPIService
	// contains filtered or unexported fields
}

func (ApiCreatePolicyRequest) Execute

func (ApiCreatePolicyRequest) PolicyRequest

func (r ApiCreatePolicyRequest) PolicyRequest(policyRequest PolicyRequest) ApiCreatePolicyRequest

type ApiCreateTotpDeviceRequest

type ApiCreateTotpDeviceRequest struct {
	ApiService *AuthMFATOTPDeviceAPIService
	// contains filtered or unexported fields
}

func (ApiCreateTotpDeviceRequest) Body

func (r ApiCreateTotpDeviceRequest) Body(body map[string]interface{}) ApiCreateTotpDeviceRequest

func (ApiCreateTotpDeviceRequest) Execute

type ApiDeletePolicyRequest

type ApiDeletePolicyRequest struct {
	ApiService *PolicyPoliciesAPIService
	// contains filtered or unexported fields
}

func (ApiDeletePolicyRequest) Execute

type ApiDeleteTotpDeviceRequest

type ApiDeleteTotpDeviceRequest struct {
	ApiService *AuthMFATOTPDeviceAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteTotpDeviceRequest) Execute

type ApiListPolicyRequest

type ApiListPolicyRequest struct {
	ApiService *PolicyPoliciesAPIService
	// contains filtered or unexported fields
}

func (ApiListPolicyRequest) Execute

func (ApiListPolicyRequest) Fields

Comma-separated list of field names to include in the response.

func (ApiListPolicyRequest) Ordering

func (r ApiListPolicyRequest) Ordering(ordering string) ApiListPolicyRequest

Which field to use when ordering the results. (Valid fields: id, name, active)

func (ApiListPolicyRequest) Page

A page number within the paginated result set.

func (ApiListPolicyRequest) PageSize

func (r ApiListPolicyRequest) PageSize(pageSize int64) ApiListPolicyRequest

A numeric value that indicates the number of items per page.

func (ApiListPolicyRequest) Search

A search term to filter results. Searches across the following fields: name.

type ApiListTotpDevicesRequest

type ApiListTotpDevicesRequest struct {
	ApiService *AuthMFATOTPDeviceAPIService
	// contains filtered or unexported fields
}

func (ApiListTotpDevicesRequest) Confirmed

Filter by confirmed status.

func (ApiListTotpDevicesRequest) Email

Filter by user's email (case-insensitive, partial match).

func (ApiListTotpDevicesRequest) Execute

func (ApiListTotpDevicesRequest) Fields

Comma-separated list of field names to include in the response.

func (ApiListTotpDevicesRequest) Id

Filter by id (accepts comma-separated values).

func (ApiListTotpDevicesRequest) Name

Filter by user's first name (case-insensitive, partial match).

func (ApiListTotpDevicesRequest) Ordering

Which field to use when ordering the results. (Valid fields: id, name, email, confirmed, created_at)

func (ApiListTotpDevicesRequest) Page

A page number within the paginated result set.

func (ApiListTotpDevicesRequest) PageSize

A numeric value that indicates the number of items per page.

func (ApiListTotpDevicesRequest) Search

A search term to filter results. Searches across the following fields: name, email.

type ApiPartialUpdatePolicyRequest

type ApiPartialUpdatePolicyRequest struct {
	ApiService *PolicyPoliciesAPIService
	// contains filtered or unexported fields
}

func (ApiPartialUpdatePolicyRequest) Execute

func (ApiPartialUpdatePolicyRequest) PatchedPolicyRequest

func (r ApiPartialUpdatePolicyRequest) PatchedPolicyRequest(patchedPolicyRequest PatchedPolicyRequest) ApiPartialUpdatePolicyRequest

type ApiRetrieveLockoutPolicyRequest

type ApiRetrieveLockoutPolicyRequest struct {
	ApiService *PolicyLockoutPolicyAPIService
	// contains filtered or unexported fields
}

func (ApiRetrieveLockoutPolicyRequest) Execute

func (ApiRetrieveLockoutPolicyRequest) Fields

Comma-separated list of field names to include in the response.

type ApiRetrievePolicyRequest

type ApiRetrievePolicyRequest struct {
	ApiService *PolicyPoliciesAPIService
	// contains filtered or unexported fields
}

func (ApiRetrievePolicyRequest) Execute

func (ApiRetrievePolicyRequest) Fields

Comma-separated list of field names to include in the response.

type ApiRetrieveSessionTimeoutPolicyRequest

type ApiRetrieveSessionTimeoutPolicyRequest struct {
	ApiService *PolicySessionTimeoutPolicyAPIService
	// contains filtered or unexported fields
}

func (ApiRetrieveSessionTimeoutPolicyRequest) Execute

func (ApiRetrieveSessionTimeoutPolicyRequest) Fields

Comma-separated list of field names to include in the response.

type ApiTotpVerifyRequest

type ApiTotpVerifyRequest struct {
	ApiService *AuthLoginAPIService
	// contains filtered or unexported fields
}

func (ApiTotpVerifyRequest) Execute

func (ApiTotpVerifyRequest) TOTPVerificationRequest

func (r ApiTotpVerifyRequest) TOTPVerificationRequest(tOTPVerificationRequest TOTPVerificationRequest) ApiTotpVerifyRequest

type ApiUpdateLockoutPolicyRequest

type ApiUpdateLockoutPolicyRequest struct {
	ApiService *PolicyLockoutPolicyAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateLockoutPolicyRequest) Execute

func (ApiUpdateLockoutPolicyRequest) LockoutPolicyRequest

func (r ApiUpdateLockoutPolicyRequest) LockoutPolicyRequest(lockoutPolicyRequest LockoutPolicyRequest) ApiUpdateLockoutPolicyRequest

type ApiUpdatePolicyRequest

type ApiUpdatePolicyRequest struct {
	ApiService *PolicyPoliciesAPIService
	// contains filtered or unexported fields
}

func (ApiUpdatePolicyRequest) Execute

func (ApiUpdatePolicyRequest) PolicyRequest

func (r ApiUpdatePolicyRequest) PolicyRequest(policyRequest PolicyRequest) ApiUpdatePolicyRequest

type ApiUpdateSessionTimeoutPolicyRequest

type ApiUpdateSessionTimeoutPolicyRequest struct {
	ApiService *PolicySessionTimeoutPolicyAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateSessionTimeoutPolicyRequest) Execute

func (ApiUpdateSessionTimeoutPolicyRequest) SessionTimeoutPolicyRequest

func (r ApiUpdateSessionTimeoutPolicyRequest) SessionTimeoutPolicyRequest(sessionTimeoutPolicyRequest SessionTimeoutPolicyRequest) ApiUpdateSessionTimeoutPolicyRequest

type AuthLoginAPIService

type AuthLoginAPIService service

AuthLoginAPIService AuthLoginAPI service

func (*AuthLoginAPIService) AuthUserLogin

AuthUserLogin User Login – Generate JWT Tokens

This endpoint performs user authentication and issues the user's JWT tokens.The response depends on whether multi-factor authentication (MFA) is enabled for the user:

  • If the user does not have MFA enabled, the API returns a TokenPair object containing the access_token and refresh_token, allowing immediate authentication.

  • If the user has MFA enabled, the response returns an MFAToken object.This temporary token must be used in the MFA verification endpoint to complete authentication.After successful verification of the second factor, the TokenPair is issued.

    @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAuthUserLoginRequest

func (*AuthLoginAPIService) AuthUserLoginExecute

Execute executes the request

@return ResponseLogin

func (*AuthLoginAPIService) AuthUserLoginMethod

AuthUserLoginMethod Check User Authentication Method

Returns the login type configured for the user. This indicates whether the user authenticates directly via Azion credentials (login) or via a federated Identity Provider (federated) linked to their account. This endpoint allows clients to determine whether to proceed with Azion's native login flow or redirect the user to the Identity Provider (IdP) for authentication.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthUserLoginMethodRequest

func (*AuthLoginAPIService) AuthUserLoginMethodExecute

Execute executes the request

@return UserLoginMethodResponse

func (*AuthLoginAPIService) TotpVerify

TotpVerify Retrieve user JWT tokens by MFA auth

Retrieves JWT access and refresh tokens, via a POST request with jwt mfa token as auth + code.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiTotpVerifyRequest

func (*AuthLoginAPIService) TotpVerifyExecute

Execute executes the request

@return TokenPairResponse

type AuthMFATOTPDeviceAPIService

type AuthMFATOTPDeviceAPIService service

AuthMFATOTPDeviceAPIService AuthMFATOTPDeviceAPI service

func (*AuthMFATOTPDeviceAPIService) CreateTotpDevice

CreateTotpDevice Create a TOTP device

Create a new TOTP device for your account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateTotpDeviceRequest

func (*AuthMFATOTPDeviceAPIService) CreateTotpDeviceExecute

Execute executes the request

@return TOTPDeviceResponse

func (*AuthMFATOTPDeviceAPIService) DeleteTotpDevice

func (a *AuthMFATOTPDeviceAPIService) DeleteTotpDevice(ctx context.Context, deviceId int64) ApiDeleteTotpDeviceRequest

DeleteTotpDevice Delete a TOTP device

Delete a specific TOTP device from your account or descendant account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param deviceId A unique integer value identifying the TOTP device.
@return ApiDeleteTotpDeviceRequest

func (*AuthMFATOTPDeviceAPIService) DeleteTotpDeviceExecute

Execute executes the request

@return DeleteResponse

func (*AuthMFATOTPDeviceAPIService) ListTotpDevices

ListTotpDevices List of TOTP devices

List all totp devices for user account and descendant accounts.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListTotpDevicesRequest

func (*AuthMFATOTPDeviceAPIService) ListTotpDevicesExecute

Execute executes the request

@return PaginatedTOTPDeviceListList

type AuthRefreshAccessTokenAPIService

type AuthRefreshAccessTokenAPIService service

AuthRefreshAccessTokenAPIService AuthRefreshAccessTokenAPI service

func (*AuthRefreshAccessTokenAPIService) AuthUserRefreshToken

AuthUserRefreshToken Refresh user JWT access token

Refresh JWT access token, via a POST request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthUserRefreshTokenRequest

func (*AuthRefreshAccessTokenAPIService) AuthUserRefreshTokenExecute

Execute executes the request

@return TokenResponse

type AuthRevokeAPIService

type AuthRevokeAPIService service

AuthRevokeAPIService AuthRevokeAPI service

func (*AuthRevokeAPIService) AuthUserRevoke

AuthUserRevoke Revoke user JWT refresh token

Revoke refresh token via a POST request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthUserRevokeRequest

func (*AuthRevokeAPIService) AuthUserRevokeExecute

Execute executes the request

@return StateExecutedResponse

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type DeleteResponse

type DeleteResponse struct {
	State *string `json:"state,omitempty"`
}

DeleteResponse struct for DeleteResponse

func NewDeleteResponse

func NewDeleteResponse() *DeleteResponse

NewDeleteResponse instantiates a new DeleteResponse 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 NewDeleteResponseWithDefaults

func NewDeleteResponseWithDefaults() *DeleteResponse

NewDeleteResponseWithDefaults instantiates a new DeleteResponse 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 (*DeleteResponse) GetState

func (o *DeleteResponse) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*DeleteResponse) GetStateOk

func (o *DeleteResponse) 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 (*DeleteResponse) HasState

func (o *DeleteResponse) HasState() bool

HasState returns a boolean if a field has been set.

func (DeleteResponse) MarshalJSON

func (o DeleteResponse) MarshalJSON() ([]byte, error)

func (*DeleteResponse) SetState

func (o *DeleteResponse) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (DeleteResponse) ToMap

func (o DeleteResponse) ToMap() (map[string]interface{}, error)

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 JSONAPIErrorObject

type JSONAPIErrorObject struct {
	// The HTTP status code applicable to this problem
	Status *string `json:"status,omitempty"`
	// An application-specific error code
	Code *string `json:"code,omitempty"`
	// A short, human-readable summary of the problem
	Title *string `json:"title,omitempty"`
	// A human-readable explanation specific to this occurrence of the problem
	Detail *string `json:"detail,omitempty"`
	// References to the primary source of the error
	Source *JSONAPIErrorSource `json:"source,omitempty"`
	// Non-standard meta-information about the error
	Meta map[string]interface{} `json:"meta,omitempty"`
}

JSONAPIErrorObject Serializer for a single JSON:API error object.

func NewJSONAPIErrorObject

func NewJSONAPIErrorObject() *JSONAPIErrorObject

NewJSONAPIErrorObject instantiates a new JSONAPIErrorObject 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 NewJSONAPIErrorObjectWithDefaults

func NewJSONAPIErrorObjectWithDefaults() *JSONAPIErrorObject

NewJSONAPIErrorObjectWithDefaults instantiates a new JSONAPIErrorObject 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 (*JSONAPIErrorObject) GetCode

func (o *JSONAPIErrorObject) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*JSONAPIErrorObject) GetCodeOk

func (o *JSONAPIErrorObject) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JSONAPIErrorObject) GetDetail

func (o *JSONAPIErrorObject) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*JSONAPIErrorObject) GetDetailOk

func (o *JSONAPIErrorObject) GetDetailOk() (*string, bool)

GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JSONAPIErrorObject) GetMeta

func (o *JSONAPIErrorObject) GetMeta() map[string]interface{}

GetMeta returns the Meta field value if set, zero value otherwise.

func (*JSONAPIErrorObject) GetMetaOk

func (o *JSONAPIErrorObject) GetMetaOk() (map[string]interface{}, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JSONAPIErrorObject) GetSource

func (o *JSONAPIErrorObject) GetSource() JSONAPIErrorSource

GetSource returns the Source field value if set, zero value otherwise.

func (*JSONAPIErrorObject) GetSourceOk

func (o *JSONAPIErrorObject) GetSourceOk() (*JSONAPIErrorSource, bool)

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JSONAPIErrorObject) GetStatus

func (o *JSONAPIErrorObject) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*JSONAPIErrorObject) GetStatusOk

func (o *JSONAPIErrorObject) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JSONAPIErrorObject) GetTitle

func (o *JSONAPIErrorObject) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*JSONAPIErrorObject) GetTitleOk

func (o *JSONAPIErrorObject) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JSONAPIErrorObject) HasCode

func (o *JSONAPIErrorObject) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*JSONAPIErrorObject) HasDetail

func (o *JSONAPIErrorObject) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*JSONAPIErrorObject) HasMeta

func (o *JSONAPIErrorObject) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*JSONAPIErrorObject) HasSource

func (o *JSONAPIErrorObject) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*JSONAPIErrorObject) HasStatus

func (o *JSONAPIErrorObject) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*JSONAPIErrorObject) HasTitle

func (o *JSONAPIErrorObject) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (JSONAPIErrorObject) MarshalJSON

func (o JSONAPIErrorObject) MarshalJSON() ([]byte, error)

func (*JSONAPIErrorObject) SetCode

func (o *JSONAPIErrorObject) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*JSONAPIErrorObject) SetDetail

func (o *JSONAPIErrorObject) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*JSONAPIErrorObject) SetMeta

func (o *JSONAPIErrorObject) SetMeta(v map[string]interface{})

SetMeta gets a reference to the given map[string]interface{} and assigns it to the Meta field.

func (*JSONAPIErrorObject) SetSource

func (o *JSONAPIErrorObject) SetSource(v JSONAPIErrorSource)

SetSource gets a reference to the given JSONAPIErrorSource and assigns it to the Source field.

func (*JSONAPIErrorObject) SetStatus

func (o *JSONAPIErrorObject) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*JSONAPIErrorObject) SetTitle

func (o *JSONAPIErrorObject) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (JSONAPIErrorObject) ToMap

func (o JSONAPIErrorObject) ToMap() (map[string]interface{}, error)

type JSONAPIErrorResponse

type JSONAPIErrorResponse struct {
	// Array of error objects
	Errors []JSONAPIErrorObject `json:"errors"`
}

JSONAPIErrorResponse Serializer for a JSON:API error response.

func NewJSONAPIErrorResponse

func NewJSONAPIErrorResponse(errors []JSONAPIErrorObject) *JSONAPIErrorResponse

NewJSONAPIErrorResponse instantiates a new JSONAPIErrorResponse 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 NewJSONAPIErrorResponseWithDefaults

func NewJSONAPIErrorResponseWithDefaults() *JSONAPIErrorResponse

NewJSONAPIErrorResponseWithDefaults instantiates a new JSONAPIErrorResponse 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 (*JSONAPIErrorResponse) GetErrors

func (o *JSONAPIErrorResponse) GetErrors() []JSONAPIErrorObject

GetErrors returns the Errors field value

func (*JSONAPIErrorResponse) GetErrorsOk

func (o *JSONAPIErrorResponse) GetErrorsOk() ([]JSONAPIErrorObject, bool)

GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set.

func (JSONAPIErrorResponse) MarshalJSON

func (o JSONAPIErrorResponse) MarshalJSON() ([]byte, error)

func (*JSONAPIErrorResponse) SetErrors

func (o *JSONAPIErrorResponse) SetErrors(v []JSONAPIErrorObject)

SetErrors sets field value

func (JSONAPIErrorResponse) ToMap

func (o JSONAPIErrorResponse) ToMap() (map[string]interface{}, error)

func (*JSONAPIErrorResponse) UnmarshalJSON

func (o *JSONAPIErrorResponse) UnmarshalJSON(data []byte) (err error)

type JSONAPIErrorSource

type JSONAPIErrorSource struct {
	// JSON Pointer to the value in the request document that caused the error
	Pointer *string `json:"pointer,omitempty"`
	// URI query parameter that caused the error
	Parameter *string `json:"parameter,omitempty"`
	// Request header name that caused the error
	Header *string `json:"header,omitempty"`
}

JSONAPIErrorSource Serializer for the 'source' object in a JSON:API error.

func NewJSONAPIErrorSource

func NewJSONAPIErrorSource() *JSONAPIErrorSource

NewJSONAPIErrorSource instantiates a new JSONAPIErrorSource 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 NewJSONAPIErrorSourceWithDefaults

func NewJSONAPIErrorSourceWithDefaults() *JSONAPIErrorSource

NewJSONAPIErrorSourceWithDefaults instantiates a new JSONAPIErrorSource 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 (*JSONAPIErrorSource) GetHeader

func (o *JSONAPIErrorSource) GetHeader() string

GetHeader returns the Header field value if set, zero value otherwise.

func (*JSONAPIErrorSource) GetHeaderOk

func (o *JSONAPIErrorSource) GetHeaderOk() (*string, bool)

GetHeaderOk returns a tuple with the Header field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JSONAPIErrorSource) GetParameter

func (o *JSONAPIErrorSource) GetParameter() string

GetParameter returns the Parameter field value if set, zero value otherwise.

func (*JSONAPIErrorSource) GetParameterOk

func (o *JSONAPIErrorSource) GetParameterOk() (*string, bool)

GetParameterOk returns a tuple with the Parameter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JSONAPIErrorSource) GetPointer

func (o *JSONAPIErrorSource) GetPointer() string

GetPointer returns the Pointer field value if set, zero value otherwise.

func (*JSONAPIErrorSource) GetPointerOk

func (o *JSONAPIErrorSource) GetPointerOk() (*string, bool)

GetPointerOk returns a tuple with the Pointer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JSONAPIErrorSource) HasHeader

func (o *JSONAPIErrorSource) HasHeader() bool

HasHeader returns a boolean if a field has been set.

func (*JSONAPIErrorSource) HasParameter

func (o *JSONAPIErrorSource) HasParameter() bool

HasParameter returns a boolean if a field has been set.

func (*JSONAPIErrorSource) HasPointer

func (o *JSONAPIErrorSource) HasPointer() bool

HasPointer returns a boolean if a field has been set.

func (JSONAPIErrorSource) MarshalJSON

func (o JSONAPIErrorSource) MarshalJSON() ([]byte, error)

func (*JSONAPIErrorSource) SetHeader

func (o *JSONAPIErrorSource) SetHeader(v string)

SetHeader gets a reference to the given string and assigns it to the Header field.

func (*JSONAPIErrorSource) SetParameter

func (o *JSONAPIErrorSource) SetParameter(v string)

SetParameter gets a reference to the given string and assigns it to the Parameter field.

func (*JSONAPIErrorSource) SetPointer

func (o *JSONAPIErrorSource) SetPointer(v string)

SetPointer gets a reference to the given string and assigns it to the Pointer field.

func (JSONAPIErrorSource) ToMap

func (o JSONAPIErrorSource) ToMap() (map[string]interface{}, error)

type LockoutPolicy

type LockoutPolicy struct {
	Active bool `json:"active"`
	// Maximum number of failed login attempts before lockout
	MaxAttempts int64 `json:"max_attempts"`
	// Blocking period in minutes
	BlockingPeriod int64      `json:"blocking_period"`
	CreatedAt      *time.Time `json:"created_at,omitempty"`
}

LockoutPolicy struct for LockoutPolicy

func NewLockoutPolicy

func NewLockoutPolicy(active bool, maxAttempts int64, blockingPeriod int64) *LockoutPolicy

NewLockoutPolicy instantiates a new LockoutPolicy 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 NewLockoutPolicyWithDefaults

func NewLockoutPolicyWithDefaults() *LockoutPolicy

NewLockoutPolicyWithDefaults instantiates a new LockoutPolicy 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 (*LockoutPolicy) GetActive

func (o *LockoutPolicy) GetActive() bool

GetActive returns the Active field value

func (*LockoutPolicy) GetActiveOk

func (o *LockoutPolicy) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value and a boolean to check if the value has been set.

func (*LockoutPolicy) GetBlockingPeriod

func (o *LockoutPolicy) GetBlockingPeriod() int64

GetBlockingPeriod returns the BlockingPeriod field value

func (*LockoutPolicy) GetBlockingPeriodOk

func (o *LockoutPolicy) GetBlockingPeriodOk() (*int64, bool)

GetBlockingPeriodOk returns a tuple with the BlockingPeriod field value and a boolean to check if the value has been set.

func (*LockoutPolicy) GetCreatedAt

func (o *LockoutPolicy) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*LockoutPolicy) GetCreatedAtOk

func (o *LockoutPolicy) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LockoutPolicy) GetMaxAttempts

func (o *LockoutPolicy) GetMaxAttempts() int64

GetMaxAttempts returns the MaxAttempts field value

func (*LockoutPolicy) GetMaxAttemptsOk

func (o *LockoutPolicy) GetMaxAttemptsOk() (*int64, bool)

GetMaxAttemptsOk returns a tuple with the MaxAttempts field value and a boolean to check if the value has been set.

func (*LockoutPolicy) HasCreatedAt

func (o *LockoutPolicy) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (LockoutPolicy) MarshalJSON

func (o LockoutPolicy) MarshalJSON() ([]byte, error)

func (*LockoutPolicy) SetActive

func (o *LockoutPolicy) SetActive(v bool)

SetActive sets field value

func (*LockoutPolicy) SetBlockingPeriod

func (o *LockoutPolicy) SetBlockingPeriod(v int64)

SetBlockingPeriod sets field value

func (*LockoutPolicy) SetCreatedAt

func (o *LockoutPolicy) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*LockoutPolicy) SetMaxAttempts

func (o *LockoutPolicy) SetMaxAttempts(v int64)

SetMaxAttempts sets field value

func (LockoutPolicy) ToMap

func (o LockoutPolicy) ToMap() (map[string]interface{}, error)

func (*LockoutPolicy) UnmarshalJSON

func (o *LockoutPolicy) UnmarshalJSON(data []byte) (err error)

type LockoutPolicyRequest

type LockoutPolicyRequest struct {
	Active bool `json:"active"`
	// Maximum number of failed login attempts before lockout
	MaxAttempts int64 `json:"max_attempts"`
	// Blocking period in minutes
	BlockingPeriod int64 `json:"blocking_period"`
}

LockoutPolicyRequest struct for LockoutPolicyRequest

func NewLockoutPolicyRequest

func NewLockoutPolicyRequest(active bool, maxAttempts int64, blockingPeriod int64) *LockoutPolicyRequest

NewLockoutPolicyRequest instantiates a new LockoutPolicyRequest 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 NewLockoutPolicyRequestWithDefaults

func NewLockoutPolicyRequestWithDefaults() *LockoutPolicyRequest

NewLockoutPolicyRequestWithDefaults instantiates a new LockoutPolicyRequest 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 (*LockoutPolicyRequest) GetActive

func (o *LockoutPolicyRequest) GetActive() bool

GetActive returns the Active field value

func (*LockoutPolicyRequest) GetActiveOk

func (o *LockoutPolicyRequest) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value and a boolean to check if the value has been set.

func (*LockoutPolicyRequest) GetBlockingPeriod

func (o *LockoutPolicyRequest) GetBlockingPeriod() int64

GetBlockingPeriod returns the BlockingPeriod field value

func (*LockoutPolicyRequest) GetBlockingPeriodOk

func (o *LockoutPolicyRequest) GetBlockingPeriodOk() (*int64, bool)

GetBlockingPeriodOk returns a tuple with the BlockingPeriod field value and a boolean to check if the value has been set.

func (*LockoutPolicyRequest) GetMaxAttempts

func (o *LockoutPolicyRequest) GetMaxAttempts() int64

GetMaxAttempts returns the MaxAttempts field value

func (*LockoutPolicyRequest) GetMaxAttemptsOk

func (o *LockoutPolicyRequest) GetMaxAttemptsOk() (*int64, bool)

GetMaxAttemptsOk returns a tuple with the MaxAttempts field value and a boolean to check if the value has been set.

func (LockoutPolicyRequest) MarshalJSON

func (o LockoutPolicyRequest) MarshalJSON() ([]byte, error)

func (*LockoutPolicyRequest) SetActive

func (o *LockoutPolicyRequest) SetActive(v bool)

SetActive sets field value

func (*LockoutPolicyRequest) SetBlockingPeriod

func (o *LockoutPolicyRequest) SetBlockingPeriod(v int64)

SetBlockingPeriod sets field value

func (*LockoutPolicyRequest) SetMaxAttempts

func (o *LockoutPolicyRequest) SetMaxAttempts(v int64)

SetMaxAttempts sets field value

func (LockoutPolicyRequest) ToMap

func (o LockoutPolicyRequest) ToMap() (map[string]interface{}, error)

func (*LockoutPolicyRequest) UnmarshalJSON

func (o *LockoutPolicyRequest) UnmarshalJSON(data []byte) (err error)

type LockoutPolicyResponse

type LockoutPolicyResponse struct {
	Data LockoutPolicy `json:"data"`
}

LockoutPolicyResponse struct for LockoutPolicyResponse

func NewLockoutPolicyResponse

func NewLockoutPolicyResponse(data LockoutPolicy) *LockoutPolicyResponse

NewLockoutPolicyResponse instantiates a new LockoutPolicyResponse 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 NewLockoutPolicyResponseWithDefaults

func NewLockoutPolicyResponseWithDefaults() *LockoutPolicyResponse

NewLockoutPolicyResponseWithDefaults instantiates a new LockoutPolicyResponse 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 (*LockoutPolicyResponse) GetData

func (o *LockoutPolicyResponse) GetData() LockoutPolicy

GetData returns the Data field value

func (*LockoutPolicyResponse) GetDataOk

func (o *LockoutPolicyResponse) GetDataOk() (*LockoutPolicy, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (LockoutPolicyResponse) MarshalJSON

func (o LockoutPolicyResponse) MarshalJSON() ([]byte, error)

func (*LockoutPolicyResponse) SetData

func (o *LockoutPolicyResponse) SetData(v LockoutPolicy)

SetData sets field value

func (LockoutPolicyResponse) ToMap

func (o LockoutPolicyResponse) ToMap() (map[string]interface{}, error)

func (*LockoutPolicyResponse) UnmarshalJSON

func (o *LockoutPolicyResponse) UnmarshalJSON(data []byte) (err error)

type LoginRequest

type LoginRequest struct {
	Email string `json:"email"`
	// User password
	Password  string        `json:"password"`
	AccountId NullableInt64 `json:"account_id,omitempty"`
}

LoginRequest struct for LoginRequest

func NewLoginRequest

func NewLoginRequest(email string, password string) *LoginRequest

NewLoginRequest instantiates a new LoginRequest 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 NewLoginRequestWithDefaults

func NewLoginRequestWithDefaults() *LoginRequest

NewLoginRequestWithDefaults instantiates a new LoginRequest 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 (*LoginRequest) GetAccountId

func (o *LoginRequest) GetAccountId() int64

GetAccountId returns the AccountId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*LoginRequest) GetAccountIdOk

func (o *LoginRequest) GetAccountIdOk() (*int64, bool)

GetAccountIdOk returns a tuple with the AccountId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LoginRequest) GetEmail

func (o *LoginRequest) GetEmail() string

GetEmail returns the Email field value

func (*LoginRequest) GetEmailOk

func (o *LoginRequest) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*LoginRequest) GetPassword

func (o *LoginRequest) GetPassword() string

GetPassword returns the Password field value

func (*LoginRequest) GetPasswordOk

func (o *LoginRequest) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (*LoginRequest) HasAccountId

func (o *LoginRequest) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (LoginRequest) MarshalJSON

func (o LoginRequest) MarshalJSON() ([]byte, error)

func (*LoginRequest) SetAccountId

func (o *LoginRequest) SetAccountId(v int64)

SetAccountId gets a reference to the given NullableInt64 and assigns it to the AccountId field.

func (*LoginRequest) SetAccountIdNil

func (o *LoginRequest) SetAccountIdNil()

SetAccountIdNil sets the value for AccountId to be an explicit nil

func (*LoginRequest) SetEmail

func (o *LoginRequest) SetEmail(v string)

SetEmail sets field value

func (*LoginRequest) SetPassword

func (o *LoginRequest) SetPassword(v string)

SetPassword sets field value

func (LoginRequest) ToMap

func (o LoginRequest) ToMap() (map[string]interface{}, error)

func (*LoginRequest) UnmarshalJSON

func (o *LoginRequest) UnmarshalJSON(data []byte) (err error)

func (*LoginRequest) UnsetAccountId

func (o *LoginRequest) UnsetAccountId()

UnsetAccountId ensures that no value is present for AccountId, not even an explicit nil

type LoginResponse

type LoginResponse struct {
	MFAToken  *MFAToken
	TokenPair *TokenPair
}

LoginResponse - struct for LoginResponse

func MFATokenAsLoginResponse

func MFATokenAsLoginResponse(v *MFAToken) LoginResponse

MFATokenAsLoginResponse is a convenience function that returns MFAToken wrapped in LoginResponse

func TokenPairAsLoginResponse

func TokenPairAsLoginResponse(v *TokenPair) LoginResponse

TokenPairAsLoginResponse is a convenience function that returns TokenPair wrapped in LoginResponse

func (*LoginResponse) GetActualInstance

func (obj *LoginResponse) GetActualInstance() interface{}

Get the actual instance

func (LoginResponse) GetActualInstanceValue

func (obj LoginResponse) GetActualInstanceValue() interface{}

Get the actual instance value

func (LoginResponse) MarshalJSON

func (src LoginResponse) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*LoginResponse) UnmarshalJSON

func (dst *LoginResponse) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type MFAToken

type MFAToken struct {
	// The access_token is a short-lived token (e.g., 10 minutes) used for API authentication in the Authorization: Bearer <access_token> header.
	AccessToken *string `json:"access_token,omitempty"`
	// Specifies the type of two-factor authentication configured. Currently supports 'TOTP' (Time-based One-Time Password).
	TwoFactorRequired *bool `json:"two_factor_required,omitempty"`
	// Indicates whether the user has an active TOTP device configured. If false, the user must register a device before using MFA authentication.
	TwoFactorType *string `json:"two_factor_type,omitempty"`
	// Indicates whether the user already has an active TOTP device configured.If false, the user needs to set up a new device before using MFA authentication.
	HasActiveDevice *bool `json:"has_active_device,omitempty"`
}

MFAToken Used when user has MFA enabled. Returns a temporary MFA token that must be verified with a TOTP code before receiving full access tokens.

func NewMFAToken

func NewMFAToken() *MFAToken

NewMFAToken instantiates a new MFAToken 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 NewMFATokenWithDefaults

func NewMFATokenWithDefaults() *MFAToken

NewMFATokenWithDefaults instantiates a new MFAToken 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 (*MFAToken) GetAccessToken

func (o *MFAToken) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*MFAToken) GetAccessTokenOk

func (o *MFAToken) 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 (*MFAToken) GetHasActiveDevice

func (o *MFAToken) GetHasActiveDevice() bool

GetHasActiveDevice returns the HasActiveDevice field value if set, zero value otherwise.

func (*MFAToken) GetHasActiveDeviceOk

func (o *MFAToken) GetHasActiveDeviceOk() (*bool, bool)

GetHasActiveDeviceOk returns a tuple with the HasActiveDevice field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MFAToken) GetTwoFactorRequired

func (o *MFAToken) GetTwoFactorRequired() bool

GetTwoFactorRequired returns the TwoFactorRequired field value if set, zero value otherwise.

func (*MFAToken) GetTwoFactorRequiredOk

func (o *MFAToken) GetTwoFactorRequiredOk() (*bool, bool)

GetTwoFactorRequiredOk returns a tuple with the TwoFactorRequired field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MFAToken) GetTwoFactorType

func (o *MFAToken) GetTwoFactorType() string

GetTwoFactorType returns the TwoFactorType field value if set, zero value otherwise.

func (*MFAToken) GetTwoFactorTypeOk

func (o *MFAToken) GetTwoFactorTypeOk() (*string, bool)

GetTwoFactorTypeOk returns a tuple with the TwoFactorType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MFAToken) HasAccessToken

func (o *MFAToken) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*MFAToken) HasHasActiveDevice

func (o *MFAToken) HasHasActiveDevice() bool

HasHasActiveDevice returns a boolean if a field has been set.

func (*MFAToken) HasTwoFactorRequired

func (o *MFAToken) HasTwoFactorRequired() bool

HasTwoFactorRequired returns a boolean if a field has been set.

func (*MFAToken) HasTwoFactorType

func (o *MFAToken) HasTwoFactorType() bool

HasTwoFactorType returns a boolean if a field has been set.

func (MFAToken) MarshalJSON

func (o MFAToken) MarshalJSON() ([]byte, error)

func (*MFAToken) SetAccessToken

func (o *MFAToken) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*MFAToken) SetHasActiveDevice

func (o *MFAToken) SetHasActiveDevice(v bool)

SetHasActiveDevice gets a reference to the given bool and assigns it to the HasActiveDevice field.

func (*MFAToken) SetTwoFactorRequired

func (o *MFAToken) SetTwoFactorRequired(v bool)

SetTwoFactorRequired gets a reference to the given bool and assigns it to the TwoFactorRequired field.

func (*MFAToken) SetTwoFactorType

func (o *MFAToken) SetTwoFactorType(v string)

SetTwoFactorType gets a reference to the given string and assigns it to the TwoFactorType field.

func (MFAToken) ToMap

func (o MFAToken) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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 NullableDeleteResponse

type NullableDeleteResponse struct {
	// contains filtered or unexported fields
}

func NewNullableDeleteResponse

func NewNullableDeleteResponse(val *DeleteResponse) *NullableDeleteResponse

func (NullableDeleteResponse) Get

func (NullableDeleteResponse) IsSet

func (v NullableDeleteResponse) IsSet() bool

func (NullableDeleteResponse) MarshalJSON

func (v NullableDeleteResponse) MarshalJSON() ([]byte, error)

func (*NullableDeleteResponse) Set

func (*NullableDeleteResponse) UnmarshalJSON

func (v *NullableDeleteResponse) UnmarshalJSON(src []byte) error

func (*NullableDeleteResponse) Unset

func (v *NullableDeleteResponse) 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 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 NullableJSONAPIErrorObject

type NullableJSONAPIErrorObject struct {
	// contains filtered or unexported fields
}

func NewNullableJSONAPIErrorObject

func NewNullableJSONAPIErrorObject(val *JSONAPIErrorObject) *NullableJSONAPIErrorObject

func (NullableJSONAPIErrorObject) Get

func (NullableJSONAPIErrorObject) IsSet

func (v NullableJSONAPIErrorObject) IsSet() bool

func (NullableJSONAPIErrorObject) MarshalJSON

func (v NullableJSONAPIErrorObject) MarshalJSON() ([]byte, error)

func (*NullableJSONAPIErrorObject) Set

func (*NullableJSONAPIErrorObject) UnmarshalJSON

func (v *NullableJSONAPIErrorObject) UnmarshalJSON(src []byte) error

func (*NullableJSONAPIErrorObject) Unset

func (v *NullableJSONAPIErrorObject) Unset()

type NullableJSONAPIErrorResponse

type NullableJSONAPIErrorResponse struct {
	// contains filtered or unexported fields
}

func NewNullableJSONAPIErrorResponse

func NewNullableJSONAPIErrorResponse(val *JSONAPIErrorResponse) *NullableJSONAPIErrorResponse

func (NullableJSONAPIErrorResponse) Get

func (NullableJSONAPIErrorResponse) IsSet

func (NullableJSONAPIErrorResponse) MarshalJSON

func (v NullableJSONAPIErrorResponse) MarshalJSON() ([]byte, error)

func (*NullableJSONAPIErrorResponse) Set

func (*NullableJSONAPIErrorResponse) UnmarshalJSON

func (v *NullableJSONAPIErrorResponse) UnmarshalJSON(src []byte) error

func (*NullableJSONAPIErrorResponse) Unset

func (v *NullableJSONAPIErrorResponse) Unset()

type NullableJSONAPIErrorSource

type NullableJSONAPIErrorSource struct {
	// contains filtered or unexported fields
}

func NewNullableJSONAPIErrorSource

func NewNullableJSONAPIErrorSource(val *JSONAPIErrorSource) *NullableJSONAPIErrorSource

func (NullableJSONAPIErrorSource) Get

func (NullableJSONAPIErrorSource) IsSet

func (v NullableJSONAPIErrorSource) IsSet() bool

func (NullableJSONAPIErrorSource) MarshalJSON

func (v NullableJSONAPIErrorSource) MarshalJSON() ([]byte, error)

func (*NullableJSONAPIErrorSource) Set

func (*NullableJSONAPIErrorSource) UnmarshalJSON

func (v *NullableJSONAPIErrorSource) UnmarshalJSON(src []byte) error

func (*NullableJSONAPIErrorSource) Unset

func (v *NullableJSONAPIErrorSource) Unset()

type NullableLockoutPolicy

type NullableLockoutPolicy struct {
	// contains filtered or unexported fields
}

func NewNullableLockoutPolicy

func NewNullableLockoutPolicy(val *LockoutPolicy) *NullableLockoutPolicy

func (NullableLockoutPolicy) Get

func (NullableLockoutPolicy) IsSet

func (v NullableLockoutPolicy) IsSet() bool

func (NullableLockoutPolicy) MarshalJSON

func (v NullableLockoutPolicy) MarshalJSON() ([]byte, error)

func (*NullableLockoutPolicy) Set

func (v *NullableLockoutPolicy) Set(val *LockoutPolicy)

func (*NullableLockoutPolicy) UnmarshalJSON

func (v *NullableLockoutPolicy) UnmarshalJSON(src []byte) error

func (*NullableLockoutPolicy) Unset

func (v *NullableLockoutPolicy) Unset()

type NullableLockoutPolicyRequest

type NullableLockoutPolicyRequest struct {
	// contains filtered or unexported fields
}

func NewNullableLockoutPolicyRequest

func NewNullableLockoutPolicyRequest(val *LockoutPolicyRequest) *NullableLockoutPolicyRequest

func (NullableLockoutPolicyRequest) Get

func (NullableLockoutPolicyRequest) IsSet

func (NullableLockoutPolicyRequest) MarshalJSON

func (v NullableLockoutPolicyRequest) MarshalJSON() ([]byte, error)

func (*NullableLockoutPolicyRequest) Set

func (*NullableLockoutPolicyRequest) UnmarshalJSON

func (v *NullableLockoutPolicyRequest) UnmarshalJSON(src []byte) error

func (*NullableLockoutPolicyRequest) Unset

func (v *NullableLockoutPolicyRequest) Unset()

type NullableLockoutPolicyResponse

type NullableLockoutPolicyResponse struct {
	// contains filtered or unexported fields
}

func (NullableLockoutPolicyResponse) Get

func (NullableLockoutPolicyResponse) IsSet

func (NullableLockoutPolicyResponse) MarshalJSON

func (v NullableLockoutPolicyResponse) MarshalJSON() ([]byte, error)

func (*NullableLockoutPolicyResponse) Set

func (*NullableLockoutPolicyResponse) UnmarshalJSON

func (v *NullableLockoutPolicyResponse) UnmarshalJSON(src []byte) error

func (*NullableLockoutPolicyResponse) Unset

func (v *NullableLockoutPolicyResponse) Unset()

type NullableLoginRequest

type NullableLoginRequest struct {
	// contains filtered or unexported fields
}

func NewNullableLoginRequest

func NewNullableLoginRequest(val *LoginRequest) *NullableLoginRequest

func (NullableLoginRequest) Get

func (NullableLoginRequest) IsSet

func (v NullableLoginRequest) IsSet() bool

func (NullableLoginRequest) MarshalJSON

func (v NullableLoginRequest) MarshalJSON() ([]byte, error)

func (*NullableLoginRequest) Set

func (v *NullableLoginRequest) Set(val *LoginRequest)

func (*NullableLoginRequest) UnmarshalJSON

func (v *NullableLoginRequest) UnmarshalJSON(src []byte) error

func (*NullableLoginRequest) Unset

func (v *NullableLoginRequest) Unset()

type NullableLoginResponse

type NullableLoginResponse struct {
	// contains filtered or unexported fields
}

func NewNullableLoginResponse

func NewNullableLoginResponse(val *LoginResponse) *NullableLoginResponse

func (NullableLoginResponse) Get

func (NullableLoginResponse) IsSet

func (v NullableLoginResponse) IsSet() bool

func (NullableLoginResponse) MarshalJSON

func (v NullableLoginResponse) MarshalJSON() ([]byte, error)

func (*NullableLoginResponse) Set

func (v *NullableLoginResponse) Set(val *LoginResponse)

func (*NullableLoginResponse) UnmarshalJSON

func (v *NullableLoginResponse) UnmarshalJSON(src []byte) error

func (*NullableLoginResponse) Unset

func (v *NullableLoginResponse) Unset()

type NullableMFAToken

type NullableMFAToken struct {
	// contains filtered or unexported fields
}

func NewNullableMFAToken

func NewNullableMFAToken(val *MFAToken) *NullableMFAToken

func (NullableMFAToken) Get

func (v NullableMFAToken) Get() *MFAToken

func (NullableMFAToken) IsSet

func (v NullableMFAToken) IsSet() bool

func (NullableMFAToken) MarshalJSON

func (v NullableMFAToken) MarshalJSON() ([]byte, error)

func (*NullableMFAToken) Set

func (v *NullableMFAToken) Set(val *MFAToken)

func (*NullableMFAToken) UnmarshalJSON

func (v *NullableMFAToken) UnmarshalJSON(src []byte) error

func (*NullableMFAToken) Unset

func (v *NullableMFAToken) Unset()

type NullablePaginatedPolicyList

type NullablePaginatedPolicyList struct {
	// contains filtered or unexported fields
}

func NewNullablePaginatedPolicyList

func NewNullablePaginatedPolicyList(val *PaginatedPolicyList) *NullablePaginatedPolicyList

func (NullablePaginatedPolicyList) Get

func (NullablePaginatedPolicyList) IsSet

func (NullablePaginatedPolicyList) MarshalJSON

func (v NullablePaginatedPolicyList) MarshalJSON() ([]byte, error)

func (*NullablePaginatedPolicyList) Set

func (*NullablePaginatedPolicyList) UnmarshalJSON

func (v *NullablePaginatedPolicyList) UnmarshalJSON(src []byte) error

func (*NullablePaginatedPolicyList) Unset

func (v *NullablePaginatedPolicyList) Unset()

type NullablePaginatedTOTPDeviceListList

type NullablePaginatedTOTPDeviceListList struct {
	// contains filtered or unexported fields
}

func (NullablePaginatedTOTPDeviceListList) Get

func (NullablePaginatedTOTPDeviceListList) IsSet

func (NullablePaginatedTOTPDeviceListList) MarshalJSON

func (v NullablePaginatedTOTPDeviceListList) MarshalJSON() ([]byte, error)

func (*NullablePaginatedTOTPDeviceListList) Set

func (*NullablePaginatedTOTPDeviceListList) UnmarshalJSON

func (v *NullablePaginatedTOTPDeviceListList) UnmarshalJSON(src []byte) error

func (*NullablePaginatedTOTPDeviceListList) Unset

type NullablePatchedPolicyRequest

type NullablePatchedPolicyRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePatchedPolicyRequest

func NewNullablePatchedPolicyRequest(val *PatchedPolicyRequest) *NullablePatchedPolicyRequest

func (NullablePatchedPolicyRequest) Get

func (NullablePatchedPolicyRequest) IsSet

func (NullablePatchedPolicyRequest) MarshalJSON

func (v NullablePatchedPolicyRequest) MarshalJSON() ([]byte, error)

func (*NullablePatchedPolicyRequest) Set

func (*NullablePatchedPolicyRequest) UnmarshalJSON

func (v *NullablePatchedPolicyRequest) UnmarshalJSON(src []byte) error

func (*NullablePatchedPolicyRequest) Unset

func (v *NullablePatchedPolicyRequest) Unset()

type NullablePolicy

type NullablePolicy struct {
	// contains filtered or unexported fields
}

func NewNullablePolicy

func NewNullablePolicy(val *Policy) *NullablePolicy

func (NullablePolicy) Get

func (v NullablePolicy) Get() *Policy

func (NullablePolicy) IsSet

func (v NullablePolicy) IsSet() bool

func (NullablePolicy) MarshalJSON

func (v NullablePolicy) MarshalJSON() ([]byte, error)

func (*NullablePolicy) Set

func (v *NullablePolicy) Set(val *Policy)

func (*NullablePolicy) UnmarshalJSON

func (v *NullablePolicy) UnmarshalJSON(src []byte) error

func (*NullablePolicy) Unset

func (v *NullablePolicy) Unset()

type NullablePolicyRequest

type NullablePolicyRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePolicyRequest

func NewNullablePolicyRequest(val *PolicyRequest) *NullablePolicyRequest

func (NullablePolicyRequest) Get

func (NullablePolicyRequest) IsSet

func (v NullablePolicyRequest) IsSet() bool

func (NullablePolicyRequest) MarshalJSON

func (v NullablePolicyRequest) MarshalJSON() ([]byte, error)

func (*NullablePolicyRequest) Set

func (v *NullablePolicyRequest) Set(val *PolicyRequest)

func (*NullablePolicyRequest) UnmarshalJSON

func (v *NullablePolicyRequest) UnmarshalJSON(src []byte) error

func (*NullablePolicyRequest) Unset

func (v *NullablePolicyRequest) Unset()

type NullablePolicyResponse

type NullablePolicyResponse struct {
	// contains filtered or unexported fields
}

func NewNullablePolicyResponse

func NewNullablePolicyResponse(val *PolicyResponse) *NullablePolicyResponse

func (NullablePolicyResponse) Get

func (NullablePolicyResponse) IsSet

func (v NullablePolicyResponse) IsSet() bool

func (NullablePolicyResponse) MarshalJSON

func (v NullablePolicyResponse) MarshalJSON() ([]byte, error)

func (*NullablePolicyResponse) Set

func (*NullablePolicyResponse) UnmarshalJSON

func (v *NullablePolicyResponse) UnmarshalJSON(src []byte) error

func (*NullablePolicyResponse) Unset

func (v *NullablePolicyResponse) Unset()

type NullablePolicyRule

type NullablePolicyRule struct {
	// contains filtered or unexported fields
}

func NewNullablePolicyRule

func NewNullablePolicyRule(val *PolicyRule) *NullablePolicyRule

func (NullablePolicyRule) Get

func (v NullablePolicyRule) Get() *PolicyRule

func (NullablePolicyRule) IsSet

func (v NullablePolicyRule) IsSet() bool

func (NullablePolicyRule) MarshalJSON

func (v NullablePolicyRule) MarshalJSON() ([]byte, error)

func (*NullablePolicyRule) Set

func (v *NullablePolicyRule) Set(val *PolicyRule)

func (*NullablePolicyRule) UnmarshalJSON

func (v *NullablePolicyRule) UnmarshalJSON(src []byte) error

func (*NullablePolicyRule) Unset

func (v *NullablePolicyRule) Unset()

type NullablePolicyRuleCondition

type NullablePolicyRuleCondition struct {
	// contains filtered or unexported fields
}

func NewNullablePolicyRuleCondition

func NewNullablePolicyRuleCondition(val *PolicyRuleCondition) *NullablePolicyRuleCondition

func (NullablePolicyRuleCondition) Get

func (NullablePolicyRuleCondition) IsSet

func (NullablePolicyRuleCondition) MarshalJSON

func (v NullablePolicyRuleCondition) MarshalJSON() ([]byte, error)

func (*NullablePolicyRuleCondition) Set

func (*NullablePolicyRuleCondition) UnmarshalJSON

func (v *NullablePolicyRuleCondition) UnmarshalJSON(src []byte) error

func (*NullablePolicyRuleCondition) Unset

func (v *NullablePolicyRuleCondition) Unset()

type NullablePolicyRuleConditionRequest

type NullablePolicyRuleConditionRequest struct {
	// contains filtered or unexported fields
}

func (NullablePolicyRuleConditionRequest) Get

func (NullablePolicyRuleConditionRequest) IsSet

func (NullablePolicyRuleConditionRequest) MarshalJSON

func (v NullablePolicyRuleConditionRequest) MarshalJSON() ([]byte, error)

func (*NullablePolicyRuleConditionRequest) Set

func (*NullablePolicyRuleConditionRequest) UnmarshalJSON

func (v *NullablePolicyRuleConditionRequest) UnmarshalJSON(src []byte) error

func (*NullablePolicyRuleConditionRequest) Unset

type NullablePolicyRuleRequest

type NullablePolicyRuleRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePolicyRuleRequest

func NewNullablePolicyRuleRequest(val *PolicyRuleRequest) *NullablePolicyRuleRequest

func (NullablePolicyRuleRequest) Get

func (NullablePolicyRuleRequest) IsSet

func (v NullablePolicyRuleRequest) IsSet() bool

func (NullablePolicyRuleRequest) MarshalJSON

func (v NullablePolicyRuleRequest) MarshalJSON() ([]byte, error)

func (*NullablePolicyRuleRequest) Set

func (*NullablePolicyRuleRequest) UnmarshalJSON

func (v *NullablePolicyRuleRequest) UnmarshalJSON(src []byte) error

func (*NullablePolicyRuleRequest) Unset

func (v *NullablePolicyRuleRequest) Unset()

type NullableResponseAsyncDeletePolicy

type NullableResponseAsyncDeletePolicy struct {
	// contains filtered or unexported fields
}

func (NullableResponseAsyncDeletePolicy) Get

func (NullableResponseAsyncDeletePolicy) IsSet

func (NullableResponseAsyncDeletePolicy) MarshalJSON

func (v NullableResponseAsyncDeletePolicy) MarshalJSON() ([]byte, error)

func (*NullableResponseAsyncDeletePolicy) Set

func (*NullableResponseAsyncDeletePolicy) UnmarshalJSON

func (v *NullableResponseAsyncDeletePolicy) UnmarshalJSON(src []byte) error

func (*NullableResponseAsyncDeletePolicy) Unset

type NullableResponseAsyncDeleteTOTPDeviceCreate

type NullableResponseAsyncDeleteTOTPDeviceCreate struct {
	// contains filtered or unexported fields
}

func (NullableResponseAsyncDeleteTOTPDeviceCreate) Get

func (NullableResponseAsyncDeleteTOTPDeviceCreate) IsSet

func (NullableResponseAsyncDeleteTOTPDeviceCreate) MarshalJSON

func (*NullableResponseAsyncDeleteTOTPDeviceCreate) Set

func (*NullableResponseAsyncDeleteTOTPDeviceCreate) UnmarshalJSON

func (v *NullableResponseAsyncDeleteTOTPDeviceCreate) UnmarshalJSON(src []byte) error

func (*NullableResponseAsyncDeleteTOTPDeviceCreate) Unset

type NullableResponseAsyncLockoutPolicy

type NullableResponseAsyncLockoutPolicy struct {
	// contains filtered or unexported fields
}

func (NullableResponseAsyncLockoutPolicy) Get

func (NullableResponseAsyncLockoutPolicy) IsSet

func (NullableResponseAsyncLockoutPolicy) MarshalJSON

func (v NullableResponseAsyncLockoutPolicy) MarshalJSON() ([]byte, error)

func (*NullableResponseAsyncLockoutPolicy) Set

func (*NullableResponseAsyncLockoutPolicy) UnmarshalJSON

func (v *NullableResponseAsyncLockoutPolicy) UnmarshalJSON(src []byte) error

func (*NullableResponseAsyncLockoutPolicy) Unset

type NullableResponseAsyncLogin

type NullableResponseAsyncLogin struct {
	// contains filtered or unexported fields
}

func NewNullableResponseAsyncLogin

func NewNullableResponseAsyncLogin(val *ResponseAsyncLogin) *NullableResponseAsyncLogin

func (NullableResponseAsyncLogin) Get

func (NullableResponseAsyncLogin) IsSet

func (v NullableResponseAsyncLogin) IsSet() bool

func (NullableResponseAsyncLogin) MarshalJSON

func (v NullableResponseAsyncLogin) MarshalJSON() ([]byte, error)

func (*NullableResponseAsyncLogin) Set

func (*NullableResponseAsyncLogin) UnmarshalJSON

func (v *NullableResponseAsyncLogin) UnmarshalJSON(src []byte) error

func (*NullableResponseAsyncLogin) Unset

func (v *NullableResponseAsyncLogin) Unset()

type NullableResponseAsyncPolicy

type NullableResponseAsyncPolicy struct {
	// contains filtered or unexported fields
}

func NewNullableResponseAsyncPolicy

func NewNullableResponseAsyncPolicy(val *ResponseAsyncPolicy) *NullableResponseAsyncPolicy

func (NullableResponseAsyncPolicy) Get

func (NullableResponseAsyncPolicy) IsSet

func (NullableResponseAsyncPolicy) MarshalJSON

func (v NullableResponseAsyncPolicy) MarshalJSON() ([]byte, error)

func (*NullableResponseAsyncPolicy) Set

func (*NullableResponseAsyncPolicy) UnmarshalJSON

func (v *NullableResponseAsyncPolicy) UnmarshalJSON(src []byte) error

func (*NullableResponseAsyncPolicy) Unset

func (v *NullableResponseAsyncPolicy) Unset()

type NullableResponseAsyncSessionTimeoutPolicy

type NullableResponseAsyncSessionTimeoutPolicy struct {
	// contains filtered or unexported fields
}

func (NullableResponseAsyncSessionTimeoutPolicy) Get

func (NullableResponseAsyncSessionTimeoutPolicy) IsSet

func (NullableResponseAsyncSessionTimeoutPolicy) MarshalJSON

func (*NullableResponseAsyncSessionTimeoutPolicy) Set

func (*NullableResponseAsyncSessionTimeoutPolicy) UnmarshalJSON

func (v *NullableResponseAsyncSessionTimeoutPolicy) UnmarshalJSON(src []byte) error

func (*NullableResponseAsyncSessionTimeoutPolicy) Unset

type NullableResponseAsyncTOTPDeviceCreate

type NullableResponseAsyncTOTPDeviceCreate struct {
	// contains filtered or unexported fields
}

func (NullableResponseAsyncTOTPDeviceCreate) Get

func (NullableResponseAsyncTOTPDeviceCreate) IsSet

func (NullableResponseAsyncTOTPDeviceCreate) MarshalJSON

func (v NullableResponseAsyncTOTPDeviceCreate) MarshalJSON() ([]byte, error)

func (*NullableResponseAsyncTOTPDeviceCreate) Set

func (*NullableResponseAsyncTOTPDeviceCreate) UnmarshalJSON

func (v *NullableResponseAsyncTOTPDeviceCreate) UnmarshalJSON(src []byte) error

func (*NullableResponseAsyncTOTPDeviceCreate) Unset

type NullableResponseAsyncToken

type NullableResponseAsyncToken struct {
	// contains filtered or unexported fields
}

func NewNullableResponseAsyncToken

func NewNullableResponseAsyncToken(val *ResponseAsyncToken) *NullableResponseAsyncToken

func (NullableResponseAsyncToken) Get

func (NullableResponseAsyncToken) IsSet

func (v NullableResponseAsyncToken) IsSet() bool

func (NullableResponseAsyncToken) MarshalJSON

func (v NullableResponseAsyncToken) MarshalJSON() ([]byte, error)

func (*NullableResponseAsyncToken) Set

func (*NullableResponseAsyncToken) UnmarshalJSON

func (v *NullableResponseAsyncToken) UnmarshalJSON(src []byte) error

func (*NullableResponseAsyncToken) Unset

func (v *NullableResponseAsyncToken) Unset()

type NullableResponseAsyncTokenPair

type NullableResponseAsyncTokenPair struct {
	// contains filtered or unexported fields
}

func (NullableResponseAsyncTokenPair) Get

func (NullableResponseAsyncTokenPair) IsSet

func (NullableResponseAsyncTokenPair) MarshalJSON

func (v NullableResponseAsyncTokenPair) MarshalJSON() ([]byte, error)

func (*NullableResponseAsyncTokenPair) Set

func (*NullableResponseAsyncTokenPair) UnmarshalJSON

func (v *NullableResponseAsyncTokenPair) UnmarshalJSON(src []byte) error

func (*NullableResponseAsyncTokenPair) Unset

func (v *NullableResponseAsyncTokenPair) Unset()

type NullableResponseLockoutPolicy

type NullableResponseLockoutPolicy struct {
	// contains filtered or unexported fields
}

func (NullableResponseLockoutPolicy) Get

func (NullableResponseLockoutPolicy) IsSet

func (NullableResponseLockoutPolicy) MarshalJSON

func (v NullableResponseLockoutPolicy) MarshalJSON() ([]byte, error)

func (*NullableResponseLockoutPolicy) Set

func (*NullableResponseLockoutPolicy) UnmarshalJSON

func (v *NullableResponseLockoutPolicy) UnmarshalJSON(src []byte) error

func (*NullableResponseLockoutPolicy) Unset

func (v *NullableResponseLockoutPolicy) Unset()

type NullableResponseLogin

type NullableResponseLogin struct {
	// contains filtered or unexported fields
}

func NewNullableResponseLogin

func NewNullableResponseLogin(val *ResponseLogin) *NullableResponseLogin

func (NullableResponseLogin) Get

func (NullableResponseLogin) IsSet

func (v NullableResponseLogin) IsSet() bool

func (NullableResponseLogin) MarshalJSON

func (v NullableResponseLogin) MarshalJSON() ([]byte, error)

func (*NullableResponseLogin) Set

func (v *NullableResponseLogin) Set(val *ResponseLogin)

func (*NullableResponseLogin) UnmarshalJSON

func (v *NullableResponseLogin) UnmarshalJSON(src []byte) error

func (*NullableResponseLogin) Unset

func (v *NullableResponseLogin) Unset()

type NullableResponsePolicy

type NullableResponsePolicy struct {
	// contains filtered or unexported fields
}

func NewNullableResponsePolicy

func NewNullableResponsePolicy(val *ResponsePolicy) *NullableResponsePolicy

func (NullableResponsePolicy) Get

func (NullableResponsePolicy) IsSet

func (v NullableResponsePolicy) IsSet() bool

func (NullableResponsePolicy) MarshalJSON

func (v NullableResponsePolicy) MarshalJSON() ([]byte, error)

func (*NullableResponsePolicy) Set

func (*NullableResponsePolicy) UnmarshalJSON

func (v *NullableResponsePolicy) UnmarshalJSON(src []byte) error

func (*NullableResponsePolicy) Unset

func (v *NullableResponsePolicy) Unset()

type NullableResponseRetrieveLockoutPolicy

type NullableResponseRetrieveLockoutPolicy struct {
	// contains filtered or unexported fields
}

func (NullableResponseRetrieveLockoutPolicy) Get

func (NullableResponseRetrieveLockoutPolicy) IsSet

func (NullableResponseRetrieveLockoutPolicy) MarshalJSON

func (v NullableResponseRetrieveLockoutPolicy) MarshalJSON() ([]byte, error)

func (*NullableResponseRetrieveLockoutPolicy) Set

func (*NullableResponseRetrieveLockoutPolicy) UnmarshalJSON

func (v *NullableResponseRetrieveLockoutPolicy) UnmarshalJSON(src []byte) error

func (*NullableResponseRetrieveLockoutPolicy) Unset

type NullableResponseRetrievePolicy

type NullableResponseRetrievePolicy struct {
	// contains filtered or unexported fields
}

func (NullableResponseRetrievePolicy) Get

func (NullableResponseRetrievePolicy) IsSet

func (NullableResponseRetrievePolicy) MarshalJSON

func (v NullableResponseRetrievePolicy) MarshalJSON() ([]byte, error)

func (*NullableResponseRetrievePolicy) Set

func (*NullableResponseRetrievePolicy) UnmarshalJSON

func (v *NullableResponseRetrievePolicy) UnmarshalJSON(src []byte) error

func (*NullableResponseRetrievePolicy) Unset

func (v *NullableResponseRetrievePolicy) Unset()

type NullableResponseRetrieveSessionTimeoutPolicy

type NullableResponseRetrieveSessionTimeoutPolicy struct {
	// contains filtered or unexported fields
}

func (NullableResponseRetrieveSessionTimeoutPolicy) Get

func (NullableResponseRetrieveSessionTimeoutPolicy) IsSet

func (NullableResponseRetrieveSessionTimeoutPolicy) MarshalJSON

func (*NullableResponseRetrieveSessionTimeoutPolicy) Set

func (*NullableResponseRetrieveSessionTimeoutPolicy) UnmarshalJSON

func (*NullableResponseRetrieveSessionTimeoutPolicy) Unset

type NullableResponseSessionTimeoutPolicy

type NullableResponseSessionTimeoutPolicy struct {
	// contains filtered or unexported fields
}

func (NullableResponseSessionTimeoutPolicy) Get

func (NullableResponseSessionTimeoutPolicy) IsSet

func (NullableResponseSessionTimeoutPolicy) MarshalJSON

func (v NullableResponseSessionTimeoutPolicy) MarshalJSON() ([]byte, error)

func (*NullableResponseSessionTimeoutPolicy) Set

func (*NullableResponseSessionTimeoutPolicy) UnmarshalJSON

func (v *NullableResponseSessionTimeoutPolicy) UnmarshalJSON(src []byte) error

func (*NullableResponseSessionTimeoutPolicy) Unset

type NullableResponseTOTPDeviceCreate

type NullableResponseTOTPDeviceCreate struct {
	// contains filtered or unexported fields
}

func (NullableResponseTOTPDeviceCreate) Get

func (NullableResponseTOTPDeviceCreate) IsSet

func (NullableResponseTOTPDeviceCreate) MarshalJSON

func (v NullableResponseTOTPDeviceCreate) MarshalJSON() ([]byte, error)

func (*NullableResponseTOTPDeviceCreate) Set

func (*NullableResponseTOTPDeviceCreate) UnmarshalJSON

func (v *NullableResponseTOTPDeviceCreate) UnmarshalJSON(src []byte) error

func (*NullableResponseTOTPDeviceCreate) Unset

type NullableResponseToken

type NullableResponseToken struct {
	// contains filtered or unexported fields
}

func NewNullableResponseToken

func NewNullableResponseToken(val *ResponseToken) *NullableResponseToken

func (NullableResponseToken) Get

func (NullableResponseToken) IsSet

func (v NullableResponseToken) IsSet() bool

func (NullableResponseToken) MarshalJSON

func (v NullableResponseToken) MarshalJSON() ([]byte, error)

func (*NullableResponseToken) Set

func (v *NullableResponseToken) Set(val *ResponseToken)

func (*NullableResponseToken) UnmarshalJSON

func (v *NullableResponseToken) UnmarshalJSON(src []byte) error

func (*NullableResponseToken) Unset

func (v *NullableResponseToken) Unset()

type NullableResponseTokenPair

type NullableResponseTokenPair struct {
	// contains filtered or unexported fields
}

func NewNullableResponseTokenPair

func NewNullableResponseTokenPair(val *ResponseTokenPair) *NullableResponseTokenPair

func (NullableResponseTokenPair) Get

func (NullableResponseTokenPair) IsSet

func (v NullableResponseTokenPair) IsSet() bool

func (NullableResponseTokenPair) MarshalJSON

func (v NullableResponseTokenPair) MarshalJSON() ([]byte, error)

func (*NullableResponseTokenPair) Set

func (*NullableResponseTokenPair) UnmarshalJSON

func (v *NullableResponseTokenPair) UnmarshalJSON(src []byte) error

func (*NullableResponseTokenPair) Unset

func (v *NullableResponseTokenPair) Unset()

type NullableSessionTimeoutPolicy

type NullableSessionTimeoutPolicy struct {
	// contains filtered or unexported fields
}

func NewNullableSessionTimeoutPolicy

func NewNullableSessionTimeoutPolicy(val *SessionTimeoutPolicy) *NullableSessionTimeoutPolicy

func (NullableSessionTimeoutPolicy) Get

func (NullableSessionTimeoutPolicy) IsSet

func (NullableSessionTimeoutPolicy) MarshalJSON

func (v NullableSessionTimeoutPolicy) MarshalJSON() ([]byte, error)

func (*NullableSessionTimeoutPolicy) Set

func (*NullableSessionTimeoutPolicy) UnmarshalJSON

func (v *NullableSessionTimeoutPolicy) UnmarshalJSON(src []byte) error

func (*NullableSessionTimeoutPolicy) Unset

func (v *NullableSessionTimeoutPolicy) Unset()

type NullableSessionTimeoutPolicyRequest

type NullableSessionTimeoutPolicyRequest struct {
	// contains filtered or unexported fields
}

func (NullableSessionTimeoutPolicyRequest) Get

func (NullableSessionTimeoutPolicyRequest) IsSet

func (NullableSessionTimeoutPolicyRequest) MarshalJSON

func (v NullableSessionTimeoutPolicyRequest) MarshalJSON() ([]byte, error)

func (*NullableSessionTimeoutPolicyRequest) Set

func (*NullableSessionTimeoutPolicyRequest) UnmarshalJSON

func (v *NullableSessionTimeoutPolicyRequest) UnmarshalJSON(src []byte) error

func (*NullableSessionTimeoutPolicyRequest) Unset

type NullableSessionTimeoutPolicyResponse

type NullableSessionTimeoutPolicyResponse struct {
	// contains filtered or unexported fields
}

func (NullableSessionTimeoutPolicyResponse) Get

func (NullableSessionTimeoutPolicyResponse) IsSet

func (NullableSessionTimeoutPolicyResponse) MarshalJSON

func (v NullableSessionTimeoutPolicyResponse) MarshalJSON() ([]byte, error)

func (*NullableSessionTimeoutPolicyResponse) Set

func (*NullableSessionTimeoutPolicyResponse) UnmarshalJSON

func (v *NullableSessionTimeoutPolicyResponse) UnmarshalJSON(src []byte) error

func (*NullableSessionTimeoutPolicyResponse) Unset

type NullableStateExecutedResponse

type NullableStateExecutedResponse struct {
	// contains filtered or unexported fields
}

func (NullableStateExecutedResponse) Get

func (NullableStateExecutedResponse) IsSet

func (NullableStateExecutedResponse) MarshalJSON

func (v NullableStateExecutedResponse) MarshalJSON() ([]byte, error)

func (*NullableStateExecutedResponse) Set

func (*NullableStateExecutedResponse) UnmarshalJSON

func (v *NullableStateExecutedResponse) UnmarshalJSON(src []byte) error

func (*NullableStateExecutedResponse) Unset

func (v *NullableStateExecutedResponse) Unset()

type NullableStatePendingResponse

type NullableStatePendingResponse struct {
	// contains filtered or unexported fields
}

func NewNullableStatePendingResponse

func NewNullableStatePendingResponse(val *StatePendingResponse) *NullableStatePendingResponse

func (NullableStatePendingResponse) Get

func (NullableStatePendingResponse) IsSet

func (NullableStatePendingResponse) MarshalJSON

func (v NullableStatePendingResponse) MarshalJSON() ([]byte, error)

func (*NullableStatePendingResponse) Set

func (*NullableStatePendingResponse) UnmarshalJSON

func (v *NullableStatePendingResponse) UnmarshalJSON(src []byte) error

func (*NullableStatePendingResponse) Unset

func (v *NullableStatePendingResponse) 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 NullableTOTPDevice

type NullableTOTPDevice struct {
	// contains filtered or unexported fields
}

func NewNullableTOTPDevice

func NewNullableTOTPDevice(val *TOTPDevice) *NullableTOTPDevice

func (NullableTOTPDevice) Get

func (v NullableTOTPDevice) Get() *TOTPDevice

func (NullableTOTPDevice) IsSet

func (v NullableTOTPDevice) IsSet() bool

func (NullableTOTPDevice) MarshalJSON

func (v NullableTOTPDevice) MarshalJSON() ([]byte, error)

func (*NullableTOTPDevice) Set

func (v *NullableTOTPDevice) Set(val *TOTPDevice)

func (*NullableTOTPDevice) UnmarshalJSON

func (v *NullableTOTPDevice) UnmarshalJSON(src []byte) error

func (*NullableTOTPDevice) Unset

func (v *NullableTOTPDevice) Unset()

type NullableTOTPDeviceCreate

type NullableTOTPDeviceCreate struct {
	// contains filtered or unexported fields
}

func NewNullableTOTPDeviceCreate

func NewNullableTOTPDeviceCreate(val *TOTPDeviceCreate) *NullableTOTPDeviceCreate

func (NullableTOTPDeviceCreate) Get

func (NullableTOTPDeviceCreate) IsSet

func (v NullableTOTPDeviceCreate) IsSet() bool

func (NullableTOTPDeviceCreate) MarshalJSON

func (v NullableTOTPDeviceCreate) MarshalJSON() ([]byte, error)

func (*NullableTOTPDeviceCreate) Set

func (*NullableTOTPDeviceCreate) UnmarshalJSON

func (v *NullableTOTPDeviceCreate) UnmarshalJSON(src []byte) error

func (*NullableTOTPDeviceCreate) Unset

func (v *NullableTOTPDeviceCreate) Unset()

type NullableTOTPDeviceList

type NullableTOTPDeviceList struct {
	// contains filtered or unexported fields
}

func NewNullableTOTPDeviceList

func NewNullableTOTPDeviceList(val *TOTPDeviceList) *NullableTOTPDeviceList

func (NullableTOTPDeviceList) Get

func (NullableTOTPDeviceList) IsSet

func (v NullableTOTPDeviceList) IsSet() bool

func (NullableTOTPDeviceList) MarshalJSON

func (v NullableTOTPDeviceList) MarshalJSON() ([]byte, error)

func (*NullableTOTPDeviceList) Set

func (*NullableTOTPDeviceList) UnmarshalJSON

func (v *NullableTOTPDeviceList) UnmarshalJSON(src []byte) error

func (*NullableTOTPDeviceList) Unset

func (v *NullableTOTPDeviceList) Unset()

type NullableTOTPDeviceResponse

type NullableTOTPDeviceResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTOTPDeviceResponse

func NewNullableTOTPDeviceResponse(val *TOTPDeviceResponse) *NullableTOTPDeviceResponse

func (NullableTOTPDeviceResponse) Get

func (NullableTOTPDeviceResponse) IsSet

func (v NullableTOTPDeviceResponse) IsSet() bool

func (NullableTOTPDeviceResponse) MarshalJSON

func (v NullableTOTPDeviceResponse) MarshalJSON() ([]byte, error)

func (*NullableTOTPDeviceResponse) Set

func (*NullableTOTPDeviceResponse) UnmarshalJSON

func (v *NullableTOTPDeviceResponse) UnmarshalJSON(src []byte) error

func (*NullableTOTPDeviceResponse) Unset

func (v *NullableTOTPDeviceResponse) Unset()

type NullableTOTPVerificationRequest

type NullableTOTPVerificationRequest struct {
	// contains filtered or unexported fields
}

func (NullableTOTPVerificationRequest) Get

func (NullableTOTPVerificationRequest) IsSet

func (NullableTOTPVerificationRequest) MarshalJSON

func (v NullableTOTPVerificationRequest) MarshalJSON() ([]byte, error)

func (*NullableTOTPVerificationRequest) Set

func (*NullableTOTPVerificationRequest) UnmarshalJSON

func (v *NullableTOTPVerificationRequest) UnmarshalJSON(src []byte) error

func (*NullableTOTPVerificationRequest) 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 NullableToken

type NullableToken struct {
	// contains filtered or unexported fields
}

func NewNullableToken

func NewNullableToken(val *Token) *NullableToken

func (NullableToken) Get

func (v NullableToken) Get() *Token

func (NullableToken) IsSet

func (v NullableToken) IsSet() bool

func (NullableToken) MarshalJSON

func (v NullableToken) MarshalJSON() ([]byte, error)

func (*NullableToken) Set

func (v *NullableToken) Set(val *Token)

func (*NullableToken) UnmarshalJSON

func (v *NullableToken) UnmarshalJSON(src []byte) error

func (*NullableToken) Unset

func (v *NullableToken) Unset()

type NullableTokenPair

type NullableTokenPair struct {
	// contains filtered or unexported fields
}

func NewNullableTokenPair

func NewNullableTokenPair(val *TokenPair) *NullableTokenPair

func (NullableTokenPair) Get

func (v NullableTokenPair) Get() *TokenPair

func (NullableTokenPair) IsSet

func (v NullableTokenPair) IsSet() bool

func (NullableTokenPair) MarshalJSON

func (v NullableTokenPair) MarshalJSON() ([]byte, error)

func (*NullableTokenPair) Set

func (v *NullableTokenPair) Set(val *TokenPair)

func (*NullableTokenPair) UnmarshalJSON

func (v *NullableTokenPair) UnmarshalJSON(src []byte) error

func (*NullableTokenPair) Unset

func (v *NullableTokenPair) Unset()

type NullableTokenPairResponse

type NullableTokenPairResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTokenPairResponse

func NewNullableTokenPairResponse(val *TokenPairResponse) *NullableTokenPairResponse

func (NullableTokenPairResponse) Get

func (NullableTokenPairResponse) IsSet

func (v NullableTokenPairResponse) IsSet() bool

func (NullableTokenPairResponse) MarshalJSON

func (v NullableTokenPairResponse) MarshalJSON() ([]byte, error)

func (*NullableTokenPairResponse) Set

func (*NullableTokenPairResponse) UnmarshalJSON

func (v *NullableTokenPairResponse) UnmarshalJSON(src []byte) error

func (*NullableTokenPairResponse) Unset

func (v *NullableTokenPairResponse) Unset()

type NullableTokenRequest

type NullableTokenRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTokenRequest

func NewNullableTokenRequest(val *TokenRequest) *NullableTokenRequest

func (NullableTokenRequest) Get

func (NullableTokenRequest) IsSet

func (v NullableTokenRequest) IsSet() bool

func (NullableTokenRequest) MarshalJSON

func (v NullableTokenRequest) MarshalJSON() ([]byte, error)

func (*NullableTokenRequest) Set

func (v *NullableTokenRequest) Set(val *TokenRequest)

func (*NullableTokenRequest) UnmarshalJSON

func (v *NullableTokenRequest) UnmarshalJSON(src []byte) error

func (*NullableTokenRequest) Unset

func (v *NullableTokenRequest) Unset()

type NullableTokenResponse

type NullableTokenResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTokenResponse

func NewNullableTokenResponse(val *TokenResponse) *NullableTokenResponse

func (NullableTokenResponse) Get

func (NullableTokenResponse) IsSet

func (v NullableTokenResponse) IsSet() bool

func (NullableTokenResponse) MarshalJSON

func (v NullableTokenResponse) MarshalJSON() ([]byte, error)

func (*NullableTokenResponse) Set

func (v *NullableTokenResponse) Set(val *TokenResponse)

func (*NullableTokenResponse) UnmarshalJSON

func (v *NullableTokenResponse) UnmarshalJSON(src []byte) error

func (*NullableTokenResponse) Unset

func (v *NullableTokenResponse) Unset()

type NullableUserLoginMethodResponse

type NullableUserLoginMethodResponse struct {
	// contains filtered or unexported fields
}

func (NullableUserLoginMethodResponse) Get

func (NullableUserLoginMethodResponse) IsSet

func (NullableUserLoginMethodResponse) MarshalJSON

func (v NullableUserLoginMethodResponse) MarshalJSON() ([]byte, error)

func (*NullableUserLoginMethodResponse) Set

func (*NullableUserLoginMethodResponse) UnmarshalJSON

func (v *NullableUserLoginMethodResponse) UnmarshalJSON(src []byte) error

func (*NullableUserLoginMethodResponse) Unset

type PaginatedPolicyList

type PaginatedPolicyList struct {
	// Total number of items
	Count *int64 `json:"count,omitempty"`
	// Total number of pages
	TotalPages *int64 `json:"total_pages,omitempty"`
	// Current page number
	Page *int64 `json:"page,omitempty"`
	// Number of items per page
	PageSize *int64 `json:"page_size,omitempty"`
	// URL to the next page of results
	Next NullableString `json:"next,omitempty"`
	// URL to the previous page of results
	Previous NullableString `json:"previous,omitempty"`
	Results  []Policy       `json:"results,omitempty"`
}

PaginatedPolicyList struct for PaginatedPolicyList

func NewPaginatedPolicyList

func NewPaginatedPolicyList() *PaginatedPolicyList

NewPaginatedPolicyList instantiates a new PaginatedPolicyList 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 NewPaginatedPolicyListWithDefaults

func NewPaginatedPolicyListWithDefaults() *PaginatedPolicyList

NewPaginatedPolicyListWithDefaults instantiates a new PaginatedPolicyList 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 (*PaginatedPolicyList) GetCount

func (o *PaginatedPolicyList) GetCount() int64

GetCount returns the Count field value if set, zero value otherwise.

func (*PaginatedPolicyList) GetCountOk

func (o *PaginatedPolicyList) GetCountOk() (*int64, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPolicyList) GetNext

func (o *PaginatedPolicyList) GetNext() string

GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedPolicyList) GetNextOk

func (o *PaginatedPolicyList) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedPolicyList) GetPage

func (o *PaginatedPolicyList) GetPage() int64

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedPolicyList) GetPageOk

func (o *PaginatedPolicyList) GetPageOk() (*int64, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPolicyList) GetPageSize

func (o *PaginatedPolicyList) GetPageSize() int64

GetPageSize returns the PageSize field value if set, zero value otherwise.

func (*PaginatedPolicyList) GetPageSizeOk

func (o *PaginatedPolicyList) GetPageSizeOk() (*int64, bool)

GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPolicyList) GetPrevious

func (o *PaginatedPolicyList) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedPolicyList) GetPreviousOk

func (o *PaginatedPolicyList) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedPolicyList) GetResults

func (o *PaginatedPolicyList) GetResults() []Policy

GetResults returns the Results field value if set, zero value otherwise.

func (*PaginatedPolicyList) GetResultsOk

func (o *PaginatedPolicyList) GetResultsOk() ([]Policy, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPolicyList) GetTotalPages

func (o *PaginatedPolicyList) GetTotalPages() int64

GetTotalPages returns the TotalPages field value if set, zero value otherwise.

func (*PaginatedPolicyList) GetTotalPagesOk

func (o *PaginatedPolicyList) GetTotalPagesOk() (*int64, bool)

GetTotalPagesOk returns a tuple with the TotalPages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPolicyList) HasCount

func (o *PaginatedPolicyList) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PaginatedPolicyList) HasNext

func (o *PaginatedPolicyList) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedPolicyList) HasPage

func (o *PaginatedPolicyList) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedPolicyList) HasPageSize

func (o *PaginatedPolicyList) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

func (*PaginatedPolicyList) HasPrevious

func (o *PaginatedPolicyList) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedPolicyList) HasResults

func (o *PaginatedPolicyList) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*PaginatedPolicyList) HasTotalPages

func (o *PaginatedPolicyList) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (PaginatedPolicyList) MarshalJSON

func (o PaginatedPolicyList) MarshalJSON() ([]byte, error)

func (*PaginatedPolicyList) SetCount

func (o *PaginatedPolicyList) SetCount(v int64)

SetCount gets a reference to the given int64 and assigns it to the Count field.

func (*PaginatedPolicyList) SetNext

func (o *PaginatedPolicyList) SetNext(v string)

SetNext gets a reference to the given NullableString and assigns it to the Next field.

func (*PaginatedPolicyList) SetNextNil

func (o *PaginatedPolicyList) SetNextNil()

SetNextNil sets the value for Next to be an explicit nil

func (*PaginatedPolicyList) SetPage

func (o *PaginatedPolicyList) SetPage(v int64)

SetPage gets a reference to the given int64 and assigns it to the Page field.

func (*PaginatedPolicyList) SetPageSize

func (o *PaginatedPolicyList) SetPageSize(v int64)

SetPageSize gets a reference to the given int64 and assigns it to the PageSize field.

func (*PaginatedPolicyList) SetPrevious

func (o *PaginatedPolicyList) SetPrevious(v string)

SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.

func (*PaginatedPolicyList) SetPreviousNil

func (o *PaginatedPolicyList) SetPreviousNil()

SetPreviousNil sets the value for Previous to be an explicit nil

func (*PaginatedPolicyList) SetResults

func (o *PaginatedPolicyList) SetResults(v []Policy)

SetResults gets a reference to the given []Policy and assigns it to the Results field.

func (*PaginatedPolicyList) SetTotalPages

func (o *PaginatedPolicyList) SetTotalPages(v int64)

SetTotalPages gets a reference to the given int64 and assigns it to the TotalPages field.

func (PaginatedPolicyList) ToMap

func (o PaginatedPolicyList) ToMap() (map[string]interface{}, error)

func (*PaginatedPolicyList) UnsetNext

func (o *PaginatedPolicyList) UnsetNext()

UnsetNext ensures that no value is present for Next, not even an explicit nil

func (*PaginatedPolicyList) UnsetPrevious

func (o *PaginatedPolicyList) UnsetPrevious()

UnsetPrevious ensures that no value is present for Previous, not even an explicit nil

type PaginatedTOTPDeviceListList

type PaginatedTOTPDeviceListList struct {
	// Total number of items
	Count *int64 `json:"count,omitempty"`
	// Total number of pages
	TotalPages *int64 `json:"total_pages,omitempty"`
	// Current page number
	Page *int64 `json:"page,omitempty"`
	// Number of items per page
	PageSize *int64 `json:"page_size,omitempty"`
	// URL to the next page of results
	Next NullableString `json:"next,omitempty"`
	// URL to the previous page of results
	Previous NullableString   `json:"previous,omitempty"`
	Results  []TOTPDeviceList `json:"results,omitempty"`
}

PaginatedTOTPDeviceListList struct for PaginatedTOTPDeviceListList

func NewPaginatedTOTPDeviceListList

func NewPaginatedTOTPDeviceListList() *PaginatedTOTPDeviceListList

NewPaginatedTOTPDeviceListList instantiates a new PaginatedTOTPDeviceListList 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 NewPaginatedTOTPDeviceListListWithDefaults

func NewPaginatedTOTPDeviceListListWithDefaults() *PaginatedTOTPDeviceListList

NewPaginatedTOTPDeviceListListWithDefaults instantiates a new PaginatedTOTPDeviceListList 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 (*PaginatedTOTPDeviceListList) GetCount

func (o *PaginatedTOTPDeviceListList) GetCount() int64

GetCount returns the Count field value if set, zero value otherwise.

func (*PaginatedTOTPDeviceListList) GetCountOk

func (o *PaginatedTOTPDeviceListList) GetCountOk() (*int64, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTOTPDeviceListList) GetNext

func (o *PaginatedTOTPDeviceListList) GetNext() string

GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedTOTPDeviceListList) GetNextOk

func (o *PaginatedTOTPDeviceListList) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedTOTPDeviceListList) GetPage

func (o *PaginatedTOTPDeviceListList) GetPage() int64

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedTOTPDeviceListList) GetPageOk

func (o *PaginatedTOTPDeviceListList) GetPageOk() (*int64, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTOTPDeviceListList) GetPageSize

func (o *PaginatedTOTPDeviceListList) GetPageSize() int64

GetPageSize returns the PageSize field value if set, zero value otherwise.

func (*PaginatedTOTPDeviceListList) GetPageSizeOk

func (o *PaginatedTOTPDeviceListList) GetPageSizeOk() (*int64, bool)

GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTOTPDeviceListList) GetPrevious

func (o *PaginatedTOTPDeviceListList) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedTOTPDeviceListList) GetPreviousOk

func (o *PaginatedTOTPDeviceListList) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedTOTPDeviceListList) GetResults

func (o *PaginatedTOTPDeviceListList) GetResults() []TOTPDeviceList

GetResults returns the Results field value if set, zero value otherwise.

func (*PaginatedTOTPDeviceListList) GetResultsOk

func (o *PaginatedTOTPDeviceListList) GetResultsOk() ([]TOTPDeviceList, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTOTPDeviceListList) GetTotalPages

func (o *PaginatedTOTPDeviceListList) GetTotalPages() int64

GetTotalPages returns the TotalPages field value if set, zero value otherwise.

func (*PaginatedTOTPDeviceListList) GetTotalPagesOk

func (o *PaginatedTOTPDeviceListList) GetTotalPagesOk() (*int64, bool)

GetTotalPagesOk returns a tuple with the TotalPages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTOTPDeviceListList) HasCount

func (o *PaginatedTOTPDeviceListList) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PaginatedTOTPDeviceListList) HasNext

func (o *PaginatedTOTPDeviceListList) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedTOTPDeviceListList) HasPage

func (o *PaginatedTOTPDeviceListList) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedTOTPDeviceListList) HasPageSize

func (o *PaginatedTOTPDeviceListList) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

func (*PaginatedTOTPDeviceListList) HasPrevious

func (o *PaginatedTOTPDeviceListList) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedTOTPDeviceListList) HasResults

func (o *PaginatedTOTPDeviceListList) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*PaginatedTOTPDeviceListList) HasTotalPages

func (o *PaginatedTOTPDeviceListList) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (PaginatedTOTPDeviceListList) MarshalJSON

func (o PaginatedTOTPDeviceListList) MarshalJSON() ([]byte, error)

func (*PaginatedTOTPDeviceListList) SetCount

func (o *PaginatedTOTPDeviceListList) SetCount(v int64)

SetCount gets a reference to the given int64 and assigns it to the Count field.

func (*PaginatedTOTPDeviceListList) SetNext

func (o *PaginatedTOTPDeviceListList) SetNext(v string)

SetNext gets a reference to the given NullableString and assigns it to the Next field.

func (*PaginatedTOTPDeviceListList) SetNextNil

func (o *PaginatedTOTPDeviceListList) SetNextNil()

SetNextNil sets the value for Next to be an explicit nil

func (*PaginatedTOTPDeviceListList) SetPage

func (o *PaginatedTOTPDeviceListList) SetPage(v int64)

SetPage gets a reference to the given int64 and assigns it to the Page field.

func (*PaginatedTOTPDeviceListList) SetPageSize

func (o *PaginatedTOTPDeviceListList) SetPageSize(v int64)

SetPageSize gets a reference to the given int64 and assigns it to the PageSize field.

func (*PaginatedTOTPDeviceListList) SetPrevious

func (o *PaginatedTOTPDeviceListList) SetPrevious(v string)

SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.

func (*PaginatedTOTPDeviceListList) SetPreviousNil

func (o *PaginatedTOTPDeviceListList) SetPreviousNil()

SetPreviousNil sets the value for Previous to be an explicit nil

func (*PaginatedTOTPDeviceListList) SetResults

func (o *PaginatedTOTPDeviceListList) SetResults(v []TOTPDeviceList)

SetResults gets a reference to the given []TOTPDeviceList and assigns it to the Results field.

func (*PaginatedTOTPDeviceListList) SetTotalPages

func (o *PaginatedTOTPDeviceListList) SetTotalPages(v int64)

SetTotalPages gets a reference to the given int64 and assigns it to the TotalPages field.

func (PaginatedTOTPDeviceListList) ToMap

func (o PaginatedTOTPDeviceListList) ToMap() (map[string]interface{}, error)

func (*PaginatedTOTPDeviceListList) UnsetNext

func (o *PaginatedTOTPDeviceListList) UnsetNext()

UnsetNext ensures that no value is present for Next, not even an explicit nil

func (*PaginatedTOTPDeviceListList) UnsetPrevious

func (o *PaginatedTOTPDeviceListList) UnsetPrevious()

UnsetPrevious ensures that no value is present for Previous, not even an explicit nil

type PatchedPolicyRequest

type PatchedPolicyRequest struct {
	Name   *string             `json:"name,omitempty"`
	Active *bool               `json:"active,omitempty"`
	Rules  []PolicyRuleRequest `json:"rules,omitempty"`
}

PatchedPolicyRequest struct for PatchedPolicyRequest

func NewPatchedPolicyRequest

func NewPatchedPolicyRequest() *PatchedPolicyRequest

NewPatchedPolicyRequest instantiates a new PatchedPolicyRequest 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 NewPatchedPolicyRequestWithDefaults

func NewPatchedPolicyRequestWithDefaults() *PatchedPolicyRequest

NewPatchedPolicyRequestWithDefaults instantiates a new PatchedPolicyRequest 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 (*PatchedPolicyRequest) GetActive

func (o *PatchedPolicyRequest) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*PatchedPolicyRequest) GetActiveOk

func (o *PatchedPolicyRequest) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedPolicyRequest) GetName

func (o *PatchedPolicyRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PatchedPolicyRequest) GetNameOk

func (o *PatchedPolicyRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedPolicyRequest) GetRules

func (o *PatchedPolicyRequest) GetRules() []PolicyRuleRequest

GetRules returns the Rules field value if set, zero value otherwise.

func (*PatchedPolicyRequest) GetRulesOk

func (o *PatchedPolicyRequest) GetRulesOk() ([]PolicyRuleRequest, bool)

GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedPolicyRequest) HasActive

func (o *PatchedPolicyRequest) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*PatchedPolicyRequest) HasName

func (o *PatchedPolicyRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*PatchedPolicyRequest) HasRules

func (o *PatchedPolicyRequest) HasRules() bool

HasRules returns a boolean if a field has been set.

func (PatchedPolicyRequest) MarshalJSON

func (o PatchedPolicyRequest) MarshalJSON() ([]byte, error)

func (*PatchedPolicyRequest) SetActive

func (o *PatchedPolicyRequest) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*PatchedPolicyRequest) SetName

func (o *PatchedPolicyRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PatchedPolicyRequest) SetRules

func (o *PatchedPolicyRequest) SetRules(v []PolicyRuleRequest)

SetRules gets a reference to the given []PolicyRuleRequest and assigns it to the Rules field.

func (PatchedPolicyRequest) ToMap

func (o PatchedPolicyRequest) ToMap() (map[string]interface{}, error)

type Policy

type Policy struct {
	Id           *int64       `json:"id,omitempty"`
	Name         string       `json:"name"`
	LastEditor   *string      `json:"last_editor,omitempty"`
	LastModified *time.Time   `json:"last_modified,omitempty"`
	CreatedAt    *time.Time   `json:"created_at,omitempty"`
	Active       bool         `json:"active"`
	Rules        []PolicyRule `json:"rules"`
}

Policy struct for Policy

func NewPolicy

func NewPolicy(name string, active bool, rules []PolicyRule) *Policy

NewPolicy instantiates a new Policy 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 NewPolicyWithDefaults

func NewPolicyWithDefaults() *Policy

NewPolicyWithDefaults instantiates a new Policy 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 (*Policy) GetActive

func (o *Policy) GetActive() bool

GetActive returns the Active field value

func (*Policy) GetActiveOk

func (o *Policy) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value and a boolean to check if the value has been set.

func (*Policy) GetCreatedAt

func (o *Policy) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Policy) GetCreatedAtOk

func (o *Policy) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Policy) GetId

func (o *Policy) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*Policy) GetIdOk

func (o *Policy) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Policy) GetLastEditor

func (o *Policy) GetLastEditor() string

GetLastEditor returns the LastEditor field value if set, zero value otherwise.

func (*Policy) GetLastEditorOk

func (o *Policy) GetLastEditorOk() (*string, bool)

GetLastEditorOk returns a tuple with the LastEditor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Policy) GetLastModified

func (o *Policy) GetLastModified() time.Time

GetLastModified returns the LastModified field value if set, zero value otherwise.

func (*Policy) GetLastModifiedOk

func (o *Policy) GetLastModifiedOk() (*time.Time, bool)

GetLastModifiedOk returns a tuple with the LastModified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Policy) GetName

func (o *Policy) GetName() string

GetName returns the Name field value

func (*Policy) GetNameOk

func (o *Policy) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Policy) GetRules

func (o *Policy) GetRules() []PolicyRule

GetRules returns the Rules field value

func (*Policy) GetRulesOk

func (o *Policy) GetRulesOk() ([]PolicyRule, bool)

GetRulesOk returns a tuple with the Rules field value and a boolean to check if the value has been set.

func (*Policy) HasCreatedAt

func (o *Policy) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Policy) HasId

func (o *Policy) HasId() bool

HasId returns a boolean if a field has been set.

func (*Policy) HasLastEditor

func (o *Policy) HasLastEditor() bool

HasLastEditor returns a boolean if a field has been set.

func (*Policy) HasLastModified

func (o *Policy) HasLastModified() bool

HasLastModified returns a boolean if a field has been set.

func (Policy) MarshalJSON

func (o Policy) MarshalJSON() ([]byte, error)

func (*Policy) SetActive

func (o *Policy) SetActive(v bool)

SetActive sets field value

func (*Policy) SetCreatedAt

func (o *Policy) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Policy) SetId

func (o *Policy) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*Policy) SetLastEditor

func (o *Policy) SetLastEditor(v string)

SetLastEditor gets a reference to the given string and assigns it to the LastEditor field.

func (*Policy) SetLastModified

func (o *Policy) SetLastModified(v time.Time)

SetLastModified gets a reference to the given time.Time and assigns it to the LastModified field.

func (*Policy) SetName

func (o *Policy) SetName(v string)

SetName sets field value

func (*Policy) SetRules

func (o *Policy) SetRules(v []PolicyRule)

SetRules sets field value

func (Policy) ToMap

func (o Policy) ToMap() (map[string]interface{}, error)

func (*Policy) UnmarshalJSON

func (o *Policy) UnmarshalJSON(data []byte) (err error)

type PolicyLockoutPolicyAPIService

type PolicyLockoutPolicyAPIService service

PolicyLockoutPolicyAPIService PolicyLockoutPolicyAPI service

func (*PolicyLockoutPolicyAPIService) RetrieveLockoutPolicy

RetrieveLockoutPolicy Get Lockout Policy

Get Lockout Policy for the current account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRetrieveLockoutPolicyRequest

func (*PolicyLockoutPolicyAPIService) RetrieveLockoutPolicyExecute

Execute executes the request

@return LockoutPolicyResponse

func (*PolicyLockoutPolicyAPIService) UpdateLockoutPolicy

UpdateLockoutPolicy Put Lockout Policy

Put Lockout Policy for the current account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUpdateLockoutPolicyRequest

func (*PolicyLockoutPolicyAPIService) UpdateLockoutPolicyExecute

Execute executes the request

@return LockoutPolicyResponse

type PolicyPoliciesAPIService

type PolicyPoliciesAPIService service

PolicyPoliciesAPIService PolicyPoliciesAPI service

func (*PolicyPoliciesAPIService) CreatePolicy

CreatePolicy Create a new policy

Create a new policy for your account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreatePolicyRequest

func (*PolicyPoliciesAPIService) CreatePolicyExecute

Execute executes the request

@return PolicyResponse

func (*PolicyPoliciesAPIService) DeletePolicy

func (a *PolicyPoliciesAPIService) DeletePolicy(ctx context.Context, policyId int64) ApiDeletePolicyRequest

DeletePolicy Delete a policy

Delete a specific policy from your account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param policyId A unique integer value identifying the policy.
@return ApiDeletePolicyRequest

func (*PolicyPoliciesAPIService) DeletePolicyExecute

Execute executes the request

@return DeleteResponse

func (*PolicyPoliciesAPIService) ListPolicy

ListPolicy List of account policies

List all your account policies.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListPolicyRequest

func (*PolicyPoliciesAPIService) ListPolicyExecute

Execute executes the request

@return PaginatedPolicyList

func (*PolicyPoliciesAPIService) PartialUpdatePolicy

func (a *PolicyPoliciesAPIService) PartialUpdatePolicy(ctx context.Context, policyId int64) ApiPartialUpdatePolicyRequest

PartialUpdatePolicy Partially update a policy

Update one or more fields of an existing policy without affecting other fields.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param policyId A unique integer value identifying the policy.
@return ApiPartialUpdatePolicyRequest

func (*PolicyPoliciesAPIService) PartialUpdatePolicyExecute

Execute executes the request

@return PolicyResponse

func (*PolicyPoliciesAPIService) RetrievePolicy

func (a *PolicyPoliciesAPIService) RetrievePolicy(ctx context.Context, policyId int64) ApiRetrievePolicyRequest

RetrievePolicy Retrieve details from a policy

Retrieve details from a specific policy from your account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param policyId A unique integer value identifying the policy.
@return ApiRetrievePolicyRequest

func (*PolicyPoliciesAPIService) RetrievePolicyExecute

Execute executes the request

@return PolicyResponse

func (*PolicyPoliciesAPIService) UpdatePolicy

func (a *PolicyPoliciesAPIService) UpdatePolicy(ctx context.Context, policyId int64) ApiUpdatePolicyRequest

UpdatePolicy Update a policy

Update an existing policy. This replaces all policy rules with the new data provided.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param policyId A unique integer value identifying the policy.
@return ApiUpdatePolicyRequest

func (*PolicyPoliciesAPIService) UpdatePolicyExecute

Execute executes the request

@return PolicyResponse

type PolicyRequest

type PolicyRequest struct {
	Name   string              `json:"name"`
	Active bool                `json:"active"`
	Rules  []PolicyRuleRequest `json:"rules"`
}

PolicyRequest struct for PolicyRequest

func NewPolicyRequest

func NewPolicyRequest(name string, active bool, rules []PolicyRuleRequest) *PolicyRequest

NewPolicyRequest instantiates a new PolicyRequest 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 NewPolicyRequestWithDefaults

func NewPolicyRequestWithDefaults() *PolicyRequest

NewPolicyRequestWithDefaults instantiates a new PolicyRequest 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 (*PolicyRequest) GetActive

func (o *PolicyRequest) GetActive() bool

GetActive returns the Active field value

func (*PolicyRequest) GetActiveOk

func (o *PolicyRequest) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value and a boolean to check if the value has been set.

func (*PolicyRequest) GetName

func (o *PolicyRequest) GetName() string

GetName returns the Name field value

func (*PolicyRequest) GetNameOk

func (o *PolicyRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PolicyRequest) GetRules

func (o *PolicyRequest) GetRules() []PolicyRuleRequest

GetRules returns the Rules field value

func (*PolicyRequest) GetRulesOk

func (o *PolicyRequest) GetRulesOk() ([]PolicyRuleRequest, bool)

GetRulesOk returns a tuple with the Rules field value and a boolean to check if the value has been set.

func (PolicyRequest) MarshalJSON

func (o PolicyRequest) MarshalJSON() ([]byte, error)

func (*PolicyRequest) SetActive

func (o *PolicyRequest) SetActive(v bool)

SetActive sets field value

func (*PolicyRequest) SetName

func (o *PolicyRequest) SetName(v string)

SetName sets field value

func (*PolicyRequest) SetRules

func (o *PolicyRequest) SetRules(v []PolicyRuleRequest)

SetRules sets field value

func (PolicyRequest) ToMap

func (o PolicyRequest) ToMap() (map[string]interface{}, error)

func (*PolicyRequest) UnmarshalJSON

func (o *PolicyRequest) UnmarshalJSON(data []byte) (err error)

type PolicyResponse

type PolicyResponse struct {
	State *string `json:"state,omitempty"`
	Data  Policy  `json:"data"`
}

PolicyResponse struct for PolicyResponse

func NewPolicyResponse

func NewPolicyResponse(data Policy) *PolicyResponse

NewPolicyResponse instantiates a new PolicyResponse 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 NewPolicyResponseWithDefaults

func NewPolicyResponseWithDefaults() *PolicyResponse

NewPolicyResponseWithDefaults instantiates a new PolicyResponse 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 (*PolicyResponse) GetData

func (o *PolicyResponse) GetData() Policy

GetData returns the Data field value

func (*PolicyResponse) GetDataOk

func (o *PolicyResponse) GetDataOk() (*Policy, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*PolicyResponse) GetState

func (o *PolicyResponse) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*PolicyResponse) GetStateOk

func (o *PolicyResponse) 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 (*PolicyResponse) HasState

func (o *PolicyResponse) HasState() bool

HasState returns a boolean if a field has been set.

func (PolicyResponse) MarshalJSON

func (o PolicyResponse) MarshalJSON() ([]byte, error)

func (*PolicyResponse) SetData

func (o *PolicyResponse) SetData(v Policy)

SetData sets field value

func (*PolicyResponse) SetState

func (o *PolicyResponse) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (PolicyResponse) ToMap

func (o PolicyResponse) ToMap() (map[string]interface{}, error)

func (*PolicyResponse) UnmarshalJSON

func (o *PolicyResponse) UnmarshalJSON(data []byte) (err error)

type PolicyRule

type PolicyRule struct {
	Name string `json:"name"`
	// * `allow` - allow * `deny` - deny
	Effect string `json:"effect"`
	// Resource pattern (regex supported)
	Resource  string              `json:"resource"`
	Actions   []string            `json:"actions"`
	Condition PolicyRuleCondition `json:"condition"`
}

PolicyRule struct for PolicyRule

func NewPolicyRule

func NewPolicyRule(name string, effect string, resource string, actions []string, condition PolicyRuleCondition) *PolicyRule

NewPolicyRule instantiates a new PolicyRule 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 NewPolicyRuleWithDefaults

func NewPolicyRuleWithDefaults() *PolicyRule

NewPolicyRuleWithDefaults instantiates a new PolicyRule 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 (*PolicyRule) GetActions

func (o *PolicyRule) GetActions() []string

GetActions returns the Actions field value

func (*PolicyRule) GetActionsOk

func (o *PolicyRule) GetActionsOk() ([]string, bool)

GetActionsOk returns a tuple with the Actions field value and a boolean to check if the value has been set.

func (*PolicyRule) GetCondition

func (o *PolicyRule) GetCondition() PolicyRuleCondition

GetCondition returns the Condition field value

func (*PolicyRule) GetConditionOk

func (o *PolicyRule) GetConditionOk() (*PolicyRuleCondition, bool)

GetConditionOk returns a tuple with the Condition field value and a boolean to check if the value has been set.

func (*PolicyRule) GetEffect

func (o *PolicyRule) GetEffect() string

GetEffect returns the Effect field value

func (*PolicyRule) GetEffectOk

func (o *PolicyRule) GetEffectOk() (*string, bool)

GetEffectOk returns a tuple with the Effect field value and a boolean to check if the value has been set.

func (*PolicyRule) GetName

func (o *PolicyRule) GetName() string

GetName returns the Name field value

func (*PolicyRule) GetNameOk

func (o *PolicyRule) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PolicyRule) GetResource

func (o *PolicyRule) GetResource() string

GetResource returns the Resource field value

func (*PolicyRule) GetResourceOk

func (o *PolicyRule) GetResourceOk() (*string, bool)

GetResourceOk returns a tuple with the Resource field value and a boolean to check if the value has been set.

func (PolicyRule) MarshalJSON

func (o PolicyRule) MarshalJSON() ([]byte, error)

func (*PolicyRule) SetActions

func (o *PolicyRule) SetActions(v []string)

SetActions sets field value

func (*PolicyRule) SetCondition

func (o *PolicyRule) SetCondition(v PolicyRuleCondition)

SetCondition sets field value

func (*PolicyRule) SetEffect

func (o *PolicyRule) SetEffect(v string)

SetEffect sets field value

func (*PolicyRule) SetName

func (o *PolicyRule) SetName(v string)

SetName sets field value

func (*PolicyRule) SetResource

func (o *PolicyRule) SetResource(v string)

SetResource sets field value

func (PolicyRule) ToMap

func (o PolicyRule) ToMap() (map[string]interface{}, error)

func (*PolicyRule) UnmarshalJSON

func (o *PolicyRule) UnmarshalJSON(data []byte) (err error)

type PolicyRuleCondition

type PolicyRuleCondition struct {
	IpAddress []string `json:"ip_address"`
}

PolicyRuleCondition struct for PolicyRuleCondition

func NewPolicyRuleCondition

func NewPolicyRuleCondition(ipAddress []string) *PolicyRuleCondition

NewPolicyRuleCondition instantiates a new PolicyRuleCondition 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 NewPolicyRuleConditionWithDefaults

func NewPolicyRuleConditionWithDefaults() *PolicyRuleCondition

NewPolicyRuleConditionWithDefaults instantiates a new PolicyRuleCondition 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 (*PolicyRuleCondition) GetIpAddress

func (o *PolicyRuleCondition) GetIpAddress() []string

GetIpAddress returns the IpAddress field value

func (*PolicyRuleCondition) GetIpAddressOk

func (o *PolicyRuleCondition) GetIpAddressOk() ([]string, bool)

GetIpAddressOk returns a tuple with the IpAddress field value and a boolean to check if the value has been set.

func (PolicyRuleCondition) MarshalJSON

func (o PolicyRuleCondition) MarshalJSON() ([]byte, error)

func (*PolicyRuleCondition) SetIpAddress

func (o *PolicyRuleCondition) SetIpAddress(v []string)

SetIpAddress sets field value

func (PolicyRuleCondition) ToMap

func (o PolicyRuleCondition) ToMap() (map[string]interface{}, error)

func (*PolicyRuleCondition) UnmarshalJSON

func (o *PolicyRuleCondition) UnmarshalJSON(data []byte) (err error)

type PolicyRuleConditionRequest

type PolicyRuleConditionRequest struct {
	IpAddress []string `json:"ip_address"`
}

PolicyRuleConditionRequest struct for PolicyRuleConditionRequest

func NewPolicyRuleConditionRequest

func NewPolicyRuleConditionRequest(ipAddress []string) *PolicyRuleConditionRequest

NewPolicyRuleConditionRequest instantiates a new PolicyRuleConditionRequest 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 NewPolicyRuleConditionRequestWithDefaults

func NewPolicyRuleConditionRequestWithDefaults() *PolicyRuleConditionRequest

NewPolicyRuleConditionRequestWithDefaults instantiates a new PolicyRuleConditionRequest 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 (*PolicyRuleConditionRequest) GetIpAddress

func (o *PolicyRuleConditionRequest) GetIpAddress() []string

GetIpAddress returns the IpAddress field value

func (*PolicyRuleConditionRequest) GetIpAddressOk

func (o *PolicyRuleConditionRequest) GetIpAddressOk() ([]string, bool)

GetIpAddressOk returns a tuple with the IpAddress field value and a boolean to check if the value has been set.

func (PolicyRuleConditionRequest) MarshalJSON

func (o PolicyRuleConditionRequest) MarshalJSON() ([]byte, error)

func (*PolicyRuleConditionRequest) SetIpAddress

func (o *PolicyRuleConditionRequest) SetIpAddress(v []string)

SetIpAddress sets field value

func (PolicyRuleConditionRequest) ToMap

func (o PolicyRuleConditionRequest) ToMap() (map[string]interface{}, error)

func (*PolicyRuleConditionRequest) UnmarshalJSON

func (o *PolicyRuleConditionRequest) UnmarshalJSON(data []byte) (err error)

type PolicyRuleRequest

type PolicyRuleRequest struct {
	Name string `json:"name"`
	// * `allow` - allow * `deny` - deny
	Effect string `json:"effect"`
	// Resource pattern (regex supported)
	Resource  string                     `json:"resource"`
	Actions   []string                   `json:"actions"`
	Condition PolicyRuleConditionRequest `json:"condition"`
}

PolicyRuleRequest struct for PolicyRuleRequest

func NewPolicyRuleRequest

func NewPolicyRuleRequest(name string, effect string, resource string, actions []string, condition PolicyRuleConditionRequest) *PolicyRuleRequest

NewPolicyRuleRequest instantiates a new PolicyRuleRequest 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 NewPolicyRuleRequestWithDefaults

func NewPolicyRuleRequestWithDefaults() *PolicyRuleRequest

NewPolicyRuleRequestWithDefaults instantiates a new PolicyRuleRequest 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 (*PolicyRuleRequest) GetActions

func (o *PolicyRuleRequest) GetActions() []string

GetActions returns the Actions field value

func (*PolicyRuleRequest) GetActionsOk

func (o *PolicyRuleRequest) GetActionsOk() ([]string, bool)

GetActionsOk returns a tuple with the Actions field value and a boolean to check if the value has been set.

func (*PolicyRuleRequest) GetCondition

GetCondition returns the Condition field value

func (*PolicyRuleRequest) GetConditionOk

func (o *PolicyRuleRequest) GetConditionOk() (*PolicyRuleConditionRequest, bool)

GetConditionOk returns a tuple with the Condition field value and a boolean to check if the value has been set.

func (*PolicyRuleRequest) GetEffect

func (o *PolicyRuleRequest) GetEffect() string

GetEffect returns the Effect field value

func (*PolicyRuleRequest) GetEffectOk

func (o *PolicyRuleRequest) GetEffectOk() (*string, bool)

GetEffectOk returns a tuple with the Effect field value and a boolean to check if the value has been set.

func (*PolicyRuleRequest) GetName

func (o *PolicyRuleRequest) GetName() string

GetName returns the Name field value

func (*PolicyRuleRequest) GetNameOk

func (o *PolicyRuleRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PolicyRuleRequest) GetResource

func (o *PolicyRuleRequest) GetResource() string

GetResource returns the Resource field value

func (*PolicyRuleRequest) GetResourceOk

func (o *PolicyRuleRequest) GetResourceOk() (*string, bool)

GetResourceOk returns a tuple with the Resource field value and a boolean to check if the value has been set.

func (PolicyRuleRequest) MarshalJSON

func (o PolicyRuleRequest) MarshalJSON() ([]byte, error)

func (*PolicyRuleRequest) SetActions

func (o *PolicyRuleRequest) SetActions(v []string)

SetActions sets field value

func (*PolicyRuleRequest) SetCondition

func (o *PolicyRuleRequest) SetCondition(v PolicyRuleConditionRequest)

SetCondition sets field value

func (*PolicyRuleRequest) SetEffect

func (o *PolicyRuleRequest) SetEffect(v string)

SetEffect sets field value

func (*PolicyRuleRequest) SetName

func (o *PolicyRuleRequest) SetName(v string)

SetName sets field value

func (*PolicyRuleRequest) SetResource

func (o *PolicyRuleRequest) SetResource(v string)

SetResource sets field value

func (PolicyRuleRequest) ToMap

func (o PolicyRuleRequest) ToMap() (map[string]interface{}, error)

func (*PolicyRuleRequest) UnmarshalJSON

func (o *PolicyRuleRequest) UnmarshalJSON(data []byte) (err error)

type PolicySessionTimeoutPolicyAPIService

type PolicySessionTimeoutPolicyAPIService service

PolicySessionTimeoutPolicyAPIService PolicySessionTimeoutPolicyAPI service

func (*PolicySessionTimeoutPolicyAPIService) RetrieveSessionTimeoutPolicy

RetrieveSessionTimeoutPolicy Get Session Timeout Policy

Get Session Timeout Policy for the current account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRetrieveSessionTimeoutPolicyRequest

func (*PolicySessionTimeoutPolicyAPIService) RetrieveSessionTimeoutPolicyExecute

Execute executes the request

@return SessionTimeoutPolicyResponse

func (*PolicySessionTimeoutPolicyAPIService) UpdateSessionTimeoutPolicy

UpdateSessionTimeoutPolicy Put Session Timeout Policy

Put Session Timeout Policy for the current account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUpdateSessionTimeoutPolicyRequest

func (*PolicySessionTimeoutPolicyAPIService) UpdateSessionTimeoutPolicyExecute

Execute executes the request

@return SessionTimeoutPolicyResponse

type ResponseAsyncDeletePolicy

type ResponseAsyncDeletePolicy struct {
	State *string `json:"state,omitempty"`
}

ResponseAsyncDeletePolicy struct for ResponseAsyncDeletePolicy

func NewResponseAsyncDeletePolicy

func NewResponseAsyncDeletePolicy() *ResponseAsyncDeletePolicy

NewResponseAsyncDeletePolicy instantiates a new ResponseAsyncDeletePolicy 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 NewResponseAsyncDeletePolicyWithDefaults

func NewResponseAsyncDeletePolicyWithDefaults() *ResponseAsyncDeletePolicy

NewResponseAsyncDeletePolicyWithDefaults instantiates a new ResponseAsyncDeletePolicy 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 (*ResponseAsyncDeletePolicy) GetState

func (o *ResponseAsyncDeletePolicy) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ResponseAsyncDeletePolicy) GetStateOk

func (o *ResponseAsyncDeletePolicy) 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 (*ResponseAsyncDeletePolicy) HasState

func (o *ResponseAsyncDeletePolicy) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseAsyncDeletePolicy) MarshalJSON

func (o ResponseAsyncDeletePolicy) MarshalJSON() ([]byte, error)

func (*ResponseAsyncDeletePolicy) SetState

func (o *ResponseAsyncDeletePolicy) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (ResponseAsyncDeletePolicy) ToMap

func (o ResponseAsyncDeletePolicy) ToMap() (map[string]interface{}, error)

type ResponseAsyncDeleteTOTPDeviceCreate

type ResponseAsyncDeleteTOTPDeviceCreate struct {
	State *string `json:"state,omitempty"`
}

ResponseAsyncDeleteTOTPDeviceCreate struct for ResponseAsyncDeleteTOTPDeviceCreate

func NewResponseAsyncDeleteTOTPDeviceCreate

func NewResponseAsyncDeleteTOTPDeviceCreate() *ResponseAsyncDeleteTOTPDeviceCreate

NewResponseAsyncDeleteTOTPDeviceCreate instantiates a new ResponseAsyncDeleteTOTPDeviceCreate 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 NewResponseAsyncDeleteTOTPDeviceCreateWithDefaults

func NewResponseAsyncDeleteTOTPDeviceCreateWithDefaults() *ResponseAsyncDeleteTOTPDeviceCreate

NewResponseAsyncDeleteTOTPDeviceCreateWithDefaults instantiates a new ResponseAsyncDeleteTOTPDeviceCreate 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 (*ResponseAsyncDeleteTOTPDeviceCreate) GetState

GetState returns the State field value if set, zero value otherwise.

func (*ResponseAsyncDeleteTOTPDeviceCreate) GetStateOk

func (o *ResponseAsyncDeleteTOTPDeviceCreate) 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 (*ResponseAsyncDeleteTOTPDeviceCreate) HasState

HasState returns a boolean if a field has been set.

func (ResponseAsyncDeleteTOTPDeviceCreate) MarshalJSON

func (o ResponseAsyncDeleteTOTPDeviceCreate) MarshalJSON() ([]byte, error)

func (*ResponseAsyncDeleteTOTPDeviceCreate) SetState

SetState gets a reference to the given string and assigns it to the State field.

func (ResponseAsyncDeleteTOTPDeviceCreate) ToMap

func (o ResponseAsyncDeleteTOTPDeviceCreate) ToMap() (map[string]interface{}, error)

type ResponseAsyncLockoutPolicy

type ResponseAsyncLockoutPolicy struct {
	State *string       `json:"state,omitempty"`
	Data  LockoutPolicy `json:"data"`
}

ResponseAsyncLockoutPolicy struct for ResponseAsyncLockoutPolicy

func NewResponseAsyncLockoutPolicy

func NewResponseAsyncLockoutPolicy(data LockoutPolicy) *ResponseAsyncLockoutPolicy

NewResponseAsyncLockoutPolicy instantiates a new ResponseAsyncLockoutPolicy 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 NewResponseAsyncLockoutPolicyWithDefaults

func NewResponseAsyncLockoutPolicyWithDefaults() *ResponseAsyncLockoutPolicy

NewResponseAsyncLockoutPolicyWithDefaults instantiates a new ResponseAsyncLockoutPolicy 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 (*ResponseAsyncLockoutPolicy) GetData

GetData returns the Data field value

func (*ResponseAsyncLockoutPolicy) GetDataOk

func (o *ResponseAsyncLockoutPolicy) GetDataOk() (*LockoutPolicy, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*ResponseAsyncLockoutPolicy) GetState

func (o *ResponseAsyncLockoutPolicy) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ResponseAsyncLockoutPolicy) GetStateOk

func (o *ResponseAsyncLockoutPolicy) 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 (*ResponseAsyncLockoutPolicy) HasState

func (o *ResponseAsyncLockoutPolicy) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseAsyncLockoutPolicy) MarshalJSON

func (o ResponseAsyncLockoutPolicy) MarshalJSON() ([]byte, error)

func (*ResponseAsyncLockoutPolicy) SetData

SetData sets field value

func (*ResponseAsyncLockoutPolicy) SetState

func (o *ResponseAsyncLockoutPolicy) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (ResponseAsyncLockoutPolicy) ToMap

func (o ResponseAsyncLockoutPolicy) ToMap() (map[string]interface{}, error)

func (*ResponseAsyncLockoutPolicy) UnmarshalJSON

func (o *ResponseAsyncLockoutPolicy) UnmarshalJSON(data []byte) (err error)

type ResponseAsyncLogin

type ResponseAsyncLogin struct {
	Data  LoginResponse `json:"data"`
	State *string       `json:"state,omitempty"`
}

ResponseAsyncLogin struct for ResponseAsyncLogin

func NewResponseAsyncLogin

func NewResponseAsyncLogin(data LoginResponse) *ResponseAsyncLogin

NewResponseAsyncLogin instantiates a new ResponseAsyncLogin 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 NewResponseAsyncLoginWithDefaults

func NewResponseAsyncLoginWithDefaults() *ResponseAsyncLogin

NewResponseAsyncLoginWithDefaults instantiates a new ResponseAsyncLogin 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 (*ResponseAsyncLogin) GetData

func (o *ResponseAsyncLogin) GetData() LoginResponse

GetData returns the Data field value

func (*ResponseAsyncLogin) GetDataOk

func (o *ResponseAsyncLogin) GetDataOk() (*LoginResponse, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*ResponseAsyncLogin) GetState

func (o *ResponseAsyncLogin) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ResponseAsyncLogin) GetStateOk

func (o *ResponseAsyncLogin) 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 (*ResponseAsyncLogin) HasState

func (o *ResponseAsyncLogin) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseAsyncLogin) MarshalJSON

func (o ResponseAsyncLogin) MarshalJSON() ([]byte, error)

func (*ResponseAsyncLogin) SetData

func (o *ResponseAsyncLogin) SetData(v LoginResponse)

SetData sets field value

func (*ResponseAsyncLogin) SetState

func (o *ResponseAsyncLogin) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (ResponseAsyncLogin) ToMap

func (o ResponseAsyncLogin) ToMap() (map[string]interface{}, error)

func (*ResponseAsyncLogin) UnmarshalJSON

func (o *ResponseAsyncLogin) UnmarshalJSON(data []byte) (err error)

type ResponseAsyncPolicy

type ResponseAsyncPolicy struct {
	State *string `json:"state,omitempty"`
	Data  Policy  `json:"data"`
}

ResponseAsyncPolicy struct for ResponseAsyncPolicy

func NewResponseAsyncPolicy

func NewResponseAsyncPolicy(data Policy) *ResponseAsyncPolicy

NewResponseAsyncPolicy instantiates a new ResponseAsyncPolicy 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 NewResponseAsyncPolicyWithDefaults

func NewResponseAsyncPolicyWithDefaults() *ResponseAsyncPolicy

NewResponseAsyncPolicyWithDefaults instantiates a new ResponseAsyncPolicy 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 (*ResponseAsyncPolicy) GetData

func (o *ResponseAsyncPolicy) GetData() Policy

GetData returns the Data field value

func (*ResponseAsyncPolicy) GetDataOk

func (o *ResponseAsyncPolicy) GetDataOk() (*Policy, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*ResponseAsyncPolicy) GetState

func (o *ResponseAsyncPolicy) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ResponseAsyncPolicy) GetStateOk

func (o *ResponseAsyncPolicy) 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 (*ResponseAsyncPolicy) HasState

func (o *ResponseAsyncPolicy) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseAsyncPolicy) MarshalJSON

func (o ResponseAsyncPolicy) MarshalJSON() ([]byte, error)

func (*ResponseAsyncPolicy) SetData

func (o *ResponseAsyncPolicy) SetData(v Policy)

SetData sets field value

func (*ResponseAsyncPolicy) SetState

func (o *ResponseAsyncPolicy) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (ResponseAsyncPolicy) ToMap

func (o ResponseAsyncPolicy) ToMap() (map[string]interface{}, error)

func (*ResponseAsyncPolicy) UnmarshalJSON

func (o *ResponseAsyncPolicy) UnmarshalJSON(data []byte) (err error)

type ResponseAsyncSessionTimeoutPolicy

type ResponseAsyncSessionTimeoutPolicy struct {
	State *string              `json:"state,omitempty"`
	Data  SessionTimeoutPolicy `json:"data"`
}

ResponseAsyncSessionTimeoutPolicy struct for ResponseAsyncSessionTimeoutPolicy

func NewResponseAsyncSessionTimeoutPolicy

func NewResponseAsyncSessionTimeoutPolicy(data SessionTimeoutPolicy) *ResponseAsyncSessionTimeoutPolicy

NewResponseAsyncSessionTimeoutPolicy instantiates a new ResponseAsyncSessionTimeoutPolicy 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 NewResponseAsyncSessionTimeoutPolicyWithDefaults

func NewResponseAsyncSessionTimeoutPolicyWithDefaults() *ResponseAsyncSessionTimeoutPolicy

NewResponseAsyncSessionTimeoutPolicyWithDefaults instantiates a new ResponseAsyncSessionTimeoutPolicy 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 (*ResponseAsyncSessionTimeoutPolicy) GetData

GetData returns the Data field value

func (*ResponseAsyncSessionTimeoutPolicy) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*ResponseAsyncSessionTimeoutPolicy) GetState

GetState returns the State field value if set, zero value otherwise.

func (*ResponseAsyncSessionTimeoutPolicy) GetStateOk

func (o *ResponseAsyncSessionTimeoutPolicy) 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 (*ResponseAsyncSessionTimeoutPolicy) HasState

HasState returns a boolean if a field has been set.

func (ResponseAsyncSessionTimeoutPolicy) MarshalJSON

func (o ResponseAsyncSessionTimeoutPolicy) MarshalJSON() ([]byte, error)

func (*ResponseAsyncSessionTimeoutPolicy) SetData

SetData sets field value

func (*ResponseAsyncSessionTimeoutPolicy) SetState

SetState gets a reference to the given string and assigns it to the State field.

func (ResponseAsyncSessionTimeoutPolicy) ToMap

func (o ResponseAsyncSessionTimeoutPolicy) ToMap() (map[string]interface{}, error)

func (*ResponseAsyncSessionTimeoutPolicy) UnmarshalJSON

func (o *ResponseAsyncSessionTimeoutPolicy) UnmarshalJSON(data []byte) (err error)

type ResponseAsyncTOTPDeviceCreate

type ResponseAsyncTOTPDeviceCreate struct {
	State *string          `json:"state,omitempty"`
	Data  TOTPDeviceCreate `json:"data"`
}

ResponseAsyncTOTPDeviceCreate struct for ResponseAsyncTOTPDeviceCreate

func NewResponseAsyncTOTPDeviceCreate

func NewResponseAsyncTOTPDeviceCreate(data TOTPDeviceCreate) *ResponseAsyncTOTPDeviceCreate

NewResponseAsyncTOTPDeviceCreate instantiates a new ResponseAsyncTOTPDeviceCreate 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 NewResponseAsyncTOTPDeviceCreateWithDefaults

func NewResponseAsyncTOTPDeviceCreateWithDefaults() *ResponseAsyncTOTPDeviceCreate

NewResponseAsyncTOTPDeviceCreateWithDefaults instantiates a new ResponseAsyncTOTPDeviceCreate 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 (*ResponseAsyncTOTPDeviceCreate) GetData

GetData returns the Data field value

func (*ResponseAsyncTOTPDeviceCreate) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*ResponseAsyncTOTPDeviceCreate) GetState

func (o *ResponseAsyncTOTPDeviceCreate) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ResponseAsyncTOTPDeviceCreate) GetStateOk

func (o *ResponseAsyncTOTPDeviceCreate) 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 (*ResponseAsyncTOTPDeviceCreate) HasState

func (o *ResponseAsyncTOTPDeviceCreate) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseAsyncTOTPDeviceCreate) MarshalJSON

func (o ResponseAsyncTOTPDeviceCreate) MarshalJSON() ([]byte, error)

func (*ResponseAsyncTOTPDeviceCreate) SetData

SetData sets field value

func (*ResponseAsyncTOTPDeviceCreate) SetState

func (o *ResponseAsyncTOTPDeviceCreate) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (ResponseAsyncTOTPDeviceCreate) ToMap

func (o ResponseAsyncTOTPDeviceCreate) ToMap() (map[string]interface{}, error)

func (*ResponseAsyncTOTPDeviceCreate) UnmarshalJSON

func (o *ResponseAsyncTOTPDeviceCreate) UnmarshalJSON(data []byte) (err error)

type ResponseAsyncToken

type ResponseAsyncToken struct {
	State *string `json:"state,omitempty"`
	Data  Token   `json:"data"`
}

ResponseAsyncToken struct for ResponseAsyncToken

func NewResponseAsyncToken

func NewResponseAsyncToken(data Token) *ResponseAsyncToken

NewResponseAsyncToken instantiates a new ResponseAsyncToken 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 NewResponseAsyncTokenWithDefaults

func NewResponseAsyncTokenWithDefaults() *ResponseAsyncToken

NewResponseAsyncTokenWithDefaults instantiates a new ResponseAsyncToken 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 (*ResponseAsyncToken) GetData

func (o *ResponseAsyncToken) GetData() Token

GetData returns the Data field value

func (*ResponseAsyncToken) GetDataOk

func (o *ResponseAsyncToken) GetDataOk() (*Token, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*ResponseAsyncToken) GetState

func (o *ResponseAsyncToken) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ResponseAsyncToken) GetStateOk

func (o *ResponseAsyncToken) 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 (*ResponseAsyncToken) HasState

func (o *ResponseAsyncToken) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseAsyncToken) MarshalJSON

func (o ResponseAsyncToken) MarshalJSON() ([]byte, error)

func (*ResponseAsyncToken) SetData

func (o *ResponseAsyncToken) SetData(v Token)

SetData sets field value

func (*ResponseAsyncToken) SetState

func (o *ResponseAsyncToken) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (ResponseAsyncToken) ToMap

func (o ResponseAsyncToken) ToMap() (map[string]interface{}, error)

func (*ResponseAsyncToken) UnmarshalJSON

func (o *ResponseAsyncToken) UnmarshalJSON(data []byte) (err error)

type ResponseAsyncTokenPair

type ResponseAsyncTokenPair struct {
	State *string   `json:"state,omitempty"`
	Data  TokenPair `json:"data"`
}

ResponseAsyncTokenPair struct for ResponseAsyncTokenPair

func NewResponseAsyncTokenPair

func NewResponseAsyncTokenPair(data TokenPair) *ResponseAsyncTokenPair

NewResponseAsyncTokenPair instantiates a new ResponseAsyncTokenPair 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 NewResponseAsyncTokenPairWithDefaults

func NewResponseAsyncTokenPairWithDefaults() *ResponseAsyncTokenPair

NewResponseAsyncTokenPairWithDefaults instantiates a new ResponseAsyncTokenPair 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 (*ResponseAsyncTokenPair) GetData

func (o *ResponseAsyncTokenPair) GetData() TokenPair

GetData returns the Data field value

func (*ResponseAsyncTokenPair) GetDataOk

func (o *ResponseAsyncTokenPair) GetDataOk() (*TokenPair, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*ResponseAsyncTokenPair) GetState

func (o *ResponseAsyncTokenPair) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ResponseAsyncTokenPair) GetStateOk

func (o *ResponseAsyncTokenPair) 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 (*ResponseAsyncTokenPair) HasState

func (o *ResponseAsyncTokenPair) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseAsyncTokenPair) MarshalJSON

func (o ResponseAsyncTokenPair) MarshalJSON() ([]byte, error)

func (*ResponseAsyncTokenPair) SetData

func (o *ResponseAsyncTokenPair) SetData(v TokenPair)

SetData sets field value

func (*ResponseAsyncTokenPair) SetState

func (o *ResponseAsyncTokenPair) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (ResponseAsyncTokenPair) ToMap

func (o ResponseAsyncTokenPair) ToMap() (map[string]interface{}, error)

func (*ResponseAsyncTokenPair) UnmarshalJSON

func (o *ResponseAsyncTokenPair) UnmarshalJSON(data []byte) (err error)

type ResponseLockoutPolicy

type ResponseLockoutPolicy struct {
	State *string       `json:"state,omitempty"`
	Data  LockoutPolicy `json:"data"`
}

ResponseLockoutPolicy struct for ResponseLockoutPolicy

func NewResponseLockoutPolicy

func NewResponseLockoutPolicy(data LockoutPolicy) *ResponseLockoutPolicy

NewResponseLockoutPolicy instantiates a new ResponseLockoutPolicy 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 NewResponseLockoutPolicyWithDefaults

func NewResponseLockoutPolicyWithDefaults() *ResponseLockoutPolicy

NewResponseLockoutPolicyWithDefaults instantiates a new ResponseLockoutPolicy 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 (*ResponseLockoutPolicy) GetData

func (o *ResponseLockoutPolicy) GetData() LockoutPolicy

GetData returns the Data field value

func (*ResponseLockoutPolicy) GetDataOk

func (o *ResponseLockoutPolicy) GetDataOk() (*LockoutPolicy, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*ResponseLockoutPolicy) GetState

func (o *ResponseLockoutPolicy) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ResponseLockoutPolicy) GetStateOk

func (o *ResponseLockoutPolicy) 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 (*ResponseLockoutPolicy) HasState

func (o *ResponseLockoutPolicy) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseLockoutPolicy) MarshalJSON

func (o ResponseLockoutPolicy) MarshalJSON() ([]byte, error)

func (*ResponseLockoutPolicy) SetData

func (o *ResponseLockoutPolicy) SetData(v LockoutPolicy)

SetData sets field value

func (*ResponseLockoutPolicy) SetState

func (o *ResponseLockoutPolicy) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (ResponseLockoutPolicy) ToMap

func (o ResponseLockoutPolicy) ToMap() (map[string]interface{}, error)

func (*ResponseLockoutPolicy) UnmarshalJSON

func (o *ResponseLockoutPolicy) UnmarshalJSON(data []byte) (err error)

type ResponseLogin

type ResponseLogin struct {
	Data  LoginResponse `json:"data"`
	State *string       `json:"state,omitempty"`
}

ResponseLogin struct for ResponseLogin

func NewResponseLogin

func NewResponseLogin(data LoginResponse) *ResponseLogin

NewResponseLogin instantiates a new ResponseLogin 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 NewResponseLoginWithDefaults

func NewResponseLoginWithDefaults() *ResponseLogin

NewResponseLoginWithDefaults instantiates a new ResponseLogin 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 (*ResponseLogin) GetData

func (o *ResponseLogin) GetData() LoginResponse

GetData returns the Data field value

func (*ResponseLogin) GetDataOk

func (o *ResponseLogin) GetDataOk() (*LoginResponse, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*ResponseLogin) GetState

func (o *ResponseLogin) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ResponseLogin) GetStateOk

func (o *ResponseLogin) 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 (*ResponseLogin) HasState

func (o *ResponseLogin) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseLogin) MarshalJSON

func (o ResponseLogin) MarshalJSON() ([]byte, error)

func (*ResponseLogin) SetData

func (o *ResponseLogin) SetData(v LoginResponse)

SetData sets field value

func (*ResponseLogin) SetState

func (o *ResponseLogin) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (ResponseLogin) ToMap

func (o ResponseLogin) ToMap() (map[string]interface{}, error)

func (*ResponseLogin) UnmarshalJSON

func (o *ResponseLogin) UnmarshalJSON(data []byte) (err error)

type ResponsePolicy

type ResponsePolicy struct {
	State *string `json:"state,omitempty"`
	Data  Policy  `json:"data"`
}

ResponsePolicy struct for ResponsePolicy

func NewResponsePolicy

func NewResponsePolicy(data Policy) *ResponsePolicy

NewResponsePolicy instantiates a new ResponsePolicy 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 NewResponsePolicyWithDefaults

func NewResponsePolicyWithDefaults() *ResponsePolicy

NewResponsePolicyWithDefaults instantiates a new ResponsePolicy 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 (*ResponsePolicy) GetData

func (o *ResponsePolicy) GetData() Policy

GetData returns the Data field value

func (*ResponsePolicy) GetDataOk

func (o *ResponsePolicy) GetDataOk() (*Policy, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*ResponsePolicy) GetState

func (o *ResponsePolicy) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ResponsePolicy) GetStateOk

func (o *ResponsePolicy) 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 (*ResponsePolicy) HasState

func (o *ResponsePolicy) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponsePolicy) MarshalJSON

func (o ResponsePolicy) MarshalJSON() ([]byte, error)

func (*ResponsePolicy) SetData

func (o *ResponsePolicy) SetData(v Policy)

SetData sets field value

func (*ResponsePolicy) SetState

func (o *ResponsePolicy) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (ResponsePolicy) ToMap

func (o ResponsePolicy) ToMap() (map[string]interface{}, error)

func (*ResponsePolicy) UnmarshalJSON

func (o *ResponsePolicy) UnmarshalJSON(data []byte) (err error)

type ResponseRetrieveLockoutPolicy

type ResponseRetrieveLockoutPolicy struct {
	Data LockoutPolicy `json:"data"`
}

ResponseRetrieveLockoutPolicy struct for ResponseRetrieveLockoutPolicy

func NewResponseRetrieveLockoutPolicy

func NewResponseRetrieveLockoutPolicy(data LockoutPolicy) *ResponseRetrieveLockoutPolicy

NewResponseRetrieveLockoutPolicy instantiates a new ResponseRetrieveLockoutPolicy 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 NewResponseRetrieveLockoutPolicyWithDefaults

func NewResponseRetrieveLockoutPolicyWithDefaults() *ResponseRetrieveLockoutPolicy

NewResponseRetrieveLockoutPolicyWithDefaults instantiates a new ResponseRetrieveLockoutPolicy 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 (*ResponseRetrieveLockoutPolicy) GetData

GetData returns the Data field value

func (*ResponseRetrieveLockoutPolicy) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (ResponseRetrieveLockoutPolicy) MarshalJSON

func (o ResponseRetrieveLockoutPolicy) MarshalJSON() ([]byte, error)

func (*ResponseRetrieveLockoutPolicy) SetData

SetData sets field value

func (ResponseRetrieveLockoutPolicy) ToMap

func (o ResponseRetrieveLockoutPolicy) ToMap() (map[string]interface{}, error)

func (*ResponseRetrieveLockoutPolicy) UnmarshalJSON

func (o *ResponseRetrieveLockoutPolicy) UnmarshalJSON(data []byte) (err error)

type ResponseRetrievePolicy

type ResponseRetrievePolicy struct {
	Data Policy `json:"data"`
}

ResponseRetrievePolicy struct for ResponseRetrievePolicy

func NewResponseRetrievePolicy

func NewResponseRetrievePolicy(data Policy) *ResponseRetrievePolicy

NewResponseRetrievePolicy instantiates a new ResponseRetrievePolicy 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 NewResponseRetrievePolicyWithDefaults

func NewResponseRetrievePolicyWithDefaults() *ResponseRetrievePolicy

NewResponseRetrievePolicyWithDefaults instantiates a new ResponseRetrievePolicy 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 (*ResponseRetrievePolicy) GetData

func (o *ResponseRetrievePolicy) GetData() Policy

GetData returns the Data field value

func (*ResponseRetrievePolicy) GetDataOk

func (o *ResponseRetrievePolicy) GetDataOk() (*Policy, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (ResponseRetrievePolicy) MarshalJSON

func (o ResponseRetrievePolicy) MarshalJSON() ([]byte, error)

func (*ResponseRetrievePolicy) SetData

func (o *ResponseRetrievePolicy) SetData(v Policy)

SetData sets field value

func (ResponseRetrievePolicy) ToMap

func (o ResponseRetrievePolicy) ToMap() (map[string]interface{}, error)

func (*ResponseRetrievePolicy) UnmarshalJSON

func (o *ResponseRetrievePolicy) UnmarshalJSON(data []byte) (err error)

type ResponseRetrieveSessionTimeoutPolicy

type ResponseRetrieveSessionTimeoutPolicy struct {
	Data SessionTimeoutPolicy `json:"data"`
}

ResponseRetrieveSessionTimeoutPolicy struct for ResponseRetrieveSessionTimeoutPolicy

func NewResponseRetrieveSessionTimeoutPolicy

func NewResponseRetrieveSessionTimeoutPolicy(data SessionTimeoutPolicy) *ResponseRetrieveSessionTimeoutPolicy

NewResponseRetrieveSessionTimeoutPolicy instantiates a new ResponseRetrieveSessionTimeoutPolicy 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 NewResponseRetrieveSessionTimeoutPolicyWithDefaults

func NewResponseRetrieveSessionTimeoutPolicyWithDefaults() *ResponseRetrieveSessionTimeoutPolicy

NewResponseRetrieveSessionTimeoutPolicyWithDefaults instantiates a new ResponseRetrieveSessionTimeoutPolicy 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 (*ResponseRetrieveSessionTimeoutPolicy) GetData

GetData returns the Data field value

func (*ResponseRetrieveSessionTimeoutPolicy) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (ResponseRetrieveSessionTimeoutPolicy) MarshalJSON

func (o ResponseRetrieveSessionTimeoutPolicy) MarshalJSON() ([]byte, error)

func (*ResponseRetrieveSessionTimeoutPolicy) SetData

SetData sets field value

func (ResponseRetrieveSessionTimeoutPolicy) ToMap

func (o ResponseRetrieveSessionTimeoutPolicy) ToMap() (map[string]interface{}, error)

func (*ResponseRetrieveSessionTimeoutPolicy) UnmarshalJSON

func (o *ResponseRetrieveSessionTimeoutPolicy) UnmarshalJSON(data []byte) (err error)

type ResponseSessionTimeoutPolicy

type ResponseSessionTimeoutPolicy struct {
	State *string              `json:"state,omitempty"`
	Data  SessionTimeoutPolicy `json:"data"`
}

ResponseSessionTimeoutPolicy struct for ResponseSessionTimeoutPolicy

func NewResponseSessionTimeoutPolicy

func NewResponseSessionTimeoutPolicy(data SessionTimeoutPolicy) *ResponseSessionTimeoutPolicy

NewResponseSessionTimeoutPolicy instantiates a new ResponseSessionTimeoutPolicy 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 NewResponseSessionTimeoutPolicyWithDefaults

func NewResponseSessionTimeoutPolicyWithDefaults() *ResponseSessionTimeoutPolicy

NewResponseSessionTimeoutPolicyWithDefaults instantiates a new ResponseSessionTimeoutPolicy 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 (*ResponseSessionTimeoutPolicy) GetData

GetData returns the Data field value

func (*ResponseSessionTimeoutPolicy) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*ResponseSessionTimeoutPolicy) GetState

func (o *ResponseSessionTimeoutPolicy) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ResponseSessionTimeoutPolicy) GetStateOk

func (o *ResponseSessionTimeoutPolicy) 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 (*ResponseSessionTimeoutPolicy) HasState

func (o *ResponseSessionTimeoutPolicy) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseSessionTimeoutPolicy) MarshalJSON

func (o ResponseSessionTimeoutPolicy) MarshalJSON() ([]byte, error)

func (*ResponseSessionTimeoutPolicy) SetData

SetData sets field value

func (*ResponseSessionTimeoutPolicy) SetState

func (o *ResponseSessionTimeoutPolicy) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (ResponseSessionTimeoutPolicy) ToMap

func (o ResponseSessionTimeoutPolicy) ToMap() (map[string]interface{}, error)

func (*ResponseSessionTimeoutPolicy) UnmarshalJSON

func (o *ResponseSessionTimeoutPolicy) UnmarshalJSON(data []byte) (err error)

type ResponseTOTPDeviceCreate

type ResponseTOTPDeviceCreate struct {
	State *string          `json:"state,omitempty"`
	Data  TOTPDeviceCreate `json:"data"`
}

ResponseTOTPDeviceCreate struct for ResponseTOTPDeviceCreate

func NewResponseTOTPDeviceCreate

func NewResponseTOTPDeviceCreate(data TOTPDeviceCreate) *ResponseTOTPDeviceCreate

NewResponseTOTPDeviceCreate instantiates a new ResponseTOTPDeviceCreate 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 NewResponseTOTPDeviceCreateWithDefaults

func NewResponseTOTPDeviceCreateWithDefaults() *ResponseTOTPDeviceCreate

NewResponseTOTPDeviceCreateWithDefaults instantiates a new ResponseTOTPDeviceCreate 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 (*ResponseTOTPDeviceCreate) GetData

GetData returns the Data field value

func (*ResponseTOTPDeviceCreate) GetDataOk

func (o *ResponseTOTPDeviceCreate) GetDataOk() (*TOTPDeviceCreate, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*ResponseTOTPDeviceCreate) GetState

func (o *ResponseTOTPDeviceCreate) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ResponseTOTPDeviceCreate) GetStateOk

func (o *ResponseTOTPDeviceCreate) 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 (*ResponseTOTPDeviceCreate) HasState

func (o *ResponseTOTPDeviceCreate) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseTOTPDeviceCreate) MarshalJSON

func (o ResponseTOTPDeviceCreate) MarshalJSON() ([]byte, error)

func (*ResponseTOTPDeviceCreate) SetData

SetData sets field value

func (*ResponseTOTPDeviceCreate) SetState

func (o *ResponseTOTPDeviceCreate) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (ResponseTOTPDeviceCreate) ToMap

func (o ResponseTOTPDeviceCreate) ToMap() (map[string]interface{}, error)

func (*ResponseTOTPDeviceCreate) UnmarshalJSON

func (o *ResponseTOTPDeviceCreate) UnmarshalJSON(data []byte) (err error)

type ResponseToken

type ResponseToken struct {
	State *string `json:"state,omitempty"`
	Data  Token   `json:"data"`
}

ResponseToken struct for ResponseToken

func NewResponseToken

func NewResponseToken(data Token) *ResponseToken

NewResponseToken instantiates a new ResponseToken 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 NewResponseTokenWithDefaults

func NewResponseTokenWithDefaults() *ResponseToken

NewResponseTokenWithDefaults instantiates a new ResponseToken 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 (*ResponseToken) GetData

func (o *ResponseToken) GetData() Token

GetData returns the Data field value

func (*ResponseToken) GetDataOk

func (o *ResponseToken) GetDataOk() (*Token, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*ResponseToken) GetState

func (o *ResponseToken) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ResponseToken) GetStateOk

func (o *ResponseToken) 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 (*ResponseToken) HasState

func (o *ResponseToken) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseToken) MarshalJSON

func (o ResponseToken) MarshalJSON() ([]byte, error)

func (*ResponseToken) SetData

func (o *ResponseToken) SetData(v Token)

SetData sets field value

func (*ResponseToken) SetState

func (o *ResponseToken) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (ResponseToken) ToMap

func (o ResponseToken) ToMap() (map[string]interface{}, error)

func (*ResponseToken) UnmarshalJSON

func (o *ResponseToken) UnmarshalJSON(data []byte) (err error)

type ResponseTokenPair

type ResponseTokenPair struct {
	State *string   `json:"state,omitempty"`
	Data  TokenPair `json:"data"`
}

ResponseTokenPair struct for ResponseTokenPair

func NewResponseTokenPair

func NewResponseTokenPair(data TokenPair) *ResponseTokenPair

NewResponseTokenPair instantiates a new ResponseTokenPair 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 NewResponseTokenPairWithDefaults

func NewResponseTokenPairWithDefaults() *ResponseTokenPair

NewResponseTokenPairWithDefaults instantiates a new ResponseTokenPair 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 (*ResponseTokenPair) GetData

func (o *ResponseTokenPair) GetData() TokenPair

GetData returns the Data field value

func (*ResponseTokenPair) GetDataOk

func (o *ResponseTokenPair) GetDataOk() (*TokenPair, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*ResponseTokenPair) GetState

func (o *ResponseTokenPair) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ResponseTokenPair) GetStateOk

func (o *ResponseTokenPair) 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 (*ResponseTokenPair) HasState

func (o *ResponseTokenPair) HasState() bool

HasState returns a boolean if a field has been set.

func (ResponseTokenPair) MarshalJSON

func (o ResponseTokenPair) MarshalJSON() ([]byte, error)

func (*ResponseTokenPair) SetData

func (o *ResponseTokenPair) SetData(v TokenPair)

SetData sets field value

func (*ResponseTokenPair) SetState

func (o *ResponseTokenPair) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (ResponseTokenPair) ToMap

func (o ResponseTokenPair) ToMap() (map[string]interface{}, error)

func (*ResponseTokenPair) UnmarshalJSON

func (o *ResponseTokenPair) UnmarshalJSON(data []byte) (err error)

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SessionTimeoutPolicy

type SessionTimeoutPolicy struct {
	MaxIdleTime    int64      `json:"max_idle_time"`
	MaxSessionTime int64      `json:"max_session_time"`
	CreatedAt      *time.Time `json:"created_at,omitempty"`
}

SessionTimeoutPolicy struct for SessionTimeoutPolicy

func NewSessionTimeoutPolicy

func NewSessionTimeoutPolicy(maxIdleTime int64, maxSessionTime int64) *SessionTimeoutPolicy

NewSessionTimeoutPolicy instantiates a new SessionTimeoutPolicy 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 NewSessionTimeoutPolicyWithDefaults

func NewSessionTimeoutPolicyWithDefaults() *SessionTimeoutPolicy

NewSessionTimeoutPolicyWithDefaults instantiates a new SessionTimeoutPolicy 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 (*SessionTimeoutPolicy) GetCreatedAt

func (o *SessionTimeoutPolicy) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SessionTimeoutPolicy) GetCreatedAtOk

func (o *SessionTimeoutPolicy) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SessionTimeoutPolicy) GetMaxIdleTime

func (o *SessionTimeoutPolicy) GetMaxIdleTime() int64

GetMaxIdleTime returns the MaxIdleTime field value

func (*SessionTimeoutPolicy) GetMaxIdleTimeOk

func (o *SessionTimeoutPolicy) GetMaxIdleTimeOk() (*int64, bool)

GetMaxIdleTimeOk returns a tuple with the MaxIdleTime field value and a boolean to check if the value has been set.

func (*SessionTimeoutPolicy) GetMaxSessionTime

func (o *SessionTimeoutPolicy) GetMaxSessionTime() int64

GetMaxSessionTime returns the MaxSessionTime field value

func (*SessionTimeoutPolicy) GetMaxSessionTimeOk

func (o *SessionTimeoutPolicy) GetMaxSessionTimeOk() (*int64, bool)

GetMaxSessionTimeOk returns a tuple with the MaxSessionTime field value and a boolean to check if the value has been set.

func (*SessionTimeoutPolicy) HasCreatedAt

func (o *SessionTimeoutPolicy) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (SessionTimeoutPolicy) MarshalJSON

func (o SessionTimeoutPolicy) MarshalJSON() ([]byte, error)

func (*SessionTimeoutPolicy) SetCreatedAt

func (o *SessionTimeoutPolicy) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*SessionTimeoutPolicy) SetMaxIdleTime

func (o *SessionTimeoutPolicy) SetMaxIdleTime(v int64)

SetMaxIdleTime sets field value

func (*SessionTimeoutPolicy) SetMaxSessionTime

func (o *SessionTimeoutPolicy) SetMaxSessionTime(v int64)

SetMaxSessionTime sets field value

func (SessionTimeoutPolicy) ToMap

func (o SessionTimeoutPolicy) ToMap() (map[string]interface{}, error)

func (*SessionTimeoutPolicy) UnmarshalJSON

func (o *SessionTimeoutPolicy) UnmarshalJSON(data []byte) (err error)

type SessionTimeoutPolicyRequest

type SessionTimeoutPolicyRequest struct {
	MaxIdleTime    int64 `json:"max_idle_time"`
	MaxSessionTime int64 `json:"max_session_time"`
}

SessionTimeoutPolicyRequest struct for SessionTimeoutPolicyRequest

func NewSessionTimeoutPolicyRequest

func NewSessionTimeoutPolicyRequest(maxIdleTime int64, maxSessionTime int64) *SessionTimeoutPolicyRequest

NewSessionTimeoutPolicyRequest instantiates a new SessionTimeoutPolicyRequest 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 NewSessionTimeoutPolicyRequestWithDefaults

func NewSessionTimeoutPolicyRequestWithDefaults() *SessionTimeoutPolicyRequest

NewSessionTimeoutPolicyRequestWithDefaults instantiates a new SessionTimeoutPolicyRequest 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 (*SessionTimeoutPolicyRequest) GetMaxIdleTime

func (o *SessionTimeoutPolicyRequest) GetMaxIdleTime() int64

GetMaxIdleTime returns the MaxIdleTime field value

func (*SessionTimeoutPolicyRequest) GetMaxIdleTimeOk

func (o *SessionTimeoutPolicyRequest) GetMaxIdleTimeOk() (*int64, bool)

GetMaxIdleTimeOk returns a tuple with the MaxIdleTime field value and a boolean to check if the value has been set.

func (*SessionTimeoutPolicyRequest) GetMaxSessionTime

func (o *SessionTimeoutPolicyRequest) GetMaxSessionTime() int64

GetMaxSessionTime returns the MaxSessionTime field value

func (*SessionTimeoutPolicyRequest) GetMaxSessionTimeOk

func (o *SessionTimeoutPolicyRequest) GetMaxSessionTimeOk() (*int64, bool)

GetMaxSessionTimeOk returns a tuple with the MaxSessionTime field value and a boolean to check if the value has been set.

func (SessionTimeoutPolicyRequest) MarshalJSON

func (o SessionTimeoutPolicyRequest) MarshalJSON() ([]byte, error)

func (*SessionTimeoutPolicyRequest) SetMaxIdleTime

func (o *SessionTimeoutPolicyRequest) SetMaxIdleTime(v int64)

SetMaxIdleTime sets field value

func (*SessionTimeoutPolicyRequest) SetMaxSessionTime

func (o *SessionTimeoutPolicyRequest) SetMaxSessionTime(v int64)

SetMaxSessionTime sets field value

func (SessionTimeoutPolicyRequest) ToMap

func (o SessionTimeoutPolicyRequest) ToMap() (map[string]interface{}, error)

func (*SessionTimeoutPolicyRequest) UnmarshalJSON

func (o *SessionTimeoutPolicyRequest) UnmarshalJSON(data []byte) (err error)

type SessionTimeoutPolicyResponse

type SessionTimeoutPolicyResponse struct {
	Data SessionTimeoutPolicy `json:"data"`
}

SessionTimeoutPolicyResponse struct for SessionTimeoutPolicyResponse

func NewSessionTimeoutPolicyResponse

func NewSessionTimeoutPolicyResponse(data SessionTimeoutPolicy) *SessionTimeoutPolicyResponse

NewSessionTimeoutPolicyResponse instantiates a new SessionTimeoutPolicyResponse 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 NewSessionTimeoutPolicyResponseWithDefaults

func NewSessionTimeoutPolicyResponseWithDefaults() *SessionTimeoutPolicyResponse

NewSessionTimeoutPolicyResponseWithDefaults instantiates a new SessionTimeoutPolicyResponse 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 (*SessionTimeoutPolicyResponse) GetData

GetData returns the Data field value

func (*SessionTimeoutPolicyResponse) GetDataOk

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (SessionTimeoutPolicyResponse) MarshalJSON

func (o SessionTimeoutPolicyResponse) MarshalJSON() ([]byte, error)

func (*SessionTimeoutPolicyResponse) SetData

SetData sets field value

func (SessionTimeoutPolicyResponse) ToMap

func (o SessionTimeoutPolicyResponse) ToMap() (map[string]interface{}, error)

func (*SessionTimeoutPolicyResponse) UnmarshalJSON

func (o *SessionTimeoutPolicyResponse) UnmarshalJSON(data []byte) (err error)

type StateExecutedResponse

type StateExecutedResponse struct {
	// State of the operation (lowercase with underscores)
	State *string `json:"state,omitempty"`
}

StateExecutedResponse struct for StateExecutedResponse

func NewStateExecutedResponse

func NewStateExecutedResponse() *StateExecutedResponse

NewStateExecutedResponse instantiates a new StateExecutedResponse 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 NewStateExecutedResponseWithDefaults

func NewStateExecutedResponseWithDefaults() *StateExecutedResponse

NewStateExecutedResponseWithDefaults instantiates a new StateExecutedResponse 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 (*StateExecutedResponse) GetState

func (o *StateExecutedResponse) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*StateExecutedResponse) GetStateOk

func (o *StateExecutedResponse) 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 (*StateExecutedResponse) HasState

func (o *StateExecutedResponse) HasState() bool

HasState returns a boolean if a field has been set.

func (StateExecutedResponse) MarshalJSON

func (o StateExecutedResponse) MarshalJSON() ([]byte, error)

func (*StateExecutedResponse) SetState

func (o *StateExecutedResponse) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (StateExecutedResponse) ToMap

func (o StateExecutedResponse) ToMap() (map[string]interface{}, error)

type StatePendingResponse

type StatePendingResponse struct {
	// State of the operation (lowercase with underscores)
	State *string `json:"state,omitempty"`
}

StatePendingResponse struct for StatePendingResponse

func NewStatePendingResponse

func NewStatePendingResponse() *StatePendingResponse

NewStatePendingResponse instantiates a new StatePendingResponse 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 NewStatePendingResponseWithDefaults

func NewStatePendingResponseWithDefaults() *StatePendingResponse

NewStatePendingResponseWithDefaults instantiates a new StatePendingResponse 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 (*StatePendingResponse) GetState

func (o *StatePendingResponse) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*StatePendingResponse) GetStateOk

func (o *StatePendingResponse) 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 (*StatePendingResponse) HasState

func (o *StatePendingResponse) HasState() bool

HasState returns a boolean if a field has been set.

func (StatePendingResponse) MarshalJSON

func (o StatePendingResponse) MarshalJSON() ([]byte, error)

func (*StatePendingResponse) SetState

func (o *StatePendingResponse) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (StatePendingResponse) ToMap

func (o StatePendingResponse) ToMap() (map[string]interface{}, error)

type TOTPDevice

type TOTPDevice struct {
	Url *string `json:"url,omitempty"`
}

TOTPDevice struct for TOTPDevice

func NewTOTPDevice

func NewTOTPDevice() *TOTPDevice

NewTOTPDevice instantiates a new TOTPDevice 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 NewTOTPDeviceWithDefaults

func NewTOTPDeviceWithDefaults() *TOTPDevice

NewTOTPDeviceWithDefaults instantiates a new TOTPDevice 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 (*TOTPDevice) GetUrl

func (o *TOTPDevice) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*TOTPDevice) GetUrlOk

func (o *TOTPDevice) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TOTPDevice) HasUrl

func (o *TOTPDevice) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (TOTPDevice) MarshalJSON

func (o TOTPDevice) MarshalJSON() ([]byte, error)

func (*TOTPDevice) SetUrl

func (o *TOTPDevice) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (TOTPDevice) ToMap

func (o TOTPDevice) ToMap() (map[string]interface{}, error)

type TOTPDeviceCreate

type TOTPDeviceCreate struct {
	Url string `json:"url"`
}

TOTPDeviceCreate struct for TOTPDeviceCreate

func NewTOTPDeviceCreate

func NewTOTPDeviceCreate(url string) *TOTPDeviceCreate

NewTOTPDeviceCreate instantiates a new TOTPDeviceCreate 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 NewTOTPDeviceCreateWithDefaults

func NewTOTPDeviceCreateWithDefaults() *TOTPDeviceCreate

NewTOTPDeviceCreateWithDefaults instantiates a new TOTPDeviceCreate 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 (*TOTPDeviceCreate) GetUrl

func (o *TOTPDeviceCreate) GetUrl() string

GetUrl returns the Url field value

func (*TOTPDeviceCreate) GetUrlOk

func (o *TOTPDeviceCreate) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (TOTPDeviceCreate) MarshalJSON

func (o TOTPDeviceCreate) MarshalJSON() ([]byte, error)

func (*TOTPDeviceCreate) SetUrl

func (o *TOTPDeviceCreate) SetUrl(v string)

SetUrl sets field value

func (TOTPDeviceCreate) ToMap

func (o TOTPDeviceCreate) ToMap() (map[string]interface{}, error)

func (*TOTPDeviceCreate) UnmarshalJSON

func (o *TOTPDeviceCreate) UnmarshalJSON(data []byte) (err error)

type TOTPDeviceList

type TOTPDeviceList struct {
	Id *int64 `json:"id,omitempty"`
	// User's full name (alphanumeric, spaces, hyphens, dots)
	Name string `json:"name"`
	// User's email address
	Email string `json:"email"`
	// Is this device ready for use?
	Confirmed *bool `json:"confirmed,omitempty"`
	// The user that this device belongs to.
	UserId *int64 `json:"user_id,omitempty"`
}

TOTPDeviceList struct for TOTPDeviceList

func NewTOTPDeviceList

func NewTOTPDeviceList(name string, email string) *TOTPDeviceList

NewTOTPDeviceList instantiates a new TOTPDeviceList 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 NewTOTPDeviceListWithDefaults

func NewTOTPDeviceListWithDefaults() *TOTPDeviceList

NewTOTPDeviceListWithDefaults instantiates a new TOTPDeviceList 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 (*TOTPDeviceList) GetConfirmed

func (o *TOTPDeviceList) GetConfirmed() bool

GetConfirmed returns the Confirmed field value if set, zero value otherwise.

func (*TOTPDeviceList) GetConfirmedOk

func (o *TOTPDeviceList) GetConfirmedOk() (*bool, bool)

GetConfirmedOk returns a tuple with the Confirmed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TOTPDeviceList) GetEmail

func (o *TOTPDeviceList) GetEmail() string

GetEmail returns the Email field value

func (*TOTPDeviceList) GetEmailOk

func (o *TOTPDeviceList) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*TOTPDeviceList) GetId

func (o *TOTPDeviceList) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*TOTPDeviceList) GetIdOk

func (o *TOTPDeviceList) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TOTPDeviceList) GetName

func (o *TOTPDeviceList) GetName() string

GetName returns the Name field value

func (*TOTPDeviceList) GetNameOk

func (o *TOTPDeviceList) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*TOTPDeviceList) GetUserId

func (o *TOTPDeviceList) GetUserId() int64

GetUserId returns the UserId field value if set, zero value otherwise.

func (*TOTPDeviceList) GetUserIdOk

func (o *TOTPDeviceList) GetUserIdOk() (*int64, bool)

GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TOTPDeviceList) HasConfirmed

func (o *TOTPDeviceList) HasConfirmed() bool

HasConfirmed returns a boolean if a field has been set.

func (*TOTPDeviceList) HasId

func (o *TOTPDeviceList) HasId() bool

HasId returns a boolean if a field has been set.

func (*TOTPDeviceList) HasUserId

func (o *TOTPDeviceList) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (TOTPDeviceList) MarshalJSON

func (o TOTPDeviceList) MarshalJSON() ([]byte, error)

func (*TOTPDeviceList) SetConfirmed

func (o *TOTPDeviceList) SetConfirmed(v bool)

SetConfirmed gets a reference to the given bool and assigns it to the Confirmed field.

func (*TOTPDeviceList) SetEmail

func (o *TOTPDeviceList) SetEmail(v string)

SetEmail sets field value

func (*TOTPDeviceList) SetId

func (o *TOTPDeviceList) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*TOTPDeviceList) SetName

func (o *TOTPDeviceList) SetName(v string)

SetName sets field value

func (*TOTPDeviceList) SetUserId

func (o *TOTPDeviceList) SetUserId(v int64)

SetUserId gets a reference to the given int64 and assigns it to the UserId field.

func (TOTPDeviceList) ToMap

func (o TOTPDeviceList) ToMap() (map[string]interface{}, error)

func (*TOTPDeviceList) UnmarshalJSON

func (o *TOTPDeviceList) UnmarshalJSON(data []byte) (err error)

type TOTPDeviceResponse

type TOTPDeviceResponse struct {
	State *string    `json:"state,omitempty"`
	Data  TOTPDevice `json:"data"`
}

TOTPDeviceResponse struct for TOTPDeviceResponse

func NewTOTPDeviceResponse

func NewTOTPDeviceResponse(data TOTPDevice) *TOTPDeviceResponse

NewTOTPDeviceResponse instantiates a new TOTPDeviceResponse 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 NewTOTPDeviceResponseWithDefaults

func NewTOTPDeviceResponseWithDefaults() *TOTPDeviceResponse

NewTOTPDeviceResponseWithDefaults instantiates a new TOTPDeviceResponse 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 (*TOTPDeviceResponse) GetData

func (o *TOTPDeviceResponse) GetData() TOTPDevice

GetData returns the Data field value

func (*TOTPDeviceResponse) GetDataOk

func (o *TOTPDeviceResponse) GetDataOk() (*TOTPDevice, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*TOTPDeviceResponse) GetState

func (o *TOTPDeviceResponse) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*TOTPDeviceResponse) GetStateOk

func (o *TOTPDeviceResponse) 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 (*TOTPDeviceResponse) HasState

func (o *TOTPDeviceResponse) HasState() bool

HasState returns a boolean if a field has been set.

func (TOTPDeviceResponse) MarshalJSON

func (o TOTPDeviceResponse) MarshalJSON() ([]byte, error)

func (*TOTPDeviceResponse) SetData

func (o *TOTPDeviceResponse) SetData(v TOTPDevice)

SetData sets field value

func (*TOTPDeviceResponse) SetState

func (o *TOTPDeviceResponse) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (TOTPDeviceResponse) ToMap

func (o TOTPDeviceResponse) ToMap() (map[string]interface{}, error)

func (*TOTPDeviceResponse) UnmarshalJSON

func (o *TOTPDeviceResponse) UnmarshalJSON(data []byte) (err error)

type TOTPVerificationRequest

type TOTPVerificationRequest struct {
	// 6-digit TOTP code
	Code string `json:"code"`
}

TOTPVerificationRequest Serializer for TOTP verification process. Handles the verification of TOTP codes for MFA-enabled users. On successful verification, returns access and refresh tokens.

func NewTOTPVerificationRequest

func NewTOTPVerificationRequest(code string) *TOTPVerificationRequest

NewTOTPVerificationRequest instantiates a new TOTPVerificationRequest 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 NewTOTPVerificationRequestWithDefaults

func NewTOTPVerificationRequestWithDefaults() *TOTPVerificationRequest

NewTOTPVerificationRequestWithDefaults instantiates a new TOTPVerificationRequest 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 (*TOTPVerificationRequest) GetCode

func (o *TOTPVerificationRequest) GetCode() string

GetCode returns the Code field value

func (*TOTPVerificationRequest) GetCodeOk

func (o *TOTPVerificationRequest) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (TOTPVerificationRequest) MarshalJSON

func (o TOTPVerificationRequest) MarshalJSON() ([]byte, error)

func (*TOTPVerificationRequest) SetCode

func (o *TOTPVerificationRequest) SetCode(v string)

SetCode sets field value

func (TOTPVerificationRequest) ToMap

func (o TOTPVerificationRequest) ToMap() (map[string]interface{}, error)

func (*TOTPVerificationRequest) UnmarshalJSON

func (o *TOTPVerificationRequest) UnmarshalJSON(data []byte) (err error)

type Token

type Token struct {
	AccessToken *string `json:"access_token,omitempty"`
}

Token struct for Token

func NewToken

func NewToken() *Token

NewToken instantiates a new Token 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 NewTokenWithDefaults

func NewTokenWithDefaults() *Token

NewTokenWithDefaults instantiates a new Token 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 (*Token) GetAccessToken

func (o *Token) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*Token) GetAccessTokenOk

func (o *Token) 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 (*Token) HasAccessToken

func (o *Token) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (Token) MarshalJSON

func (o Token) MarshalJSON() ([]byte, error)

func (*Token) SetAccessToken

func (o *Token) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (Token) ToMap

func (o Token) ToMap() (map[string]interface{}, error)

type TokenPair

type TokenPair struct {
	// The access_token is a short-lived token (e.g., 10 minutes) used for API authentication in the Authorization: Bearer <access_token> header.
	AccessToken *string `json:"access_token,omitempty"`
	// A long-lived JWT token used to refresh the access_token without requiring the user to authenticate again.
	RefreshToken *string `json:"refresh_token,omitempty"`
}

TokenPair Used when user does not have MFA enabled or after successful MFA verification. Returns both access and refresh tokens for API authentication.

func NewTokenPair

func NewTokenPair() *TokenPair

NewTokenPair instantiates a new TokenPair 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 NewTokenPairWithDefaults

func NewTokenPairWithDefaults() *TokenPair

NewTokenPairWithDefaults instantiates a new TokenPair 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 (*TokenPair) GetAccessToken

func (o *TokenPair) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*TokenPair) GetAccessTokenOk

func (o *TokenPair) 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 (*TokenPair) GetRefreshToken

func (o *TokenPair) GetRefreshToken() string

GetRefreshToken returns the RefreshToken field value if set, zero value otherwise.

func (*TokenPair) GetRefreshTokenOk

func (o *TokenPair) 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 (*TokenPair) HasAccessToken

func (o *TokenPair) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*TokenPair) HasRefreshToken

func (o *TokenPair) HasRefreshToken() bool

HasRefreshToken returns a boolean if a field has been set.

func (TokenPair) MarshalJSON

func (o TokenPair) MarshalJSON() ([]byte, error)

func (*TokenPair) SetAccessToken

func (o *TokenPair) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*TokenPair) SetRefreshToken

func (o *TokenPair) SetRefreshToken(v string)

SetRefreshToken gets a reference to the given string and assigns it to the RefreshToken field.

func (TokenPair) ToMap

func (o TokenPair) ToMap() (map[string]interface{}, error)

type TokenPairResponse

type TokenPairResponse struct {
	State *string   `json:"state,omitempty"`
	Data  TokenPair `json:"data"`
}

TokenPairResponse struct for TokenPairResponse

func NewTokenPairResponse

func NewTokenPairResponse(data TokenPair) *TokenPairResponse

NewTokenPairResponse instantiates a new TokenPairResponse 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 NewTokenPairResponseWithDefaults

func NewTokenPairResponseWithDefaults() *TokenPairResponse

NewTokenPairResponseWithDefaults instantiates a new TokenPairResponse 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 (*TokenPairResponse) GetData

func (o *TokenPairResponse) GetData() TokenPair

GetData returns the Data field value

func (*TokenPairResponse) GetDataOk

func (o *TokenPairResponse) GetDataOk() (*TokenPair, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*TokenPairResponse) GetState

func (o *TokenPairResponse) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*TokenPairResponse) GetStateOk

func (o *TokenPairResponse) 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 (*TokenPairResponse) HasState

func (o *TokenPairResponse) HasState() bool

HasState returns a boolean if a field has been set.

func (TokenPairResponse) MarshalJSON

func (o TokenPairResponse) MarshalJSON() ([]byte, error)

func (*TokenPairResponse) SetData

func (o *TokenPairResponse) SetData(v TokenPair)

SetData sets field value

func (*TokenPairResponse) SetState

func (o *TokenPairResponse) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (TokenPairResponse) ToMap

func (o TokenPairResponse) ToMap() (map[string]interface{}, error)

func (*TokenPairResponse) UnmarshalJSON

func (o *TokenPairResponse) UnmarshalJSON(data []byte) (err error)

type TokenRequest

type TokenRequest struct {
	AccountId NullableInt64 `json:"account_id,omitempty"`
}

TokenRequest struct for TokenRequest

func NewTokenRequest

func NewTokenRequest() *TokenRequest

NewTokenRequest instantiates a new TokenRequest 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 NewTokenRequestWithDefaults

func NewTokenRequestWithDefaults() *TokenRequest

NewTokenRequestWithDefaults instantiates a new TokenRequest 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 (*TokenRequest) GetAccountId

func (o *TokenRequest) GetAccountId() int64

GetAccountId returns the AccountId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TokenRequest) GetAccountIdOk

func (o *TokenRequest) GetAccountIdOk() (*int64, bool)

GetAccountIdOk returns a tuple with the AccountId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TokenRequest) HasAccountId

func (o *TokenRequest) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (TokenRequest) MarshalJSON

func (o TokenRequest) MarshalJSON() ([]byte, error)

func (*TokenRequest) SetAccountId

func (o *TokenRequest) SetAccountId(v int64)

SetAccountId gets a reference to the given NullableInt64 and assigns it to the AccountId field.

func (*TokenRequest) SetAccountIdNil

func (o *TokenRequest) SetAccountIdNil()

SetAccountIdNil sets the value for AccountId to be an explicit nil

func (TokenRequest) ToMap

func (o TokenRequest) ToMap() (map[string]interface{}, error)

func (*TokenRequest) UnsetAccountId

func (o *TokenRequest) UnsetAccountId()

UnsetAccountId ensures that no value is present for AccountId, not even an explicit nil

type TokenResponse

type TokenResponse struct {
	State *string `json:"state,omitempty"`
	Data  Token   `json:"data"`
}

TokenResponse struct for TokenResponse

func NewTokenResponse

func NewTokenResponse(data Token) *TokenResponse

NewTokenResponse instantiates a new TokenResponse 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 NewTokenResponseWithDefaults

func NewTokenResponseWithDefaults() *TokenResponse

NewTokenResponseWithDefaults instantiates a new TokenResponse 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 (*TokenResponse) GetData

func (o *TokenResponse) GetData() Token

GetData returns the Data field value

func (*TokenResponse) GetDataOk

func (o *TokenResponse) GetDataOk() (*Token, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*TokenResponse) GetState

func (o *TokenResponse) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*TokenResponse) GetStateOk

func (o *TokenResponse) 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 (*TokenResponse) HasState

func (o *TokenResponse) HasState() bool

HasState returns a boolean if a field has been set.

func (TokenResponse) MarshalJSON

func (o TokenResponse) MarshalJSON() ([]byte, error)

func (*TokenResponse) SetData

func (o *TokenResponse) SetData(v Token)

SetData sets field value

func (*TokenResponse) SetState

func (o *TokenResponse) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (TokenResponse) ToMap

func (o TokenResponse) ToMap() (map[string]interface{}, error)

func (*TokenResponse) UnmarshalJSON

func (o *TokenResponse) UnmarshalJSON(data []byte) (err error)

type UserLoginMethodResponse

type UserLoginMethodResponse struct {
	// Login method type (lowercase with underscores)
	Method string `json:"method"`
	Url    string `json:"url"`
}

UserLoginMethodResponse struct for UserLoginMethodResponse

func NewUserLoginMethodResponse

func NewUserLoginMethodResponse(method string, url string) *UserLoginMethodResponse

NewUserLoginMethodResponse instantiates a new UserLoginMethodResponse 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 NewUserLoginMethodResponseWithDefaults

func NewUserLoginMethodResponseWithDefaults() *UserLoginMethodResponse

NewUserLoginMethodResponseWithDefaults instantiates a new UserLoginMethodResponse 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 (*UserLoginMethodResponse) GetMethod

func (o *UserLoginMethodResponse) GetMethod() string

GetMethod returns the Method field value

func (*UserLoginMethodResponse) GetMethodOk

func (o *UserLoginMethodResponse) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.

func (*UserLoginMethodResponse) GetUrl

func (o *UserLoginMethodResponse) GetUrl() string

GetUrl returns the Url field value

func (*UserLoginMethodResponse) GetUrlOk

func (o *UserLoginMethodResponse) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (UserLoginMethodResponse) MarshalJSON

func (o UserLoginMethodResponse) MarshalJSON() ([]byte, error)

func (*UserLoginMethodResponse) SetMethod

func (o *UserLoginMethodResponse) SetMethod(v string)

SetMethod sets field value

func (*UserLoginMethodResponse) SetUrl

func (o *UserLoginMethodResponse) SetUrl(v string)

SetUrl sets field value

func (UserLoginMethodResponse) ToMap

func (o UserLoginMethodResponse) ToMap() (map[string]interface{}, error)

func (*UserLoginMethodResponse) UnmarshalJSON

func (o *UserLoginMethodResponse) UnmarshalJSON(data []byte) (err error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL