meta

package
v0.0.0-...-b9aa217 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// GetStatusMixin0OKBodyItems0StatusGreen captures enum value "green"
	GetStatusMixin0OKBodyItems0StatusGreen string = "green"

	// GetStatusMixin0OKBodyItems0StatusYellow captures enum value "yellow"
	GetStatusMixin0OKBodyItems0StatusYellow string = "yellow"

	// GetStatusMixin0OKBodyItems0StatusRed captures enum value "red"
	GetStatusMixin0OKBodyItems0StatusRed string = "red"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for meta API

func (*Client) GetHeaders

func (a *Client) GetHeaders(params *GetHeadersParams, opts ...ClientOption) (*GetHeadersOK, error)

GetHeaders debugs request headers

Echo the request headers for debugging purposes. Note that the 'Connection' header and any 'X-' headers are not included

func (*Client) GetPing

func (a *Client) GetPing(params *GetPingParams, opts ...ClientOption) (*GetPingOK, error)

GetPing pings route

Ping the ESI routers

func (*Client) GetStatusMixin0

func (a *Client) GetStatusMixin0(params *GetStatusMixin0Params, opts ...ClientOption) (*GetStatusMixin0OK, error)

GetStatusMixin0 es s i health status

Provides a general health indicator per route and method

func (*Client) GetVerify

func (a *Client) GetVerify(params *GetVerifyParams, opts ...ClientOption) (*GetVerifyOK, error)

GetVerify verifies access token

Verify authorization tokens in ESI's auth cache

func (*Client) GetVersions

func (a *Client) GetVersions(params *GetVersionsParams, opts ...ClientOption) (*GetVersionsOK, error)

GetVersions lists versions

List all endpoint versions

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption added in v0.4.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetHeaders(params *GetHeadersParams, opts ...ClientOption) (*GetHeadersOK, error)

	GetPing(params *GetPingParams, opts ...ClientOption) (*GetPingOK, error)

	GetStatusMixin0(params *GetStatusMixin0Params, opts ...ClientOption) (*GetStatusMixin0OK, error)

	GetVerify(params *GetVerifyParams, opts ...ClientOption) (*GetVerifyOK, error)

	GetVersions(params *GetVersionsParams, opts ...ClientOption) (*GetVersionsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new meta API client.

type GetHeadersOK

type GetHeadersOK struct {
	Payload map[string]string
}

GetHeadersOK describes a response with status code 200, with default header values.

Headers OK

func NewGetHeadersOK

func NewGetHeadersOK() *GetHeadersOK

NewGetHeadersOK creates a GetHeadersOK with default headers values

func (*GetHeadersOK) Code added in v0.5.29

func (o *GetHeadersOK) Code() int

Code gets the status code for the get headers o k response

func (*GetHeadersOK) Error

func (o *GetHeadersOK) Error() string

func (*GetHeadersOK) GetPayload

func (o *GetHeadersOK) GetPayload() map[string]string

func (*GetHeadersOK) IsClientError added in v0.5.29

func (o *GetHeadersOK) IsClientError() bool

IsClientError returns true when this get headers o k response has a 4xx status code

func (*GetHeadersOK) IsCode added in v0.5.29

func (o *GetHeadersOK) IsCode(code int) bool

IsCode returns true when this get headers o k response a status code equal to that given

func (*GetHeadersOK) IsRedirect added in v0.5.29

func (o *GetHeadersOK) IsRedirect() bool

IsRedirect returns true when this get headers o k response has a 3xx status code

func (*GetHeadersOK) IsServerError added in v0.5.29

func (o *GetHeadersOK) IsServerError() bool

IsServerError returns true when this get headers o k response has a 5xx status code

func (*GetHeadersOK) IsSuccess added in v0.5.29

func (o *GetHeadersOK) IsSuccess() bool

IsSuccess returns true when this get headers o k response has a 2xx status code

func (*GetHeadersOK) String added in v0.5.29

func (o *GetHeadersOK) String() string

type GetHeadersParams

type GetHeadersParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetHeadersParams contains all the parameters to send to the API endpoint

for the get headers operation.

Typically these are written to a http.Request.

func NewGetHeadersParams

func NewGetHeadersParams() *GetHeadersParams

NewGetHeadersParams creates a new GetHeadersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetHeadersParamsWithContext

func NewGetHeadersParamsWithContext(ctx context.Context) *GetHeadersParams

NewGetHeadersParamsWithContext creates a new GetHeadersParams object with the ability to set a context for a request.

func NewGetHeadersParamsWithHTTPClient

func NewGetHeadersParamsWithHTTPClient(client *http.Client) *GetHeadersParams

NewGetHeadersParamsWithHTTPClient creates a new GetHeadersParams object with the ability to set a custom HTTPClient for a request.

func NewGetHeadersParamsWithTimeout

func NewGetHeadersParamsWithTimeout(timeout time.Duration) *GetHeadersParams

NewGetHeadersParamsWithTimeout creates a new GetHeadersParams object with the ability to set a timeout on a request.

func (*GetHeadersParams) SetContext

func (o *GetHeadersParams) SetContext(ctx context.Context)

SetContext adds the context to the get headers params

func (*GetHeadersParams) SetDefaults

func (o *GetHeadersParams) SetDefaults()

SetDefaults hydrates default values in the get headers params (not the query body).

All values with no default are reset to their zero value.

func (*GetHeadersParams) SetHTTPClient

func (o *GetHeadersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get headers params

func (*GetHeadersParams) SetTimeout

func (o *GetHeadersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get headers params

func (*GetHeadersParams) WithContext

func (o *GetHeadersParams) WithContext(ctx context.Context) *GetHeadersParams

WithContext adds the context to the get headers params

func (*GetHeadersParams) WithDefaults

func (o *GetHeadersParams) WithDefaults() *GetHeadersParams

WithDefaults hydrates default values in the get headers params (not the query body).

All values with no default are reset to their zero value.

func (*GetHeadersParams) WithHTTPClient

func (o *GetHeadersParams) WithHTTPClient(client *http.Client) *GetHeadersParams

WithHTTPClient adds the HTTPClient to the get headers params

func (*GetHeadersParams) WithTimeout

func (o *GetHeadersParams) WithTimeout(timeout time.Duration) *GetHeadersParams

WithTimeout adds the timeout to the get headers params

func (*GetHeadersParams) WriteToRequest

func (o *GetHeadersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetHeadersReader

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

GetHeadersReader is a Reader for the GetHeaders structure.

func (*GetHeadersReader) ReadResponse

func (o *GetHeadersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPingOK

type GetPingOK struct {
	Payload string
}

GetPingOK describes a response with status code 200, with default header values.

Ping OK

func NewGetPingOK

func NewGetPingOK() *GetPingOK

NewGetPingOK creates a GetPingOK with default headers values

func (*GetPingOK) Code added in v0.5.29

func (o *GetPingOK) Code() int

Code gets the status code for the get ping o k response

func (*GetPingOK) Error

func (o *GetPingOK) Error() string

func (*GetPingOK) GetPayload

func (o *GetPingOK) GetPayload() string

func (*GetPingOK) IsClientError added in v0.5.29

func (o *GetPingOK) IsClientError() bool

IsClientError returns true when this get ping o k response has a 4xx status code

func (*GetPingOK) IsCode added in v0.5.29

func (o *GetPingOK) IsCode(code int) bool

IsCode returns true when this get ping o k response a status code equal to that given

func (*GetPingOK) IsRedirect added in v0.5.29

func (o *GetPingOK) IsRedirect() bool

IsRedirect returns true when this get ping o k response has a 3xx status code

func (*GetPingOK) IsServerError added in v0.5.29

func (o *GetPingOK) IsServerError() bool

IsServerError returns true when this get ping o k response has a 5xx status code

func (*GetPingOK) IsSuccess added in v0.5.29

func (o *GetPingOK) IsSuccess() bool

IsSuccess returns true when this get ping o k response has a 2xx status code

func (*GetPingOK) String added in v0.5.29

func (o *GetPingOK) String() string

type GetPingParams

type GetPingParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPingParams contains all the parameters to send to the API endpoint

for the get ping operation.

Typically these are written to a http.Request.

func NewGetPingParams

func NewGetPingParams() *GetPingParams

NewGetPingParams creates a new GetPingParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPingParamsWithContext

func NewGetPingParamsWithContext(ctx context.Context) *GetPingParams

NewGetPingParamsWithContext creates a new GetPingParams object with the ability to set a context for a request.

func NewGetPingParamsWithHTTPClient

func NewGetPingParamsWithHTTPClient(client *http.Client) *GetPingParams

NewGetPingParamsWithHTTPClient creates a new GetPingParams object with the ability to set a custom HTTPClient for a request.

func NewGetPingParamsWithTimeout

func NewGetPingParamsWithTimeout(timeout time.Duration) *GetPingParams

NewGetPingParamsWithTimeout creates a new GetPingParams object with the ability to set a timeout on a request.

func (*GetPingParams) SetContext

func (o *GetPingParams) SetContext(ctx context.Context)

SetContext adds the context to the get ping params

func (*GetPingParams) SetDefaults

func (o *GetPingParams) SetDefaults()

SetDefaults hydrates default values in the get ping params (not the query body).

All values with no default are reset to their zero value.

func (*GetPingParams) SetHTTPClient

func (o *GetPingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get ping params

func (*GetPingParams) SetTimeout

func (o *GetPingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get ping params

func (*GetPingParams) WithContext

func (o *GetPingParams) WithContext(ctx context.Context) *GetPingParams

WithContext adds the context to the get ping params

func (*GetPingParams) WithDefaults

func (o *GetPingParams) WithDefaults() *GetPingParams

WithDefaults hydrates default values in the get ping params (not the query body).

All values with no default are reset to their zero value.

func (*GetPingParams) WithHTTPClient

func (o *GetPingParams) WithHTTPClient(client *http.Client) *GetPingParams

WithHTTPClient adds the HTTPClient to the get ping params

func (*GetPingParams) WithTimeout

func (o *GetPingParams) WithTimeout(timeout time.Duration) *GetPingParams

WithTimeout adds the timeout to the get ping params

func (*GetPingParams) WriteToRequest

func (o *GetPingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPingReader

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

GetPingReader is a Reader for the GetPing structure.

func (*GetPingReader) ReadResponse

func (o *GetPingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetStatusMixin0NotFound

type GetStatusMixin0NotFound struct {
	Payload *GetStatusMixin0NotFoundBody
}

GetStatusMixin0NotFound describes a response with status code 404, with default header values.

Unsupported version

func NewGetStatusMixin0NotFound

func NewGetStatusMixin0NotFound() *GetStatusMixin0NotFound

NewGetStatusMixin0NotFound creates a GetStatusMixin0NotFound with default headers values

func (*GetStatusMixin0NotFound) Code added in v0.5.29

func (o *GetStatusMixin0NotFound) Code() int

Code gets the status code for the get status mixin0 not found response

func (*GetStatusMixin0NotFound) Error

func (o *GetStatusMixin0NotFound) Error() string

func (*GetStatusMixin0NotFound) GetPayload

func (*GetStatusMixin0NotFound) IsClientError added in v0.5.29

func (o *GetStatusMixin0NotFound) IsClientError() bool

IsClientError returns true when this get status mixin0 not found response has a 4xx status code

func (*GetStatusMixin0NotFound) IsCode added in v0.5.29

func (o *GetStatusMixin0NotFound) IsCode(code int) bool

IsCode returns true when this get status mixin0 not found response a status code equal to that given

func (*GetStatusMixin0NotFound) IsRedirect added in v0.5.29

func (o *GetStatusMixin0NotFound) IsRedirect() bool

IsRedirect returns true when this get status mixin0 not found response has a 3xx status code

func (*GetStatusMixin0NotFound) IsServerError added in v0.5.29

func (o *GetStatusMixin0NotFound) IsServerError() bool

IsServerError returns true when this get status mixin0 not found response has a 5xx status code

func (*GetStatusMixin0NotFound) IsSuccess added in v0.5.29

func (o *GetStatusMixin0NotFound) IsSuccess() bool

IsSuccess returns true when this get status mixin0 not found response has a 2xx status code

func (*GetStatusMixin0NotFound) String added in v0.5.29

func (o *GetStatusMixin0NotFound) String() string

type GetStatusMixin0NotFoundBody

type GetStatusMixin0NotFoundBody struct {

	// get_status_not_found_error
	//
	// Unsupported version
	// Required: true
	Error *string `json:"error"`
}

GetStatusMixin0NotFoundBody get_status_not_found // // Unsupported version swagger:model GetStatusMixin0NotFoundBody

func (*GetStatusMixin0NotFoundBody) ContextValidate

func (o *GetStatusMixin0NotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get status mixin0 not found body based on context it is used

func (*GetStatusMixin0NotFoundBody) MarshalBinary

func (o *GetStatusMixin0NotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetStatusMixin0NotFoundBody) UnmarshalBinary

func (o *GetStatusMixin0NotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetStatusMixin0NotFoundBody) Validate

func (o *GetStatusMixin0NotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this get status mixin0 not found body

type GetStatusMixin0OK

type GetStatusMixin0OK struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string

	Payload []*GetStatusMixin0OKBodyItems0
}

GetStatusMixin0OK describes a response with status code 200, with default header values.

ESI Status

func NewGetStatusMixin0OK

func NewGetStatusMixin0OK() *GetStatusMixin0OK

NewGetStatusMixin0OK creates a GetStatusMixin0OK with default headers values

func (*GetStatusMixin0OK) Code added in v0.5.29

func (o *GetStatusMixin0OK) Code() int

Code gets the status code for the get status mixin0 o k response

func (*GetStatusMixin0OK) Error

func (o *GetStatusMixin0OK) Error() string

func (*GetStatusMixin0OK) GetPayload

func (*GetStatusMixin0OK) IsClientError added in v0.5.29

func (o *GetStatusMixin0OK) IsClientError() bool

IsClientError returns true when this get status mixin0 o k response has a 4xx status code

func (*GetStatusMixin0OK) IsCode added in v0.5.29

func (o *GetStatusMixin0OK) IsCode(code int) bool

IsCode returns true when this get status mixin0 o k response a status code equal to that given

func (*GetStatusMixin0OK) IsRedirect added in v0.5.29

func (o *GetStatusMixin0OK) IsRedirect() bool

IsRedirect returns true when this get status mixin0 o k response has a 3xx status code

func (*GetStatusMixin0OK) IsServerError added in v0.5.29

func (o *GetStatusMixin0OK) IsServerError() bool

IsServerError returns true when this get status mixin0 o k response has a 5xx status code

func (*GetStatusMixin0OK) IsSuccess added in v0.5.29

func (o *GetStatusMixin0OK) IsSuccess() bool

IsSuccess returns true when this get status mixin0 o k response has a 2xx status code

func (*GetStatusMixin0OK) String added in v0.5.29

func (o *GetStatusMixin0OK) String() string

type GetStatusMixin0OKBodyItems0

type GetStatusMixin0OKBodyItems0 struct {

	// get_status_endpoint
	//
	// ESI Endpoint cluster advertising this route
	// Required: true
	Endpoint *string `json:"endpoint"`

	// get_status_method
	//
	// Swagger defined method
	// Required: true
	Method *string `json:"method"`

	// get_status_route
	//
	// Swagger defined route, not including version prefix
	// Required: true
	Route *string `json:"route"`

	// get_status_status
	//
	// Vague route status. Green is good, yellow is degraded, meaning slow or potentially dropping requests. Red means most requests are not succeeding and/or are very slow (5s+) on average.
	// Required: true
	// Enum: [green yellow red]
	Status *string `json:"status"`

	// get_status_tags
	//
	// Swagger tags applicable to this route
	// Required: true
	Tags []string `json:"tags"`
}

GetStatusMixin0OKBodyItems0 get_status_item // // Per route status swagger:model GetStatusMixin0OKBodyItems0

func (*GetStatusMixin0OKBodyItems0) ContextValidate

func (o *GetStatusMixin0OKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get status mixin0 o k body items0 based on context it is used

func (*GetStatusMixin0OKBodyItems0) MarshalBinary

func (o *GetStatusMixin0OKBodyItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetStatusMixin0OKBodyItems0) UnmarshalBinary

func (o *GetStatusMixin0OKBodyItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetStatusMixin0OKBodyItems0) Validate

func (o *GetStatusMixin0OKBodyItems0) Validate(formats strfmt.Registry) error

Validate validates this get status mixin0 o k body items0

type GetStatusMixin0Params

type GetStatusMixin0Params struct {

	/* Version.

	   The version of metrics to request. Note that alternate versions are grouped together

	   Default: "latest"
	*/
	Version *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetStatusMixin0Params contains all the parameters to send to the API endpoint

for the get status mixin0 operation.

Typically these are written to a http.Request.

func NewGetStatusMixin0Params

func NewGetStatusMixin0Params() *GetStatusMixin0Params

NewGetStatusMixin0Params creates a new GetStatusMixin0Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetStatusMixin0ParamsWithContext

func NewGetStatusMixin0ParamsWithContext(ctx context.Context) *GetStatusMixin0Params

NewGetStatusMixin0ParamsWithContext creates a new GetStatusMixin0Params object with the ability to set a context for a request.

func NewGetStatusMixin0ParamsWithHTTPClient

func NewGetStatusMixin0ParamsWithHTTPClient(client *http.Client) *GetStatusMixin0Params

NewGetStatusMixin0ParamsWithHTTPClient creates a new GetStatusMixin0Params object with the ability to set a custom HTTPClient for a request.

func NewGetStatusMixin0ParamsWithTimeout

func NewGetStatusMixin0ParamsWithTimeout(timeout time.Duration) *GetStatusMixin0Params

NewGetStatusMixin0ParamsWithTimeout creates a new GetStatusMixin0Params object with the ability to set a timeout on a request.

func (*GetStatusMixin0Params) SetContext

func (o *GetStatusMixin0Params) SetContext(ctx context.Context)

SetContext adds the context to the get status mixin0 params

func (*GetStatusMixin0Params) SetDefaults

func (o *GetStatusMixin0Params) SetDefaults()

SetDefaults hydrates default values in the get status mixin0 params (not the query body).

All values with no default are reset to their zero value.

func (*GetStatusMixin0Params) SetHTTPClient

func (o *GetStatusMixin0Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get status mixin0 params

func (*GetStatusMixin0Params) SetTimeout

func (o *GetStatusMixin0Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get status mixin0 params

func (*GetStatusMixin0Params) SetVersion

func (o *GetStatusMixin0Params) SetVersion(version *string)

SetVersion adds the version to the get status mixin0 params

func (*GetStatusMixin0Params) WithContext

WithContext adds the context to the get status mixin0 params

func (*GetStatusMixin0Params) WithDefaults

func (o *GetStatusMixin0Params) WithDefaults() *GetStatusMixin0Params

WithDefaults hydrates default values in the get status mixin0 params (not the query body).

All values with no default are reset to their zero value.

func (*GetStatusMixin0Params) WithHTTPClient

func (o *GetStatusMixin0Params) WithHTTPClient(client *http.Client) *GetStatusMixin0Params

WithHTTPClient adds the HTTPClient to the get status mixin0 params

func (*GetStatusMixin0Params) WithTimeout

func (o *GetStatusMixin0Params) WithTimeout(timeout time.Duration) *GetStatusMixin0Params

WithTimeout adds the timeout to the get status mixin0 params

func (*GetStatusMixin0Params) WithVersion

func (o *GetStatusMixin0Params) WithVersion(version *string) *GetStatusMixin0Params

WithVersion adds the version to the get status mixin0 params

func (*GetStatusMixin0Params) WriteToRequest

func (o *GetStatusMixin0Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetStatusMixin0Reader

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

GetStatusMixin0Reader is a Reader for the GetStatusMixin0 structure.

func (*GetStatusMixin0Reader) ReadResponse

func (o *GetStatusMixin0Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVerifyBadRequest

type GetVerifyBadRequest struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string

	Payload *GetVerifyBadRequestBody
}

GetVerifyBadRequest describes a response with status code 400, with default header values.

SSO /verify JSON error

func NewGetVerifyBadRequest

func NewGetVerifyBadRequest() *GetVerifyBadRequest

NewGetVerifyBadRequest creates a GetVerifyBadRequest with default headers values

func (*GetVerifyBadRequest) Code added in v0.5.29

func (o *GetVerifyBadRequest) Code() int

Code gets the status code for the get verify bad request response

func (*GetVerifyBadRequest) Error

func (o *GetVerifyBadRequest) Error() string

func (*GetVerifyBadRequest) GetPayload

func (*GetVerifyBadRequest) IsClientError added in v0.5.29

func (o *GetVerifyBadRequest) IsClientError() bool

IsClientError returns true when this get verify bad request response has a 4xx status code

func (*GetVerifyBadRequest) IsCode added in v0.5.29

func (o *GetVerifyBadRequest) IsCode(code int) bool

IsCode returns true when this get verify bad request response a status code equal to that given

func (*GetVerifyBadRequest) IsRedirect added in v0.5.29

func (o *GetVerifyBadRequest) IsRedirect() bool

IsRedirect returns true when this get verify bad request response has a 3xx status code

func (*GetVerifyBadRequest) IsServerError added in v0.5.29

func (o *GetVerifyBadRequest) IsServerError() bool

IsServerError returns true when this get verify bad request response has a 5xx status code

func (*GetVerifyBadRequest) IsSuccess added in v0.5.29

func (o *GetVerifyBadRequest) IsSuccess() bool

IsSuccess returns true when this get verify bad request response has a 2xx status code

func (*GetVerifyBadRequest) String added in v0.5.29

func (o *GetVerifyBadRequest) String() string

type GetVerifyBadRequestBody

type GetVerifyBadRequestBody struct {

	// get_verify_error_error
	//
	// Generic error returned by SSO
	// Required: true
	Error *string `json:"error"`

	// get_verify_error_description
	//
	// Detailed error description from SSO
	ErrorDescription string `json:"error_description,omitempty"`
}

GetVerifyBadRequestBody get_verify_error // // SSO /verify JSON swagger:model GetVerifyBadRequestBody

func (*GetVerifyBadRequestBody) ContextValidate

func (o *GetVerifyBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get verify bad request body based on context it is used

func (*GetVerifyBadRequestBody) MarshalBinary

func (o *GetVerifyBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetVerifyBadRequestBody) UnmarshalBinary

func (o *GetVerifyBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetVerifyBadRequestBody) Validate

func (o *GetVerifyBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this get verify bad request body

type GetVerifyNotFound

type GetVerifyNotFound struct {
	Payload *GetVerifyNotFoundBody
}

GetVerifyNotFound describes a response with status code 404, with default header values.

Unsupported datasource

func NewGetVerifyNotFound

func NewGetVerifyNotFound() *GetVerifyNotFound

NewGetVerifyNotFound creates a GetVerifyNotFound with default headers values

func (*GetVerifyNotFound) Code added in v0.5.29

func (o *GetVerifyNotFound) Code() int

Code gets the status code for the get verify not found response

func (*GetVerifyNotFound) Error

func (o *GetVerifyNotFound) Error() string

func (*GetVerifyNotFound) GetPayload

func (o *GetVerifyNotFound) GetPayload() *GetVerifyNotFoundBody

func (*GetVerifyNotFound) IsClientError added in v0.5.29

func (o *GetVerifyNotFound) IsClientError() bool

IsClientError returns true when this get verify not found response has a 4xx status code

func (*GetVerifyNotFound) IsCode added in v0.5.29

func (o *GetVerifyNotFound) IsCode(code int) bool

IsCode returns true when this get verify not found response a status code equal to that given

func (*GetVerifyNotFound) IsRedirect added in v0.5.29

func (o *GetVerifyNotFound) IsRedirect() bool

IsRedirect returns true when this get verify not found response has a 3xx status code

func (*GetVerifyNotFound) IsServerError added in v0.5.29

func (o *GetVerifyNotFound) IsServerError() bool

IsServerError returns true when this get verify not found response has a 5xx status code

func (*GetVerifyNotFound) IsSuccess added in v0.5.29

func (o *GetVerifyNotFound) IsSuccess() bool

IsSuccess returns true when this get verify not found response has a 2xx status code

func (*GetVerifyNotFound) String added in v0.5.29

func (o *GetVerifyNotFound) String() string

type GetVerifyNotFoundBody

type GetVerifyNotFoundBody struct {

	// get_verify_not_found_error
	//
	// Unsupported datasource
	// Required: true
	Error *string `json:"error"`
}

GetVerifyNotFoundBody get_verify_not_found // // Unsupported datasource swagger:model GetVerifyNotFoundBody

func (*GetVerifyNotFoundBody) ContextValidate

func (o *GetVerifyNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get verify not found body based on context it is used

func (*GetVerifyNotFoundBody) MarshalBinary

func (o *GetVerifyNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetVerifyNotFoundBody) UnmarshalBinary

func (o *GetVerifyNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetVerifyNotFoundBody) Validate

func (o *GetVerifyNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this get verify not found body

type GetVerifyOK

type GetVerifyOK struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string

	Payload *GetVerifyOKBody
}

GetVerifyOK describes a response with status code 200, with default header values.

SSO /verify JSON response

func NewGetVerifyOK

func NewGetVerifyOK() *GetVerifyOK

NewGetVerifyOK creates a GetVerifyOK with default headers values

func (*GetVerifyOK) Code added in v0.5.29

func (o *GetVerifyOK) Code() int

Code gets the status code for the get verify o k response

func (*GetVerifyOK) Error

func (o *GetVerifyOK) Error() string

func (*GetVerifyOK) GetPayload

func (o *GetVerifyOK) GetPayload() *GetVerifyOKBody

func (*GetVerifyOK) IsClientError added in v0.5.29

func (o *GetVerifyOK) IsClientError() bool

IsClientError returns true when this get verify o k response has a 4xx status code

func (*GetVerifyOK) IsCode added in v0.5.29

func (o *GetVerifyOK) IsCode(code int) bool

IsCode returns true when this get verify o k response a status code equal to that given

func (*GetVerifyOK) IsRedirect added in v0.5.29

func (o *GetVerifyOK) IsRedirect() bool

IsRedirect returns true when this get verify o k response has a 3xx status code

func (*GetVerifyOK) IsServerError added in v0.5.29

func (o *GetVerifyOK) IsServerError() bool

IsServerError returns true when this get verify o k response has a 5xx status code

func (*GetVerifyOK) IsSuccess added in v0.5.29

func (o *GetVerifyOK) IsSuccess() bool

IsSuccess returns true when this get verify o k response has a 2xx status code

func (*GetVerifyOK) String added in v0.5.29

func (o *GetVerifyOK) String() string

type GetVerifyOKBody

type GetVerifyOKBody struct {

	// get_verify_character_id
	//
	// Token owner's character ID
	// Required: true
	CharacterID *int32 `json:"CharacterID"`

	// get_verify_character_name
	//
	// Token owner's character name
	CharacterName string `json:"CharacterName,omitempty"`

	// get_verify_character_owner_hash
	//
	// Hash of the character's owner. If the character is sold or otherwise transferred, this will change
	CharacterOwnerHash string `json:"CharacterOwnerHash,omitempty"`

	// get_verify_expires_on
	//
	// Expiry time of the token (not RFC3339)
	ExpiresOn string `json:"ExpiresOn,omitempty"`

	// get_verify_intellectual_property
	//
	// The IP which generated the token
	IntellectualProperty string `json:"IntellectualProperty,omitempty"`

	// get_verify_scopes
	//
	// Space separated list of scopes the token is valid for
	Scopes string `json:"Scopes,omitempty"`

	// get_verify_token_type
	//
	// Type of access token
	TokenType string `json:"TokenType,omitempty"`
}

GetVerifyOKBody get_verify_ok // // SSO /verify JSON swagger:model GetVerifyOKBody

func (*GetVerifyOKBody) ContextValidate

func (o *GetVerifyOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get verify o k body based on context it is used

func (*GetVerifyOKBody) MarshalBinary

func (o *GetVerifyOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetVerifyOKBody) UnmarshalBinary

func (o *GetVerifyOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetVerifyOKBody) Validate

func (o *GetVerifyOKBody) Validate(formats strfmt.Registry) error

Validate validates this get verify o k body

type GetVerifyParams

type GetVerifyParams struct {

	/* Authorization.

	   Access token, in the format of "Bearer <access token>"
	*/
	Authorization *string

	/* XUserAgent.

	   Client identifier, takes precedence over User-Agent
	*/
	XUserAgent *string

	/* Datasource.

	   The server name you would like data from

	   Default: "tranquility"
	*/
	Datasource *string

	/* Token.

	   Access token to use if unable to set a header
	*/
	Token *string

	/* UserAgent.

	   Client identifier, takes precedence over headers
	*/
	UserAgent *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVerifyParams contains all the parameters to send to the API endpoint

for the get verify operation.

Typically these are written to a http.Request.

func NewGetVerifyParams

func NewGetVerifyParams() *GetVerifyParams

NewGetVerifyParams creates a new GetVerifyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVerifyParamsWithContext

func NewGetVerifyParamsWithContext(ctx context.Context) *GetVerifyParams

NewGetVerifyParamsWithContext creates a new GetVerifyParams object with the ability to set a context for a request.

func NewGetVerifyParamsWithHTTPClient

func NewGetVerifyParamsWithHTTPClient(client *http.Client) *GetVerifyParams

NewGetVerifyParamsWithHTTPClient creates a new GetVerifyParams object with the ability to set a custom HTTPClient for a request.

func NewGetVerifyParamsWithTimeout

func NewGetVerifyParamsWithTimeout(timeout time.Duration) *GetVerifyParams

NewGetVerifyParamsWithTimeout creates a new GetVerifyParams object with the ability to set a timeout on a request.

func (*GetVerifyParams) SetAuthorization

func (o *GetVerifyParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get verify params

func (*GetVerifyParams) SetContext

func (o *GetVerifyParams) SetContext(ctx context.Context)

SetContext adds the context to the get verify params

func (*GetVerifyParams) SetDatasource

func (o *GetVerifyParams) SetDatasource(datasource *string)

SetDatasource adds the datasource to the get verify params

func (*GetVerifyParams) SetDefaults

func (o *GetVerifyParams) SetDefaults()

SetDefaults hydrates default values in the get verify params (not the query body).

All values with no default are reset to their zero value.

func (*GetVerifyParams) SetHTTPClient

func (o *GetVerifyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get verify params

func (*GetVerifyParams) SetTimeout

func (o *GetVerifyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get verify params

func (*GetVerifyParams) SetToken

func (o *GetVerifyParams) SetToken(token *string)

SetToken adds the token to the get verify params

func (*GetVerifyParams) SetUserAgent

func (o *GetVerifyParams) SetUserAgent(userAgent *string)

SetUserAgent adds the userAgent to the get verify params

func (*GetVerifyParams) SetXUserAgent

func (o *GetVerifyParams) SetXUserAgent(xUserAgent *string)

SetXUserAgent adds the xUserAgent to the get verify params

func (*GetVerifyParams) WithAuthorization

func (o *GetVerifyParams) WithAuthorization(authorization *string) *GetVerifyParams

WithAuthorization adds the authorization to the get verify params

func (*GetVerifyParams) WithContext

func (o *GetVerifyParams) WithContext(ctx context.Context) *GetVerifyParams

WithContext adds the context to the get verify params

func (*GetVerifyParams) WithDatasource

func (o *GetVerifyParams) WithDatasource(datasource *string) *GetVerifyParams

WithDatasource adds the datasource to the get verify params

func (*GetVerifyParams) WithDefaults

func (o *GetVerifyParams) WithDefaults() *GetVerifyParams

WithDefaults hydrates default values in the get verify params (not the query body).

All values with no default are reset to their zero value.

func (*GetVerifyParams) WithHTTPClient

func (o *GetVerifyParams) WithHTTPClient(client *http.Client) *GetVerifyParams

WithHTTPClient adds the HTTPClient to the get verify params

func (*GetVerifyParams) WithTimeout

func (o *GetVerifyParams) WithTimeout(timeout time.Duration) *GetVerifyParams

WithTimeout adds the timeout to the get verify params

func (*GetVerifyParams) WithToken

func (o *GetVerifyParams) WithToken(token *string) *GetVerifyParams

WithToken adds the token to the get verify params

func (*GetVerifyParams) WithUserAgent

func (o *GetVerifyParams) WithUserAgent(userAgent *string) *GetVerifyParams

WithUserAgent adds the userAgent to the get verify params

func (*GetVerifyParams) WithXUserAgent

func (o *GetVerifyParams) WithXUserAgent(xUserAgent *string) *GetVerifyParams

WithXUserAgent adds the xUserAgent to the get verify params

func (*GetVerifyParams) WriteToRequest

func (o *GetVerifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetVerifyReader

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

GetVerifyReader is a Reader for the GetVerify structure.

func (*GetVerifyReader) ReadResponse

func (o *GetVerifyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVerifyUnauthorized

type GetVerifyUnauthorized struct {
	Payload *GetVerifyUnauthorizedBody
}

GetVerifyUnauthorized describes a response with status code 401, with default header values.

Authorization not provided

func NewGetVerifyUnauthorized

func NewGetVerifyUnauthorized() *GetVerifyUnauthorized

NewGetVerifyUnauthorized creates a GetVerifyUnauthorized with default headers values

func (*GetVerifyUnauthorized) Code added in v0.5.29

func (o *GetVerifyUnauthorized) Code() int

Code gets the status code for the get verify unauthorized response

func (*GetVerifyUnauthorized) Error

func (o *GetVerifyUnauthorized) Error() string

func (*GetVerifyUnauthorized) GetPayload

func (*GetVerifyUnauthorized) IsClientError added in v0.5.29

func (o *GetVerifyUnauthorized) IsClientError() bool

IsClientError returns true when this get verify unauthorized response has a 4xx status code

func (*GetVerifyUnauthorized) IsCode added in v0.5.29

func (o *GetVerifyUnauthorized) IsCode(code int) bool

IsCode returns true when this get verify unauthorized response a status code equal to that given

func (*GetVerifyUnauthorized) IsRedirect added in v0.5.29

func (o *GetVerifyUnauthorized) IsRedirect() bool

IsRedirect returns true when this get verify unauthorized response has a 3xx status code

func (*GetVerifyUnauthorized) IsServerError added in v0.5.29

func (o *GetVerifyUnauthorized) IsServerError() bool

IsServerError returns true when this get verify unauthorized response has a 5xx status code

func (*GetVerifyUnauthorized) IsSuccess added in v0.5.29

func (o *GetVerifyUnauthorized) IsSuccess() bool

IsSuccess returns true when this get verify unauthorized response has a 2xx status code

func (*GetVerifyUnauthorized) String added in v0.5.29

func (o *GetVerifyUnauthorized) String() string

type GetVerifyUnauthorizedBody

type GetVerifyUnauthorizedBody struct {

	// get_verify_unauthorized_error
	//
	// Authorization not provided
	// Required: true
	Error *string `json:"error"`
}

GetVerifyUnauthorizedBody get_verify_unauthorized // // Authorization not provided swagger:model GetVerifyUnauthorizedBody

func (*GetVerifyUnauthorizedBody) ContextValidate

func (o *GetVerifyUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get verify unauthorized body based on context it is used

func (*GetVerifyUnauthorizedBody) MarshalBinary

func (o *GetVerifyUnauthorizedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetVerifyUnauthorizedBody) UnmarshalBinary

func (o *GetVerifyUnauthorizedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetVerifyUnauthorizedBody) Validate

func (o *GetVerifyUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this get verify unauthorized body

type GetVersionsOK

type GetVersionsOK struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string

	Payload []string
}

GetVersionsOK describes a response with status code 200, with default header values.

Version list

func NewGetVersionsOK

func NewGetVersionsOK() *GetVersionsOK

NewGetVersionsOK creates a GetVersionsOK with default headers values

func (*GetVersionsOK) Code added in v0.5.29

func (o *GetVersionsOK) Code() int

Code gets the status code for the get versions o k response

func (*GetVersionsOK) Error

func (o *GetVersionsOK) Error() string

func (*GetVersionsOK) GetPayload

func (o *GetVersionsOK) GetPayload() []string

func (*GetVersionsOK) IsClientError added in v0.5.29

func (o *GetVersionsOK) IsClientError() bool

IsClientError returns true when this get versions o k response has a 4xx status code

func (*GetVersionsOK) IsCode added in v0.5.29

func (o *GetVersionsOK) IsCode(code int) bool

IsCode returns true when this get versions o k response a status code equal to that given

func (*GetVersionsOK) IsRedirect added in v0.5.29

func (o *GetVersionsOK) IsRedirect() bool

IsRedirect returns true when this get versions o k response has a 3xx status code

func (*GetVersionsOK) IsServerError added in v0.5.29

func (o *GetVersionsOK) IsServerError() bool

IsServerError returns true when this get versions o k response has a 5xx status code

func (*GetVersionsOK) IsSuccess added in v0.5.29

func (o *GetVersionsOK) IsSuccess() bool

IsSuccess returns true when this get versions o k response has a 2xx status code

func (*GetVersionsOK) String added in v0.5.29

func (o *GetVersionsOK) String() string

type GetVersionsParams

type GetVersionsParams struct {

	/* XUserAgent.

	   Client identifier, takes precedence over User-Agent
	*/
	XUserAgent *string

	/* UserAgent.

	   Client identifier, takes precedence over headers
	*/
	UserAgent *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVersionsParams contains all the parameters to send to the API endpoint

for the get versions operation.

Typically these are written to a http.Request.

func NewGetVersionsParams

func NewGetVersionsParams() *GetVersionsParams

NewGetVersionsParams creates a new GetVersionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVersionsParamsWithContext

func NewGetVersionsParamsWithContext(ctx context.Context) *GetVersionsParams

NewGetVersionsParamsWithContext creates a new GetVersionsParams object with the ability to set a context for a request.

func NewGetVersionsParamsWithHTTPClient

func NewGetVersionsParamsWithHTTPClient(client *http.Client) *GetVersionsParams

NewGetVersionsParamsWithHTTPClient creates a new GetVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetVersionsParamsWithTimeout

func NewGetVersionsParamsWithTimeout(timeout time.Duration) *GetVersionsParams

NewGetVersionsParamsWithTimeout creates a new GetVersionsParams object with the ability to set a timeout on a request.

func (*GetVersionsParams) SetContext

func (o *GetVersionsParams) SetContext(ctx context.Context)

SetContext adds the context to the get versions params

func (*GetVersionsParams) SetDefaults

func (o *GetVersionsParams) SetDefaults()

SetDefaults hydrates default values in the get versions params (not the query body).

All values with no default are reset to their zero value.

func (*GetVersionsParams) SetHTTPClient

func (o *GetVersionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get versions params

func (*GetVersionsParams) SetTimeout

func (o *GetVersionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get versions params

func (*GetVersionsParams) SetUserAgent

func (o *GetVersionsParams) SetUserAgent(userAgent *string)

SetUserAgent adds the userAgent to the get versions params

func (*GetVersionsParams) SetXUserAgent

func (o *GetVersionsParams) SetXUserAgent(xUserAgent *string)

SetXUserAgent adds the xUserAgent to the get versions params

func (*GetVersionsParams) WithContext

func (o *GetVersionsParams) WithContext(ctx context.Context) *GetVersionsParams

WithContext adds the context to the get versions params

func (*GetVersionsParams) WithDefaults

func (o *GetVersionsParams) WithDefaults() *GetVersionsParams

WithDefaults hydrates default values in the get versions params (not the query body).

All values with no default are reset to their zero value.

func (*GetVersionsParams) WithHTTPClient

func (o *GetVersionsParams) WithHTTPClient(client *http.Client) *GetVersionsParams

WithHTTPClient adds the HTTPClient to the get versions params

func (*GetVersionsParams) WithTimeout

func (o *GetVersionsParams) WithTimeout(timeout time.Duration) *GetVersionsParams

WithTimeout adds the timeout to the get versions params

func (*GetVersionsParams) WithUserAgent

func (o *GetVersionsParams) WithUserAgent(userAgent *string) *GetVersionsParams

WithUserAgent adds the userAgent to the get versions params

func (*GetVersionsParams) WithXUserAgent

func (o *GetVersionsParams) WithXUserAgent(xUserAgent *string) *GetVersionsParams

WithXUserAgent adds the xUserAgent to the get versions params

func (*GetVersionsParams) WriteToRequest

func (o *GetVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetVersionsReader

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

GetVersionsReader is a Reader for the GetVersions structure.

func (*GetVersionsReader) ReadResponse

func (o *GetVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL