apis

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for apis API

func (*Client) CreateAPI

func (a *Client) CreateAPI(params *CreateAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAPICreated, error)

CreateAPI creates API

It is not possible to create APIs for a service with imported specification.

func (*Client) DeleteAPI

func (a *Client) DeleteAPI(params *DeleteAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPINoContent, error)
DeleteAPI deletes API

If this API was created by import specification operation then

it is not possible to delete it.

func (*Client) GetAPI

func (a *Client) GetAPI(params *GetAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIOK, error)

GetAPI gets API

Get API.

func (*Client) ListAPIsByServer

func (a *Client) ListAPIsByServer(params *ListAPIsByServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAPIsByServerOK, error)

ListAPIsByServer lists a p is

List APIs.

func (*Client) ListAPIsByService

func (a *Client) ListAPIsByService(params *ListAPIsByServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAPIsByServiceOK, error)

ListAPIsByService lists a p is

List APIs.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TestAPI

func (a *Client) TestAPI(params *TestAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TestAPIOK, error)

TestAPI tests API

Check if an example request matches given API, if so, return policy list to evaluate.

func (*Client) UpdateAPI

func (a *Client) UpdateAPI(params *UpdateAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAPIOK, error)

UpdateAPI updates API

Update API.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateAPI(params *CreateAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAPICreated, error)

	DeleteAPI(params *DeleteAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPINoContent, error)

	GetAPI(params *GetAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIOK, error)

	ListAPIsByServer(params *ListAPIsByServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAPIsByServerOK, error)

	ListAPIsByService(params *ListAPIsByServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAPIsByServiceOK, error)

	TestAPI(params *TestAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TestAPIOK, error)

	UpdateAPI(params *UpdateAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAPIOK, 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 apis API client.

type CreateAPIBadRequest

type CreateAPIBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewCreateAPIBadRequest

func NewCreateAPIBadRequest() *CreateAPIBadRequest

NewCreateAPIBadRequest creates a CreateAPIBadRequest with default headers values

func (*CreateAPIBadRequest) Code

func (o *CreateAPIBadRequest) Code() int

Code gets the status code for the create Api bad request response

func (*CreateAPIBadRequest) Error

func (o *CreateAPIBadRequest) Error() string

func (*CreateAPIBadRequest) GetPayload

func (o *CreateAPIBadRequest) GetPayload() *models.Error

func (*CreateAPIBadRequest) IsClientError

func (o *CreateAPIBadRequest) IsClientError() bool

IsClientError returns true when this create Api bad request response has a 4xx status code

func (*CreateAPIBadRequest) IsCode

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

IsCode returns true when this create Api bad request response a status code equal to that given

func (*CreateAPIBadRequest) IsRedirect

func (o *CreateAPIBadRequest) IsRedirect() bool

IsRedirect returns true when this create Api bad request response has a 3xx status code

func (*CreateAPIBadRequest) IsServerError

func (o *CreateAPIBadRequest) IsServerError() bool

IsServerError returns true when this create Api bad request response has a 5xx status code

func (*CreateAPIBadRequest) IsSuccess

func (o *CreateAPIBadRequest) IsSuccess() bool

IsSuccess returns true when this create Api bad request response has a 2xx status code

func (*CreateAPIBadRequest) String

func (o *CreateAPIBadRequest) String() string

type CreateAPICreated

type CreateAPICreated struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.API
}

CreateAPICreated describes a response with status code 201, with default header values.

API

func NewCreateAPICreated

func NewCreateAPICreated() *CreateAPICreated

NewCreateAPICreated creates a CreateAPICreated with default headers values

func (*CreateAPICreated) Code

func (o *CreateAPICreated) Code() int

Code gets the status code for the create Api created response

func (*CreateAPICreated) Error

func (o *CreateAPICreated) Error() string

func (*CreateAPICreated) GetPayload

func (o *CreateAPICreated) GetPayload() *models.API

func (*CreateAPICreated) IsClientError

func (o *CreateAPICreated) IsClientError() bool

IsClientError returns true when this create Api created response has a 4xx status code

func (*CreateAPICreated) IsCode

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

IsCode returns true when this create Api created response a status code equal to that given

func (*CreateAPICreated) IsRedirect

func (o *CreateAPICreated) IsRedirect() bool

IsRedirect returns true when this create Api created response has a 3xx status code

func (*CreateAPICreated) IsServerError

func (o *CreateAPICreated) IsServerError() bool

IsServerError returns true when this create Api created response has a 5xx status code

func (*CreateAPICreated) IsSuccess

func (o *CreateAPICreated) IsSuccess() bool

IsSuccess returns true when this create Api created response has a 2xx status code

func (*CreateAPICreated) String

func (o *CreateAPICreated) String() string

type CreateAPIForbidden

type CreateAPIForbidden struct {
	Payload *models.Error
}

CreateAPIForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateAPIForbidden

func NewCreateAPIForbidden() *CreateAPIForbidden

NewCreateAPIForbidden creates a CreateAPIForbidden with default headers values

func (*CreateAPIForbidden) Code

func (o *CreateAPIForbidden) Code() int

Code gets the status code for the create Api forbidden response

func (*CreateAPIForbidden) Error

func (o *CreateAPIForbidden) Error() string

func (*CreateAPIForbidden) GetPayload

func (o *CreateAPIForbidden) GetPayload() *models.Error

func (*CreateAPIForbidden) IsClientError

func (o *CreateAPIForbidden) IsClientError() bool

IsClientError returns true when this create Api forbidden response has a 4xx status code

func (*CreateAPIForbidden) IsCode

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

IsCode returns true when this create Api forbidden response a status code equal to that given

func (*CreateAPIForbidden) IsRedirect

func (o *CreateAPIForbidden) IsRedirect() bool

IsRedirect returns true when this create Api forbidden response has a 3xx status code

func (*CreateAPIForbidden) IsServerError

func (o *CreateAPIForbidden) IsServerError() bool

IsServerError returns true when this create Api forbidden response has a 5xx status code

func (*CreateAPIForbidden) IsSuccess

func (o *CreateAPIForbidden) IsSuccess() bool

IsSuccess returns true when this create Api forbidden response has a 2xx status code

func (*CreateAPIForbidden) String

func (o *CreateAPIForbidden) String() string

type CreateAPINotFound

type CreateAPINotFound struct {
	Payload *models.Error
}

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

Not found

func NewCreateAPINotFound

func NewCreateAPINotFound() *CreateAPINotFound

NewCreateAPINotFound creates a CreateAPINotFound with default headers values

func (*CreateAPINotFound) Code

func (o *CreateAPINotFound) Code() int

Code gets the status code for the create Api not found response

func (*CreateAPINotFound) Error

func (o *CreateAPINotFound) Error() string

func (*CreateAPINotFound) GetPayload

func (o *CreateAPINotFound) GetPayload() *models.Error

func (*CreateAPINotFound) IsClientError

func (o *CreateAPINotFound) IsClientError() bool

IsClientError returns true when this create Api not found response has a 4xx status code

func (*CreateAPINotFound) IsCode

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

IsCode returns true when this create Api not found response a status code equal to that given

func (*CreateAPINotFound) IsRedirect

func (o *CreateAPINotFound) IsRedirect() bool

IsRedirect returns true when this create Api not found response has a 3xx status code

func (*CreateAPINotFound) IsServerError

func (o *CreateAPINotFound) IsServerError() bool

IsServerError returns true when this create Api not found response has a 5xx status code

func (*CreateAPINotFound) IsSuccess

func (o *CreateAPINotFound) IsSuccess() bool

IsSuccess returns true when this create Api not found response has a 2xx status code

func (*CreateAPINotFound) String

func (o *CreateAPINotFound) String() string

type CreateAPIParams

type CreateAPIParams struct {

	/* APIBody.

	   APIBody
	*/
	APIBody *models.API

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

CreateAPIParams contains all the parameters to send to the API endpoint

for the create API operation.

Typically these are written to a http.Request.

func NewCreateAPIParams

func NewCreateAPIParams() *CreateAPIParams

NewCreateAPIParams creates a new CreateAPIParams 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 NewCreateAPIParamsWithContext

func NewCreateAPIParamsWithContext(ctx context.Context) *CreateAPIParams

NewCreateAPIParamsWithContext creates a new CreateAPIParams object with the ability to set a context for a request.

func NewCreateAPIParamsWithHTTPClient

func NewCreateAPIParamsWithHTTPClient(client *http.Client) *CreateAPIParams

NewCreateAPIParamsWithHTTPClient creates a new CreateAPIParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAPIParamsWithTimeout

func NewCreateAPIParamsWithTimeout(timeout time.Duration) *CreateAPIParams

NewCreateAPIParamsWithTimeout creates a new CreateAPIParams object with the ability to set a timeout on a request.

func (*CreateAPIParams) SetAPIBody

func (o *CreateAPIParams) SetAPIBody(aPIBody *models.API)

SetAPIBody adds the apiBody to the create API params

func (*CreateAPIParams) SetContext

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

SetContext adds the context to the create API params

func (*CreateAPIParams) SetDefaults

func (o *CreateAPIParams) SetDefaults()

SetDefaults hydrates default values in the create API params (not the query body).

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

func (*CreateAPIParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create API params

func (*CreateAPIParams) SetIfMatch

func (o *CreateAPIParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the create API params

func (*CreateAPIParams) SetTimeout

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

SetTimeout adds the timeout to the create API params

func (*CreateAPIParams) WithAPIBody

func (o *CreateAPIParams) WithAPIBody(aPIBody *models.API) *CreateAPIParams

WithAPIBody adds the aPIBody to the create API params

func (*CreateAPIParams) WithContext

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

WithContext adds the context to the create API params

func (*CreateAPIParams) WithDefaults

func (o *CreateAPIParams) WithDefaults() *CreateAPIParams

WithDefaults hydrates default values in the create API params (not the query body).

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

func (*CreateAPIParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create API params

func (*CreateAPIParams) WithIfMatch

func (o *CreateAPIParams) WithIfMatch(ifMatch *string) *CreateAPIParams

WithIfMatch adds the ifMatch to the create API params

func (*CreateAPIParams) WithTimeout

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

WithTimeout adds the timeout to the create API params

func (*CreateAPIParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateAPIReader

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

CreateAPIReader is a Reader for the CreateAPI structure.

func (*CreateAPIReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateAPITooManyRequests

type CreateAPITooManyRequests struct {
	Payload *models.Error
}

CreateAPITooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewCreateAPITooManyRequests

func NewCreateAPITooManyRequests() *CreateAPITooManyRequests

NewCreateAPITooManyRequests creates a CreateAPITooManyRequests with default headers values

func (*CreateAPITooManyRequests) Code

func (o *CreateAPITooManyRequests) Code() int

Code gets the status code for the create Api too many requests response

func (*CreateAPITooManyRequests) Error

func (o *CreateAPITooManyRequests) Error() string

func (*CreateAPITooManyRequests) GetPayload

func (o *CreateAPITooManyRequests) GetPayload() *models.Error

func (*CreateAPITooManyRequests) IsClientError

func (o *CreateAPITooManyRequests) IsClientError() bool

IsClientError returns true when this create Api too many requests response has a 4xx status code

func (*CreateAPITooManyRequests) IsCode

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

IsCode returns true when this create Api too many requests response a status code equal to that given

func (*CreateAPITooManyRequests) IsRedirect

func (o *CreateAPITooManyRequests) IsRedirect() bool

IsRedirect returns true when this create Api too many requests response has a 3xx status code

func (*CreateAPITooManyRequests) IsServerError

func (o *CreateAPITooManyRequests) IsServerError() bool

IsServerError returns true when this create Api too many requests response has a 5xx status code

func (*CreateAPITooManyRequests) IsSuccess

func (o *CreateAPITooManyRequests) IsSuccess() bool

IsSuccess returns true when this create Api too many requests response has a 2xx status code

func (*CreateAPITooManyRequests) String

func (o *CreateAPITooManyRequests) String() string

type CreateAPIUnauthorized

type CreateAPIUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewCreateAPIUnauthorized

func NewCreateAPIUnauthorized() *CreateAPIUnauthorized

NewCreateAPIUnauthorized creates a CreateAPIUnauthorized with default headers values

func (*CreateAPIUnauthorized) Code

func (o *CreateAPIUnauthorized) Code() int

Code gets the status code for the create Api unauthorized response

func (*CreateAPIUnauthorized) Error

func (o *CreateAPIUnauthorized) Error() string

func (*CreateAPIUnauthorized) GetPayload

func (o *CreateAPIUnauthorized) GetPayload() *models.Error

func (*CreateAPIUnauthorized) IsClientError

func (o *CreateAPIUnauthorized) IsClientError() bool

IsClientError returns true when this create Api unauthorized response has a 4xx status code

func (*CreateAPIUnauthorized) IsCode

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

IsCode returns true when this create Api unauthorized response a status code equal to that given

func (*CreateAPIUnauthorized) IsRedirect

func (o *CreateAPIUnauthorized) IsRedirect() bool

IsRedirect returns true when this create Api unauthorized response has a 3xx status code

func (*CreateAPIUnauthorized) IsServerError

func (o *CreateAPIUnauthorized) IsServerError() bool

IsServerError returns true when this create Api unauthorized response has a 5xx status code

func (*CreateAPIUnauthorized) IsSuccess

func (o *CreateAPIUnauthorized) IsSuccess() bool

IsSuccess returns true when this create Api unauthorized response has a 2xx status code

func (*CreateAPIUnauthorized) String

func (o *CreateAPIUnauthorized) String() string

type CreateAPIUnprocessableEntity

type CreateAPIUnprocessableEntity struct {
	Payload *models.Error
}

CreateAPIUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewCreateAPIUnprocessableEntity

func NewCreateAPIUnprocessableEntity() *CreateAPIUnprocessableEntity

NewCreateAPIUnprocessableEntity creates a CreateAPIUnprocessableEntity with default headers values

func (*CreateAPIUnprocessableEntity) Code

Code gets the status code for the create Api unprocessable entity response

func (*CreateAPIUnprocessableEntity) Error

func (*CreateAPIUnprocessableEntity) GetPayload

func (o *CreateAPIUnprocessableEntity) GetPayload() *models.Error

func (*CreateAPIUnprocessableEntity) IsClientError

func (o *CreateAPIUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create Api unprocessable entity response has a 4xx status code

func (*CreateAPIUnprocessableEntity) IsCode

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

IsCode returns true when this create Api unprocessable entity response a status code equal to that given

func (*CreateAPIUnprocessableEntity) IsRedirect

func (o *CreateAPIUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this create Api unprocessable entity response has a 3xx status code

func (*CreateAPIUnprocessableEntity) IsServerError

func (o *CreateAPIUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create Api unprocessable entity response has a 5xx status code

func (*CreateAPIUnprocessableEntity) IsSuccess

func (o *CreateAPIUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this create Api unprocessable entity response has a 2xx status code

func (*CreateAPIUnprocessableEntity) String

type DeleteAPIForbidden

type DeleteAPIForbidden struct {
	Payload *models.Error
}

DeleteAPIForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteAPIForbidden

func NewDeleteAPIForbidden() *DeleteAPIForbidden

NewDeleteAPIForbidden creates a DeleteAPIForbidden with default headers values

func (*DeleteAPIForbidden) Code

func (o *DeleteAPIForbidden) Code() int

Code gets the status code for the delete Api forbidden response

func (*DeleteAPIForbidden) Error

func (o *DeleteAPIForbidden) Error() string

func (*DeleteAPIForbidden) GetPayload

func (o *DeleteAPIForbidden) GetPayload() *models.Error

func (*DeleteAPIForbidden) IsClientError

func (o *DeleteAPIForbidden) IsClientError() bool

IsClientError returns true when this delete Api forbidden response has a 4xx status code

func (*DeleteAPIForbidden) IsCode

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

IsCode returns true when this delete Api forbidden response a status code equal to that given

func (*DeleteAPIForbidden) IsRedirect

func (o *DeleteAPIForbidden) IsRedirect() bool

IsRedirect returns true when this delete Api forbidden response has a 3xx status code

func (*DeleteAPIForbidden) IsServerError

func (o *DeleteAPIForbidden) IsServerError() bool

IsServerError returns true when this delete Api forbidden response has a 5xx status code

func (*DeleteAPIForbidden) IsSuccess

func (o *DeleteAPIForbidden) IsSuccess() bool

IsSuccess returns true when this delete Api forbidden response has a 2xx status code

func (*DeleteAPIForbidden) String

func (o *DeleteAPIForbidden) String() string

type DeleteAPINoContent

type DeleteAPINoContent struct {
}

DeleteAPINoContent describes a response with status code 204, with default header values.

API has been deleted

func NewDeleteAPINoContent

func NewDeleteAPINoContent() *DeleteAPINoContent

NewDeleteAPINoContent creates a DeleteAPINoContent with default headers values

func (*DeleteAPINoContent) Code

func (o *DeleteAPINoContent) Code() int

Code gets the status code for the delete Api no content response

func (*DeleteAPINoContent) Error

func (o *DeleteAPINoContent) Error() string

func (*DeleteAPINoContent) IsClientError

func (o *DeleteAPINoContent) IsClientError() bool

IsClientError returns true when this delete Api no content response has a 4xx status code

func (*DeleteAPINoContent) IsCode

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

IsCode returns true when this delete Api no content response a status code equal to that given

func (*DeleteAPINoContent) IsRedirect

func (o *DeleteAPINoContent) IsRedirect() bool

IsRedirect returns true when this delete Api no content response has a 3xx status code

func (*DeleteAPINoContent) IsServerError

func (o *DeleteAPINoContent) IsServerError() bool

IsServerError returns true when this delete Api no content response has a 5xx status code

func (*DeleteAPINoContent) IsSuccess

func (o *DeleteAPINoContent) IsSuccess() bool

IsSuccess returns true when this delete Api no content response has a 2xx status code

func (*DeleteAPINoContent) String

func (o *DeleteAPINoContent) String() string

type DeleteAPINotFound

type DeleteAPINotFound struct {
	Payload *models.Error
}

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

Not found

func NewDeleteAPINotFound

func NewDeleteAPINotFound() *DeleteAPINotFound

NewDeleteAPINotFound creates a DeleteAPINotFound with default headers values

func (*DeleteAPINotFound) Code

func (o *DeleteAPINotFound) Code() int

Code gets the status code for the delete Api not found response

func (*DeleteAPINotFound) Error

func (o *DeleteAPINotFound) Error() string

func (*DeleteAPINotFound) GetPayload

func (o *DeleteAPINotFound) GetPayload() *models.Error

func (*DeleteAPINotFound) IsClientError

func (o *DeleteAPINotFound) IsClientError() bool

IsClientError returns true when this delete Api not found response has a 4xx status code

func (*DeleteAPINotFound) IsCode

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

IsCode returns true when this delete Api not found response a status code equal to that given

func (*DeleteAPINotFound) IsRedirect

func (o *DeleteAPINotFound) IsRedirect() bool

IsRedirect returns true when this delete Api not found response has a 3xx status code

func (*DeleteAPINotFound) IsServerError

func (o *DeleteAPINotFound) IsServerError() bool

IsServerError returns true when this delete Api not found response has a 5xx status code

func (*DeleteAPINotFound) IsSuccess

func (o *DeleteAPINotFound) IsSuccess() bool

IsSuccess returns true when this delete Api not found response has a 2xx status code

func (*DeleteAPINotFound) String

func (o *DeleteAPINotFound) String() string

type DeleteAPIParams

type DeleteAPIParams struct {

	// API.
	API string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

DeleteAPIParams contains all the parameters to send to the API endpoint

for the delete API operation.

Typically these are written to a http.Request.

func NewDeleteAPIParams

func NewDeleteAPIParams() *DeleteAPIParams

NewDeleteAPIParams creates a new DeleteAPIParams 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 NewDeleteAPIParamsWithContext

func NewDeleteAPIParamsWithContext(ctx context.Context) *DeleteAPIParams

NewDeleteAPIParamsWithContext creates a new DeleteAPIParams object with the ability to set a context for a request.

func NewDeleteAPIParamsWithHTTPClient

func NewDeleteAPIParamsWithHTTPClient(client *http.Client) *DeleteAPIParams

NewDeleteAPIParamsWithHTTPClient creates a new DeleteAPIParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIParamsWithTimeout

func NewDeleteAPIParamsWithTimeout(timeout time.Duration) *DeleteAPIParams

NewDeleteAPIParamsWithTimeout creates a new DeleteAPIParams object with the ability to set a timeout on a request.

func (*DeleteAPIParams) SetAPI

func (o *DeleteAPIParams) SetAPI(api string)

SetAPI adds the api to the delete API params

func (*DeleteAPIParams) SetContext

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

SetContext adds the context to the delete API params

func (*DeleteAPIParams) SetDefaults

func (o *DeleteAPIParams) SetDefaults()

SetDefaults hydrates default values in the delete API params (not the query body).

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

func (*DeleteAPIParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API params

func (*DeleteAPIParams) SetIfMatch

func (o *DeleteAPIParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the delete API params

func (*DeleteAPIParams) SetTimeout

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

SetTimeout adds the timeout to the delete API params

func (*DeleteAPIParams) WithAPI

func (o *DeleteAPIParams) WithAPI(api string) *DeleteAPIParams

WithAPI adds the api to the delete API params

func (*DeleteAPIParams) WithContext

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

WithContext adds the context to the delete API params

func (*DeleteAPIParams) WithDefaults

func (o *DeleteAPIParams) WithDefaults() *DeleteAPIParams

WithDefaults hydrates default values in the delete API params (not the query body).

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

func (*DeleteAPIParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete API params

func (*DeleteAPIParams) WithIfMatch

func (o *DeleteAPIParams) WithIfMatch(ifMatch *string) *DeleteAPIParams

WithIfMatch adds the ifMatch to the delete API params

func (*DeleteAPIParams) WithTimeout

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

WithTimeout adds the timeout to the delete API params

func (*DeleteAPIParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteAPIReader

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

DeleteAPIReader is a Reader for the DeleteAPI structure.

func (*DeleteAPIReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAPITooManyRequests

type DeleteAPITooManyRequests struct {
	Payload *models.Error
}

DeleteAPITooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewDeleteAPITooManyRequests

func NewDeleteAPITooManyRequests() *DeleteAPITooManyRequests

NewDeleteAPITooManyRequests creates a DeleteAPITooManyRequests with default headers values

func (*DeleteAPITooManyRequests) Code

func (o *DeleteAPITooManyRequests) Code() int

Code gets the status code for the delete Api too many requests response

func (*DeleteAPITooManyRequests) Error

func (o *DeleteAPITooManyRequests) Error() string

func (*DeleteAPITooManyRequests) GetPayload

func (o *DeleteAPITooManyRequests) GetPayload() *models.Error

func (*DeleteAPITooManyRequests) IsClientError

func (o *DeleteAPITooManyRequests) IsClientError() bool

IsClientError returns true when this delete Api too many requests response has a 4xx status code

func (*DeleteAPITooManyRequests) IsCode

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

IsCode returns true when this delete Api too many requests response a status code equal to that given

func (*DeleteAPITooManyRequests) IsRedirect

func (o *DeleteAPITooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete Api too many requests response has a 3xx status code

func (*DeleteAPITooManyRequests) IsServerError

func (o *DeleteAPITooManyRequests) IsServerError() bool

IsServerError returns true when this delete Api too many requests response has a 5xx status code

func (*DeleteAPITooManyRequests) IsSuccess

func (o *DeleteAPITooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete Api too many requests response has a 2xx status code

func (*DeleteAPITooManyRequests) String

func (o *DeleteAPITooManyRequests) String() string

type DeleteAPIUnauthorized

type DeleteAPIUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewDeleteAPIUnauthorized

func NewDeleteAPIUnauthorized() *DeleteAPIUnauthorized

NewDeleteAPIUnauthorized creates a DeleteAPIUnauthorized with default headers values

func (*DeleteAPIUnauthorized) Code

func (o *DeleteAPIUnauthorized) Code() int

Code gets the status code for the delete Api unauthorized response

func (*DeleteAPIUnauthorized) Error

func (o *DeleteAPIUnauthorized) Error() string

func (*DeleteAPIUnauthorized) GetPayload

func (o *DeleteAPIUnauthorized) GetPayload() *models.Error

func (*DeleteAPIUnauthorized) IsClientError

func (o *DeleteAPIUnauthorized) IsClientError() bool

IsClientError returns true when this delete Api unauthorized response has a 4xx status code

func (*DeleteAPIUnauthorized) IsCode

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

IsCode returns true when this delete Api unauthorized response a status code equal to that given

func (*DeleteAPIUnauthorized) IsRedirect

func (o *DeleteAPIUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete Api unauthorized response has a 3xx status code

func (*DeleteAPIUnauthorized) IsServerError

func (o *DeleteAPIUnauthorized) IsServerError() bool

IsServerError returns true when this delete Api unauthorized response has a 5xx status code

func (*DeleteAPIUnauthorized) IsSuccess

func (o *DeleteAPIUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete Api unauthorized response has a 2xx status code

func (*DeleteAPIUnauthorized) String

func (o *DeleteAPIUnauthorized) String() string

type GetAPIForbidden

type GetAPIForbidden struct {
	Payload *models.Error
}

GetAPIForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAPIForbidden

func NewGetAPIForbidden() *GetAPIForbidden

NewGetAPIForbidden creates a GetAPIForbidden with default headers values

func (*GetAPIForbidden) Code

func (o *GetAPIForbidden) Code() int

Code gets the status code for the get Api forbidden response

func (*GetAPIForbidden) Error

func (o *GetAPIForbidden) Error() string

func (*GetAPIForbidden) GetPayload

func (o *GetAPIForbidden) GetPayload() *models.Error

func (*GetAPIForbidden) IsClientError

func (o *GetAPIForbidden) IsClientError() bool

IsClientError returns true when this get Api forbidden response has a 4xx status code

func (*GetAPIForbidden) IsCode

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

IsCode returns true when this get Api forbidden response a status code equal to that given

func (*GetAPIForbidden) IsRedirect

func (o *GetAPIForbidden) IsRedirect() bool

IsRedirect returns true when this get Api forbidden response has a 3xx status code

func (*GetAPIForbidden) IsServerError

func (o *GetAPIForbidden) IsServerError() bool

IsServerError returns true when this get Api forbidden response has a 5xx status code

func (*GetAPIForbidden) IsSuccess

func (o *GetAPIForbidden) IsSuccess() bool

IsSuccess returns true when this get Api forbidden response has a 2xx status code

func (*GetAPIForbidden) String

func (o *GetAPIForbidden) String() string

type GetAPINotFound

type GetAPINotFound struct {
	Payload *models.Error
}

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

Not found

func NewGetAPINotFound

func NewGetAPINotFound() *GetAPINotFound

NewGetAPINotFound creates a GetAPINotFound with default headers values

func (*GetAPINotFound) Code

func (o *GetAPINotFound) Code() int

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

func (*GetAPINotFound) Error

func (o *GetAPINotFound) Error() string

func (*GetAPINotFound) GetPayload

func (o *GetAPINotFound) GetPayload() *models.Error

func (*GetAPINotFound) IsClientError

func (o *GetAPINotFound) IsClientError() bool

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

func (*GetAPINotFound) IsCode

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

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

func (*GetAPINotFound) IsRedirect

func (o *GetAPINotFound) IsRedirect() bool

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

func (*GetAPINotFound) IsServerError

func (o *GetAPINotFound) IsServerError() bool

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

func (*GetAPINotFound) IsSuccess

func (o *GetAPINotFound) IsSuccess() bool

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

func (*GetAPINotFound) String

func (o *GetAPINotFound) String() string

type GetAPIOK

type GetAPIOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.API
}

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

API

func NewGetAPIOK

func NewGetAPIOK() *GetAPIOK

NewGetAPIOK creates a GetAPIOK with default headers values

func (*GetAPIOK) Code

func (o *GetAPIOK) Code() int

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

func (*GetAPIOK) Error

func (o *GetAPIOK) Error() string

func (*GetAPIOK) GetPayload

func (o *GetAPIOK) GetPayload() *models.API

func (*GetAPIOK) IsClientError

func (o *GetAPIOK) IsClientError() bool

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

func (*GetAPIOK) IsCode

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

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

func (*GetAPIOK) IsRedirect

func (o *GetAPIOK) IsRedirect() bool

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

func (*GetAPIOK) IsServerError

func (o *GetAPIOK) IsServerError() bool

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

func (*GetAPIOK) IsSuccess

func (o *GetAPIOK) IsSuccess() bool

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

func (*GetAPIOK) String

func (o *GetAPIOK) String() string

type GetAPIParams

type GetAPIParams struct {

	// API.
	API string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

GetAPIParams contains all the parameters to send to the API endpoint

for the get API operation.

Typically these are written to a http.Request.

func NewGetAPIParams

func NewGetAPIParams() *GetAPIParams

NewGetAPIParams creates a new GetAPIParams 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 NewGetAPIParamsWithContext

func NewGetAPIParamsWithContext(ctx context.Context) *GetAPIParams

NewGetAPIParamsWithContext creates a new GetAPIParams object with the ability to set a context for a request.

func NewGetAPIParamsWithHTTPClient

func NewGetAPIParamsWithHTTPClient(client *http.Client) *GetAPIParams

NewGetAPIParamsWithHTTPClient creates a new GetAPIParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIParamsWithTimeout

func NewGetAPIParamsWithTimeout(timeout time.Duration) *GetAPIParams

NewGetAPIParamsWithTimeout creates a new GetAPIParams object with the ability to set a timeout on a request.

func (*GetAPIParams) SetAPI

func (o *GetAPIParams) SetAPI(api string)

SetAPI adds the api to the get API params

func (*GetAPIParams) SetContext

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

SetContext adds the context to the get API params

func (*GetAPIParams) SetDefaults

func (o *GetAPIParams) SetDefaults()

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

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

func (*GetAPIParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API params

func (*GetAPIParams) SetIfMatch

func (o *GetAPIParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the get API params

func (*GetAPIParams) SetTimeout

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

SetTimeout adds the timeout to the get API params

func (*GetAPIParams) WithAPI

func (o *GetAPIParams) WithAPI(api string) *GetAPIParams

WithAPI adds the api to the get API params

func (*GetAPIParams) WithContext

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

WithContext adds the context to the get API params

func (*GetAPIParams) WithDefaults

func (o *GetAPIParams) WithDefaults() *GetAPIParams

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

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

func (*GetAPIParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API params

func (*GetAPIParams) WithIfMatch

func (o *GetAPIParams) WithIfMatch(ifMatch *string) *GetAPIParams

WithIfMatch adds the ifMatch to the get API params

func (*GetAPIParams) WithTimeout

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

WithTimeout adds the timeout to the get API params

func (*GetAPIParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAPIReader

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

GetAPIReader is a Reader for the GetAPI structure.

func (*GetAPIReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPITooManyRequests

type GetAPITooManyRequests struct {
	Payload *models.Error
}

GetAPITooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewGetAPITooManyRequests

func NewGetAPITooManyRequests() *GetAPITooManyRequests

NewGetAPITooManyRequests creates a GetAPITooManyRequests with default headers values

func (*GetAPITooManyRequests) Code

func (o *GetAPITooManyRequests) Code() int

Code gets the status code for the get Api too many requests response

func (*GetAPITooManyRequests) Error

func (o *GetAPITooManyRequests) Error() string

func (*GetAPITooManyRequests) GetPayload

func (o *GetAPITooManyRequests) GetPayload() *models.Error

func (*GetAPITooManyRequests) IsClientError

func (o *GetAPITooManyRequests) IsClientError() bool

IsClientError returns true when this get Api too many requests response has a 4xx status code

func (*GetAPITooManyRequests) IsCode

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

IsCode returns true when this get Api too many requests response a status code equal to that given

func (*GetAPITooManyRequests) IsRedirect

func (o *GetAPITooManyRequests) IsRedirect() bool

IsRedirect returns true when this get Api too many requests response has a 3xx status code

func (*GetAPITooManyRequests) IsServerError

func (o *GetAPITooManyRequests) IsServerError() bool

IsServerError returns true when this get Api too many requests response has a 5xx status code

func (*GetAPITooManyRequests) IsSuccess

func (o *GetAPITooManyRequests) IsSuccess() bool

IsSuccess returns true when this get Api too many requests response has a 2xx status code

func (*GetAPITooManyRequests) String

func (o *GetAPITooManyRequests) String() string

type GetAPIUnauthorized

type GetAPIUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetAPIUnauthorized

func NewGetAPIUnauthorized() *GetAPIUnauthorized

NewGetAPIUnauthorized creates a GetAPIUnauthorized with default headers values

func (*GetAPIUnauthorized) Code

func (o *GetAPIUnauthorized) Code() int

Code gets the status code for the get Api unauthorized response

func (*GetAPIUnauthorized) Error

func (o *GetAPIUnauthorized) Error() string

func (*GetAPIUnauthorized) GetPayload

func (o *GetAPIUnauthorized) GetPayload() *models.Error

func (*GetAPIUnauthorized) IsClientError

func (o *GetAPIUnauthorized) IsClientError() bool

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

func (*GetAPIUnauthorized) IsCode

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

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

func (*GetAPIUnauthorized) IsRedirect

func (o *GetAPIUnauthorized) IsRedirect() bool

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

func (*GetAPIUnauthorized) IsServerError

func (o *GetAPIUnauthorized) IsServerError() bool

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

func (*GetAPIUnauthorized) IsSuccess

func (o *GetAPIUnauthorized) IsSuccess() bool

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

func (*GetAPIUnauthorized) String

func (o *GetAPIUnauthorized) String() string

type ListAPIsByServerForbidden

type ListAPIsByServerForbidden struct {
	Payload *models.Error
}

ListAPIsByServerForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListAPIsByServerForbidden

func NewListAPIsByServerForbidden() *ListAPIsByServerForbidden

NewListAPIsByServerForbidden creates a ListAPIsByServerForbidden with default headers values

func (*ListAPIsByServerForbidden) Code

func (o *ListAPIsByServerForbidden) Code() int

Code gets the status code for the list a p is by server forbidden response

func (*ListAPIsByServerForbidden) Error

func (o *ListAPIsByServerForbidden) Error() string

func (*ListAPIsByServerForbidden) GetPayload

func (o *ListAPIsByServerForbidden) GetPayload() *models.Error

func (*ListAPIsByServerForbidden) IsClientError

func (o *ListAPIsByServerForbidden) IsClientError() bool

IsClientError returns true when this list a p is by server forbidden response has a 4xx status code

func (*ListAPIsByServerForbidden) IsCode

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

IsCode returns true when this list a p is by server forbidden response a status code equal to that given

func (*ListAPIsByServerForbidden) IsRedirect

func (o *ListAPIsByServerForbidden) IsRedirect() bool

IsRedirect returns true when this list a p is by server forbidden response has a 3xx status code

func (*ListAPIsByServerForbidden) IsServerError

func (o *ListAPIsByServerForbidden) IsServerError() bool

IsServerError returns true when this list a p is by server forbidden response has a 5xx status code

func (*ListAPIsByServerForbidden) IsSuccess

func (o *ListAPIsByServerForbidden) IsSuccess() bool

IsSuccess returns true when this list a p is by server forbidden response has a 2xx status code

func (*ListAPIsByServerForbidden) String

func (o *ListAPIsByServerForbidden) String() string

type ListAPIsByServerOK

type ListAPIsByServerOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.ServerAPIs
}

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

APIs grouped by service ids

func NewListAPIsByServerOK

func NewListAPIsByServerOK() *ListAPIsByServerOK

NewListAPIsByServerOK creates a ListAPIsByServerOK with default headers values

func (*ListAPIsByServerOK) Code

func (o *ListAPIsByServerOK) Code() int

Code gets the status code for the list a p is by server o k response

func (*ListAPIsByServerOK) Error

func (o *ListAPIsByServerOK) Error() string

func (*ListAPIsByServerOK) GetPayload

func (o *ListAPIsByServerOK) GetPayload() *models.ServerAPIs

func (*ListAPIsByServerOK) IsClientError

func (o *ListAPIsByServerOK) IsClientError() bool

IsClientError returns true when this list a p is by server o k response has a 4xx status code

func (*ListAPIsByServerOK) IsCode

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

IsCode returns true when this list a p is by server o k response a status code equal to that given

func (*ListAPIsByServerOK) IsRedirect

func (o *ListAPIsByServerOK) IsRedirect() bool

IsRedirect returns true when this list a p is by server o k response has a 3xx status code

func (*ListAPIsByServerOK) IsServerError

func (o *ListAPIsByServerOK) IsServerError() bool

IsServerError returns true when this list a p is by server o k response has a 5xx status code

func (*ListAPIsByServerOK) IsSuccess

func (o *ListAPIsByServerOK) IsSuccess() bool

IsSuccess returns true when this list a p is by server o k response has a 2xx status code

func (*ListAPIsByServerOK) String

func (o *ListAPIsByServerOK) String() string

type ListAPIsByServerParams

type ListAPIsByServerParams struct {

	/* DataClassification.

	   List apis that have given data classifications
	*/
	DataClassification []string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Wid.

	   Server id

	   Default: "default"
	*/
	Wid string

	/* WithoutDataClassifications.

	   List apis that have no data classifications
	*/
	WithoutDataClassifications *bool

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

ListAPIsByServerParams contains all the parameters to send to the API endpoint

for the list a p is by server operation.

Typically these are written to a http.Request.

func NewListAPIsByServerParams

func NewListAPIsByServerParams() *ListAPIsByServerParams

NewListAPIsByServerParams creates a new ListAPIsByServerParams 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 NewListAPIsByServerParamsWithContext

func NewListAPIsByServerParamsWithContext(ctx context.Context) *ListAPIsByServerParams

NewListAPIsByServerParamsWithContext creates a new ListAPIsByServerParams object with the ability to set a context for a request.

func NewListAPIsByServerParamsWithHTTPClient

func NewListAPIsByServerParamsWithHTTPClient(client *http.Client) *ListAPIsByServerParams

NewListAPIsByServerParamsWithHTTPClient creates a new ListAPIsByServerParams object with the ability to set a custom HTTPClient for a request.

func NewListAPIsByServerParamsWithTimeout

func NewListAPIsByServerParamsWithTimeout(timeout time.Duration) *ListAPIsByServerParams

NewListAPIsByServerParamsWithTimeout creates a new ListAPIsByServerParams object with the ability to set a timeout on a request.

func (*ListAPIsByServerParams) SetContext

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

SetContext adds the context to the list a p is by server params

func (*ListAPIsByServerParams) SetDataClassification

func (o *ListAPIsByServerParams) SetDataClassification(dataClassification []string)

SetDataClassification adds the dataClassification to the list a p is by server params

func (*ListAPIsByServerParams) SetDefaults

func (o *ListAPIsByServerParams) SetDefaults()

SetDefaults hydrates default values in the list a p is by server params (not the query body).

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

func (*ListAPIsByServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list a p is by server params

func (*ListAPIsByServerParams) SetIfMatch

func (o *ListAPIsByServerParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the list a p is by server params

func (*ListAPIsByServerParams) SetTimeout

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

SetTimeout adds the timeout to the list a p is by server params

func (*ListAPIsByServerParams) SetWid

func (o *ListAPIsByServerParams) SetWid(wid string)

SetWid adds the wid to the list a p is by server params

func (*ListAPIsByServerParams) SetWithoutDataClassifications

func (o *ListAPIsByServerParams) SetWithoutDataClassifications(withoutDataClassifications *bool)

SetWithoutDataClassifications adds the withoutDataClassifications to the list a p is by server params

func (*ListAPIsByServerParams) WithContext

WithContext adds the context to the list a p is by server params

func (*ListAPIsByServerParams) WithDataClassification

func (o *ListAPIsByServerParams) WithDataClassification(dataClassification []string) *ListAPIsByServerParams

WithDataClassification adds the dataClassification to the list a p is by server params

func (*ListAPIsByServerParams) WithDefaults

WithDefaults hydrates default values in the list a p is by server params (not the query body).

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

func (*ListAPIsByServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list a p is by server params

func (*ListAPIsByServerParams) WithIfMatch

func (o *ListAPIsByServerParams) WithIfMatch(ifMatch *string) *ListAPIsByServerParams

WithIfMatch adds the ifMatch to the list a p is by server params

func (*ListAPIsByServerParams) WithTimeout

WithTimeout adds the timeout to the list a p is by server params

func (*ListAPIsByServerParams) WithWid

WithWid adds the wid to the list a p is by server params

func (*ListAPIsByServerParams) WithWithoutDataClassifications

func (o *ListAPIsByServerParams) WithWithoutDataClassifications(withoutDataClassifications *bool) *ListAPIsByServerParams

WithWithoutDataClassifications adds the withoutDataClassifications to the list a p is by server params

func (*ListAPIsByServerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAPIsByServerReader

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

ListAPIsByServerReader is a Reader for the ListAPIsByServer structure.

func (*ListAPIsByServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAPIsByServerTooManyRequests

type ListAPIsByServerTooManyRequests struct {
	Payload *models.Error
}

ListAPIsByServerTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewListAPIsByServerTooManyRequests

func NewListAPIsByServerTooManyRequests() *ListAPIsByServerTooManyRequests

NewListAPIsByServerTooManyRequests creates a ListAPIsByServerTooManyRequests with default headers values

func (*ListAPIsByServerTooManyRequests) Code

Code gets the status code for the list a p is by server too many requests response

func (*ListAPIsByServerTooManyRequests) Error

func (*ListAPIsByServerTooManyRequests) GetPayload

func (o *ListAPIsByServerTooManyRequests) GetPayload() *models.Error

func (*ListAPIsByServerTooManyRequests) IsClientError

func (o *ListAPIsByServerTooManyRequests) IsClientError() bool

IsClientError returns true when this list a p is by server too many requests response has a 4xx status code

func (*ListAPIsByServerTooManyRequests) IsCode

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

IsCode returns true when this list a p is by server too many requests response a status code equal to that given

func (*ListAPIsByServerTooManyRequests) IsRedirect

func (o *ListAPIsByServerTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list a p is by server too many requests response has a 3xx status code

func (*ListAPIsByServerTooManyRequests) IsServerError

func (o *ListAPIsByServerTooManyRequests) IsServerError() bool

IsServerError returns true when this list a p is by server too many requests response has a 5xx status code

func (*ListAPIsByServerTooManyRequests) IsSuccess

func (o *ListAPIsByServerTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list a p is by server too many requests response has a 2xx status code

func (*ListAPIsByServerTooManyRequests) String

type ListAPIsByServerUnauthorized

type ListAPIsByServerUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListAPIsByServerUnauthorized

func NewListAPIsByServerUnauthorized() *ListAPIsByServerUnauthorized

NewListAPIsByServerUnauthorized creates a ListAPIsByServerUnauthorized with default headers values

func (*ListAPIsByServerUnauthorized) Code

Code gets the status code for the list a p is by server unauthorized response

func (*ListAPIsByServerUnauthorized) Error

func (*ListAPIsByServerUnauthorized) GetPayload

func (o *ListAPIsByServerUnauthorized) GetPayload() *models.Error

func (*ListAPIsByServerUnauthorized) IsClientError

func (o *ListAPIsByServerUnauthorized) IsClientError() bool

IsClientError returns true when this list a p is by server unauthorized response has a 4xx status code

func (*ListAPIsByServerUnauthorized) IsCode

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

IsCode returns true when this list a p is by server unauthorized response a status code equal to that given

func (*ListAPIsByServerUnauthorized) IsRedirect

func (o *ListAPIsByServerUnauthorized) IsRedirect() bool

IsRedirect returns true when this list a p is by server unauthorized response has a 3xx status code

func (*ListAPIsByServerUnauthorized) IsServerError

func (o *ListAPIsByServerUnauthorized) IsServerError() bool

IsServerError returns true when this list a p is by server unauthorized response has a 5xx status code

func (*ListAPIsByServerUnauthorized) IsSuccess

func (o *ListAPIsByServerUnauthorized) IsSuccess() bool

IsSuccess returns true when this list a p is by server unauthorized response has a 2xx status code

func (*ListAPIsByServerUnauthorized) String

type ListAPIsByServiceForbidden

type ListAPIsByServiceForbidden struct {
	Payload *models.Error
}

ListAPIsByServiceForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListAPIsByServiceForbidden

func NewListAPIsByServiceForbidden() *ListAPIsByServiceForbidden

NewListAPIsByServiceForbidden creates a ListAPIsByServiceForbidden with default headers values

func (*ListAPIsByServiceForbidden) Code

func (o *ListAPIsByServiceForbidden) Code() int

Code gets the status code for the list a p is by service forbidden response

func (*ListAPIsByServiceForbidden) Error

func (*ListAPIsByServiceForbidden) GetPayload

func (o *ListAPIsByServiceForbidden) GetPayload() *models.Error

func (*ListAPIsByServiceForbidden) IsClientError

func (o *ListAPIsByServiceForbidden) IsClientError() bool

IsClientError returns true when this list a p is by service forbidden response has a 4xx status code

func (*ListAPIsByServiceForbidden) IsCode

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

IsCode returns true when this list a p is by service forbidden response a status code equal to that given

func (*ListAPIsByServiceForbidden) IsRedirect

func (o *ListAPIsByServiceForbidden) IsRedirect() bool

IsRedirect returns true when this list a p is by service forbidden response has a 3xx status code

func (*ListAPIsByServiceForbidden) IsServerError

func (o *ListAPIsByServiceForbidden) IsServerError() bool

IsServerError returns true when this list a p is by service forbidden response has a 5xx status code

func (*ListAPIsByServiceForbidden) IsSuccess

func (o *ListAPIsByServiceForbidden) IsSuccess() bool

IsSuccess returns true when this list a p is by service forbidden response has a 2xx status code

func (*ListAPIsByServiceForbidden) String

func (o *ListAPIsByServiceForbidden) String() string

type ListAPIsByServiceOK

type ListAPIsByServiceOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.APIs
}

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

APIs

func NewListAPIsByServiceOK

func NewListAPIsByServiceOK() *ListAPIsByServiceOK

NewListAPIsByServiceOK creates a ListAPIsByServiceOK with default headers values

func (*ListAPIsByServiceOK) Code

func (o *ListAPIsByServiceOK) Code() int

Code gets the status code for the list a p is by service o k response

func (*ListAPIsByServiceOK) Error

func (o *ListAPIsByServiceOK) Error() string

func (*ListAPIsByServiceOK) GetPayload

func (o *ListAPIsByServiceOK) GetPayload() *models.APIs

func (*ListAPIsByServiceOK) IsClientError

func (o *ListAPIsByServiceOK) IsClientError() bool

IsClientError returns true when this list a p is by service o k response has a 4xx status code

func (*ListAPIsByServiceOK) IsCode

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

IsCode returns true when this list a p is by service o k response a status code equal to that given

func (*ListAPIsByServiceOK) IsRedirect

func (o *ListAPIsByServiceOK) IsRedirect() bool

IsRedirect returns true when this list a p is by service o k response has a 3xx status code

func (*ListAPIsByServiceOK) IsServerError

func (o *ListAPIsByServiceOK) IsServerError() bool

IsServerError returns true when this list a p is by service o k response has a 5xx status code

func (*ListAPIsByServiceOK) IsSuccess

func (o *ListAPIsByServiceOK) IsSuccess() bool

IsSuccess returns true when this list a p is by service o k response has a 2xx status code

func (*ListAPIsByServiceOK) String

func (o *ListAPIsByServiceOK) String() string

type ListAPIsByServiceParams

type ListAPIsByServiceParams struct {

	/* DataClassification.

	   List apis that have given data classifications
	*/
	DataClassification []string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Sid.

	   Service id

	   Default: "default"
	*/
	Sid string

	/* WithoutDataClassifications.

	   List apis that have no data classifications
	*/
	WithoutDataClassifications *bool

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

ListAPIsByServiceParams contains all the parameters to send to the API endpoint

for the list a p is by service operation.

Typically these are written to a http.Request.

func NewListAPIsByServiceParams

func NewListAPIsByServiceParams() *ListAPIsByServiceParams

NewListAPIsByServiceParams creates a new ListAPIsByServiceParams 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 NewListAPIsByServiceParamsWithContext

func NewListAPIsByServiceParamsWithContext(ctx context.Context) *ListAPIsByServiceParams

NewListAPIsByServiceParamsWithContext creates a new ListAPIsByServiceParams object with the ability to set a context for a request.

func NewListAPIsByServiceParamsWithHTTPClient

func NewListAPIsByServiceParamsWithHTTPClient(client *http.Client) *ListAPIsByServiceParams

NewListAPIsByServiceParamsWithHTTPClient creates a new ListAPIsByServiceParams object with the ability to set a custom HTTPClient for a request.

func NewListAPIsByServiceParamsWithTimeout

func NewListAPIsByServiceParamsWithTimeout(timeout time.Duration) *ListAPIsByServiceParams

NewListAPIsByServiceParamsWithTimeout creates a new ListAPIsByServiceParams object with the ability to set a timeout on a request.

func (*ListAPIsByServiceParams) SetContext

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

SetContext adds the context to the list a p is by service params

func (*ListAPIsByServiceParams) SetDataClassification

func (o *ListAPIsByServiceParams) SetDataClassification(dataClassification []string)

SetDataClassification adds the dataClassification to the list a p is by service params

func (*ListAPIsByServiceParams) SetDefaults

func (o *ListAPIsByServiceParams) SetDefaults()

SetDefaults hydrates default values in the list a p is by service params (not the query body).

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

func (*ListAPIsByServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list a p is by service params

func (*ListAPIsByServiceParams) SetIfMatch

func (o *ListAPIsByServiceParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the list a p is by service params

func (*ListAPIsByServiceParams) SetSid

func (o *ListAPIsByServiceParams) SetSid(sid string)

SetSid adds the sid to the list a p is by service params

func (*ListAPIsByServiceParams) SetTimeout

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

SetTimeout adds the timeout to the list a p is by service params

func (*ListAPIsByServiceParams) SetWithoutDataClassifications

func (o *ListAPIsByServiceParams) SetWithoutDataClassifications(withoutDataClassifications *bool)

SetWithoutDataClassifications adds the withoutDataClassifications to the list a p is by service params

func (*ListAPIsByServiceParams) WithContext

WithContext adds the context to the list a p is by service params

func (*ListAPIsByServiceParams) WithDataClassification

func (o *ListAPIsByServiceParams) WithDataClassification(dataClassification []string) *ListAPIsByServiceParams

WithDataClassification adds the dataClassification to the list a p is by service params

func (*ListAPIsByServiceParams) WithDefaults

WithDefaults hydrates default values in the list a p is by service params (not the query body).

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

func (*ListAPIsByServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list a p is by service params

func (*ListAPIsByServiceParams) WithIfMatch

func (o *ListAPIsByServiceParams) WithIfMatch(ifMatch *string) *ListAPIsByServiceParams

WithIfMatch adds the ifMatch to the list a p is by service params

func (*ListAPIsByServiceParams) WithSid

WithSid adds the sid to the list a p is by service params

func (*ListAPIsByServiceParams) WithTimeout

WithTimeout adds the timeout to the list a p is by service params

func (*ListAPIsByServiceParams) WithWithoutDataClassifications

func (o *ListAPIsByServiceParams) WithWithoutDataClassifications(withoutDataClassifications *bool) *ListAPIsByServiceParams

WithWithoutDataClassifications adds the withoutDataClassifications to the list a p is by service params

func (*ListAPIsByServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAPIsByServiceReader

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

ListAPIsByServiceReader is a Reader for the ListAPIsByService structure.

func (*ListAPIsByServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAPIsByServiceTooManyRequests

type ListAPIsByServiceTooManyRequests struct {
	Payload *models.Error
}

ListAPIsByServiceTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewListAPIsByServiceTooManyRequests

func NewListAPIsByServiceTooManyRequests() *ListAPIsByServiceTooManyRequests

NewListAPIsByServiceTooManyRequests creates a ListAPIsByServiceTooManyRequests with default headers values

func (*ListAPIsByServiceTooManyRequests) Code

Code gets the status code for the list a p is by service too many requests response

func (*ListAPIsByServiceTooManyRequests) Error

func (*ListAPIsByServiceTooManyRequests) GetPayload

func (*ListAPIsByServiceTooManyRequests) IsClientError

func (o *ListAPIsByServiceTooManyRequests) IsClientError() bool

IsClientError returns true when this list a p is by service too many requests response has a 4xx status code

func (*ListAPIsByServiceTooManyRequests) IsCode

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

IsCode returns true when this list a p is by service too many requests response a status code equal to that given

func (*ListAPIsByServiceTooManyRequests) IsRedirect

func (o *ListAPIsByServiceTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list a p is by service too many requests response has a 3xx status code

func (*ListAPIsByServiceTooManyRequests) IsServerError

func (o *ListAPIsByServiceTooManyRequests) IsServerError() bool

IsServerError returns true when this list a p is by service too many requests response has a 5xx status code

func (*ListAPIsByServiceTooManyRequests) IsSuccess

func (o *ListAPIsByServiceTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list a p is by service too many requests response has a 2xx status code

func (*ListAPIsByServiceTooManyRequests) String

type ListAPIsByServiceUnauthorized

type ListAPIsByServiceUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListAPIsByServiceUnauthorized

func NewListAPIsByServiceUnauthorized() *ListAPIsByServiceUnauthorized

NewListAPIsByServiceUnauthorized creates a ListAPIsByServiceUnauthorized with default headers values

func (*ListAPIsByServiceUnauthorized) Code

Code gets the status code for the list a p is by service unauthorized response

func (*ListAPIsByServiceUnauthorized) Error

func (*ListAPIsByServiceUnauthorized) GetPayload

func (o *ListAPIsByServiceUnauthorized) GetPayload() *models.Error

func (*ListAPIsByServiceUnauthorized) IsClientError

func (o *ListAPIsByServiceUnauthorized) IsClientError() bool

IsClientError returns true when this list a p is by service unauthorized response has a 4xx status code

func (*ListAPIsByServiceUnauthorized) IsCode

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

IsCode returns true when this list a p is by service unauthorized response a status code equal to that given

func (*ListAPIsByServiceUnauthorized) IsRedirect

func (o *ListAPIsByServiceUnauthorized) IsRedirect() bool

IsRedirect returns true when this list a p is by service unauthorized response has a 3xx status code

func (*ListAPIsByServiceUnauthorized) IsServerError

func (o *ListAPIsByServiceUnauthorized) IsServerError() bool

IsServerError returns true when this list a p is by service unauthorized response has a 5xx status code

func (*ListAPIsByServiceUnauthorized) IsSuccess

func (o *ListAPIsByServiceUnauthorized) IsSuccess() bool

IsSuccess returns true when this list a p is by service unauthorized response has a 2xx status code

func (*ListAPIsByServiceUnauthorized) String

type TestAPIForbidden

type TestAPIForbidden struct {
	Payload *models.Error
}

TestAPIForbidden describes a response with status code 403, with default header values.

Forbidden

func NewTestAPIForbidden

func NewTestAPIForbidden() *TestAPIForbidden

NewTestAPIForbidden creates a TestAPIForbidden with default headers values

func (*TestAPIForbidden) Code

func (o *TestAPIForbidden) Code() int

Code gets the status code for the test Api forbidden response

func (*TestAPIForbidden) Error

func (o *TestAPIForbidden) Error() string

func (*TestAPIForbidden) GetPayload

func (o *TestAPIForbidden) GetPayload() *models.Error

func (*TestAPIForbidden) IsClientError

func (o *TestAPIForbidden) IsClientError() bool

IsClientError returns true when this test Api forbidden response has a 4xx status code

func (*TestAPIForbidden) IsCode

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

IsCode returns true when this test Api forbidden response a status code equal to that given

func (*TestAPIForbidden) IsRedirect

func (o *TestAPIForbidden) IsRedirect() bool

IsRedirect returns true when this test Api forbidden response has a 3xx status code

func (*TestAPIForbidden) IsServerError

func (o *TestAPIForbidden) IsServerError() bool

IsServerError returns true when this test Api forbidden response has a 5xx status code

func (*TestAPIForbidden) IsSuccess

func (o *TestAPIForbidden) IsSuccess() bool

IsSuccess returns true when this test Api forbidden response has a 2xx status code

func (*TestAPIForbidden) String

func (o *TestAPIForbidden) String() string

type TestAPINotFound

type TestAPINotFound struct {
	Payload *models.Error
}

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

Not found

func NewTestAPINotFound

func NewTestAPINotFound() *TestAPINotFound

NewTestAPINotFound creates a TestAPINotFound with default headers values

func (*TestAPINotFound) Code

func (o *TestAPINotFound) Code() int

Code gets the status code for the test Api not found response

func (*TestAPINotFound) Error

func (o *TestAPINotFound) Error() string

func (*TestAPINotFound) GetPayload

func (o *TestAPINotFound) GetPayload() *models.Error

func (*TestAPINotFound) IsClientError

func (o *TestAPINotFound) IsClientError() bool

IsClientError returns true when this test Api not found response has a 4xx status code

func (*TestAPINotFound) IsCode

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

IsCode returns true when this test Api not found response a status code equal to that given

func (*TestAPINotFound) IsRedirect

func (o *TestAPINotFound) IsRedirect() bool

IsRedirect returns true when this test Api not found response has a 3xx status code

func (*TestAPINotFound) IsServerError

func (o *TestAPINotFound) IsServerError() bool

IsServerError returns true when this test Api not found response has a 5xx status code

func (*TestAPINotFound) IsSuccess

func (o *TestAPINotFound) IsSuccess() bool

IsSuccess returns true when this test Api not found response has a 2xx status code

func (*TestAPINotFound) String

func (o *TestAPINotFound) String() string

type TestAPIOK

type TestAPIOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.TestAPIResult
}

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

API test result

func NewTestAPIOK

func NewTestAPIOK() *TestAPIOK

NewTestAPIOK creates a TestAPIOK with default headers values

func (*TestAPIOK) Code

func (o *TestAPIOK) Code() int

Code gets the status code for the test Api o k response

func (*TestAPIOK) Error

func (o *TestAPIOK) Error() string

func (*TestAPIOK) GetPayload

func (o *TestAPIOK) GetPayload() *models.TestAPIResult

func (*TestAPIOK) IsClientError

func (o *TestAPIOK) IsClientError() bool

IsClientError returns true when this test Api o k response has a 4xx status code

func (*TestAPIOK) IsCode

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

IsCode returns true when this test Api o k response a status code equal to that given

func (*TestAPIOK) IsRedirect

func (o *TestAPIOK) IsRedirect() bool

IsRedirect returns true when this test Api o k response has a 3xx status code

func (*TestAPIOK) IsServerError

func (o *TestAPIOK) IsServerError() bool

IsServerError returns true when this test Api o k response has a 5xx status code

func (*TestAPIOK) IsSuccess

func (o *TestAPIOK) IsSuccess() bool

IsSuccess returns true when this test Api o k response has a 2xx status code

func (*TestAPIOK) String

func (o *TestAPIOK) String() string

type TestAPIParams

type TestAPIParams struct {

	/* APIBody.

	   APIBody
	*/
	APIBody *models.TestRequest

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

TestAPIParams contains all the parameters to send to the API endpoint

for the test API operation.

Typically these are written to a http.Request.

func NewTestAPIParams

func NewTestAPIParams() *TestAPIParams

NewTestAPIParams creates a new TestAPIParams 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 NewTestAPIParamsWithContext

func NewTestAPIParamsWithContext(ctx context.Context) *TestAPIParams

NewTestAPIParamsWithContext creates a new TestAPIParams object with the ability to set a context for a request.

func NewTestAPIParamsWithHTTPClient

func NewTestAPIParamsWithHTTPClient(client *http.Client) *TestAPIParams

NewTestAPIParamsWithHTTPClient creates a new TestAPIParams object with the ability to set a custom HTTPClient for a request.

func NewTestAPIParamsWithTimeout

func NewTestAPIParamsWithTimeout(timeout time.Duration) *TestAPIParams

NewTestAPIParamsWithTimeout creates a new TestAPIParams object with the ability to set a timeout on a request.

func (*TestAPIParams) SetAPIBody

func (o *TestAPIParams) SetAPIBody(aPIBody *models.TestRequest)

SetAPIBody adds the apiBody to the test API params

func (*TestAPIParams) SetContext

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

SetContext adds the context to the test API params

func (*TestAPIParams) SetDefaults

func (o *TestAPIParams) SetDefaults()

SetDefaults hydrates default values in the test API params (not the query body).

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

func (*TestAPIParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the test API params

func (*TestAPIParams) SetIfMatch

func (o *TestAPIParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the test API params

func (*TestAPIParams) SetTimeout

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

SetTimeout adds the timeout to the test API params

func (*TestAPIParams) WithAPIBody

func (o *TestAPIParams) WithAPIBody(aPIBody *models.TestRequest) *TestAPIParams

WithAPIBody adds the aPIBody to the test API params

func (*TestAPIParams) WithContext

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

WithContext adds the context to the test API params

func (*TestAPIParams) WithDefaults

func (o *TestAPIParams) WithDefaults() *TestAPIParams

WithDefaults hydrates default values in the test API params (not the query body).

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

func (*TestAPIParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the test API params

func (*TestAPIParams) WithIfMatch

func (o *TestAPIParams) WithIfMatch(ifMatch *string) *TestAPIParams

WithIfMatch adds the ifMatch to the test API params

func (*TestAPIParams) WithTimeout

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

WithTimeout adds the timeout to the test API params

func (*TestAPIParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type TestAPIReader

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

TestAPIReader is a Reader for the TestAPI structure.

func (*TestAPIReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TestAPITooManyRequests

type TestAPITooManyRequests struct {
	Payload *models.Error
}

TestAPITooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewTestAPITooManyRequests

func NewTestAPITooManyRequests() *TestAPITooManyRequests

NewTestAPITooManyRequests creates a TestAPITooManyRequests with default headers values

func (*TestAPITooManyRequests) Code

func (o *TestAPITooManyRequests) Code() int

Code gets the status code for the test Api too many requests response

func (*TestAPITooManyRequests) Error

func (o *TestAPITooManyRequests) Error() string

func (*TestAPITooManyRequests) GetPayload

func (o *TestAPITooManyRequests) GetPayload() *models.Error

func (*TestAPITooManyRequests) IsClientError

func (o *TestAPITooManyRequests) IsClientError() bool

IsClientError returns true when this test Api too many requests response has a 4xx status code

func (*TestAPITooManyRequests) IsCode

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

IsCode returns true when this test Api too many requests response a status code equal to that given

func (*TestAPITooManyRequests) IsRedirect

func (o *TestAPITooManyRequests) IsRedirect() bool

IsRedirect returns true when this test Api too many requests response has a 3xx status code

func (*TestAPITooManyRequests) IsServerError

func (o *TestAPITooManyRequests) IsServerError() bool

IsServerError returns true when this test Api too many requests response has a 5xx status code

func (*TestAPITooManyRequests) IsSuccess

func (o *TestAPITooManyRequests) IsSuccess() bool

IsSuccess returns true when this test Api too many requests response has a 2xx status code

func (*TestAPITooManyRequests) String

func (o *TestAPITooManyRequests) String() string

type TestAPIUnauthorized

type TestAPIUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewTestAPIUnauthorized

func NewTestAPIUnauthorized() *TestAPIUnauthorized

NewTestAPIUnauthorized creates a TestAPIUnauthorized with default headers values

func (*TestAPIUnauthorized) Code

func (o *TestAPIUnauthorized) Code() int

Code gets the status code for the test Api unauthorized response

func (*TestAPIUnauthorized) Error

func (o *TestAPIUnauthorized) Error() string

func (*TestAPIUnauthorized) GetPayload

func (o *TestAPIUnauthorized) GetPayload() *models.Error

func (*TestAPIUnauthorized) IsClientError

func (o *TestAPIUnauthorized) IsClientError() bool

IsClientError returns true when this test Api unauthorized response has a 4xx status code

func (*TestAPIUnauthorized) IsCode

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

IsCode returns true when this test Api unauthorized response a status code equal to that given

func (*TestAPIUnauthorized) IsRedirect

func (o *TestAPIUnauthorized) IsRedirect() bool

IsRedirect returns true when this test Api unauthorized response has a 3xx status code

func (*TestAPIUnauthorized) IsServerError

func (o *TestAPIUnauthorized) IsServerError() bool

IsServerError returns true when this test Api unauthorized response has a 5xx status code

func (*TestAPIUnauthorized) IsSuccess

func (o *TestAPIUnauthorized) IsSuccess() bool

IsSuccess returns true when this test Api unauthorized response has a 2xx status code

func (*TestAPIUnauthorized) String

func (o *TestAPIUnauthorized) String() string

type TestAPIUnprocessableEntity

type TestAPIUnprocessableEntity struct {
	Payload *models.Error
}

TestAPIUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewTestAPIUnprocessableEntity

func NewTestAPIUnprocessableEntity() *TestAPIUnprocessableEntity

NewTestAPIUnprocessableEntity creates a TestAPIUnprocessableEntity with default headers values

func (*TestAPIUnprocessableEntity) Code

func (o *TestAPIUnprocessableEntity) Code() int

Code gets the status code for the test Api unprocessable entity response

func (*TestAPIUnprocessableEntity) Error

func (*TestAPIUnprocessableEntity) GetPayload

func (o *TestAPIUnprocessableEntity) GetPayload() *models.Error

func (*TestAPIUnprocessableEntity) IsClientError

func (o *TestAPIUnprocessableEntity) IsClientError() bool

IsClientError returns true when this test Api unprocessable entity response has a 4xx status code

func (*TestAPIUnprocessableEntity) IsCode

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

IsCode returns true when this test Api unprocessable entity response a status code equal to that given

func (*TestAPIUnprocessableEntity) IsRedirect

func (o *TestAPIUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this test Api unprocessable entity response has a 3xx status code

func (*TestAPIUnprocessableEntity) IsServerError

func (o *TestAPIUnprocessableEntity) IsServerError() bool

IsServerError returns true when this test Api unprocessable entity response has a 5xx status code

func (*TestAPIUnprocessableEntity) IsSuccess

func (o *TestAPIUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this test Api unprocessable entity response has a 2xx status code

func (*TestAPIUnprocessableEntity) String

func (o *TestAPIUnprocessableEntity) String() string

type UpdateAPIBadRequest

type UpdateAPIBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewUpdateAPIBadRequest

func NewUpdateAPIBadRequest() *UpdateAPIBadRequest

NewUpdateAPIBadRequest creates a UpdateAPIBadRequest with default headers values

func (*UpdateAPIBadRequest) Code

func (o *UpdateAPIBadRequest) Code() int

Code gets the status code for the update Api bad request response

func (*UpdateAPIBadRequest) Error

func (o *UpdateAPIBadRequest) Error() string

func (*UpdateAPIBadRequest) GetPayload

func (o *UpdateAPIBadRequest) GetPayload() *models.Error

func (*UpdateAPIBadRequest) IsClientError

func (o *UpdateAPIBadRequest) IsClientError() bool

IsClientError returns true when this update Api bad request response has a 4xx status code

func (*UpdateAPIBadRequest) IsCode

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

IsCode returns true when this update Api bad request response a status code equal to that given

func (*UpdateAPIBadRequest) IsRedirect

func (o *UpdateAPIBadRequest) IsRedirect() bool

IsRedirect returns true when this update Api bad request response has a 3xx status code

func (*UpdateAPIBadRequest) IsServerError

func (o *UpdateAPIBadRequest) IsServerError() bool

IsServerError returns true when this update Api bad request response has a 5xx status code

func (*UpdateAPIBadRequest) IsSuccess

func (o *UpdateAPIBadRequest) IsSuccess() bool

IsSuccess returns true when this update Api bad request response has a 2xx status code

func (*UpdateAPIBadRequest) String

func (o *UpdateAPIBadRequest) String() string

type UpdateAPIForbidden

type UpdateAPIForbidden struct {
	Payload *models.Error
}

UpdateAPIForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateAPIForbidden

func NewUpdateAPIForbidden() *UpdateAPIForbidden

NewUpdateAPIForbidden creates a UpdateAPIForbidden with default headers values

func (*UpdateAPIForbidden) Code

func (o *UpdateAPIForbidden) Code() int

Code gets the status code for the update Api forbidden response

func (*UpdateAPIForbidden) Error

func (o *UpdateAPIForbidden) Error() string

func (*UpdateAPIForbidden) GetPayload

func (o *UpdateAPIForbidden) GetPayload() *models.Error

func (*UpdateAPIForbidden) IsClientError

func (o *UpdateAPIForbidden) IsClientError() bool

IsClientError returns true when this update Api forbidden response has a 4xx status code

func (*UpdateAPIForbidden) IsCode

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

IsCode returns true when this update Api forbidden response a status code equal to that given

func (*UpdateAPIForbidden) IsRedirect

func (o *UpdateAPIForbidden) IsRedirect() bool

IsRedirect returns true when this update Api forbidden response has a 3xx status code

func (*UpdateAPIForbidden) IsServerError

func (o *UpdateAPIForbidden) IsServerError() bool

IsServerError returns true when this update Api forbidden response has a 5xx status code

func (*UpdateAPIForbidden) IsSuccess

func (o *UpdateAPIForbidden) IsSuccess() bool

IsSuccess returns true when this update Api forbidden response has a 2xx status code

func (*UpdateAPIForbidden) String

func (o *UpdateAPIForbidden) String() string

type UpdateAPINotFound

type UpdateAPINotFound struct {
	Payload *models.Error
}

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

Not found

func NewUpdateAPINotFound

func NewUpdateAPINotFound() *UpdateAPINotFound

NewUpdateAPINotFound creates a UpdateAPINotFound with default headers values

func (*UpdateAPINotFound) Code

func (o *UpdateAPINotFound) Code() int

Code gets the status code for the update Api not found response

func (*UpdateAPINotFound) Error

func (o *UpdateAPINotFound) Error() string

func (*UpdateAPINotFound) GetPayload

func (o *UpdateAPINotFound) GetPayload() *models.Error

func (*UpdateAPINotFound) IsClientError

func (o *UpdateAPINotFound) IsClientError() bool

IsClientError returns true when this update Api not found response has a 4xx status code

func (*UpdateAPINotFound) IsCode

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

IsCode returns true when this update Api not found response a status code equal to that given

func (*UpdateAPINotFound) IsRedirect

func (o *UpdateAPINotFound) IsRedirect() bool

IsRedirect returns true when this update Api not found response has a 3xx status code

func (*UpdateAPINotFound) IsServerError

func (o *UpdateAPINotFound) IsServerError() bool

IsServerError returns true when this update Api not found response has a 5xx status code

func (*UpdateAPINotFound) IsSuccess

func (o *UpdateAPINotFound) IsSuccess() bool

IsSuccess returns true when this update Api not found response has a 2xx status code

func (*UpdateAPINotFound) String

func (o *UpdateAPINotFound) String() string

type UpdateAPIOK

type UpdateAPIOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.API
}

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

API

func NewUpdateAPIOK

func NewUpdateAPIOK() *UpdateAPIOK

NewUpdateAPIOK creates a UpdateAPIOK with default headers values

func (*UpdateAPIOK) Code

func (o *UpdateAPIOK) Code() int

Code gets the status code for the update Api o k response

func (*UpdateAPIOK) Error

func (o *UpdateAPIOK) Error() string

func (*UpdateAPIOK) GetPayload

func (o *UpdateAPIOK) GetPayload() *models.API

func (*UpdateAPIOK) IsClientError

func (o *UpdateAPIOK) IsClientError() bool

IsClientError returns true when this update Api o k response has a 4xx status code

func (*UpdateAPIOK) IsCode

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

IsCode returns true when this update Api o k response a status code equal to that given

func (*UpdateAPIOK) IsRedirect

func (o *UpdateAPIOK) IsRedirect() bool

IsRedirect returns true when this update Api o k response has a 3xx status code

func (*UpdateAPIOK) IsServerError

func (o *UpdateAPIOK) IsServerError() bool

IsServerError returns true when this update Api o k response has a 5xx status code

func (*UpdateAPIOK) IsSuccess

func (o *UpdateAPIOK) IsSuccess() bool

IsSuccess returns true when this update Api o k response has a 2xx status code

func (*UpdateAPIOK) String

func (o *UpdateAPIOK) String() string

type UpdateAPIParams

type UpdateAPIParams struct {

	/* APIBody.

	   APIBody
	*/
	APIBody *models.UpdateAPIRequest

	/* API.

	   API ID
	*/
	API string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

UpdateAPIParams contains all the parameters to send to the API endpoint

for the update API operation.

Typically these are written to a http.Request.

func NewUpdateAPIParams

func NewUpdateAPIParams() *UpdateAPIParams

NewUpdateAPIParams creates a new UpdateAPIParams 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 NewUpdateAPIParamsWithContext

func NewUpdateAPIParamsWithContext(ctx context.Context) *UpdateAPIParams

NewUpdateAPIParamsWithContext creates a new UpdateAPIParams object with the ability to set a context for a request.

func NewUpdateAPIParamsWithHTTPClient

func NewUpdateAPIParamsWithHTTPClient(client *http.Client) *UpdateAPIParams

NewUpdateAPIParamsWithHTTPClient creates a new UpdateAPIParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateAPIParamsWithTimeout

func NewUpdateAPIParamsWithTimeout(timeout time.Duration) *UpdateAPIParams

NewUpdateAPIParamsWithTimeout creates a new UpdateAPIParams object with the ability to set a timeout on a request.

func (*UpdateAPIParams) SetAPI

func (o *UpdateAPIParams) SetAPI(api string)

SetAPI adds the api to the update API params

func (*UpdateAPIParams) SetAPIBody

func (o *UpdateAPIParams) SetAPIBody(aPIBody *models.UpdateAPIRequest)

SetAPIBody adds the apiBody to the update API params

func (*UpdateAPIParams) SetContext

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

SetContext adds the context to the update API params

func (*UpdateAPIParams) SetDefaults

func (o *UpdateAPIParams) SetDefaults()

SetDefaults hydrates default values in the update API params (not the query body).

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

func (*UpdateAPIParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update API params

func (*UpdateAPIParams) SetIfMatch

func (o *UpdateAPIParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the update API params

func (*UpdateAPIParams) SetTimeout

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

SetTimeout adds the timeout to the update API params

func (*UpdateAPIParams) WithAPI

func (o *UpdateAPIParams) WithAPI(api string) *UpdateAPIParams

WithAPI adds the api to the update API params

func (*UpdateAPIParams) WithAPIBody

func (o *UpdateAPIParams) WithAPIBody(aPIBody *models.UpdateAPIRequest) *UpdateAPIParams

WithAPIBody adds the aPIBody to the update API params

func (*UpdateAPIParams) WithContext

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

WithContext adds the context to the update API params

func (*UpdateAPIParams) WithDefaults

func (o *UpdateAPIParams) WithDefaults() *UpdateAPIParams

WithDefaults hydrates default values in the update API params (not the query body).

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

func (*UpdateAPIParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update API params

func (*UpdateAPIParams) WithIfMatch

func (o *UpdateAPIParams) WithIfMatch(ifMatch *string) *UpdateAPIParams

WithIfMatch adds the ifMatch to the update API params

func (*UpdateAPIParams) WithTimeout

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

WithTimeout adds the timeout to the update API params

func (*UpdateAPIParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateAPIReader

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

UpdateAPIReader is a Reader for the UpdateAPI structure.

func (*UpdateAPIReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAPITooManyRequests

type UpdateAPITooManyRequests struct {
	Payload *models.Error
}

UpdateAPITooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewUpdateAPITooManyRequests

func NewUpdateAPITooManyRequests() *UpdateAPITooManyRequests

NewUpdateAPITooManyRequests creates a UpdateAPITooManyRequests with default headers values

func (*UpdateAPITooManyRequests) Code

func (o *UpdateAPITooManyRequests) Code() int

Code gets the status code for the update Api too many requests response

func (*UpdateAPITooManyRequests) Error

func (o *UpdateAPITooManyRequests) Error() string

func (*UpdateAPITooManyRequests) GetPayload

func (o *UpdateAPITooManyRequests) GetPayload() *models.Error

func (*UpdateAPITooManyRequests) IsClientError

func (o *UpdateAPITooManyRequests) IsClientError() bool

IsClientError returns true when this update Api too many requests response has a 4xx status code

func (*UpdateAPITooManyRequests) IsCode

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

IsCode returns true when this update Api too many requests response a status code equal to that given

func (*UpdateAPITooManyRequests) IsRedirect

func (o *UpdateAPITooManyRequests) IsRedirect() bool

IsRedirect returns true when this update Api too many requests response has a 3xx status code

func (*UpdateAPITooManyRequests) IsServerError

func (o *UpdateAPITooManyRequests) IsServerError() bool

IsServerError returns true when this update Api too many requests response has a 5xx status code

func (*UpdateAPITooManyRequests) IsSuccess

func (o *UpdateAPITooManyRequests) IsSuccess() bool

IsSuccess returns true when this update Api too many requests response has a 2xx status code

func (*UpdateAPITooManyRequests) String

func (o *UpdateAPITooManyRequests) String() string

type UpdateAPIUnauthorized

type UpdateAPIUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewUpdateAPIUnauthorized

func NewUpdateAPIUnauthorized() *UpdateAPIUnauthorized

NewUpdateAPIUnauthorized creates a UpdateAPIUnauthorized with default headers values

func (*UpdateAPIUnauthorized) Code

func (o *UpdateAPIUnauthorized) Code() int

Code gets the status code for the update Api unauthorized response

func (*UpdateAPIUnauthorized) Error

func (o *UpdateAPIUnauthorized) Error() string

func (*UpdateAPIUnauthorized) GetPayload

func (o *UpdateAPIUnauthorized) GetPayload() *models.Error

func (*UpdateAPIUnauthorized) IsClientError

func (o *UpdateAPIUnauthorized) IsClientError() bool

IsClientError returns true when this update Api unauthorized response has a 4xx status code

func (*UpdateAPIUnauthorized) IsCode

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

IsCode returns true when this update Api unauthorized response a status code equal to that given

func (*UpdateAPIUnauthorized) IsRedirect

func (o *UpdateAPIUnauthorized) IsRedirect() bool

IsRedirect returns true when this update Api unauthorized response has a 3xx status code

func (*UpdateAPIUnauthorized) IsServerError

func (o *UpdateAPIUnauthorized) IsServerError() bool

IsServerError returns true when this update Api unauthorized response has a 5xx status code

func (*UpdateAPIUnauthorized) IsSuccess

func (o *UpdateAPIUnauthorized) IsSuccess() bool

IsSuccess returns true when this update Api unauthorized response has a 2xx status code

func (*UpdateAPIUnauthorized) String

func (o *UpdateAPIUnauthorized) String() string

type UpdateAPIUnprocessableEntity

type UpdateAPIUnprocessableEntity struct {
	Payload *models.Error
}

UpdateAPIUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewUpdateAPIUnprocessableEntity

func NewUpdateAPIUnprocessableEntity() *UpdateAPIUnprocessableEntity

NewUpdateAPIUnprocessableEntity creates a UpdateAPIUnprocessableEntity with default headers values

func (*UpdateAPIUnprocessableEntity) Code

Code gets the status code for the update Api unprocessable entity response

func (*UpdateAPIUnprocessableEntity) Error

func (*UpdateAPIUnprocessableEntity) GetPayload

func (o *UpdateAPIUnprocessableEntity) GetPayload() *models.Error

func (*UpdateAPIUnprocessableEntity) IsClientError

func (o *UpdateAPIUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update Api unprocessable entity response has a 4xx status code

func (*UpdateAPIUnprocessableEntity) IsCode

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

IsCode returns true when this update Api unprocessable entity response a status code equal to that given

func (*UpdateAPIUnprocessableEntity) IsRedirect

func (o *UpdateAPIUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this update Api unprocessable entity response has a 3xx status code

func (*UpdateAPIUnprocessableEntity) IsServerError

func (o *UpdateAPIUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update Api unprocessable entity response has a 5xx status code

func (*UpdateAPIUnprocessableEntity) IsSuccess

func (o *UpdateAPIUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this update Api unprocessable entity response has a 2xx status code

func (*UpdateAPIUnprocessableEntity) String

Jump to

Keyboard shortcuts

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