Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) GetHeaders(params *GetHeadersParams, opts ...ClientOption) (*GetHeadersOK, error)
- func (a *Client) GetPing(params *GetPingParams, opts ...ClientOption) (*GetPingOK, error)
- func (a *Client) GetStatusMixin0(params *GetStatusMixin0Params, opts ...ClientOption) (*GetStatusMixin0OK, error)
- func (a *Client) GetVerify(params *GetVerifyParams, opts ...ClientOption) (*GetVerifyOK, error)
- func (a *Client) GetVersions(params *GetVersionsParams, opts ...ClientOption) (*GetVersionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetHeadersOK
- func (o *GetHeadersOK) Code() int
- func (o *GetHeadersOK) Error() string
- func (o *GetHeadersOK) GetPayload() map[string]string
- func (o *GetHeadersOK) IsClientError() bool
- func (o *GetHeadersOK) IsCode(code int) bool
- func (o *GetHeadersOK) IsRedirect() bool
- func (o *GetHeadersOK) IsServerError() bool
- func (o *GetHeadersOK) IsSuccess() bool
- func (o *GetHeadersOK) String() string
- type GetHeadersParams
- func (o *GetHeadersParams) SetContext(ctx context.Context)
- func (o *GetHeadersParams) SetDefaults()
- func (o *GetHeadersParams) SetHTTPClient(client *http.Client)
- func (o *GetHeadersParams) SetTimeout(timeout time.Duration)
- func (o *GetHeadersParams) WithContext(ctx context.Context) *GetHeadersParams
- func (o *GetHeadersParams) WithDefaults() *GetHeadersParams
- func (o *GetHeadersParams) WithHTTPClient(client *http.Client) *GetHeadersParams
- func (o *GetHeadersParams) WithTimeout(timeout time.Duration) *GetHeadersParams
- func (o *GetHeadersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHeadersReader
- type GetPingOK
- func (o *GetPingOK) Code() int
- func (o *GetPingOK) Error() string
- func (o *GetPingOK) GetPayload() string
- func (o *GetPingOK) IsClientError() bool
- func (o *GetPingOK) IsCode(code int) bool
- func (o *GetPingOK) IsRedirect() bool
- func (o *GetPingOK) IsServerError() bool
- func (o *GetPingOK) IsSuccess() bool
- func (o *GetPingOK) String() string
- type GetPingParams
- func (o *GetPingParams) SetContext(ctx context.Context)
- func (o *GetPingParams) SetDefaults()
- func (o *GetPingParams) SetHTTPClient(client *http.Client)
- func (o *GetPingParams) SetTimeout(timeout time.Duration)
- func (o *GetPingParams) WithContext(ctx context.Context) *GetPingParams
- func (o *GetPingParams) WithDefaults() *GetPingParams
- func (o *GetPingParams) WithHTTPClient(client *http.Client) *GetPingParams
- func (o *GetPingParams) WithTimeout(timeout time.Duration) *GetPingParams
- func (o *GetPingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPingReader
- type GetStatusMixin0NotFound
- func (o *GetStatusMixin0NotFound) Code() int
- func (o *GetStatusMixin0NotFound) Error() string
- func (o *GetStatusMixin0NotFound) GetPayload() *GetStatusMixin0NotFoundBody
- func (o *GetStatusMixin0NotFound) IsClientError() bool
- func (o *GetStatusMixin0NotFound) IsCode(code int) bool
- func (o *GetStatusMixin0NotFound) IsRedirect() bool
- func (o *GetStatusMixin0NotFound) IsServerError() bool
- func (o *GetStatusMixin0NotFound) IsSuccess() bool
- func (o *GetStatusMixin0NotFound) String() string
- type GetStatusMixin0NotFoundBody
- func (o *GetStatusMixin0NotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetStatusMixin0NotFoundBody) MarshalBinary() ([]byte, error)
- func (o *GetStatusMixin0NotFoundBody) UnmarshalBinary(b []byte) error
- func (o *GetStatusMixin0NotFoundBody) Validate(formats strfmt.Registry) error
- type GetStatusMixin0OK
- func (o *GetStatusMixin0OK) Code() int
- func (o *GetStatusMixin0OK) Error() string
- func (o *GetStatusMixin0OK) GetPayload() []*GetStatusMixin0OKBodyItems0
- func (o *GetStatusMixin0OK) IsClientError() bool
- func (o *GetStatusMixin0OK) IsCode(code int) bool
- func (o *GetStatusMixin0OK) IsRedirect() bool
- func (o *GetStatusMixin0OK) IsServerError() bool
- func (o *GetStatusMixin0OK) IsSuccess() bool
- func (o *GetStatusMixin0OK) String() string
- type GetStatusMixin0OKBodyItems0
- func (o *GetStatusMixin0OKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetStatusMixin0OKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetStatusMixin0OKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetStatusMixin0OKBodyItems0) Validate(formats strfmt.Registry) error
- type GetStatusMixin0Params
- func NewGetStatusMixin0Params() *GetStatusMixin0Params
- func NewGetStatusMixin0ParamsWithContext(ctx context.Context) *GetStatusMixin0Params
- func NewGetStatusMixin0ParamsWithHTTPClient(client *http.Client) *GetStatusMixin0Params
- func NewGetStatusMixin0ParamsWithTimeout(timeout time.Duration) *GetStatusMixin0Params
- func (o *GetStatusMixin0Params) SetContext(ctx context.Context)
- func (o *GetStatusMixin0Params) SetDefaults()
- func (o *GetStatusMixin0Params) SetHTTPClient(client *http.Client)
- func (o *GetStatusMixin0Params) SetTimeout(timeout time.Duration)
- func (o *GetStatusMixin0Params) SetVersion(version *string)
- func (o *GetStatusMixin0Params) WithContext(ctx context.Context) *GetStatusMixin0Params
- func (o *GetStatusMixin0Params) WithDefaults() *GetStatusMixin0Params
- func (o *GetStatusMixin0Params) WithHTTPClient(client *http.Client) *GetStatusMixin0Params
- func (o *GetStatusMixin0Params) WithTimeout(timeout time.Duration) *GetStatusMixin0Params
- func (o *GetStatusMixin0Params) WithVersion(version *string) *GetStatusMixin0Params
- func (o *GetStatusMixin0Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStatusMixin0Reader
- type GetVerifyBadRequest
- func (o *GetVerifyBadRequest) Code() int
- func (o *GetVerifyBadRequest) Error() string
- func (o *GetVerifyBadRequest) GetPayload() *GetVerifyBadRequestBody
- func (o *GetVerifyBadRequest) IsClientError() bool
- func (o *GetVerifyBadRequest) IsCode(code int) bool
- func (o *GetVerifyBadRequest) IsRedirect() bool
- func (o *GetVerifyBadRequest) IsServerError() bool
- func (o *GetVerifyBadRequest) IsSuccess() bool
- func (o *GetVerifyBadRequest) String() string
- type GetVerifyBadRequestBody
- func (o *GetVerifyBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetVerifyBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *GetVerifyBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *GetVerifyBadRequestBody) Validate(formats strfmt.Registry) error
- type GetVerifyNotFound
- func (o *GetVerifyNotFound) Code() int
- func (o *GetVerifyNotFound) Error() string
- func (o *GetVerifyNotFound) GetPayload() *GetVerifyNotFoundBody
- func (o *GetVerifyNotFound) IsClientError() bool
- func (o *GetVerifyNotFound) IsCode(code int) bool
- func (o *GetVerifyNotFound) IsRedirect() bool
- func (o *GetVerifyNotFound) IsServerError() bool
- func (o *GetVerifyNotFound) IsSuccess() bool
- func (o *GetVerifyNotFound) String() string
- type GetVerifyNotFoundBody
- type GetVerifyOK
- func (o *GetVerifyOK) Code() int
- func (o *GetVerifyOK) Error() string
- func (o *GetVerifyOK) GetPayload() *GetVerifyOKBody
- func (o *GetVerifyOK) IsClientError() bool
- func (o *GetVerifyOK) IsCode(code int) bool
- func (o *GetVerifyOK) IsRedirect() bool
- func (o *GetVerifyOK) IsServerError() bool
- func (o *GetVerifyOK) IsSuccess() bool
- func (o *GetVerifyOK) String() string
- type GetVerifyOKBody
- type GetVerifyParams
- func (o *GetVerifyParams) SetAuthorization(authorization *string)
- func (o *GetVerifyParams) SetContext(ctx context.Context)
- func (o *GetVerifyParams) SetDatasource(datasource *string)
- func (o *GetVerifyParams) SetDefaults()
- func (o *GetVerifyParams) SetHTTPClient(client *http.Client)
- func (o *GetVerifyParams) SetTimeout(timeout time.Duration)
- func (o *GetVerifyParams) SetToken(token *string)
- func (o *GetVerifyParams) SetUserAgent(userAgent *string)
- func (o *GetVerifyParams) SetXUserAgent(xUserAgent *string)
- func (o *GetVerifyParams) WithAuthorization(authorization *string) *GetVerifyParams
- func (o *GetVerifyParams) WithContext(ctx context.Context) *GetVerifyParams
- func (o *GetVerifyParams) WithDatasource(datasource *string) *GetVerifyParams
- func (o *GetVerifyParams) WithDefaults() *GetVerifyParams
- func (o *GetVerifyParams) WithHTTPClient(client *http.Client) *GetVerifyParams
- func (o *GetVerifyParams) WithTimeout(timeout time.Duration) *GetVerifyParams
- func (o *GetVerifyParams) WithToken(token *string) *GetVerifyParams
- func (o *GetVerifyParams) WithUserAgent(userAgent *string) *GetVerifyParams
- func (o *GetVerifyParams) WithXUserAgent(xUserAgent *string) *GetVerifyParams
- func (o *GetVerifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVerifyReader
- type GetVerifyUnauthorized
- func (o *GetVerifyUnauthorized) Code() int
- func (o *GetVerifyUnauthorized) Error() string
- func (o *GetVerifyUnauthorized) GetPayload() *GetVerifyUnauthorizedBody
- func (o *GetVerifyUnauthorized) IsClientError() bool
- func (o *GetVerifyUnauthorized) IsCode(code int) bool
- func (o *GetVerifyUnauthorized) IsRedirect() bool
- func (o *GetVerifyUnauthorized) IsServerError() bool
- func (o *GetVerifyUnauthorized) IsSuccess() bool
- func (o *GetVerifyUnauthorized) String() string
- type GetVerifyUnauthorizedBody
- func (o *GetVerifyUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetVerifyUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *GetVerifyUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *GetVerifyUnauthorizedBody) Validate(formats strfmt.Registry) error
- type GetVersionsOK
- func (o *GetVersionsOK) Code() int
- func (o *GetVersionsOK) Error() string
- func (o *GetVersionsOK) GetPayload() []string
- func (o *GetVersionsOK) IsClientError() bool
- func (o *GetVersionsOK) IsCode(code int) bool
- func (o *GetVersionsOK) IsRedirect() bool
- func (o *GetVersionsOK) IsServerError() bool
- func (o *GetVersionsOK) IsSuccess() bool
- func (o *GetVersionsOK) String() string
- type GetVersionsParams
- func (o *GetVersionsParams) SetContext(ctx context.Context)
- func (o *GetVersionsParams) SetDefaults()
- func (o *GetVersionsParams) SetHTTPClient(client *http.Client)
- func (o *GetVersionsParams) SetTimeout(timeout time.Duration)
- func (o *GetVersionsParams) SetUserAgent(userAgent *string)
- func (o *GetVersionsParams) SetXUserAgent(xUserAgent *string)
- func (o *GetVersionsParams) WithContext(ctx context.Context) *GetVersionsParams
- func (o *GetVersionsParams) WithDefaults() *GetVersionsParams
- func (o *GetVersionsParams) WithHTTPClient(client *http.Client) *GetVersionsParams
- func (o *GetVersionsParams) WithTimeout(timeout time.Duration) *GetVersionsParams
- func (o *GetVersionsParams) WithUserAgent(userAgent *string) *GetVersionsParams
- func (o *GetVersionsParams) WithXUserAgent(xUserAgent *string) *GetVersionsParams
- func (o *GetVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVersionsReader
Constants ¶
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 ¶
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) GetPayload ¶
func (*GetPingOK) IsClientError ¶ added in v0.5.29
IsClientError returns true when this get ping o k response has a 4xx status code
func (*GetPingOK) IsCode ¶ added in v0.5.29
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
IsRedirect returns true when this get ping o k response has a 3xx status code
func (*GetPingOK) IsServerError ¶ added in v0.5.29
IsServerError returns true when this get ping o k response has a 5xx status code
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 (o *GetStatusMixin0NotFound) GetPayload() *GetStatusMixin0NotFoundBody
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
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 (o *GetStatusMixin0OK) GetPayload() []*GetStatusMixin0OKBodyItems0
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
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 ¶
func (o *GetStatusMixin0Params) WithContext(ctx context.Context) *GetStatusMixin0Params
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 (o *GetVerifyBadRequest) GetPayload() *GetVerifyBadRequestBody
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
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 ¶
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
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 ¶
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
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 {
}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 (o *GetVerifyUnauthorized) GetPayload() *GetVerifyUnauthorizedBody
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 { // // 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
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.