meta

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 29, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (

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

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

	// GetStatusOKBodyItems0StatusRed captures enum value "red"
	GetStatusOKBodyItems0StatusRed 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) (*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) (*GetPingOK, error)

GetPing pings route

Ping the ESI routers

func (*Client) GetStatus

func (a *Client) GetStatus(params *GetStatusParams) (*GetStatusOK, error)

GetStatus es s i health status

Provides a general health indicator per route and method

func (*Client) GetVerify

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

GetVerify verifies access token

Verify authorization tokens in ESI's auth cache

func (*Client) GetVersions

func (a *Client) GetVersions(params *GetVersionsParams) (*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 ClientService

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

	GetPing(params *GetPingParams) (*GetPingOK, error)

	GetStatus(params *GetStatusParams) (*GetStatusOK, error)

	GetVerify(params *GetVerifyParams) (*GetVerifyOK, error)

	GetVersions(params *GetVersionsParams) (*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 handles this case with default header values.

Headers OK

func NewGetHeadersOK

func NewGetHeadersOK() *GetHeadersOK

NewGetHeadersOK creates a GetHeadersOK with default headers values

func (*GetHeadersOK) Error

func (o *GetHeadersOK) Error() string

func (*GetHeadersOK) GetPayload

func (o *GetHeadersOK) GetPayload() map[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 values initialized.

func NewGetHeadersParamsWithContext

func NewGetHeadersParamsWithContext(ctx context.Context) *GetHeadersParams

NewGetHeadersParamsWithContext creates a new GetHeadersParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Ping OK

func NewGetPingOK

func NewGetPingOK() *GetPingOK

NewGetPingOK creates a GetPingOK with default headers values

func (*GetPingOK) Error

func (o *GetPingOK) Error() string

func (*GetPingOK) GetPayload

func (o *GetPingOK) GetPayload() 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 values initialized.

func NewGetPingParamsWithContext

func NewGetPingParamsWithContext(ctx context.Context) *GetPingParams

NewGetPingParamsWithContext creates a new GetPingParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetStatusNotFound

type GetStatusNotFound struct {
	Payload *GetStatusNotFoundBody
}

GetStatusNotFound handles this case with default header values.

Unsupported version

func NewGetStatusNotFound

func NewGetStatusNotFound() *GetStatusNotFound

NewGetStatusNotFound creates a GetStatusNotFound with default headers values

func (*GetStatusNotFound) Error

func (o *GetStatusNotFound) Error() string

func (*GetStatusNotFound) GetPayload

func (o *GetStatusNotFound) GetPayload() *GetStatusNotFoundBody

type GetStatusNotFoundBody

type GetStatusNotFoundBody struct {

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

GetStatusNotFoundBody get_status_not_found // // Unsupported version swagger:model GetStatusNotFoundBody

func (*GetStatusNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetStatusNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetStatusNotFoundBody) Validate

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

Validate validates this get status not found body

type GetStatusOK

type GetStatusOK struct {
	/*The caching mechanism used
	 */
	CacheControl string
	/*RFC7231 formatted datetime string
	 */
	Expires string
	/*RFC7231 formatted datetime string
	 */
	LastModified string

	Payload []*GetStatusOKBodyItems0
}

GetStatusOK handles this case with default header values.

ESI Status

func NewGetStatusOK

func NewGetStatusOK() *GetStatusOK

NewGetStatusOK creates a GetStatusOK with default headers values

func (*GetStatusOK) Error

func (o *GetStatusOK) Error() string

func (*GetStatusOK) GetPayload

func (o *GetStatusOK) GetPayload() []*GetStatusOKBodyItems0

type GetStatusOKBodyItems0

type GetStatusOKBodyItems0 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"`
}

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

func (*GetStatusOKBodyItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*GetStatusOKBodyItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetStatusOKBodyItems0) Validate

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

Validate validates this get status o k body items0

type GetStatusParams

type GetStatusParams struct {

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

	*/
	Version *string

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

GetStatusParams contains all the parameters to send to the API endpoint for the get status operation typically these are written to a http.Request

func NewGetStatusParams

func NewGetStatusParams() *GetStatusParams

NewGetStatusParams creates a new GetStatusParams object with the default values initialized.

func NewGetStatusParamsWithContext

func NewGetStatusParamsWithContext(ctx context.Context) *GetStatusParams

NewGetStatusParamsWithContext creates a new GetStatusParams object with the default values initialized, and the ability to set a context for a request

func NewGetStatusParamsWithHTTPClient

func NewGetStatusParamsWithHTTPClient(client *http.Client) *GetStatusParams

NewGetStatusParamsWithHTTPClient creates a new GetStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetStatusParamsWithTimeout

func NewGetStatusParamsWithTimeout(timeout time.Duration) *GetStatusParams

NewGetStatusParamsWithTimeout creates a new GetStatusParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetStatusParams) SetContext

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

SetContext adds the context to the get status params

func (*GetStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get status params

func (*GetStatusParams) SetTimeout

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

SetTimeout adds the timeout to the get status params

func (*GetStatusParams) SetVersion

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

SetVersion adds the version to the get status params

func (*GetStatusParams) WithContext

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

WithContext adds the context to the get status params

func (*GetStatusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get status params

func (*GetStatusParams) WithTimeout

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

WithTimeout adds the timeout to the get status params

func (*GetStatusParams) WithVersion

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

WithVersion adds the version to the get status params

func (*GetStatusParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetStatusReader

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

GetStatusReader is a Reader for the GetStatus structure.

func (*GetStatusReader) ReadResponse

func (o *GetStatusReader) 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 handles this case with default header values.

SSO /verify JSON error

func NewGetVerifyBadRequest

func NewGetVerifyBadRequest() *GetVerifyBadRequest

NewGetVerifyBadRequest creates a GetVerifyBadRequest with default headers values

func (*GetVerifyBadRequest) Error

func (o *GetVerifyBadRequest) Error() string

func (*GetVerifyBadRequest) GetPayload

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) 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 handles this case with default header values.

Unsupported datasource

func NewGetVerifyNotFound

func NewGetVerifyNotFound() *GetVerifyNotFound

NewGetVerifyNotFound creates a GetVerifyNotFound with default headers values

func (*GetVerifyNotFound) Error

func (o *GetVerifyNotFound) Error() string

func (*GetVerifyNotFound) GetPayload

func (o *GetVerifyNotFound) GetPayload() *GetVerifyNotFoundBody

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) 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 handles this case with default header values.

SSO /verify JSON response

func NewGetVerifyOK

func NewGetVerifyOK() *GetVerifyOK

NewGetVerifyOK creates a GetVerifyOK with default headers values

func (*GetVerifyOK) Error

func (o *GetVerifyOK) Error() string

func (*GetVerifyOK) GetPayload

func (o *GetVerifyOK) GetPayload() *GetVerifyOKBody

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

	*/
	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 values initialized.

func NewGetVerifyParamsWithContext

func NewGetVerifyParamsWithContext(ctx context.Context) *GetVerifyParams

NewGetVerifyParamsWithContext creates a new GetVerifyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Authorization not provided

func NewGetVerifyUnauthorized

func NewGetVerifyUnauthorized() *GetVerifyUnauthorized

NewGetVerifyUnauthorized creates a GetVerifyUnauthorized with default headers values

func (*GetVerifyUnauthorized) Error

func (o *GetVerifyUnauthorized) Error() string

func (*GetVerifyUnauthorized) GetPayload

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) 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 handles this case with default header values.

Version list

func NewGetVersionsOK

func NewGetVersionsOK() *GetVersionsOK

NewGetVersionsOK creates a GetVersionsOK with default headers values

func (*GetVersionsOK) Error

func (o *GetVersionsOK) Error() string

func (*GetVersionsOK) GetPayload

func (o *GetVersionsOK) GetPayload() []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 values initialized.

func NewGetVersionsParamsWithContext

func NewGetVersionsParamsWithContext(ctx context.Context) *GetVersionsParams

NewGetVersionsParamsWithContext creates a new GetVersionsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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