services

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 services API

func (*Client) CreateService

func (a *Client) CreateService(params *CreateServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServiceCreated, error)

CreateService creates service

Service name is required. Service id will be generated if not provided.

func (*Client) DeleteService

func (a *Client) DeleteService(params *DeleteServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceNoContent, error)

DeleteService deletes service

Delete service.

func (*Client) GetService

func (a *Client) GetService(params *GetServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceOK, error)

GetService gets service

Get service.

func (*Client) ImportSpecificationFromFile

func (a *Client) ImportSpecificationFromFile(params *ImportSpecificationFromFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSpecificationFromFileOK, error)

ImportSpecificationFromFile imports open API specification from file

It removes all apis before import.

func (*Client) ImportSpecificationFromText

func (a *Client) ImportSpecificationFromText(params *ImportSpecificationFromTextParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSpecificationFromTextOK, error)

ImportSpecificationFromText imports open API specification from text

It removes all apis and policies (created by previous import) before import.

func (*Client) ImportSpecificationFromURL

func (a *Client) ImportSpecificationFromURL(params *ImportSpecificationFromURLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSpecificationFromURLOK, error)

ImportSpecificationFromURL imports open API specification from url

It removes all apis before import.

func (*Client) ListServices

func (a *Client) ListServices(params *ListServicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServicesOK, error)

ListServices lists services

List services.

func (*Client) RemoveSpecification

func (a *Client) RemoveSpecification(params *RemoveSpecificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveSpecificationOK, error)
RemoveSpecification removes imported apis and policies

Remove all apis and policies created during import for a service.

If policy is used by another service it will not be removed.

If service is connected to a gateway, it will be disconnected.

If a gateway api group is connected to this service, it will be disconnected.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateService

func (a *Client) UpdateService(params *UpdateServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceOK, error)

UpdateService updates service

Update service.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateService(params *CreateServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServiceCreated, error)

	DeleteService(params *DeleteServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceNoContent, error)

	GetService(params *GetServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceOK, error)

	ImportSpecificationFromFile(params *ImportSpecificationFromFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSpecificationFromFileOK, error)

	ImportSpecificationFromText(params *ImportSpecificationFromTextParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSpecificationFromTextOK, error)

	ImportSpecificationFromURL(params *ImportSpecificationFromURLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSpecificationFromURLOK, error)

	ListServices(params *ListServicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServicesOK, error)

	RemoveSpecification(params *RemoveSpecificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveSpecificationOK, error)

	UpdateService(params *UpdateServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceOK, 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 services API client.

type CreateServiceBadRequest

type CreateServiceBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewCreateServiceBadRequest

func NewCreateServiceBadRequest() *CreateServiceBadRequest

NewCreateServiceBadRequest creates a CreateServiceBadRequest with default headers values

func (*CreateServiceBadRequest) Code

func (o *CreateServiceBadRequest) Code() int

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

func (*CreateServiceBadRequest) Error

func (o *CreateServiceBadRequest) Error() string

func (*CreateServiceBadRequest) GetPayload

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

func (*CreateServiceBadRequest) IsClientError

func (o *CreateServiceBadRequest) IsClientError() bool

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

func (*CreateServiceBadRequest) IsCode

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

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

func (*CreateServiceBadRequest) IsRedirect

func (o *CreateServiceBadRequest) IsRedirect() bool

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

func (*CreateServiceBadRequest) IsServerError

func (o *CreateServiceBadRequest) IsServerError() bool

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

func (*CreateServiceBadRequest) IsSuccess

func (o *CreateServiceBadRequest) IsSuccess() bool

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

func (*CreateServiceBadRequest) String

func (o *CreateServiceBadRequest) String() string

type CreateServiceConflict

type CreateServiceConflict struct {
	Payload *models.Error
}

CreateServiceConflict describes a response with status code 409, with default header values.

Conflict

func NewCreateServiceConflict

func NewCreateServiceConflict() *CreateServiceConflict

NewCreateServiceConflict creates a CreateServiceConflict with default headers values

func (*CreateServiceConflict) Code

func (o *CreateServiceConflict) Code() int

Code gets the status code for the create service conflict response

func (*CreateServiceConflict) Error

func (o *CreateServiceConflict) Error() string

func (*CreateServiceConflict) GetPayload

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

func (*CreateServiceConflict) IsClientError

func (o *CreateServiceConflict) IsClientError() bool

IsClientError returns true when this create service conflict response has a 4xx status code

func (*CreateServiceConflict) IsCode

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

IsCode returns true when this create service conflict response a status code equal to that given

func (*CreateServiceConflict) IsRedirect

func (o *CreateServiceConflict) IsRedirect() bool

IsRedirect returns true when this create service conflict response has a 3xx status code

func (*CreateServiceConflict) IsServerError

func (o *CreateServiceConflict) IsServerError() bool

IsServerError returns true when this create service conflict response has a 5xx status code

func (*CreateServiceConflict) IsSuccess

func (o *CreateServiceConflict) IsSuccess() bool

IsSuccess returns true when this create service conflict response has a 2xx status code

func (*CreateServiceConflict) String

func (o *CreateServiceConflict) String() string

type CreateServiceCreated

type CreateServiceCreated struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.ServiceWithAudience
}

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

Service

func NewCreateServiceCreated

func NewCreateServiceCreated() *CreateServiceCreated

NewCreateServiceCreated creates a CreateServiceCreated with default headers values

func (*CreateServiceCreated) Code

func (o *CreateServiceCreated) Code() int

Code gets the status code for the create service created response

func (*CreateServiceCreated) Error

func (o *CreateServiceCreated) Error() string

func (*CreateServiceCreated) GetPayload

func (*CreateServiceCreated) IsClientError

func (o *CreateServiceCreated) IsClientError() bool

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

func (*CreateServiceCreated) IsCode

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

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

func (*CreateServiceCreated) IsRedirect

func (o *CreateServiceCreated) IsRedirect() bool

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

func (*CreateServiceCreated) IsServerError

func (o *CreateServiceCreated) IsServerError() bool

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

func (*CreateServiceCreated) IsSuccess

func (o *CreateServiceCreated) IsSuccess() bool

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

func (*CreateServiceCreated) String

func (o *CreateServiceCreated) String() string

type CreateServiceForbidden

type CreateServiceForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewCreateServiceForbidden

func NewCreateServiceForbidden() *CreateServiceForbidden

NewCreateServiceForbidden creates a CreateServiceForbidden with default headers values

func (*CreateServiceForbidden) Code

func (o *CreateServiceForbidden) Code() int

Code gets the status code for the create service forbidden response

func (*CreateServiceForbidden) Error

func (o *CreateServiceForbidden) Error() string

func (*CreateServiceForbidden) GetPayload

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

func (*CreateServiceForbidden) IsClientError

func (o *CreateServiceForbidden) IsClientError() bool

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

func (*CreateServiceForbidden) IsCode

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

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

func (*CreateServiceForbidden) IsRedirect

func (o *CreateServiceForbidden) IsRedirect() bool

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

func (*CreateServiceForbidden) IsServerError

func (o *CreateServiceForbidden) IsServerError() bool

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

func (*CreateServiceForbidden) IsSuccess

func (o *CreateServiceForbidden) IsSuccess() bool

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

func (*CreateServiceForbidden) String

func (o *CreateServiceForbidden) String() string

type CreateServiceNotFound

type CreateServiceNotFound struct {
	Payload *models.Error
}

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

Not found

func NewCreateServiceNotFound

func NewCreateServiceNotFound() *CreateServiceNotFound

NewCreateServiceNotFound creates a CreateServiceNotFound with default headers values

func (*CreateServiceNotFound) Code

func (o *CreateServiceNotFound) Code() int

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

func (*CreateServiceNotFound) Error

func (o *CreateServiceNotFound) Error() string

func (*CreateServiceNotFound) GetPayload

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

func (*CreateServiceNotFound) IsClientError

func (o *CreateServiceNotFound) IsClientError() bool

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

func (*CreateServiceNotFound) IsCode

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

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

func (*CreateServiceNotFound) IsRedirect

func (o *CreateServiceNotFound) IsRedirect() bool

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

func (*CreateServiceNotFound) IsServerError

func (o *CreateServiceNotFound) IsServerError() bool

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

func (*CreateServiceNotFound) IsSuccess

func (o *CreateServiceNotFound) IsSuccess() bool

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

func (*CreateServiceNotFound) String

func (o *CreateServiceNotFound) String() string

type CreateServiceParams

type CreateServiceParams struct {

	// Service.
	Service *models.Service

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

CreateServiceParams contains all the parameters to send to the API endpoint

for the create service operation.

Typically these are written to a http.Request.

func NewCreateServiceParams

func NewCreateServiceParams() *CreateServiceParams

NewCreateServiceParams creates a new CreateServiceParams 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 NewCreateServiceParamsWithContext

func NewCreateServiceParamsWithContext(ctx context.Context) *CreateServiceParams

NewCreateServiceParamsWithContext creates a new CreateServiceParams object with the ability to set a context for a request.

func NewCreateServiceParamsWithHTTPClient

func NewCreateServiceParamsWithHTTPClient(client *http.Client) *CreateServiceParams

NewCreateServiceParamsWithHTTPClient creates a new CreateServiceParams object with the ability to set a custom HTTPClient for a request.

func NewCreateServiceParamsWithTimeout

func NewCreateServiceParamsWithTimeout(timeout time.Duration) *CreateServiceParams

NewCreateServiceParamsWithTimeout creates a new CreateServiceParams object with the ability to set a timeout on a request.

func (*CreateServiceParams) SetContext

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

SetContext adds the context to the create service params

func (*CreateServiceParams) SetDefaults

func (o *CreateServiceParams) SetDefaults()

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

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

func (*CreateServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create service params

func (*CreateServiceParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the create service params

func (*CreateServiceParams) SetService

func (o *CreateServiceParams) SetService(service *models.Service)

SetService adds the service to the create service params

func (*CreateServiceParams) SetTimeout

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

SetTimeout adds the timeout to the create service params

func (*CreateServiceParams) WithContext

WithContext adds the context to the create service params

func (*CreateServiceParams) WithDefaults

func (o *CreateServiceParams) WithDefaults() *CreateServiceParams

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

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

func (*CreateServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create service params

func (*CreateServiceParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the create service params

func (*CreateServiceParams) WithService

func (o *CreateServiceParams) WithService(service *models.Service) *CreateServiceParams

WithService adds the service to the create service params

func (*CreateServiceParams) WithTimeout

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

WithTimeout adds the timeout to the create service params

func (*CreateServiceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateServiceReader

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

CreateServiceReader is a Reader for the CreateService structure.

func (*CreateServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateServiceTooManyRequests

type CreateServiceTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewCreateServiceTooManyRequests

func NewCreateServiceTooManyRequests() *CreateServiceTooManyRequests

NewCreateServiceTooManyRequests creates a CreateServiceTooManyRequests with default headers values

func (*CreateServiceTooManyRequests) Code

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

func (*CreateServiceTooManyRequests) Error

func (*CreateServiceTooManyRequests) GetPayload

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

func (*CreateServiceTooManyRequests) IsClientError

func (o *CreateServiceTooManyRequests) IsClientError() bool

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

func (*CreateServiceTooManyRequests) IsCode

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

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

func (*CreateServiceTooManyRequests) IsRedirect

func (o *CreateServiceTooManyRequests) IsRedirect() bool

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

func (*CreateServiceTooManyRequests) IsServerError

func (o *CreateServiceTooManyRequests) IsServerError() bool

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

func (*CreateServiceTooManyRequests) IsSuccess

func (o *CreateServiceTooManyRequests) IsSuccess() bool

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

func (*CreateServiceTooManyRequests) String

type CreateServiceUnauthorized

type CreateServiceUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewCreateServiceUnauthorized

func NewCreateServiceUnauthorized() *CreateServiceUnauthorized

NewCreateServiceUnauthorized creates a CreateServiceUnauthorized with default headers values

func (*CreateServiceUnauthorized) Code

func (o *CreateServiceUnauthorized) Code() int

Code gets the status code for the create service unauthorized response

func (*CreateServiceUnauthorized) Error

func (o *CreateServiceUnauthorized) Error() string

func (*CreateServiceUnauthorized) GetPayload

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

func (*CreateServiceUnauthorized) IsClientError

func (o *CreateServiceUnauthorized) IsClientError() bool

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

func (*CreateServiceUnauthorized) IsCode

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

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

func (*CreateServiceUnauthorized) IsRedirect

func (o *CreateServiceUnauthorized) IsRedirect() bool

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

func (*CreateServiceUnauthorized) IsServerError

func (o *CreateServiceUnauthorized) IsServerError() bool

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

func (*CreateServiceUnauthorized) IsSuccess

func (o *CreateServiceUnauthorized) IsSuccess() bool

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

func (*CreateServiceUnauthorized) String

func (o *CreateServiceUnauthorized) String() string

type CreateServiceUnprocessableEntity

type CreateServiceUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewCreateServiceUnprocessableEntity

func NewCreateServiceUnprocessableEntity() *CreateServiceUnprocessableEntity

NewCreateServiceUnprocessableEntity creates a CreateServiceUnprocessableEntity with default headers values

func (*CreateServiceUnprocessableEntity) Code

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

func (*CreateServiceUnprocessableEntity) Error

func (*CreateServiceUnprocessableEntity) GetPayload

func (*CreateServiceUnprocessableEntity) IsClientError

func (o *CreateServiceUnprocessableEntity) IsClientError() bool

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

func (*CreateServiceUnprocessableEntity) IsCode

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

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

func (*CreateServiceUnprocessableEntity) IsRedirect

func (o *CreateServiceUnprocessableEntity) IsRedirect() bool

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

func (*CreateServiceUnprocessableEntity) IsServerError

func (o *CreateServiceUnprocessableEntity) IsServerError() bool

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

func (*CreateServiceUnprocessableEntity) IsSuccess

func (o *CreateServiceUnprocessableEntity) IsSuccess() bool

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

func (*CreateServiceUnprocessableEntity) String

type DeleteServiceBadRequest

type DeleteServiceBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewDeleteServiceBadRequest

func NewDeleteServiceBadRequest() *DeleteServiceBadRequest

NewDeleteServiceBadRequest creates a DeleteServiceBadRequest with default headers values

func (*DeleteServiceBadRequest) Code

func (o *DeleteServiceBadRequest) Code() int

Code gets the status code for the delete service bad request response

func (*DeleteServiceBadRequest) Error

func (o *DeleteServiceBadRequest) Error() string

func (*DeleteServiceBadRequest) GetPayload

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

func (*DeleteServiceBadRequest) IsClientError

func (o *DeleteServiceBadRequest) IsClientError() bool

IsClientError returns true when this delete service bad request response has a 4xx status code

func (*DeleteServiceBadRequest) IsCode

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

IsCode returns true when this delete service bad request response a status code equal to that given

func (*DeleteServiceBadRequest) IsRedirect

func (o *DeleteServiceBadRequest) IsRedirect() bool

IsRedirect returns true when this delete service bad request response has a 3xx status code

func (*DeleteServiceBadRequest) IsServerError

func (o *DeleteServiceBadRequest) IsServerError() bool

IsServerError returns true when this delete service bad request response has a 5xx status code

func (*DeleteServiceBadRequest) IsSuccess

func (o *DeleteServiceBadRequest) IsSuccess() bool

IsSuccess returns true when this delete service bad request response has a 2xx status code

func (*DeleteServiceBadRequest) String

func (o *DeleteServiceBadRequest) String() string

type DeleteServiceForbidden

type DeleteServiceForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewDeleteServiceForbidden

func NewDeleteServiceForbidden() *DeleteServiceForbidden

NewDeleteServiceForbidden creates a DeleteServiceForbidden with default headers values

func (*DeleteServiceForbidden) Code

func (o *DeleteServiceForbidden) Code() int

Code gets the status code for the delete service forbidden response

func (*DeleteServiceForbidden) Error

func (o *DeleteServiceForbidden) Error() string

func (*DeleteServiceForbidden) GetPayload

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

func (*DeleteServiceForbidden) IsClientError

func (o *DeleteServiceForbidden) IsClientError() bool

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

func (*DeleteServiceForbidden) IsCode

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

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

func (*DeleteServiceForbidden) IsRedirect

func (o *DeleteServiceForbidden) IsRedirect() bool

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

func (*DeleteServiceForbidden) IsServerError

func (o *DeleteServiceForbidden) IsServerError() bool

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

func (*DeleteServiceForbidden) IsSuccess

func (o *DeleteServiceForbidden) IsSuccess() bool

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

func (*DeleteServiceForbidden) String

func (o *DeleteServiceForbidden) String() string

type DeleteServiceNoContent

type DeleteServiceNoContent struct {
}

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

Service has been deleted

func NewDeleteServiceNoContent

func NewDeleteServiceNoContent() *DeleteServiceNoContent

NewDeleteServiceNoContent creates a DeleteServiceNoContent with default headers values

func (*DeleteServiceNoContent) Code

func (o *DeleteServiceNoContent) Code() int

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

func (*DeleteServiceNoContent) Error

func (o *DeleteServiceNoContent) Error() string

func (*DeleteServiceNoContent) IsClientError

func (o *DeleteServiceNoContent) IsClientError() bool

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

func (*DeleteServiceNoContent) IsCode

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

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

func (*DeleteServiceNoContent) IsRedirect

func (o *DeleteServiceNoContent) IsRedirect() bool

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

func (*DeleteServiceNoContent) IsServerError

func (o *DeleteServiceNoContent) IsServerError() bool

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

func (*DeleteServiceNoContent) IsSuccess

func (o *DeleteServiceNoContent) IsSuccess() bool

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

func (*DeleteServiceNoContent) String

func (o *DeleteServiceNoContent) String() string

type DeleteServiceNotFound

type DeleteServiceNotFound struct {
	Payload *models.Error
}

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

Not found

func NewDeleteServiceNotFound

func NewDeleteServiceNotFound() *DeleteServiceNotFound

NewDeleteServiceNotFound creates a DeleteServiceNotFound with default headers values

func (*DeleteServiceNotFound) Code

func (o *DeleteServiceNotFound) Code() int

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

func (*DeleteServiceNotFound) Error

func (o *DeleteServiceNotFound) Error() string

func (*DeleteServiceNotFound) GetPayload

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

func (*DeleteServiceNotFound) IsClientError

func (o *DeleteServiceNotFound) IsClientError() bool

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

func (*DeleteServiceNotFound) IsCode

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

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

func (*DeleteServiceNotFound) IsRedirect

func (o *DeleteServiceNotFound) IsRedirect() bool

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

func (*DeleteServiceNotFound) IsServerError

func (o *DeleteServiceNotFound) IsServerError() bool

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

func (*DeleteServiceNotFound) IsSuccess

func (o *DeleteServiceNotFound) IsSuccess() bool

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

func (*DeleteServiceNotFound) String

func (o *DeleteServiceNotFound) String() string

type DeleteServiceParams

type DeleteServiceParams struct {

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

	// Sid.
	Sid string

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

DeleteServiceParams contains all the parameters to send to the API endpoint

for the delete service operation.

Typically these are written to a http.Request.

func NewDeleteServiceParams

func NewDeleteServiceParams() *DeleteServiceParams

NewDeleteServiceParams creates a new DeleteServiceParams 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 NewDeleteServiceParamsWithContext

func NewDeleteServiceParamsWithContext(ctx context.Context) *DeleteServiceParams

NewDeleteServiceParamsWithContext creates a new DeleteServiceParams object with the ability to set a context for a request.

func NewDeleteServiceParamsWithHTTPClient

func NewDeleteServiceParamsWithHTTPClient(client *http.Client) *DeleteServiceParams

NewDeleteServiceParamsWithHTTPClient creates a new DeleteServiceParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteServiceParamsWithTimeout

func NewDeleteServiceParamsWithTimeout(timeout time.Duration) *DeleteServiceParams

NewDeleteServiceParamsWithTimeout creates a new DeleteServiceParams object with the ability to set a timeout on a request.

func (*DeleteServiceParams) SetContext

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

SetContext adds the context to the delete service params

func (*DeleteServiceParams) SetDefaults

func (o *DeleteServiceParams) SetDefaults()

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

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

func (*DeleteServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete service params

func (*DeleteServiceParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the delete service params

func (*DeleteServiceParams) SetSid

func (o *DeleteServiceParams) SetSid(sid string)

SetSid adds the sid to the delete service params

func (*DeleteServiceParams) SetTimeout

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

SetTimeout adds the timeout to the delete service params

func (*DeleteServiceParams) WithContext

WithContext adds the context to the delete service params

func (*DeleteServiceParams) WithDefaults

func (o *DeleteServiceParams) WithDefaults() *DeleteServiceParams

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

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

func (*DeleteServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete service params

func (*DeleteServiceParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the delete service params

func (*DeleteServiceParams) WithSid

WithSid adds the sid to the delete service params

func (*DeleteServiceParams) WithTimeout

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

WithTimeout adds the timeout to the delete service params

func (*DeleteServiceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteServiceReader

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

DeleteServiceReader is a Reader for the DeleteService structure.

func (*DeleteServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteServiceTooManyRequests

type DeleteServiceTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewDeleteServiceTooManyRequests

func NewDeleteServiceTooManyRequests() *DeleteServiceTooManyRequests

NewDeleteServiceTooManyRequests creates a DeleteServiceTooManyRequests with default headers values

func (*DeleteServiceTooManyRequests) Code

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

func (*DeleteServiceTooManyRequests) Error

func (*DeleteServiceTooManyRequests) GetPayload

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

func (*DeleteServiceTooManyRequests) IsClientError

func (o *DeleteServiceTooManyRequests) IsClientError() bool

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

func (*DeleteServiceTooManyRequests) IsCode

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

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

func (*DeleteServiceTooManyRequests) IsRedirect

func (o *DeleteServiceTooManyRequests) IsRedirect() bool

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

func (*DeleteServiceTooManyRequests) IsServerError

func (o *DeleteServiceTooManyRequests) IsServerError() bool

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

func (*DeleteServiceTooManyRequests) IsSuccess

func (o *DeleteServiceTooManyRequests) IsSuccess() bool

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

func (*DeleteServiceTooManyRequests) String

type DeleteServiceUnauthorized

type DeleteServiceUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewDeleteServiceUnauthorized

func NewDeleteServiceUnauthorized() *DeleteServiceUnauthorized

NewDeleteServiceUnauthorized creates a DeleteServiceUnauthorized with default headers values

func (*DeleteServiceUnauthorized) Code

func (o *DeleteServiceUnauthorized) Code() int

Code gets the status code for the delete service unauthorized response

func (*DeleteServiceUnauthorized) Error

func (o *DeleteServiceUnauthorized) Error() string

func (*DeleteServiceUnauthorized) GetPayload

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

func (*DeleteServiceUnauthorized) IsClientError

func (o *DeleteServiceUnauthorized) IsClientError() bool

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

func (*DeleteServiceUnauthorized) IsCode

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

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

func (*DeleteServiceUnauthorized) IsRedirect

func (o *DeleteServiceUnauthorized) IsRedirect() bool

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

func (*DeleteServiceUnauthorized) IsServerError

func (o *DeleteServiceUnauthorized) IsServerError() bool

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

func (*DeleteServiceUnauthorized) IsSuccess

func (o *DeleteServiceUnauthorized) IsSuccess() bool

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

func (*DeleteServiceUnauthorized) String

func (o *DeleteServiceUnauthorized) String() string

type GetServiceForbidden

type GetServiceForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGetServiceForbidden

func NewGetServiceForbidden() *GetServiceForbidden

NewGetServiceForbidden creates a GetServiceForbidden with default headers values

func (*GetServiceForbidden) Code

func (o *GetServiceForbidden) Code() int

Code gets the status code for the get service forbidden response

func (*GetServiceForbidden) Error

func (o *GetServiceForbidden) Error() string

func (*GetServiceForbidden) GetPayload

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

func (*GetServiceForbidden) IsClientError

func (o *GetServiceForbidden) IsClientError() bool

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

func (*GetServiceForbidden) IsCode

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

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

func (*GetServiceForbidden) IsRedirect

func (o *GetServiceForbidden) IsRedirect() bool

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

func (*GetServiceForbidden) IsServerError

func (o *GetServiceForbidden) IsServerError() bool

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

func (*GetServiceForbidden) IsSuccess

func (o *GetServiceForbidden) IsSuccess() bool

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

func (*GetServiceForbidden) String

func (o *GetServiceForbidden) String() string

type GetServiceNotFound

type GetServiceNotFound struct {
	Payload *models.Error
}

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

Not found

func NewGetServiceNotFound

func NewGetServiceNotFound() *GetServiceNotFound

NewGetServiceNotFound creates a GetServiceNotFound with default headers values

func (*GetServiceNotFound) Code

func (o *GetServiceNotFound) Code() int

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

func (*GetServiceNotFound) Error

func (o *GetServiceNotFound) Error() string

func (*GetServiceNotFound) GetPayload

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

func (*GetServiceNotFound) IsClientError

func (o *GetServiceNotFound) IsClientError() bool

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

func (*GetServiceNotFound) IsCode

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

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

func (*GetServiceNotFound) IsRedirect

func (o *GetServiceNotFound) IsRedirect() bool

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

func (*GetServiceNotFound) IsServerError

func (o *GetServiceNotFound) IsServerError() bool

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

func (*GetServiceNotFound) IsSuccess

func (o *GetServiceNotFound) IsSuccess() bool

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

func (*GetServiceNotFound) String

func (o *GetServiceNotFound) String() string

type GetServiceOK

type GetServiceOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.ServiceWithScopesResponse
}

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

Service with scopes

func NewGetServiceOK

func NewGetServiceOK() *GetServiceOK

NewGetServiceOK creates a GetServiceOK with default headers values

func (*GetServiceOK) Code

func (o *GetServiceOK) Code() int

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

func (*GetServiceOK) Error

func (o *GetServiceOK) Error() string

func (*GetServiceOK) GetPayload

func (*GetServiceOK) IsClientError

func (o *GetServiceOK) IsClientError() bool

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

func (*GetServiceOK) IsCode

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

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

func (*GetServiceOK) IsRedirect

func (o *GetServiceOK) IsRedirect() bool

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

func (*GetServiceOK) IsServerError

func (o *GetServiceOK) IsServerError() bool

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

func (*GetServiceOK) IsSuccess

func (o *GetServiceOK) IsSuccess() bool

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

func (*GetServiceOK) String

func (o *GetServiceOK) String() string

type GetServiceParams

type GetServiceParams struct {

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

	// Sid.
	Sid string

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

GetServiceParams contains all the parameters to send to the API endpoint

for the get service operation.

Typically these are written to a http.Request.

func NewGetServiceParams

func NewGetServiceParams() *GetServiceParams

NewGetServiceParams creates a new GetServiceParams 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 NewGetServiceParamsWithContext

func NewGetServiceParamsWithContext(ctx context.Context) *GetServiceParams

NewGetServiceParamsWithContext creates a new GetServiceParams object with the ability to set a context for a request.

func NewGetServiceParamsWithHTTPClient

func NewGetServiceParamsWithHTTPClient(client *http.Client) *GetServiceParams

NewGetServiceParamsWithHTTPClient creates a new GetServiceParams object with the ability to set a custom HTTPClient for a request.

func NewGetServiceParamsWithTimeout

func NewGetServiceParamsWithTimeout(timeout time.Duration) *GetServiceParams

NewGetServiceParamsWithTimeout creates a new GetServiceParams object with the ability to set a timeout on a request.

func (*GetServiceParams) SetContext

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

SetContext adds the context to the get service params

func (*GetServiceParams) SetDefaults

func (o *GetServiceParams) SetDefaults()

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

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

func (*GetServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get service params

func (*GetServiceParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the get service params

func (*GetServiceParams) SetSid

func (o *GetServiceParams) SetSid(sid string)

SetSid adds the sid to the get service params

func (*GetServiceParams) SetTimeout

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

SetTimeout adds the timeout to the get service params

func (*GetServiceParams) WithContext

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

WithContext adds the context to the get service params

func (*GetServiceParams) WithDefaults

func (o *GetServiceParams) WithDefaults() *GetServiceParams

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

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

func (*GetServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get service params

func (*GetServiceParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the get service params

func (*GetServiceParams) WithSid

func (o *GetServiceParams) WithSid(sid string) *GetServiceParams

WithSid adds the sid to the get service params

func (*GetServiceParams) WithTimeout

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

WithTimeout adds the timeout to the get service params

func (*GetServiceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetServiceReader

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

GetServiceReader is a Reader for the GetService structure.

func (*GetServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServiceTooManyRequests

type GetServiceTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGetServiceTooManyRequests

func NewGetServiceTooManyRequests() *GetServiceTooManyRequests

NewGetServiceTooManyRequests creates a GetServiceTooManyRequests with default headers values

func (*GetServiceTooManyRequests) Code

func (o *GetServiceTooManyRequests) Code() int

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

func (*GetServiceTooManyRequests) Error

func (o *GetServiceTooManyRequests) Error() string

func (*GetServiceTooManyRequests) GetPayload

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

func (*GetServiceTooManyRequests) IsClientError

func (o *GetServiceTooManyRequests) IsClientError() bool

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

func (*GetServiceTooManyRequests) IsCode

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

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

func (*GetServiceTooManyRequests) IsRedirect

func (o *GetServiceTooManyRequests) IsRedirect() bool

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

func (*GetServiceTooManyRequests) IsServerError

func (o *GetServiceTooManyRequests) IsServerError() bool

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

func (*GetServiceTooManyRequests) IsSuccess

func (o *GetServiceTooManyRequests) IsSuccess() bool

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

func (*GetServiceTooManyRequests) String

func (o *GetServiceTooManyRequests) String() string

type GetServiceUnauthorized

type GetServiceUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetServiceUnauthorized

func NewGetServiceUnauthorized() *GetServiceUnauthorized

NewGetServiceUnauthorized creates a GetServiceUnauthorized with default headers values

func (*GetServiceUnauthorized) Code

func (o *GetServiceUnauthorized) Code() int

Code gets the status code for the get service unauthorized response

func (*GetServiceUnauthorized) Error

func (o *GetServiceUnauthorized) Error() string

func (*GetServiceUnauthorized) GetPayload

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

func (*GetServiceUnauthorized) IsClientError

func (o *GetServiceUnauthorized) IsClientError() bool

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

func (*GetServiceUnauthorized) IsCode

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

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

func (*GetServiceUnauthorized) IsRedirect

func (o *GetServiceUnauthorized) IsRedirect() bool

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

func (*GetServiceUnauthorized) IsServerError

func (o *GetServiceUnauthorized) IsServerError() bool

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

func (*GetServiceUnauthorized) IsSuccess

func (o *GetServiceUnauthorized) IsSuccess() bool

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

func (*GetServiceUnauthorized) String

func (o *GetServiceUnauthorized) String() string

type ImportSpecificationFromFileBadRequest

type ImportSpecificationFromFileBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewImportSpecificationFromFileBadRequest

func NewImportSpecificationFromFileBadRequest() *ImportSpecificationFromFileBadRequest

NewImportSpecificationFromFileBadRequest creates a ImportSpecificationFromFileBadRequest with default headers values

func (*ImportSpecificationFromFileBadRequest) Code

Code gets the status code for the import specification from file bad request response

func (*ImportSpecificationFromFileBadRequest) Error

func (*ImportSpecificationFromFileBadRequest) GetPayload

func (*ImportSpecificationFromFileBadRequest) IsClientError

func (o *ImportSpecificationFromFileBadRequest) IsClientError() bool

IsClientError returns true when this import specification from file bad request response has a 4xx status code

func (*ImportSpecificationFromFileBadRequest) IsCode

IsCode returns true when this import specification from file bad request response a status code equal to that given

func (*ImportSpecificationFromFileBadRequest) IsRedirect

IsRedirect returns true when this import specification from file bad request response has a 3xx status code

func (*ImportSpecificationFromFileBadRequest) IsServerError

func (o *ImportSpecificationFromFileBadRequest) IsServerError() bool

IsServerError returns true when this import specification from file bad request response has a 5xx status code

func (*ImportSpecificationFromFileBadRequest) IsSuccess

IsSuccess returns true when this import specification from file bad request response has a 2xx status code

func (*ImportSpecificationFromFileBadRequest) String

type ImportSpecificationFromFileConflict

type ImportSpecificationFromFileConflict struct {
	Payload *models.Error
}

ImportSpecificationFromFileConflict describes a response with status code 409, with default header values.

Conflict

func NewImportSpecificationFromFileConflict

func NewImportSpecificationFromFileConflict() *ImportSpecificationFromFileConflict

NewImportSpecificationFromFileConflict creates a ImportSpecificationFromFileConflict with default headers values

func (*ImportSpecificationFromFileConflict) Code

Code gets the status code for the import specification from file conflict response

func (*ImportSpecificationFromFileConflict) Error

func (*ImportSpecificationFromFileConflict) GetPayload

func (*ImportSpecificationFromFileConflict) IsClientError

func (o *ImportSpecificationFromFileConflict) IsClientError() bool

IsClientError returns true when this import specification from file conflict response has a 4xx status code

func (*ImportSpecificationFromFileConflict) IsCode

IsCode returns true when this import specification from file conflict response a status code equal to that given

func (*ImportSpecificationFromFileConflict) IsRedirect

func (o *ImportSpecificationFromFileConflict) IsRedirect() bool

IsRedirect returns true when this import specification from file conflict response has a 3xx status code

func (*ImportSpecificationFromFileConflict) IsServerError

func (o *ImportSpecificationFromFileConflict) IsServerError() bool

IsServerError returns true when this import specification from file conflict response has a 5xx status code

func (*ImportSpecificationFromFileConflict) IsSuccess

IsSuccess returns true when this import specification from file conflict response has a 2xx status code

func (*ImportSpecificationFromFileConflict) String

type ImportSpecificationFromFileForbidden

type ImportSpecificationFromFileForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewImportSpecificationFromFileForbidden

func NewImportSpecificationFromFileForbidden() *ImportSpecificationFromFileForbidden

NewImportSpecificationFromFileForbidden creates a ImportSpecificationFromFileForbidden with default headers values

func (*ImportSpecificationFromFileForbidden) Code

Code gets the status code for the import specification from file forbidden response

func (*ImportSpecificationFromFileForbidden) Error

func (*ImportSpecificationFromFileForbidden) GetPayload

func (*ImportSpecificationFromFileForbidden) IsClientError

func (o *ImportSpecificationFromFileForbidden) IsClientError() bool

IsClientError returns true when this import specification from file forbidden response has a 4xx status code

func (*ImportSpecificationFromFileForbidden) IsCode

IsCode returns true when this import specification from file forbidden response a status code equal to that given

func (*ImportSpecificationFromFileForbidden) IsRedirect

IsRedirect returns true when this import specification from file forbidden response has a 3xx status code

func (*ImportSpecificationFromFileForbidden) IsServerError

func (o *ImportSpecificationFromFileForbidden) IsServerError() bool

IsServerError returns true when this import specification from file forbidden response has a 5xx status code

func (*ImportSpecificationFromFileForbidden) IsSuccess

IsSuccess returns true when this import specification from file forbidden response has a 2xx status code

func (*ImportSpecificationFromFileForbidden) String

type ImportSpecificationFromFileNotFound

type ImportSpecificationFromFileNotFound struct {
	Payload *models.Error
}

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

Not found

func NewImportSpecificationFromFileNotFound

func NewImportSpecificationFromFileNotFound() *ImportSpecificationFromFileNotFound

NewImportSpecificationFromFileNotFound creates a ImportSpecificationFromFileNotFound with default headers values

func (*ImportSpecificationFromFileNotFound) Code

Code gets the status code for the import specification from file not found response

func (*ImportSpecificationFromFileNotFound) Error

func (*ImportSpecificationFromFileNotFound) GetPayload

func (*ImportSpecificationFromFileNotFound) IsClientError

func (o *ImportSpecificationFromFileNotFound) IsClientError() bool

IsClientError returns true when this import specification from file not found response has a 4xx status code

func (*ImportSpecificationFromFileNotFound) IsCode

IsCode returns true when this import specification from file not found response a status code equal to that given

func (*ImportSpecificationFromFileNotFound) IsRedirect

func (o *ImportSpecificationFromFileNotFound) IsRedirect() bool

IsRedirect returns true when this import specification from file not found response has a 3xx status code

func (*ImportSpecificationFromFileNotFound) IsServerError

func (o *ImportSpecificationFromFileNotFound) IsServerError() bool

IsServerError returns true when this import specification from file not found response has a 5xx status code

func (*ImportSpecificationFromFileNotFound) IsSuccess

IsSuccess returns true when this import specification from file not found response has a 2xx status code

func (*ImportSpecificationFromFileNotFound) String

type ImportSpecificationFromFileOK

type ImportSpecificationFromFileOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.ImportServiceConfigurationResult
}

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

Import service configuration result

func NewImportSpecificationFromFileOK

func NewImportSpecificationFromFileOK() *ImportSpecificationFromFileOK

NewImportSpecificationFromFileOK creates a ImportSpecificationFromFileOK with default headers values

func (*ImportSpecificationFromFileOK) Code

Code gets the status code for the import specification from file o k response

func (*ImportSpecificationFromFileOK) Error

func (*ImportSpecificationFromFileOK) GetPayload

func (*ImportSpecificationFromFileOK) IsClientError

func (o *ImportSpecificationFromFileOK) IsClientError() bool

IsClientError returns true when this import specification from file o k response has a 4xx status code

func (*ImportSpecificationFromFileOK) IsCode

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

IsCode returns true when this import specification from file o k response a status code equal to that given

func (*ImportSpecificationFromFileOK) IsRedirect

func (o *ImportSpecificationFromFileOK) IsRedirect() bool

IsRedirect returns true when this import specification from file o k response has a 3xx status code

func (*ImportSpecificationFromFileOK) IsServerError

func (o *ImportSpecificationFromFileOK) IsServerError() bool

IsServerError returns true when this import specification from file o k response has a 5xx status code

func (*ImportSpecificationFromFileOK) IsSuccess

func (o *ImportSpecificationFromFileOK) IsSuccess() bool

IsSuccess returns true when this import specification from file o k response has a 2xx status code

func (*ImportSpecificationFromFileOK) String

type ImportSpecificationFromFileParams

type ImportSpecificationFromFileParams struct {

	// File.
	File runtime.NamedReadCloser

	// GatewayType.
	GatewayType *string

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

	// Sid.
	Sid string

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

ImportSpecificationFromFileParams contains all the parameters to send to the API endpoint

for the import specification from file operation.

Typically these are written to a http.Request.

func NewImportSpecificationFromFileParams

func NewImportSpecificationFromFileParams() *ImportSpecificationFromFileParams

NewImportSpecificationFromFileParams creates a new ImportSpecificationFromFileParams 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 NewImportSpecificationFromFileParamsWithContext

func NewImportSpecificationFromFileParamsWithContext(ctx context.Context) *ImportSpecificationFromFileParams

NewImportSpecificationFromFileParamsWithContext creates a new ImportSpecificationFromFileParams object with the ability to set a context for a request.

func NewImportSpecificationFromFileParamsWithHTTPClient

func NewImportSpecificationFromFileParamsWithHTTPClient(client *http.Client) *ImportSpecificationFromFileParams

NewImportSpecificationFromFileParamsWithHTTPClient creates a new ImportSpecificationFromFileParams object with the ability to set a custom HTTPClient for a request.

func NewImportSpecificationFromFileParamsWithTimeout

func NewImportSpecificationFromFileParamsWithTimeout(timeout time.Duration) *ImportSpecificationFromFileParams

NewImportSpecificationFromFileParamsWithTimeout creates a new ImportSpecificationFromFileParams object with the ability to set a timeout on a request.

func (*ImportSpecificationFromFileParams) SetContext

SetContext adds the context to the import specification from file params

func (*ImportSpecificationFromFileParams) SetDefaults

func (o *ImportSpecificationFromFileParams) SetDefaults()

SetDefaults hydrates default values in the import specification from file params (not the query body).

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

func (*ImportSpecificationFromFileParams) SetFile

SetFile adds the file to the import specification from file params

func (*ImportSpecificationFromFileParams) SetGatewayType

func (o *ImportSpecificationFromFileParams) SetGatewayType(gatewayType *string)

SetGatewayType adds the gatewayType to the import specification from file params

func (*ImportSpecificationFromFileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import specification from file params

func (*ImportSpecificationFromFileParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the import specification from file params

func (*ImportSpecificationFromFileParams) SetSid

SetSid adds the sid to the import specification from file params

func (*ImportSpecificationFromFileParams) SetTimeout

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

SetTimeout adds the timeout to the import specification from file params

func (*ImportSpecificationFromFileParams) WithContext

WithContext adds the context to the import specification from file params

func (*ImportSpecificationFromFileParams) WithDefaults

WithDefaults hydrates default values in the import specification from file params (not the query body).

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

func (*ImportSpecificationFromFileParams) WithFile

WithFile adds the file to the import specification from file params

func (*ImportSpecificationFromFileParams) WithGatewayType

WithGatewayType adds the gatewayType to the import specification from file params

func (*ImportSpecificationFromFileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the import specification from file params

func (*ImportSpecificationFromFileParams) WithIfMatch

WithIfMatch adds the ifMatch to the import specification from file params

func (*ImportSpecificationFromFileParams) WithSid

WithSid adds the sid to the import specification from file params

func (*ImportSpecificationFromFileParams) WithTimeout

WithTimeout adds the timeout to the import specification from file params

func (*ImportSpecificationFromFileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ImportSpecificationFromFileReader

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

ImportSpecificationFromFileReader is a Reader for the ImportSpecificationFromFile structure.

func (*ImportSpecificationFromFileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportSpecificationFromFileTooManyRequests

type ImportSpecificationFromFileTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewImportSpecificationFromFileTooManyRequests

func NewImportSpecificationFromFileTooManyRequests() *ImportSpecificationFromFileTooManyRequests

NewImportSpecificationFromFileTooManyRequests creates a ImportSpecificationFromFileTooManyRequests with default headers values

func (*ImportSpecificationFromFileTooManyRequests) Code

Code gets the status code for the import specification from file too many requests response

func (*ImportSpecificationFromFileTooManyRequests) Error

func (*ImportSpecificationFromFileTooManyRequests) GetPayload

func (*ImportSpecificationFromFileTooManyRequests) IsClientError

IsClientError returns true when this import specification from file too many requests response has a 4xx status code

func (*ImportSpecificationFromFileTooManyRequests) IsCode

IsCode returns true when this import specification from file too many requests response a status code equal to that given

func (*ImportSpecificationFromFileTooManyRequests) IsRedirect

IsRedirect returns true when this import specification from file too many requests response has a 3xx status code

func (*ImportSpecificationFromFileTooManyRequests) IsServerError

IsServerError returns true when this import specification from file too many requests response has a 5xx status code

func (*ImportSpecificationFromFileTooManyRequests) IsSuccess

IsSuccess returns true when this import specification from file too many requests response has a 2xx status code

func (*ImportSpecificationFromFileTooManyRequests) String

type ImportSpecificationFromFileUnauthorized

type ImportSpecificationFromFileUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewImportSpecificationFromFileUnauthorized

func NewImportSpecificationFromFileUnauthorized() *ImportSpecificationFromFileUnauthorized

NewImportSpecificationFromFileUnauthorized creates a ImportSpecificationFromFileUnauthorized with default headers values

func (*ImportSpecificationFromFileUnauthorized) Code

Code gets the status code for the import specification from file unauthorized response

func (*ImportSpecificationFromFileUnauthorized) Error

func (*ImportSpecificationFromFileUnauthorized) GetPayload

func (*ImportSpecificationFromFileUnauthorized) IsClientError

func (o *ImportSpecificationFromFileUnauthorized) IsClientError() bool

IsClientError returns true when this import specification from file unauthorized response has a 4xx status code

func (*ImportSpecificationFromFileUnauthorized) IsCode

IsCode returns true when this import specification from file unauthorized response a status code equal to that given

func (*ImportSpecificationFromFileUnauthorized) IsRedirect

IsRedirect returns true when this import specification from file unauthorized response has a 3xx status code

func (*ImportSpecificationFromFileUnauthorized) IsServerError

func (o *ImportSpecificationFromFileUnauthorized) IsServerError() bool

IsServerError returns true when this import specification from file unauthorized response has a 5xx status code

func (*ImportSpecificationFromFileUnauthorized) IsSuccess

IsSuccess returns true when this import specification from file unauthorized response has a 2xx status code

func (*ImportSpecificationFromFileUnauthorized) String

type ImportSpecificationFromFileUnprocessableEntity

type ImportSpecificationFromFileUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewImportSpecificationFromFileUnprocessableEntity

func NewImportSpecificationFromFileUnprocessableEntity() *ImportSpecificationFromFileUnprocessableEntity

NewImportSpecificationFromFileUnprocessableEntity creates a ImportSpecificationFromFileUnprocessableEntity with default headers values

func (*ImportSpecificationFromFileUnprocessableEntity) Code

Code gets the status code for the import specification from file unprocessable entity response

func (*ImportSpecificationFromFileUnprocessableEntity) Error

func (*ImportSpecificationFromFileUnprocessableEntity) GetPayload

func (*ImportSpecificationFromFileUnprocessableEntity) IsClientError

IsClientError returns true when this import specification from file unprocessable entity response has a 4xx status code

func (*ImportSpecificationFromFileUnprocessableEntity) IsCode

IsCode returns true when this import specification from file unprocessable entity response a status code equal to that given

func (*ImportSpecificationFromFileUnprocessableEntity) IsRedirect

IsRedirect returns true when this import specification from file unprocessable entity response has a 3xx status code

func (*ImportSpecificationFromFileUnprocessableEntity) IsServerError

IsServerError returns true when this import specification from file unprocessable entity response has a 5xx status code

func (*ImportSpecificationFromFileUnprocessableEntity) IsSuccess

IsSuccess returns true when this import specification from file unprocessable entity response has a 2xx status code

func (*ImportSpecificationFromFileUnprocessableEntity) String

type ImportSpecificationFromTextBadRequest

type ImportSpecificationFromTextBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewImportSpecificationFromTextBadRequest

func NewImportSpecificationFromTextBadRequest() *ImportSpecificationFromTextBadRequest

NewImportSpecificationFromTextBadRequest creates a ImportSpecificationFromTextBadRequest with default headers values

func (*ImportSpecificationFromTextBadRequest) Code

Code gets the status code for the import specification from text bad request response

func (*ImportSpecificationFromTextBadRequest) Error

func (*ImportSpecificationFromTextBadRequest) GetPayload

func (*ImportSpecificationFromTextBadRequest) IsClientError

func (o *ImportSpecificationFromTextBadRequest) IsClientError() bool

IsClientError returns true when this import specification from text bad request response has a 4xx status code

func (*ImportSpecificationFromTextBadRequest) IsCode

IsCode returns true when this import specification from text bad request response a status code equal to that given

func (*ImportSpecificationFromTextBadRequest) IsRedirect

IsRedirect returns true when this import specification from text bad request response has a 3xx status code

func (*ImportSpecificationFromTextBadRequest) IsServerError

func (o *ImportSpecificationFromTextBadRequest) IsServerError() bool

IsServerError returns true when this import specification from text bad request response has a 5xx status code

func (*ImportSpecificationFromTextBadRequest) IsSuccess

IsSuccess returns true when this import specification from text bad request response has a 2xx status code

func (*ImportSpecificationFromTextBadRequest) String

type ImportSpecificationFromTextConflict

type ImportSpecificationFromTextConflict struct {
	Payload *models.Error
}

ImportSpecificationFromTextConflict describes a response with status code 409, with default header values.

Conflict

func NewImportSpecificationFromTextConflict

func NewImportSpecificationFromTextConflict() *ImportSpecificationFromTextConflict

NewImportSpecificationFromTextConflict creates a ImportSpecificationFromTextConflict with default headers values

func (*ImportSpecificationFromTextConflict) Code

Code gets the status code for the import specification from text conflict response

func (*ImportSpecificationFromTextConflict) Error

func (*ImportSpecificationFromTextConflict) GetPayload

func (*ImportSpecificationFromTextConflict) IsClientError

func (o *ImportSpecificationFromTextConflict) IsClientError() bool

IsClientError returns true when this import specification from text conflict response has a 4xx status code

func (*ImportSpecificationFromTextConflict) IsCode

IsCode returns true when this import specification from text conflict response a status code equal to that given

func (*ImportSpecificationFromTextConflict) IsRedirect

func (o *ImportSpecificationFromTextConflict) IsRedirect() bool

IsRedirect returns true when this import specification from text conflict response has a 3xx status code

func (*ImportSpecificationFromTextConflict) IsServerError

func (o *ImportSpecificationFromTextConflict) IsServerError() bool

IsServerError returns true when this import specification from text conflict response has a 5xx status code

func (*ImportSpecificationFromTextConflict) IsSuccess

IsSuccess returns true when this import specification from text conflict response has a 2xx status code

func (*ImportSpecificationFromTextConflict) String

type ImportSpecificationFromTextForbidden

type ImportSpecificationFromTextForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewImportSpecificationFromTextForbidden

func NewImportSpecificationFromTextForbidden() *ImportSpecificationFromTextForbidden

NewImportSpecificationFromTextForbidden creates a ImportSpecificationFromTextForbidden with default headers values

func (*ImportSpecificationFromTextForbidden) Code

Code gets the status code for the import specification from text forbidden response

func (*ImportSpecificationFromTextForbidden) Error

func (*ImportSpecificationFromTextForbidden) GetPayload

func (*ImportSpecificationFromTextForbidden) IsClientError

func (o *ImportSpecificationFromTextForbidden) IsClientError() bool

IsClientError returns true when this import specification from text forbidden response has a 4xx status code

func (*ImportSpecificationFromTextForbidden) IsCode

IsCode returns true when this import specification from text forbidden response a status code equal to that given

func (*ImportSpecificationFromTextForbidden) IsRedirect

IsRedirect returns true when this import specification from text forbidden response has a 3xx status code

func (*ImportSpecificationFromTextForbidden) IsServerError

func (o *ImportSpecificationFromTextForbidden) IsServerError() bool

IsServerError returns true when this import specification from text forbidden response has a 5xx status code

func (*ImportSpecificationFromTextForbidden) IsSuccess

IsSuccess returns true when this import specification from text forbidden response has a 2xx status code

func (*ImportSpecificationFromTextForbidden) String

type ImportSpecificationFromTextNotFound

type ImportSpecificationFromTextNotFound struct {
	Payload *models.Error
}

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

Not found

func NewImportSpecificationFromTextNotFound

func NewImportSpecificationFromTextNotFound() *ImportSpecificationFromTextNotFound

NewImportSpecificationFromTextNotFound creates a ImportSpecificationFromTextNotFound with default headers values

func (*ImportSpecificationFromTextNotFound) Code

Code gets the status code for the import specification from text not found response

func (*ImportSpecificationFromTextNotFound) Error

func (*ImportSpecificationFromTextNotFound) GetPayload

func (*ImportSpecificationFromTextNotFound) IsClientError

func (o *ImportSpecificationFromTextNotFound) IsClientError() bool

IsClientError returns true when this import specification from text not found response has a 4xx status code

func (*ImportSpecificationFromTextNotFound) IsCode

IsCode returns true when this import specification from text not found response a status code equal to that given

func (*ImportSpecificationFromTextNotFound) IsRedirect

func (o *ImportSpecificationFromTextNotFound) IsRedirect() bool

IsRedirect returns true when this import specification from text not found response has a 3xx status code

func (*ImportSpecificationFromTextNotFound) IsServerError

func (o *ImportSpecificationFromTextNotFound) IsServerError() bool

IsServerError returns true when this import specification from text not found response has a 5xx status code

func (*ImportSpecificationFromTextNotFound) IsSuccess

IsSuccess returns true when this import specification from text not found response has a 2xx status code

func (*ImportSpecificationFromTextNotFound) String

type ImportSpecificationFromTextOK

type ImportSpecificationFromTextOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.ImportServiceConfigurationResult
}

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

Import service configuration result

func NewImportSpecificationFromTextOK

func NewImportSpecificationFromTextOK() *ImportSpecificationFromTextOK

NewImportSpecificationFromTextOK creates a ImportSpecificationFromTextOK with default headers values

func (*ImportSpecificationFromTextOK) Code

Code gets the status code for the import specification from text o k response

func (*ImportSpecificationFromTextOK) Error

func (*ImportSpecificationFromTextOK) GetPayload

func (*ImportSpecificationFromTextOK) IsClientError

func (o *ImportSpecificationFromTextOK) IsClientError() bool

IsClientError returns true when this import specification from text o k response has a 4xx status code

func (*ImportSpecificationFromTextOK) IsCode

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

IsCode returns true when this import specification from text o k response a status code equal to that given

func (*ImportSpecificationFromTextOK) IsRedirect

func (o *ImportSpecificationFromTextOK) IsRedirect() bool

IsRedirect returns true when this import specification from text o k response has a 3xx status code

func (*ImportSpecificationFromTextOK) IsServerError

func (o *ImportSpecificationFromTextOK) IsServerError() bool

IsServerError returns true when this import specification from text o k response has a 5xx status code

func (*ImportSpecificationFromTextOK) IsSuccess

func (o *ImportSpecificationFromTextOK) IsSuccess() bool

IsSuccess returns true when this import specification from text o k response has a 2xx status code

func (*ImportSpecificationFromTextOK) String

type ImportSpecificationFromTextParams

type ImportSpecificationFromTextParams struct {

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

	// Sid.
	Sid string

	// Text.
	Text string

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

ImportSpecificationFromTextParams contains all the parameters to send to the API endpoint

for the import specification from text operation.

Typically these are written to a http.Request.

func NewImportSpecificationFromTextParams

func NewImportSpecificationFromTextParams() *ImportSpecificationFromTextParams

NewImportSpecificationFromTextParams creates a new ImportSpecificationFromTextParams 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 NewImportSpecificationFromTextParamsWithContext

func NewImportSpecificationFromTextParamsWithContext(ctx context.Context) *ImportSpecificationFromTextParams

NewImportSpecificationFromTextParamsWithContext creates a new ImportSpecificationFromTextParams object with the ability to set a context for a request.

func NewImportSpecificationFromTextParamsWithHTTPClient

func NewImportSpecificationFromTextParamsWithHTTPClient(client *http.Client) *ImportSpecificationFromTextParams

NewImportSpecificationFromTextParamsWithHTTPClient creates a new ImportSpecificationFromTextParams object with the ability to set a custom HTTPClient for a request.

func NewImportSpecificationFromTextParamsWithTimeout

func NewImportSpecificationFromTextParamsWithTimeout(timeout time.Duration) *ImportSpecificationFromTextParams

NewImportSpecificationFromTextParamsWithTimeout creates a new ImportSpecificationFromTextParams object with the ability to set a timeout on a request.

func (*ImportSpecificationFromTextParams) SetContext

SetContext adds the context to the import specification from text params

func (*ImportSpecificationFromTextParams) SetDefaults

func (o *ImportSpecificationFromTextParams) SetDefaults()

SetDefaults hydrates default values in the import specification from text params (not the query body).

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

func (*ImportSpecificationFromTextParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import specification from text params

func (*ImportSpecificationFromTextParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the import specification from text params

func (*ImportSpecificationFromTextParams) SetSid

SetSid adds the sid to the import specification from text params

func (*ImportSpecificationFromTextParams) SetText

func (o *ImportSpecificationFromTextParams) SetText(text string)

SetText adds the text to the import specification from text params

func (*ImportSpecificationFromTextParams) SetTimeout

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

SetTimeout adds the timeout to the import specification from text params

func (*ImportSpecificationFromTextParams) WithContext

WithContext adds the context to the import specification from text params

func (*ImportSpecificationFromTextParams) WithDefaults

WithDefaults hydrates default values in the import specification from text params (not the query body).

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

func (*ImportSpecificationFromTextParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the import specification from text params

func (*ImportSpecificationFromTextParams) WithIfMatch

WithIfMatch adds the ifMatch to the import specification from text params

func (*ImportSpecificationFromTextParams) WithSid

WithSid adds the sid to the import specification from text params

func (*ImportSpecificationFromTextParams) WithText

WithText adds the text to the import specification from text params

func (*ImportSpecificationFromTextParams) WithTimeout

WithTimeout adds the timeout to the import specification from text params

func (*ImportSpecificationFromTextParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ImportSpecificationFromTextReader

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

ImportSpecificationFromTextReader is a Reader for the ImportSpecificationFromText structure.

func (*ImportSpecificationFromTextReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportSpecificationFromTextTooManyRequests

type ImportSpecificationFromTextTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewImportSpecificationFromTextTooManyRequests

func NewImportSpecificationFromTextTooManyRequests() *ImportSpecificationFromTextTooManyRequests

NewImportSpecificationFromTextTooManyRequests creates a ImportSpecificationFromTextTooManyRequests with default headers values

func (*ImportSpecificationFromTextTooManyRequests) Code

Code gets the status code for the import specification from text too many requests response

func (*ImportSpecificationFromTextTooManyRequests) Error

func (*ImportSpecificationFromTextTooManyRequests) GetPayload

func (*ImportSpecificationFromTextTooManyRequests) IsClientError

IsClientError returns true when this import specification from text too many requests response has a 4xx status code

func (*ImportSpecificationFromTextTooManyRequests) IsCode

IsCode returns true when this import specification from text too many requests response a status code equal to that given

func (*ImportSpecificationFromTextTooManyRequests) IsRedirect

IsRedirect returns true when this import specification from text too many requests response has a 3xx status code

func (*ImportSpecificationFromTextTooManyRequests) IsServerError

IsServerError returns true when this import specification from text too many requests response has a 5xx status code

func (*ImportSpecificationFromTextTooManyRequests) IsSuccess

IsSuccess returns true when this import specification from text too many requests response has a 2xx status code

func (*ImportSpecificationFromTextTooManyRequests) String

type ImportSpecificationFromTextUnauthorized

type ImportSpecificationFromTextUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewImportSpecificationFromTextUnauthorized

func NewImportSpecificationFromTextUnauthorized() *ImportSpecificationFromTextUnauthorized

NewImportSpecificationFromTextUnauthorized creates a ImportSpecificationFromTextUnauthorized with default headers values

func (*ImportSpecificationFromTextUnauthorized) Code

Code gets the status code for the import specification from text unauthorized response

func (*ImportSpecificationFromTextUnauthorized) Error

func (*ImportSpecificationFromTextUnauthorized) GetPayload

func (*ImportSpecificationFromTextUnauthorized) IsClientError

func (o *ImportSpecificationFromTextUnauthorized) IsClientError() bool

IsClientError returns true when this import specification from text unauthorized response has a 4xx status code

func (*ImportSpecificationFromTextUnauthorized) IsCode

IsCode returns true when this import specification from text unauthorized response a status code equal to that given

func (*ImportSpecificationFromTextUnauthorized) IsRedirect

IsRedirect returns true when this import specification from text unauthorized response has a 3xx status code

func (*ImportSpecificationFromTextUnauthorized) IsServerError

func (o *ImportSpecificationFromTextUnauthorized) IsServerError() bool

IsServerError returns true when this import specification from text unauthorized response has a 5xx status code

func (*ImportSpecificationFromTextUnauthorized) IsSuccess

IsSuccess returns true when this import specification from text unauthorized response has a 2xx status code

func (*ImportSpecificationFromTextUnauthorized) String

type ImportSpecificationFromTextUnprocessableEntity

type ImportSpecificationFromTextUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewImportSpecificationFromTextUnprocessableEntity

func NewImportSpecificationFromTextUnprocessableEntity() *ImportSpecificationFromTextUnprocessableEntity

NewImportSpecificationFromTextUnprocessableEntity creates a ImportSpecificationFromTextUnprocessableEntity with default headers values

func (*ImportSpecificationFromTextUnprocessableEntity) Code

Code gets the status code for the import specification from text unprocessable entity response

func (*ImportSpecificationFromTextUnprocessableEntity) Error

func (*ImportSpecificationFromTextUnprocessableEntity) GetPayload

func (*ImportSpecificationFromTextUnprocessableEntity) IsClientError

IsClientError returns true when this import specification from text unprocessable entity response has a 4xx status code

func (*ImportSpecificationFromTextUnprocessableEntity) IsCode

IsCode returns true when this import specification from text unprocessable entity response a status code equal to that given

func (*ImportSpecificationFromTextUnprocessableEntity) IsRedirect

IsRedirect returns true when this import specification from text unprocessable entity response has a 3xx status code

func (*ImportSpecificationFromTextUnprocessableEntity) IsServerError

IsServerError returns true when this import specification from text unprocessable entity response has a 5xx status code

func (*ImportSpecificationFromTextUnprocessableEntity) IsSuccess

IsSuccess returns true when this import specification from text unprocessable entity response has a 2xx status code

func (*ImportSpecificationFromTextUnprocessableEntity) String

type ImportSpecificationFromURLBadRequest

type ImportSpecificationFromURLBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewImportSpecificationFromURLBadRequest

func NewImportSpecificationFromURLBadRequest() *ImportSpecificationFromURLBadRequest

NewImportSpecificationFromURLBadRequest creates a ImportSpecificationFromURLBadRequest with default headers values

func (*ImportSpecificationFromURLBadRequest) Code

Code gets the status code for the import specification from Url bad request response

func (*ImportSpecificationFromURLBadRequest) Error

func (*ImportSpecificationFromURLBadRequest) GetPayload

func (*ImportSpecificationFromURLBadRequest) IsClientError

func (o *ImportSpecificationFromURLBadRequest) IsClientError() bool

IsClientError returns true when this import specification from Url bad request response has a 4xx status code

func (*ImportSpecificationFromURLBadRequest) IsCode

IsCode returns true when this import specification from Url bad request response a status code equal to that given

func (*ImportSpecificationFromURLBadRequest) IsRedirect

IsRedirect returns true when this import specification from Url bad request response has a 3xx status code

func (*ImportSpecificationFromURLBadRequest) IsServerError

func (o *ImportSpecificationFromURLBadRequest) IsServerError() bool

IsServerError returns true when this import specification from Url bad request response has a 5xx status code

func (*ImportSpecificationFromURLBadRequest) IsSuccess

IsSuccess returns true when this import specification from Url bad request response has a 2xx status code

func (*ImportSpecificationFromURLBadRequest) String

type ImportSpecificationFromURLConflict

type ImportSpecificationFromURLConflict struct {
	Payload *models.Error
}

ImportSpecificationFromURLConflict describes a response with status code 409, with default header values.

Conflict

func NewImportSpecificationFromURLConflict

func NewImportSpecificationFromURLConflict() *ImportSpecificationFromURLConflict

NewImportSpecificationFromURLConflict creates a ImportSpecificationFromURLConflict with default headers values

func (*ImportSpecificationFromURLConflict) Code

Code gets the status code for the import specification from Url conflict response

func (*ImportSpecificationFromURLConflict) Error

func (*ImportSpecificationFromURLConflict) GetPayload

func (*ImportSpecificationFromURLConflict) IsClientError

func (o *ImportSpecificationFromURLConflict) IsClientError() bool

IsClientError returns true when this import specification from Url conflict response has a 4xx status code

func (*ImportSpecificationFromURLConflict) IsCode

IsCode returns true when this import specification from Url conflict response a status code equal to that given

func (*ImportSpecificationFromURLConflict) IsRedirect

func (o *ImportSpecificationFromURLConflict) IsRedirect() bool

IsRedirect returns true when this import specification from Url conflict response has a 3xx status code

func (*ImportSpecificationFromURLConflict) IsServerError

func (o *ImportSpecificationFromURLConflict) IsServerError() bool

IsServerError returns true when this import specification from Url conflict response has a 5xx status code

func (*ImportSpecificationFromURLConflict) IsSuccess

IsSuccess returns true when this import specification from Url conflict response has a 2xx status code

func (*ImportSpecificationFromURLConflict) String

type ImportSpecificationFromURLForbidden

type ImportSpecificationFromURLForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewImportSpecificationFromURLForbidden

func NewImportSpecificationFromURLForbidden() *ImportSpecificationFromURLForbidden

NewImportSpecificationFromURLForbidden creates a ImportSpecificationFromURLForbidden with default headers values

func (*ImportSpecificationFromURLForbidden) Code

Code gets the status code for the import specification from Url forbidden response

func (*ImportSpecificationFromURLForbidden) Error

func (*ImportSpecificationFromURLForbidden) GetPayload

func (*ImportSpecificationFromURLForbidden) IsClientError

func (o *ImportSpecificationFromURLForbidden) IsClientError() bool

IsClientError returns true when this import specification from Url forbidden response has a 4xx status code

func (*ImportSpecificationFromURLForbidden) IsCode

IsCode returns true when this import specification from Url forbidden response a status code equal to that given

func (*ImportSpecificationFromURLForbidden) IsRedirect

func (o *ImportSpecificationFromURLForbidden) IsRedirect() bool

IsRedirect returns true when this import specification from Url forbidden response has a 3xx status code

func (*ImportSpecificationFromURLForbidden) IsServerError

func (o *ImportSpecificationFromURLForbidden) IsServerError() bool

IsServerError returns true when this import specification from Url forbidden response has a 5xx status code

func (*ImportSpecificationFromURLForbidden) IsSuccess

IsSuccess returns true when this import specification from Url forbidden response has a 2xx status code

func (*ImportSpecificationFromURLForbidden) String

type ImportSpecificationFromURLNotFound

type ImportSpecificationFromURLNotFound struct {
	Payload *models.Error
}

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

Not found

func NewImportSpecificationFromURLNotFound

func NewImportSpecificationFromURLNotFound() *ImportSpecificationFromURLNotFound

NewImportSpecificationFromURLNotFound creates a ImportSpecificationFromURLNotFound with default headers values

func (*ImportSpecificationFromURLNotFound) Code

Code gets the status code for the import specification from Url not found response

func (*ImportSpecificationFromURLNotFound) Error

func (*ImportSpecificationFromURLNotFound) GetPayload

func (*ImportSpecificationFromURLNotFound) IsClientError

func (o *ImportSpecificationFromURLNotFound) IsClientError() bool

IsClientError returns true when this import specification from Url not found response has a 4xx status code

func (*ImportSpecificationFromURLNotFound) IsCode

IsCode returns true when this import specification from Url not found response a status code equal to that given

func (*ImportSpecificationFromURLNotFound) IsRedirect

func (o *ImportSpecificationFromURLNotFound) IsRedirect() bool

IsRedirect returns true when this import specification from Url not found response has a 3xx status code

func (*ImportSpecificationFromURLNotFound) IsServerError

func (o *ImportSpecificationFromURLNotFound) IsServerError() bool

IsServerError returns true when this import specification from Url not found response has a 5xx status code

func (*ImportSpecificationFromURLNotFound) IsSuccess

IsSuccess returns true when this import specification from Url not found response has a 2xx status code

func (*ImportSpecificationFromURLNotFound) String

type ImportSpecificationFromURLOK

type ImportSpecificationFromURLOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.ImportServiceConfigurationResult
}

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

Import service configuration result

func NewImportSpecificationFromURLOK

func NewImportSpecificationFromURLOK() *ImportSpecificationFromURLOK

NewImportSpecificationFromURLOK creates a ImportSpecificationFromURLOK with default headers values

func (*ImportSpecificationFromURLOK) Code

Code gets the status code for the import specification from Url o k response

func (*ImportSpecificationFromURLOK) Error

func (*ImportSpecificationFromURLOK) GetPayload

func (*ImportSpecificationFromURLOK) IsClientError

func (o *ImportSpecificationFromURLOK) IsClientError() bool

IsClientError returns true when this import specification from Url o k response has a 4xx status code

func (*ImportSpecificationFromURLOK) IsCode

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

IsCode returns true when this import specification from Url o k response a status code equal to that given

func (*ImportSpecificationFromURLOK) IsRedirect

func (o *ImportSpecificationFromURLOK) IsRedirect() bool

IsRedirect returns true when this import specification from Url o k response has a 3xx status code

func (*ImportSpecificationFromURLOK) IsServerError

func (o *ImportSpecificationFromURLOK) IsServerError() bool

IsServerError returns true when this import specification from Url o k response has a 5xx status code

func (*ImportSpecificationFromURLOK) IsSuccess

func (o *ImportSpecificationFromURLOK) IsSuccess() bool

IsSuccess returns true when this import specification from Url o k response has a 2xx status code

func (*ImportSpecificationFromURLOK) String

type ImportSpecificationFromURLParams

type ImportSpecificationFromURLParams struct {

	// GatewayType.
	GatewayType *string

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

	// Sid.
	Sid string

	// URL.
	URL *string

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

ImportSpecificationFromURLParams contains all the parameters to send to the API endpoint

for the import specification from URL operation.

Typically these are written to a http.Request.

func NewImportSpecificationFromURLParams

func NewImportSpecificationFromURLParams() *ImportSpecificationFromURLParams

NewImportSpecificationFromURLParams creates a new ImportSpecificationFromURLParams 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 NewImportSpecificationFromURLParamsWithContext

func NewImportSpecificationFromURLParamsWithContext(ctx context.Context) *ImportSpecificationFromURLParams

NewImportSpecificationFromURLParamsWithContext creates a new ImportSpecificationFromURLParams object with the ability to set a context for a request.

func NewImportSpecificationFromURLParamsWithHTTPClient

func NewImportSpecificationFromURLParamsWithHTTPClient(client *http.Client) *ImportSpecificationFromURLParams

NewImportSpecificationFromURLParamsWithHTTPClient creates a new ImportSpecificationFromURLParams object with the ability to set a custom HTTPClient for a request.

func NewImportSpecificationFromURLParamsWithTimeout

func NewImportSpecificationFromURLParamsWithTimeout(timeout time.Duration) *ImportSpecificationFromURLParams

NewImportSpecificationFromURLParamsWithTimeout creates a new ImportSpecificationFromURLParams object with the ability to set a timeout on a request.

func (*ImportSpecificationFromURLParams) SetContext

SetContext adds the context to the import specification from URL params

func (*ImportSpecificationFromURLParams) SetDefaults

func (o *ImportSpecificationFromURLParams) SetDefaults()

SetDefaults hydrates default values in the import specification from URL params (not the query body).

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

func (*ImportSpecificationFromURLParams) SetGatewayType

func (o *ImportSpecificationFromURLParams) SetGatewayType(gatewayType *string)

SetGatewayType adds the gatewayType to the import specification from URL params

func (*ImportSpecificationFromURLParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import specification from URL params

func (*ImportSpecificationFromURLParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the import specification from URL params

func (*ImportSpecificationFromURLParams) SetSid

SetSid adds the sid to the import specification from URL params

func (*ImportSpecificationFromURLParams) SetTimeout

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

SetTimeout adds the timeout to the import specification from URL params

func (*ImportSpecificationFromURLParams) SetURL

func (o *ImportSpecificationFromURLParams) SetURL(url *string)

SetURL adds the url to the import specification from URL params

func (*ImportSpecificationFromURLParams) WithContext

WithContext adds the context to the import specification from URL params

func (*ImportSpecificationFromURLParams) WithDefaults

WithDefaults hydrates default values in the import specification from URL params (not the query body).

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

func (*ImportSpecificationFromURLParams) WithGatewayType

WithGatewayType adds the gatewayType to the import specification from URL params

func (*ImportSpecificationFromURLParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the import specification from URL params

func (*ImportSpecificationFromURLParams) WithIfMatch

WithIfMatch adds the ifMatch to the import specification from URL params

func (*ImportSpecificationFromURLParams) WithSid

WithSid adds the sid to the import specification from URL params

func (*ImportSpecificationFromURLParams) WithTimeout

WithTimeout adds the timeout to the import specification from URL params

func (*ImportSpecificationFromURLParams) WithURL

WithURL adds the url to the import specification from URL params

func (*ImportSpecificationFromURLParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ImportSpecificationFromURLReader

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

ImportSpecificationFromURLReader is a Reader for the ImportSpecificationFromURL structure.

func (*ImportSpecificationFromURLReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportSpecificationFromURLTooManyRequests

type ImportSpecificationFromURLTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewImportSpecificationFromURLTooManyRequests

func NewImportSpecificationFromURLTooManyRequests() *ImportSpecificationFromURLTooManyRequests

NewImportSpecificationFromURLTooManyRequests creates a ImportSpecificationFromURLTooManyRequests with default headers values

func (*ImportSpecificationFromURLTooManyRequests) Code

Code gets the status code for the import specification from Url too many requests response

func (*ImportSpecificationFromURLTooManyRequests) Error

func (*ImportSpecificationFromURLTooManyRequests) GetPayload

func (*ImportSpecificationFromURLTooManyRequests) IsClientError

IsClientError returns true when this import specification from Url too many requests response has a 4xx status code

func (*ImportSpecificationFromURLTooManyRequests) IsCode

IsCode returns true when this import specification from Url too many requests response a status code equal to that given

func (*ImportSpecificationFromURLTooManyRequests) IsRedirect

IsRedirect returns true when this import specification from Url too many requests response has a 3xx status code

func (*ImportSpecificationFromURLTooManyRequests) IsServerError

IsServerError returns true when this import specification from Url too many requests response has a 5xx status code

func (*ImportSpecificationFromURLTooManyRequests) IsSuccess

IsSuccess returns true when this import specification from Url too many requests response has a 2xx status code

func (*ImportSpecificationFromURLTooManyRequests) String

type ImportSpecificationFromURLUnauthorized

type ImportSpecificationFromURLUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewImportSpecificationFromURLUnauthorized

func NewImportSpecificationFromURLUnauthorized() *ImportSpecificationFromURLUnauthorized

NewImportSpecificationFromURLUnauthorized creates a ImportSpecificationFromURLUnauthorized with default headers values

func (*ImportSpecificationFromURLUnauthorized) Code

Code gets the status code for the import specification from Url unauthorized response

func (*ImportSpecificationFromURLUnauthorized) Error

func (*ImportSpecificationFromURLUnauthorized) GetPayload

func (*ImportSpecificationFromURLUnauthorized) IsClientError

func (o *ImportSpecificationFromURLUnauthorized) IsClientError() bool

IsClientError returns true when this import specification from Url unauthorized response has a 4xx status code

func (*ImportSpecificationFromURLUnauthorized) IsCode

IsCode returns true when this import specification from Url unauthorized response a status code equal to that given

func (*ImportSpecificationFromURLUnauthorized) IsRedirect

IsRedirect returns true when this import specification from Url unauthorized response has a 3xx status code

func (*ImportSpecificationFromURLUnauthorized) IsServerError

func (o *ImportSpecificationFromURLUnauthorized) IsServerError() bool

IsServerError returns true when this import specification from Url unauthorized response has a 5xx status code

func (*ImportSpecificationFromURLUnauthorized) IsSuccess

IsSuccess returns true when this import specification from Url unauthorized response has a 2xx status code

func (*ImportSpecificationFromURLUnauthorized) String

type ImportSpecificationFromURLUnprocessableEntity

type ImportSpecificationFromURLUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewImportSpecificationFromURLUnprocessableEntity

func NewImportSpecificationFromURLUnprocessableEntity() *ImportSpecificationFromURLUnprocessableEntity

NewImportSpecificationFromURLUnprocessableEntity creates a ImportSpecificationFromURLUnprocessableEntity with default headers values

func (*ImportSpecificationFromURLUnprocessableEntity) Code

Code gets the status code for the import specification from Url unprocessable entity response

func (*ImportSpecificationFromURLUnprocessableEntity) Error

func (*ImportSpecificationFromURLUnprocessableEntity) GetPayload

func (*ImportSpecificationFromURLUnprocessableEntity) IsClientError

IsClientError returns true when this import specification from Url unprocessable entity response has a 4xx status code

func (*ImportSpecificationFromURLUnprocessableEntity) IsCode

IsCode returns true when this import specification from Url unprocessable entity response a status code equal to that given

func (*ImportSpecificationFromURLUnprocessableEntity) IsRedirect

IsRedirect returns true when this import specification from Url unprocessable entity response has a 3xx status code

func (*ImportSpecificationFromURLUnprocessableEntity) IsServerError

IsServerError returns true when this import specification from Url unprocessable entity response has a 5xx status code

func (*ImportSpecificationFromURLUnprocessableEntity) IsSuccess

IsSuccess returns true when this import specification from Url unprocessable entity response has a 2xx status code

func (*ImportSpecificationFromURLUnprocessableEntity) String

type ListServicesBadRequest

type ListServicesBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewListServicesBadRequest

func NewListServicesBadRequest() *ListServicesBadRequest

NewListServicesBadRequest creates a ListServicesBadRequest with default headers values

func (*ListServicesBadRequest) Code

func (o *ListServicesBadRequest) Code() int

Code gets the status code for the list services bad request response

func (*ListServicesBadRequest) Error

func (o *ListServicesBadRequest) Error() string

func (*ListServicesBadRequest) GetPayload

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

func (*ListServicesBadRequest) IsClientError

func (o *ListServicesBadRequest) IsClientError() bool

IsClientError returns true when this list services bad request response has a 4xx status code

func (*ListServicesBadRequest) IsCode

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

IsCode returns true when this list services bad request response a status code equal to that given

func (*ListServicesBadRequest) IsRedirect

func (o *ListServicesBadRequest) IsRedirect() bool

IsRedirect returns true when this list services bad request response has a 3xx status code

func (*ListServicesBadRequest) IsServerError

func (o *ListServicesBadRequest) IsServerError() bool

IsServerError returns true when this list services bad request response has a 5xx status code

func (*ListServicesBadRequest) IsSuccess

func (o *ListServicesBadRequest) IsSuccess() bool

IsSuccess returns true when this list services bad request response has a 2xx status code

func (*ListServicesBadRequest) String

func (o *ListServicesBadRequest) String() string

type ListServicesForbidden

type ListServicesForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListServicesForbidden

func NewListServicesForbidden() *ListServicesForbidden

NewListServicesForbidden creates a ListServicesForbidden with default headers values

func (*ListServicesForbidden) Code

func (o *ListServicesForbidden) Code() int

Code gets the status code for the list services forbidden response

func (*ListServicesForbidden) Error

func (o *ListServicesForbidden) Error() string

func (*ListServicesForbidden) GetPayload

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

func (*ListServicesForbidden) IsClientError

func (o *ListServicesForbidden) IsClientError() bool

IsClientError returns true when this list services forbidden response has a 4xx status code

func (*ListServicesForbidden) IsCode

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

IsCode returns true when this list services forbidden response a status code equal to that given

func (*ListServicesForbidden) IsRedirect

func (o *ListServicesForbidden) IsRedirect() bool

IsRedirect returns true when this list services forbidden response has a 3xx status code

func (*ListServicesForbidden) IsServerError

func (o *ListServicesForbidden) IsServerError() bool

IsServerError returns true when this list services forbidden response has a 5xx status code

func (*ListServicesForbidden) IsSuccess

func (o *ListServicesForbidden) IsSuccess() bool

IsSuccess returns true when this list services forbidden response has a 2xx status code

func (*ListServicesForbidden) String

func (o *ListServicesForbidden) String() string

type ListServicesNotFound

type ListServicesNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListServicesNotFound

func NewListServicesNotFound() *ListServicesNotFound

NewListServicesNotFound creates a ListServicesNotFound with default headers values

func (*ListServicesNotFound) Code

func (o *ListServicesNotFound) Code() int

Code gets the status code for the list services not found response

func (*ListServicesNotFound) Error

func (o *ListServicesNotFound) Error() string

func (*ListServicesNotFound) GetPayload

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

func (*ListServicesNotFound) IsClientError

func (o *ListServicesNotFound) IsClientError() bool

IsClientError returns true when this list services not found response has a 4xx status code

func (*ListServicesNotFound) IsCode

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

IsCode returns true when this list services not found response a status code equal to that given

func (*ListServicesNotFound) IsRedirect

func (o *ListServicesNotFound) IsRedirect() bool

IsRedirect returns true when this list services not found response has a 3xx status code

func (*ListServicesNotFound) IsServerError

func (o *ListServicesNotFound) IsServerError() bool

IsServerError returns true when this list services not found response has a 5xx status code

func (*ListServicesNotFound) IsSuccess

func (o *ListServicesNotFound) IsSuccess() bool

IsSuccess returns true when this list services not found response has a 2xx status code

func (*ListServicesNotFound) String

func (o *ListServicesNotFound) String() string

type ListServicesOK

type ListServicesOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.ServicesResponse
}

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

Services

func NewListServicesOK

func NewListServicesOK() *ListServicesOK

NewListServicesOK creates a ListServicesOK with default headers values

func (*ListServicesOK) Code

func (o *ListServicesOK) Code() int

Code gets the status code for the list services o k response

func (*ListServicesOK) Error

func (o *ListServicesOK) Error() string

func (*ListServicesOK) GetPayload

func (o *ListServicesOK) GetPayload() *models.ServicesResponse

func (*ListServicesOK) IsClientError

func (o *ListServicesOK) IsClientError() bool

IsClientError returns true when this list services o k response has a 4xx status code

func (*ListServicesOK) IsCode

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

IsCode returns true when this list services o k response a status code equal to that given

func (*ListServicesOK) IsRedirect

func (o *ListServicesOK) IsRedirect() bool

IsRedirect returns true when this list services o k response has a 3xx status code

func (*ListServicesOK) IsServerError

func (o *ListServicesOK) IsServerError() bool

IsServerError returns true when this list services o k response has a 5xx status code

func (*ListServicesOK) IsSuccess

func (o *ListServicesOK) IsSuccess() bool

IsSuccess returns true when this list services o k response has a 2xx status code

func (*ListServicesOK) String

func (o *ListServicesOK) String() string

type ListServicesParams

type ListServicesParams struct {

	/* AfterServiceID.

	     optional list services after given id
	AfterServiceID
	*/
	AfterServiceID *string

	/* BeforeServiceID.

	     optional list services before given id
	BeforeServiceID
	*/
	BeforeServiceID *string

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

	/* Limit.

	     optional limit results
	Limit

	     Format: int64
	     Default: 20
	*/
	Limit *int64

	/* Order.

	     optional order services by given direction
	Order
	*/
	Order *string

	/* SearchPhrase.

	     Optional search phrase: service id OR service name substring (case insensitive)
	SearchPhrase
	*/
	SearchPhrase *string

	/* ServiceTypes.

	   comma separated service types that are to be filtered out

	   Default: "user,oauth2,oidc,system,openbanking"
	*/
	ServiceTypes *string

	/* Sort.

	     optional sort services by given field
	Sort
	*/
	Sort *string

	/* Wid.

	   Authorization server id

	   Default: "default"
	*/
	Wid string

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

ListServicesParams contains all the parameters to send to the API endpoint

for the list services operation.

Typically these are written to a http.Request.

func NewListServicesParams

func NewListServicesParams() *ListServicesParams

NewListServicesParams creates a new ListServicesParams 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 NewListServicesParamsWithContext

func NewListServicesParamsWithContext(ctx context.Context) *ListServicesParams

NewListServicesParamsWithContext creates a new ListServicesParams object with the ability to set a context for a request.

func NewListServicesParamsWithHTTPClient

func NewListServicesParamsWithHTTPClient(client *http.Client) *ListServicesParams

NewListServicesParamsWithHTTPClient creates a new ListServicesParams object with the ability to set a custom HTTPClient for a request.

func NewListServicesParamsWithTimeout

func NewListServicesParamsWithTimeout(timeout time.Duration) *ListServicesParams

NewListServicesParamsWithTimeout creates a new ListServicesParams object with the ability to set a timeout on a request.

func (*ListServicesParams) SetAfterServiceID

func (o *ListServicesParams) SetAfterServiceID(afterServiceID *string)

SetAfterServiceID adds the afterServiceId to the list services params

func (*ListServicesParams) SetBeforeServiceID

func (o *ListServicesParams) SetBeforeServiceID(beforeServiceID *string)

SetBeforeServiceID adds the beforeServiceId to the list services params

func (*ListServicesParams) SetContext

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

SetContext adds the context to the list services params

func (*ListServicesParams) SetDefaults

func (o *ListServicesParams) SetDefaults()

SetDefaults hydrates default values in the list services params (not the query body).

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

func (*ListServicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list services params

func (*ListServicesParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the list services params

func (*ListServicesParams) SetLimit

func (o *ListServicesParams) SetLimit(limit *int64)

SetLimit adds the limit to the list services params

func (*ListServicesParams) SetOrder

func (o *ListServicesParams) SetOrder(order *string)

SetOrder adds the order to the list services params

func (*ListServicesParams) SetSearchPhrase

func (o *ListServicesParams) SetSearchPhrase(searchPhrase *string)

SetSearchPhrase adds the searchPhrase to the list services params

func (*ListServicesParams) SetServiceTypes

func (o *ListServicesParams) SetServiceTypes(serviceTypes *string)

SetServiceTypes adds the serviceTypes to the list services params

func (*ListServicesParams) SetSort

func (o *ListServicesParams) SetSort(sort *string)

SetSort adds the sort to the list services params

func (*ListServicesParams) SetTimeout

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

SetTimeout adds the timeout to the list services params

func (*ListServicesParams) SetWid

func (o *ListServicesParams) SetWid(wid string)

SetWid adds the wid to the list services params

func (*ListServicesParams) WithAfterServiceID

func (o *ListServicesParams) WithAfterServiceID(afterServiceID *string) *ListServicesParams

WithAfterServiceID adds the afterServiceID to the list services params

func (*ListServicesParams) WithBeforeServiceID

func (o *ListServicesParams) WithBeforeServiceID(beforeServiceID *string) *ListServicesParams

WithBeforeServiceID adds the beforeServiceID to the list services params

func (*ListServicesParams) WithContext

WithContext adds the context to the list services params

func (*ListServicesParams) WithDefaults

func (o *ListServicesParams) WithDefaults() *ListServicesParams

WithDefaults hydrates default values in the list services params (not the query body).

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

func (*ListServicesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list services params

func (*ListServicesParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the list services params

func (*ListServicesParams) WithLimit

func (o *ListServicesParams) WithLimit(limit *int64) *ListServicesParams

WithLimit adds the limit to the list services params

func (*ListServicesParams) WithOrder

func (o *ListServicesParams) WithOrder(order *string) *ListServicesParams

WithOrder adds the order to the list services params

func (*ListServicesParams) WithSearchPhrase

func (o *ListServicesParams) WithSearchPhrase(searchPhrase *string) *ListServicesParams

WithSearchPhrase adds the searchPhrase to the list services params

func (*ListServicesParams) WithServiceTypes

func (o *ListServicesParams) WithServiceTypes(serviceTypes *string) *ListServicesParams

WithServiceTypes adds the serviceTypes to the list services params

func (*ListServicesParams) WithSort

func (o *ListServicesParams) WithSort(sort *string) *ListServicesParams

WithSort adds the sort to the list services params

func (*ListServicesParams) WithTimeout

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

WithTimeout adds the timeout to the list services params

func (*ListServicesParams) WithWid

func (o *ListServicesParams) WithWid(wid string) *ListServicesParams

WithWid adds the wid to the list services params

func (*ListServicesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListServicesReader

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

ListServicesReader is a Reader for the ListServices structure.

func (*ListServicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServicesTooManyRequests

type ListServicesTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListServicesTooManyRequests

func NewListServicesTooManyRequests() *ListServicesTooManyRequests

NewListServicesTooManyRequests creates a ListServicesTooManyRequests with default headers values

func (*ListServicesTooManyRequests) Code

func (o *ListServicesTooManyRequests) Code() int

Code gets the status code for the list services too many requests response

func (*ListServicesTooManyRequests) Error

func (*ListServicesTooManyRequests) GetPayload

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

func (*ListServicesTooManyRequests) IsClientError

func (o *ListServicesTooManyRequests) IsClientError() bool

IsClientError returns true when this list services too many requests response has a 4xx status code

func (*ListServicesTooManyRequests) IsCode

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

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

func (*ListServicesTooManyRequests) IsRedirect

func (o *ListServicesTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list services too many requests response has a 3xx status code

func (*ListServicesTooManyRequests) IsServerError

func (o *ListServicesTooManyRequests) IsServerError() bool

IsServerError returns true when this list services too many requests response has a 5xx status code

func (*ListServicesTooManyRequests) IsSuccess

func (o *ListServicesTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list services too many requests response has a 2xx status code

func (*ListServicesTooManyRequests) String

func (o *ListServicesTooManyRequests) String() string

type ListServicesUnauthorized

type ListServicesUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListServicesUnauthorized

func NewListServicesUnauthorized() *ListServicesUnauthorized

NewListServicesUnauthorized creates a ListServicesUnauthorized with default headers values

func (*ListServicesUnauthorized) Code

func (o *ListServicesUnauthorized) Code() int

Code gets the status code for the list services unauthorized response

func (*ListServicesUnauthorized) Error

func (o *ListServicesUnauthorized) Error() string

func (*ListServicesUnauthorized) GetPayload

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

func (*ListServicesUnauthorized) IsClientError

func (o *ListServicesUnauthorized) IsClientError() bool

IsClientError returns true when this list services unauthorized response has a 4xx status code

func (*ListServicesUnauthorized) IsCode

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

IsCode returns true when this list services unauthorized response a status code equal to that given

func (*ListServicesUnauthorized) IsRedirect

func (o *ListServicesUnauthorized) IsRedirect() bool

IsRedirect returns true when this list services unauthorized response has a 3xx status code

func (*ListServicesUnauthorized) IsServerError

func (o *ListServicesUnauthorized) IsServerError() bool

IsServerError returns true when this list services unauthorized response has a 5xx status code

func (*ListServicesUnauthorized) IsSuccess

func (o *ListServicesUnauthorized) IsSuccess() bool

IsSuccess returns true when this list services unauthorized response has a 2xx status code

func (*ListServicesUnauthorized) String

func (o *ListServicesUnauthorized) String() string

type RemoveSpecificationBadRequest

type RemoveSpecificationBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewRemoveSpecificationBadRequest

func NewRemoveSpecificationBadRequest() *RemoveSpecificationBadRequest

NewRemoveSpecificationBadRequest creates a RemoveSpecificationBadRequest with default headers values

func (*RemoveSpecificationBadRequest) Code

Code gets the status code for the remove specification bad request response

func (*RemoveSpecificationBadRequest) Error

func (*RemoveSpecificationBadRequest) GetPayload

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

func (*RemoveSpecificationBadRequest) IsClientError

func (o *RemoveSpecificationBadRequest) IsClientError() bool

IsClientError returns true when this remove specification bad request response has a 4xx status code

func (*RemoveSpecificationBadRequest) IsCode

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

IsCode returns true when this remove specification bad request response a status code equal to that given

func (*RemoveSpecificationBadRequest) IsRedirect

func (o *RemoveSpecificationBadRequest) IsRedirect() bool

IsRedirect returns true when this remove specification bad request response has a 3xx status code

func (*RemoveSpecificationBadRequest) IsServerError

func (o *RemoveSpecificationBadRequest) IsServerError() bool

IsServerError returns true when this remove specification bad request response has a 5xx status code

func (*RemoveSpecificationBadRequest) IsSuccess

func (o *RemoveSpecificationBadRequest) IsSuccess() bool

IsSuccess returns true when this remove specification bad request response has a 2xx status code

func (*RemoveSpecificationBadRequest) String

type RemoveSpecificationConflict

type RemoveSpecificationConflict struct {
	Payload *models.Error
}

RemoveSpecificationConflict describes a response with status code 409, with default header values.

Conflict

func NewRemoveSpecificationConflict

func NewRemoveSpecificationConflict() *RemoveSpecificationConflict

NewRemoveSpecificationConflict creates a RemoveSpecificationConflict with default headers values

func (*RemoveSpecificationConflict) Code

func (o *RemoveSpecificationConflict) Code() int

Code gets the status code for the remove specification conflict response

func (*RemoveSpecificationConflict) Error

func (*RemoveSpecificationConflict) GetPayload

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

func (*RemoveSpecificationConflict) IsClientError

func (o *RemoveSpecificationConflict) IsClientError() bool

IsClientError returns true when this remove specification conflict response has a 4xx status code

func (*RemoveSpecificationConflict) IsCode

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

IsCode returns true when this remove specification conflict response a status code equal to that given

func (*RemoveSpecificationConflict) IsRedirect

func (o *RemoveSpecificationConflict) IsRedirect() bool

IsRedirect returns true when this remove specification conflict response has a 3xx status code

func (*RemoveSpecificationConflict) IsServerError

func (o *RemoveSpecificationConflict) IsServerError() bool

IsServerError returns true when this remove specification conflict response has a 5xx status code

func (*RemoveSpecificationConflict) IsSuccess

func (o *RemoveSpecificationConflict) IsSuccess() bool

IsSuccess returns true when this remove specification conflict response has a 2xx status code

func (*RemoveSpecificationConflict) String

func (o *RemoveSpecificationConflict) String() string

type RemoveSpecificationForbidden

type RemoveSpecificationForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewRemoveSpecificationForbidden

func NewRemoveSpecificationForbidden() *RemoveSpecificationForbidden

NewRemoveSpecificationForbidden creates a RemoveSpecificationForbidden with default headers values

func (*RemoveSpecificationForbidden) Code

Code gets the status code for the remove specification forbidden response

func (*RemoveSpecificationForbidden) Error

func (*RemoveSpecificationForbidden) GetPayload

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

func (*RemoveSpecificationForbidden) IsClientError

func (o *RemoveSpecificationForbidden) IsClientError() bool

IsClientError returns true when this remove specification forbidden response has a 4xx status code

func (*RemoveSpecificationForbidden) IsCode

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

IsCode returns true when this remove specification forbidden response a status code equal to that given

func (*RemoveSpecificationForbidden) IsRedirect

func (o *RemoveSpecificationForbidden) IsRedirect() bool

IsRedirect returns true when this remove specification forbidden response has a 3xx status code

func (*RemoveSpecificationForbidden) IsServerError

func (o *RemoveSpecificationForbidden) IsServerError() bool

IsServerError returns true when this remove specification forbidden response has a 5xx status code

func (*RemoveSpecificationForbidden) IsSuccess

func (o *RemoveSpecificationForbidden) IsSuccess() bool

IsSuccess returns true when this remove specification forbidden response has a 2xx status code

func (*RemoveSpecificationForbidden) String

type RemoveSpecificationNotFound

type RemoveSpecificationNotFound struct {
	Payload *models.Error
}

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

Not found

func NewRemoveSpecificationNotFound

func NewRemoveSpecificationNotFound() *RemoveSpecificationNotFound

NewRemoveSpecificationNotFound creates a RemoveSpecificationNotFound with default headers values

func (*RemoveSpecificationNotFound) Code

func (o *RemoveSpecificationNotFound) Code() int

Code gets the status code for the remove specification not found response

func (*RemoveSpecificationNotFound) Error

func (*RemoveSpecificationNotFound) GetPayload

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

func (*RemoveSpecificationNotFound) IsClientError

func (o *RemoveSpecificationNotFound) IsClientError() bool

IsClientError returns true when this remove specification not found response has a 4xx status code

func (*RemoveSpecificationNotFound) IsCode

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

IsCode returns true when this remove specification not found response a status code equal to that given

func (*RemoveSpecificationNotFound) IsRedirect

func (o *RemoveSpecificationNotFound) IsRedirect() bool

IsRedirect returns true when this remove specification not found response has a 3xx status code

func (*RemoveSpecificationNotFound) IsServerError

func (o *RemoveSpecificationNotFound) IsServerError() bool

IsServerError returns true when this remove specification not found response has a 5xx status code

func (*RemoveSpecificationNotFound) IsSuccess

func (o *RemoveSpecificationNotFound) IsSuccess() bool

IsSuccess returns true when this remove specification not found response has a 2xx status code

func (*RemoveSpecificationNotFound) String

func (o *RemoveSpecificationNotFound) String() string

type RemoveSpecificationOK

type RemoveSpecificationOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.RemoveServiceConfigurationResult
}

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

Remove service configuration result

func NewRemoveSpecificationOK

func NewRemoveSpecificationOK() *RemoveSpecificationOK

NewRemoveSpecificationOK creates a RemoveSpecificationOK with default headers values

func (*RemoveSpecificationOK) Code

func (o *RemoveSpecificationOK) Code() int

Code gets the status code for the remove specification o k response

func (*RemoveSpecificationOK) Error

func (o *RemoveSpecificationOK) Error() string

func (*RemoveSpecificationOK) GetPayload

func (*RemoveSpecificationOK) IsClientError

func (o *RemoveSpecificationOK) IsClientError() bool

IsClientError returns true when this remove specification o k response has a 4xx status code

func (*RemoveSpecificationOK) IsCode

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

IsCode returns true when this remove specification o k response a status code equal to that given

func (*RemoveSpecificationOK) IsRedirect

func (o *RemoveSpecificationOK) IsRedirect() bool

IsRedirect returns true when this remove specification o k response has a 3xx status code

func (*RemoveSpecificationOK) IsServerError

func (o *RemoveSpecificationOK) IsServerError() bool

IsServerError returns true when this remove specification o k response has a 5xx status code

func (*RemoveSpecificationOK) IsSuccess

func (o *RemoveSpecificationOK) IsSuccess() bool

IsSuccess returns true when this remove specification o k response has a 2xx status code

func (*RemoveSpecificationOK) String

func (o *RemoveSpecificationOK) String() string

type RemoveSpecificationParams

type RemoveSpecificationParams struct {

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

	// Sid.
	Sid string

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

RemoveSpecificationParams contains all the parameters to send to the API endpoint

for the remove specification operation.

Typically these are written to a http.Request.

func NewRemoveSpecificationParams

func NewRemoveSpecificationParams() *RemoveSpecificationParams

NewRemoveSpecificationParams creates a new RemoveSpecificationParams 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 NewRemoveSpecificationParamsWithContext

func NewRemoveSpecificationParamsWithContext(ctx context.Context) *RemoveSpecificationParams

NewRemoveSpecificationParamsWithContext creates a new RemoveSpecificationParams object with the ability to set a context for a request.

func NewRemoveSpecificationParamsWithHTTPClient

func NewRemoveSpecificationParamsWithHTTPClient(client *http.Client) *RemoveSpecificationParams

NewRemoveSpecificationParamsWithHTTPClient creates a new RemoveSpecificationParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveSpecificationParamsWithTimeout

func NewRemoveSpecificationParamsWithTimeout(timeout time.Duration) *RemoveSpecificationParams

NewRemoveSpecificationParamsWithTimeout creates a new RemoveSpecificationParams object with the ability to set a timeout on a request.

func (*RemoveSpecificationParams) SetContext

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

SetContext adds the context to the remove specification params

func (*RemoveSpecificationParams) SetDefaults

func (o *RemoveSpecificationParams) SetDefaults()

SetDefaults hydrates default values in the remove specification params (not the query body).

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

func (*RemoveSpecificationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove specification params

func (*RemoveSpecificationParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the remove specification params

func (*RemoveSpecificationParams) SetSid

func (o *RemoveSpecificationParams) SetSid(sid string)

SetSid adds the sid to the remove specification params

func (*RemoveSpecificationParams) SetTimeout

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

SetTimeout adds the timeout to the remove specification params

func (*RemoveSpecificationParams) WithContext

WithContext adds the context to the remove specification params

func (*RemoveSpecificationParams) WithDefaults

WithDefaults hydrates default values in the remove specification params (not the query body).

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

func (*RemoveSpecificationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove specification params

func (*RemoveSpecificationParams) WithIfMatch

WithIfMatch adds the ifMatch to the remove specification params

func (*RemoveSpecificationParams) WithSid

WithSid adds the sid to the remove specification params

func (*RemoveSpecificationParams) WithTimeout

WithTimeout adds the timeout to the remove specification params

func (*RemoveSpecificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveSpecificationReader

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

RemoveSpecificationReader is a Reader for the RemoveSpecification structure.

func (*RemoveSpecificationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveSpecificationTooManyRequests

type RemoveSpecificationTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewRemoveSpecificationTooManyRequests

func NewRemoveSpecificationTooManyRequests() *RemoveSpecificationTooManyRequests

NewRemoveSpecificationTooManyRequests creates a RemoveSpecificationTooManyRequests with default headers values

func (*RemoveSpecificationTooManyRequests) Code

Code gets the status code for the remove specification too many requests response

func (*RemoveSpecificationTooManyRequests) Error

func (*RemoveSpecificationTooManyRequests) GetPayload

func (*RemoveSpecificationTooManyRequests) IsClientError

func (o *RemoveSpecificationTooManyRequests) IsClientError() bool

IsClientError returns true when this remove specification too many requests response has a 4xx status code

func (*RemoveSpecificationTooManyRequests) IsCode

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

func (*RemoveSpecificationTooManyRequests) IsRedirect

func (o *RemoveSpecificationTooManyRequests) IsRedirect() bool

IsRedirect returns true when this remove specification too many requests response has a 3xx status code

func (*RemoveSpecificationTooManyRequests) IsServerError

func (o *RemoveSpecificationTooManyRequests) IsServerError() bool

IsServerError returns true when this remove specification too many requests response has a 5xx status code

func (*RemoveSpecificationTooManyRequests) IsSuccess

IsSuccess returns true when this remove specification too many requests response has a 2xx status code

func (*RemoveSpecificationTooManyRequests) String

type RemoveSpecificationUnauthorized

type RemoveSpecificationUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewRemoveSpecificationUnauthorized

func NewRemoveSpecificationUnauthorized() *RemoveSpecificationUnauthorized

NewRemoveSpecificationUnauthorized creates a RemoveSpecificationUnauthorized with default headers values

func (*RemoveSpecificationUnauthorized) Code

Code gets the status code for the remove specification unauthorized response

func (*RemoveSpecificationUnauthorized) Error

func (*RemoveSpecificationUnauthorized) GetPayload

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

func (*RemoveSpecificationUnauthorized) IsClientError

func (o *RemoveSpecificationUnauthorized) IsClientError() bool

IsClientError returns true when this remove specification unauthorized response has a 4xx status code

func (*RemoveSpecificationUnauthorized) IsCode

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

IsCode returns true when this remove specification unauthorized response a status code equal to that given

func (*RemoveSpecificationUnauthorized) IsRedirect

func (o *RemoveSpecificationUnauthorized) IsRedirect() bool

IsRedirect returns true when this remove specification unauthorized response has a 3xx status code

func (*RemoveSpecificationUnauthorized) IsServerError

func (o *RemoveSpecificationUnauthorized) IsServerError() bool

IsServerError returns true when this remove specification unauthorized response has a 5xx status code

func (*RemoveSpecificationUnauthorized) IsSuccess

func (o *RemoveSpecificationUnauthorized) IsSuccess() bool

IsSuccess returns true when this remove specification unauthorized response has a 2xx status code

func (*RemoveSpecificationUnauthorized) String

type RemoveSpecificationUnprocessableEntity

type RemoveSpecificationUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewRemoveSpecificationUnprocessableEntity

func NewRemoveSpecificationUnprocessableEntity() *RemoveSpecificationUnprocessableEntity

NewRemoveSpecificationUnprocessableEntity creates a RemoveSpecificationUnprocessableEntity with default headers values

func (*RemoveSpecificationUnprocessableEntity) Code

Code gets the status code for the remove specification unprocessable entity response

func (*RemoveSpecificationUnprocessableEntity) Error

func (*RemoveSpecificationUnprocessableEntity) GetPayload

func (*RemoveSpecificationUnprocessableEntity) IsClientError

func (o *RemoveSpecificationUnprocessableEntity) IsClientError() bool

IsClientError returns true when this remove specification unprocessable entity response has a 4xx status code

func (*RemoveSpecificationUnprocessableEntity) IsCode

IsCode returns true when this remove specification unprocessable entity response a status code equal to that given

func (*RemoveSpecificationUnprocessableEntity) IsRedirect

IsRedirect returns true when this remove specification unprocessable entity response has a 3xx status code

func (*RemoveSpecificationUnprocessableEntity) IsServerError

func (o *RemoveSpecificationUnprocessableEntity) IsServerError() bool

IsServerError returns true when this remove specification unprocessable entity response has a 5xx status code

func (*RemoveSpecificationUnprocessableEntity) IsSuccess

IsSuccess returns true when this remove specification unprocessable entity response has a 2xx status code

func (*RemoveSpecificationUnprocessableEntity) String

type UpdateServiceBadRequest

type UpdateServiceBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewUpdateServiceBadRequest

func NewUpdateServiceBadRequest() *UpdateServiceBadRequest

NewUpdateServiceBadRequest creates a UpdateServiceBadRequest with default headers values

func (*UpdateServiceBadRequest) Code

func (o *UpdateServiceBadRequest) Code() int

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

func (*UpdateServiceBadRequest) Error

func (o *UpdateServiceBadRequest) Error() string

func (*UpdateServiceBadRequest) GetPayload

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

func (*UpdateServiceBadRequest) IsClientError

func (o *UpdateServiceBadRequest) IsClientError() bool

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

func (*UpdateServiceBadRequest) IsCode

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

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

func (*UpdateServiceBadRequest) IsRedirect

func (o *UpdateServiceBadRequest) IsRedirect() bool

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

func (*UpdateServiceBadRequest) IsServerError

func (o *UpdateServiceBadRequest) IsServerError() bool

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

func (*UpdateServiceBadRequest) IsSuccess

func (o *UpdateServiceBadRequest) IsSuccess() bool

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

func (*UpdateServiceBadRequest) String

func (o *UpdateServiceBadRequest) String() string

type UpdateServiceForbidden

type UpdateServiceForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewUpdateServiceForbidden

func NewUpdateServiceForbidden() *UpdateServiceForbidden

NewUpdateServiceForbidden creates a UpdateServiceForbidden with default headers values

func (*UpdateServiceForbidden) Code

func (o *UpdateServiceForbidden) Code() int

Code gets the status code for the update service forbidden response

func (*UpdateServiceForbidden) Error

func (o *UpdateServiceForbidden) Error() string

func (*UpdateServiceForbidden) GetPayload

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

func (*UpdateServiceForbidden) IsClientError

func (o *UpdateServiceForbidden) IsClientError() bool

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

func (*UpdateServiceForbidden) IsCode

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

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

func (*UpdateServiceForbidden) IsRedirect

func (o *UpdateServiceForbidden) IsRedirect() bool

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

func (*UpdateServiceForbidden) IsServerError

func (o *UpdateServiceForbidden) IsServerError() bool

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

func (*UpdateServiceForbidden) IsSuccess

func (o *UpdateServiceForbidden) IsSuccess() bool

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

func (*UpdateServiceForbidden) String

func (o *UpdateServiceForbidden) String() string

type UpdateServiceNotFound

type UpdateServiceNotFound struct {
	Payload *models.Error
}

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

Not found

func NewUpdateServiceNotFound

func NewUpdateServiceNotFound() *UpdateServiceNotFound

NewUpdateServiceNotFound creates a UpdateServiceNotFound with default headers values

func (*UpdateServiceNotFound) Code

func (o *UpdateServiceNotFound) Code() int

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

func (*UpdateServiceNotFound) Error

func (o *UpdateServiceNotFound) Error() string

func (*UpdateServiceNotFound) GetPayload

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

func (*UpdateServiceNotFound) IsClientError

func (o *UpdateServiceNotFound) IsClientError() bool

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

func (*UpdateServiceNotFound) IsCode

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

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

func (*UpdateServiceNotFound) IsRedirect

func (o *UpdateServiceNotFound) IsRedirect() bool

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

func (*UpdateServiceNotFound) IsServerError

func (o *UpdateServiceNotFound) IsServerError() bool

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

func (*UpdateServiceNotFound) IsSuccess

func (o *UpdateServiceNotFound) IsSuccess() bool

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

func (*UpdateServiceNotFound) String

func (o *UpdateServiceNotFound) String() string

type UpdateServiceOK

type UpdateServiceOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.ServiceWithAudience
}

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

Service

func NewUpdateServiceOK

func NewUpdateServiceOK() *UpdateServiceOK

NewUpdateServiceOK creates a UpdateServiceOK with default headers values

func (*UpdateServiceOK) Code

func (o *UpdateServiceOK) Code() int

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

func (*UpdateServiceOK) Error

func (o *UpdateServiceOK) Error() string

func (*UpdateServiceOK) GetPayload

func (o *UpdateServiceOK) GetPayload() *models.ServiceWithAudience

func (*UpdateServiceOK) IsClientError

func (o *UpdateServiceOK) IsClientError() bool

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

func (*UpdateServiceOK) IsCode

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

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

func (*UpdateServiceOK) IsRedirect

func (o *UpdateServiceOK) IsRedirect() bool

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

func (*UpdateServiceOK) IsServerError

func (o *UpdateServiceOK) IsServerError() bool

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

func (*UpdateServiceOK) IsSuccess

func (o *UpdateServiceOK) IsSuccess() bool

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

func (*UpdateServiceOK) String

func (o *UpdateServiceOK) String() string

type UpdateServiceParams

type UpdateServiceParams struct {

	// Service.
	Service *models.Service

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

	// Sid.
	Sid string

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

UpdateServiceParams contains all the parameters to send to the API endpoint

for the update service operation.

Typically these are written to a http.Request.

func NewUpdateServiceParams

func NewUpdateServiceParams() *UpdateServiceParams

NewUpdateServiceParams creates a new UpdateServiceParams 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 NewUpdateServiceParamsWithContext

func NewUpdateServiceParamsWithContext(ctx context.Context) *UpdateServiceParams

NewUpdateServiceParamsWithContext creates a new UpdateServiceParams object with the ability to set a context for a request.

func NewUpdateServiceParamsWithHTTPClient

func NewUpdateServiceParamsWithHTTPClient(client *http.Client) *UpdateServiceParams

NewUpdateServiceParamsWithHTTPClient creates a new UpdateServiceParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateServiceParamsWithTimeout

func NewUpdateServiceParamsWithTimeout(timeout time.Duration) *UpdateServiceParams

NewUpdateServiceParamsWithTimeout creates a new UpdateServiceParams object with the ability to set a timeout on a request.

func (*UpdateServiceParams) SetContext

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

SetContext adds the context to the update service params

func (*UpdateServiceParams) SetDefaults

func (o *UpdateServiceParams) SetDefaults()

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

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

func (*UpdateServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update service params

func (*UpdateServiceParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the update service params

func (*UpdateServiceParams) SetService

func (o *UpdateServiceParams) SetService(service *models.Service)

SetService adds the service to the update service params

func (*UpdateServiceParams) SetSid

func (o *UpdateServiceParams) SetSid(sid string)

SetSid adds the sid to the update service params

func (*UpdateServiceParams) SetTimeout

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

SetTimeout adds the timeout to the update service params

func (*UpdateServiceParams) WithContext

WithContext adds the context to the update service params

func (*UpdateServiceParams) WithDefaults

func (o *UpdateServiceParams) WithDefaults() *UpdateServiceParams

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

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

func (*UpdateServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update service params

func (*UpdateServiceParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the update service params

func (*UpdateServiceParams) WithService

func (o *UpdateServiceParams) WithService(service *models.Service) *UpdateServiceParams

WithService adds the service to the update service params

func (*UpdateServiceParams) WithSid

WithSid adds the sid to the update service params

func (*UpdateServiceParams) WithTimeout

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

WithTimeout adds the timeout to the update service params

func (*UpdateServiceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateServiceReader

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

UpdateServiceReader is a Reader for the UpdateService structure.

func (*UpdateServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateServiceTooManyRequests

type UpdateServiceTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewUpdateServiceTooManyRequests

func NewUpdateServiceTooManyRequests() *UpdateServiceTooManyRequests

NewUpdateServiceTooManyRequests creates a UpdateServiceTooManyRequests with default headers values

func (*UpdateServiceTooManyRequests) Code

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

func (*UpdateServiceTooManyRequests) Error

func (*UpdateServiceTooManyRequests) GetPayload

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

func (*UpdateServiceTooManyRequests) IsClientError

func (o *UpdateServiceTooManyRequests) IsClientError() bool

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

func (*UpdateServiceTooManyRequests) IsCode

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

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

func (*UpdateServiceTooManyRequests) IsRedirect

func (o *UpdateServiceTooManyRequests) IsRedirect() bool

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

func (*UpdateServiceTooManyRequests) IsServerError

func (o *UpdateServiceTooManyRequests) IsServerError() bool

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

func (*UpdateServiceTooManyRequests) IsSuccess

func (o *UpdateServiceTooManyRequests) IsSuccess() bool

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

func (*UpdateServiceTooManyRequests) String

type UpdateServiceUnauthorized

type UpdateServiceUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewUpdateServiceUnauthorized

func NewUpdateServiceUnauthorized() *UpdateServiceUnauthorized

NewUpdateServiceUnauthorized creates a UpdateServiceUnauthorized with default headers values

func (*UpdateServiceUnauthorized) Code

func (o *UpdateServiceUnauthorized) Code() int

Code gets the status code for the update service unauthorized response

func (*UpdateServiceUnauthorized) Error

func (o *UpdateServiceUnauthorized) Error() string

func (*UpdateServiceUnauthorized) GetPayload

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

func (*UpdateServiceUnauthorized) IsClientError

func (o *UpdateServiceUnauthorized) IsClientError() bool

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

func (*UpdateServiceUnauthorized) IsCode

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

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

func (*UpdateServiceUnauthorized) IsRedirect

func (o *UpdateServiceUnauthorized) IsRedirect() bool

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

func (*UpdateServiceUnauthorized) IsServerError

func (o *UpdateServiceUnauthorized) IsServerError() bool

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

func (*UpdateServiceUnauthorized) IsSuccess

func (o *UpdateServiceUnauthorized) IsSuccess() bool

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

func (*UpdateServiceUnauthorized) String

func (o *UpdateServiceUnauthorized) String() string

type UpdateServiceUnprocessableEntity

type UpdateServiceUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewUpdateServiceUnprocessableEntity

func NewUpdateServiceUnprocessableEntity() *UpdateServiceUnprocessableEntity

NewUpdateServiceUnprocessableEntity creates a UpdateServiceUnprocessableEntity with default headers values

func (*UpdateServiceUnprocessableEntity) Code

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

func (*UpdateServiceUnprocessableEntity) Error

func (*UpdateServiceUnprocessableEntity) GetPayload

func (*UpdateServiceUnprocessableEntity) IsClientError

func (o *UpdateServiceUnprocessableEntity) IsClientError() bool

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

func (*UpdateServiceUnprocessableEntity) IsCode

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

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

func (*UpdateServiceUnprocessableEntity) IsRedirect

func (o *UpdateServiceUnprocessableEntity) IsRedirect() bool

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

func (*UpdateServiceUnprocessableEntity) IsServerError

func (o *UpdateServiceUnprocessableEntity) IsServerError() bool

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

func (*UpdateServiceUnprocessableEntity) IsSuccess

func (o *UpdateServiceUnprocessableEntity) IsSuccess() bool

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

func (*UpdateServiceUnprocessableEntity) String

Jump to

Keyboard shortcuts

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