service

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 12 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 service API

func (*Client) DeleteServiceServiceID

func (a *Client) DeleteServiceServiceID(params *DeleteServiceServiceIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceServiceIDAccepted, error)
DeleteServiceServiceID removes service from catalog

Deletes this service. There **must** be no active associated endpoint for successfully deleting the service.

Active endpoints can be rejected by the service owner via the `/service/{service_id}/reject_endpoints` API.

func (*Client) GetService

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

GetService lists services

func (*Client) GetServiceServiceID

func (a *Client) GetServiceServiceID(params *GetServiceServiceIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceServiceIDOK, error)

GetServiceServiceID shows details of an service

func (*Client) GetServiceServiceIDEndpoints

func (a *Client) GetServiceServiceIDEndpoints(params *GetServiceServiceIDEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceServiceIDEndpointsOK, error)
GetServiceServiceIDEndpoints lists service endpoints consumers

Provides a list of service consumers (endpoints).

This list can be used to accept or reject requests, or disable active endpoints. Rejected endpoints will be cleaned up after a specific time.

func (*Client) PostService

func (a *Client) PostService(params *PostServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostServiceCreated, error)

PostService adds a new service to the catalog

func (*Client) PutServiceServiceID

func (a *Client) PutServiceServiceID(params *PutServiceServiceIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutServiceServiceIDOK, error)

PutServiceServiceID updates an existing service

func (*Client) PutServiceServiceIDAcceptEndpoints

func (a *Client) PutServiceServiceIDAcceptEndpoints(params *PutServiceServiceIDAcceptEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutServiceServiceIDAcceptEndpointsOK, error)
PutServiceServiceIDAcceptEndpoints accepts endpoints

Specify a list of endpoint consumers (`endpoint_ids` and/or `project_ids`) whose endpoints should be accepted.

* Existing active endpoints will be untouched. * Rejected endpoints will be accepted. * Pending endpoints will be accepted.

func (*Client) PutServiceServiceIDRejectEndpoints

func (a *Client) PutServiceServiceIDRejectEndpoints(params *PutServiceServiceIDRejectEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutServiceServiceIDRejectEndpointsOK, error)
PutServiceServiceIDRejectEndpoints rejects endpoints

Specify a list of consumers (`endpoint_ids` and/or `project_ids`) whose endpoints should be rejected.

* Existing active endpoints will be rejected. * Rejected endpoints will be untouched. * Pending endpoints will be rejected.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteServiceServiceID(params *DeleteServiceServiceIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceServiceIDAccepted, error)

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

	GetServiceServiceID(params *GetServiceServiceIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceServiceIDOK, error)

	GetServiceServiceIDEndpoints(params *GetServiceServiceIDEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceServiceIDEndpointsOK, error)

	PostService(params *PostServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostServiceCreated, error)

	PutServiceServiceID(params *PutServiceServiceIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutServiceServiceIDOK, error)

	PutServiceServiceIDAcceptEndpoints(params *PutServiceServiceIDAcceptEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutServiceServiceIDAcceptEndpointsOK, error)

	PutServiceServiceIDRejectEndpoints(params *PutServiceServiceIDRejectEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutServiceServiceIDRejectEndpointsOK, 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 service API client.

type DeleteServiceServiceIDAccepted

type DeleteServiceServiceIDAccepted struct {
}

DeleteServiceServiceIDAccepted describes a response with status code 202, with default header values.

Delete request successfully accepted.

func NewDeleteServiceServiceIDAccepted

func NewDeleteServiceServiceIDAccepted() *DeleteServiceServiceIDAccepted

NewDeleteServiceServiceIDAccepted creates a DeleteServiceServiceIDAccepted with default headers values

func (*DeleteServiceServiceIDAccepted) Code

Code gets the status code for the delete service service Id accepted response

func (*DeleteServiceServiceIDAccepted) Error

func (*DeleteServiceServiceIDAccepted) IsClientError

func (o *DeleteServiceServiceIDAccepted) IsClientError() bool

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

func (*DeleteServiceServiceIDAccepted) IsCode

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

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

func (*DeleteServiceServiceIDAccepted) IsRedirect

func (o *DeleteServiceServiceIDAccepted) IsRedirect() bool

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

func (*DeleteServiceServiceIDAccepted) IsServerError

func (o *DeleteServiceServiceIDAccepted) IsServerError() bool

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

func (*DeleteServiceServiceIDAccepted) IsSuccess

func (o *DeleteServiceServiceIDAccepted) IsSuccess() bool

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

func (*DeleteServiceServiceIDAccepted) String

type DeleteServiceServiceIDConflict

type DeleteServiceServiceIDConflict struct {
	Payload *models.Error
}

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

In use.

func NewDeleteServiceServiceIDConflict

func NewDeleteServiceServiceIDConflict() *DeleteServiceServiceIDConflict

NewDeleteServiceServiceIDConflict creates a DeleteServiceServiceIDConflict with default headers values

func (*DeleteServiceServiceIDConflict) Code

Code gets the status code for the delete service service Id conflict response

func (*DeleteServiceServiceIDConflict) Error

func (*DeleteServiceServiceIDConflict) GetPayload

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

func (*DeleteServiceServiceIDConflict) IsClientError

func (o *DeleteServiceServiceIDConflict) IsClientError() bool

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

func (*DeleteServiceServiceIDConflict) IsCode

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

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

func (*DeleteServiceServiceIDConflict) IsRedirect

func (o *DeleteServiceServiceIDConflict) IsRedirect() bool

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

func (*DeleteServiceServiceIDConflict) IsServerError

func (o *DeleteServiceServiceIDConflict) IsServerError() bool

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

func (*DeleteServiceServiceIDConflict) IsSuccess

func (o *DeleteServiceServiceIDConflict) IsSuccess() bool

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

func (*DeleteServiceServiceIDConflict) String

type DeleteServiceServiceIDForbidden

type DeleteServiceServiceIDForbidden struct {
}

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

Forbidden

func NewDeleteServiceServiceIDForbidden

func NewDeleteServiceServiceIDForbidden() *DeleteServiceServiceIDForbidden

NewDeleteServiceServiceIDForbidden creates a DeleteServiceServiceIDForbidden with default headers values

func (*DeleteServiceServiceIDForbidden) Code

Code gets the status code for the delete service service Id forbidden response

func (*DeleteServiceServiceIDForbidden) Error

func (*DeleteServiceServiceIDForbidden) IsClientError

func (o *DeleteServiceServiceIDForbidden) IsClientError() bool

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

func (*DeleteServiceServiceIDForbidden) IsCode

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

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

func (*DeleteServiceServiceIDForbidden) IsRedirect

func (o *DeleteServiceServiceIDForbidden) IsRedirect() bool

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

func (*DeleteServiceServiceIDForbidden) IsServerError

func (o *DeleteServiceServiceIDForbidden) IsServerError() bool

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

func (*DeleteServiceServiceIDForbidden) IsSuccess

func (o *DeleteServiceServiceIDForbidden) IsSuccess() bool

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

func (*DeleteServiceServiceIDForbidden) String

type DeleteServiceServiceIDNotFound

type DeleteServiceServiceIDNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewDeleteServiceServiceIDNotFound

func NewDeleteServiceServiceIDNotFound() *DeleteServiceServiceIDNotFound

NewDeleteServiceServiceIDNotFound creates a DeleteServiceServiceIDNotFound with default headers values

func (*DeleteServiceServiceIDNotFound) Code

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

func (*DeleteServiceServiceIDNotFound) Error

func (*DeleteServiceServiceIDNotFound) GetPayload

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

func (*DeleteServiceServiceIDNotFound) IsClientError

func (o *DeleteServiceServiceIDNotFound) IsClientError() bool

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

func (*DeleteServiceServiceIDNotFound) IsCode

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

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

func (*DeleteServiceServiceIDNotFound) IsRedirect

func (o *DeleteServiceServiceIDNotFound) IsRedirect() bool

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

func (*DeleteServiceServiceIDNotFound) IsServerError

func (o *DeleteServiceServiceIDNotFound) IsServerError() bool

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

func (*DeleteServiceServiceIDNotFound) IsSuccess

func (o *DeleteServiceServiceIDNotFound) IsSuccess() bool

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

func (*DeleteServiceServiceIDNotFound) String

type DeleteServiceServiceIDParams

type DeleteServiceServiceIDParams struct {

	/* ServiceID.

	   The UUID of the service

	   Format: uuid
	*/
	ServiceID strfmt.UUID

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

DeleteServiceServiceIDParams contains all the parameters to send to the API endpoint

for the delete service service ID operation.

Typically these are written to a http.Request.

func NewDeleteServiceServiceIDParams

func NewDeleteServiceServiceIDParams() *DeleteServiceServiceIDParams

NewDeleteServiceServiceIDParams creates a new DeleteServiceServiceIDParams 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 NewDeleteServiceServiceIDParamsWithContext

func NewDeleteServiceServiceIDParamsWithContext(ctx context.Context) *DeleteServiceServiceIDParams

NewDeleteServiceServiceIDParamsWithContext creates a new DeleteServiceServiceIDParams object with the ability to set a context for a request.

func NewDeleteServiceServiceIDParamsWithHTTPClient

func NewDeleteServiceServiceIDParamsWithHTTPClient(client *http.Client) *DeleteServiceServiceIDParams

NewDeleteServiceServiceIDParamsWithHTTPClient creates a new DeleteServiceServiceIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteServiceServiceIDParamsWithTimeout

func NewDeleteServiceServiceIDParamsWithTimeout(timeout time.Duration) *DeleteServiceServiceIDParams

NewDeleteServiceServiceIDParamsWithTimeout creates a new DeleteServiceServiceIDParams object with the ability to set a timeout on a request.

func (*DeleteServiceServiceIDParams) SetContext

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

SetContext adds the context to the delete service service ID params

func (*DeleteServiceServiceIDParams) SetDefaults

func (o *DeleteServiceServiceIDParams) SetDefaults()

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

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

func (*DeleteServiceServiceIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete service service ID params

func (*DeleteServiceServiceIDParams) SetServiceID

func (o *DeleteServiceServiceIDParams) SetServiceID(serviceID strfmt.UUID)

SetServiceID adds the serviceId to the delete service service ID params

func (*DeleteServiceServiceIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete service service ID params

func (*DeleteServiceServiceIDParams) WithContext

WithContext adds the context to the delete service service ID params

func (*DeleteServiceServiceIDParams) WithDefaults

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

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

func (*DeleteServiceServiceIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete service service ID params

func (*DeleteServiceServiceIDParams) WithServiceID

WithServiceID adds the serviceID to the delete service service ID params

func (*DeleteServiceServiceIDParams) WithTimeout

WithTimeout adds the timeout to the delete service service ID params

func (*DeleteServiceServiceIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteServiceServiceIDReader

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

DeleteServiceServiceIDReader is a Reader for the DeleteServiceServiceID structure.

func (*DeleteServiceServiceIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteServiceServiceIDUnauthorized

type DeleteServiceServiceIDUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewDeleteServiceServiceIDUnauthorized

func NewDeleteServiceServiceIDUnauthorized() *DeleteServiceServiceIDUnauthorized

NewDeleteServiceServiceIDUnauthorized creates a DeleteServiceServiceIDUnauthorized with default headers values

func (*DeleteServiceServiceIDUnauthorized) Code

Code gets the status code for the delete service service Id unauthorized response

func (*DeleteServiceServiceIDUnauthorized) Error

func (*DeleteServiceServiceIDUnauthorized) GetPayload

func (*DeleteServiceServiceIDUnauthorized) IsClientError

func (o *DeleteServiceServiceIDUnauthorized) IsClientError() bool

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

func (*DeleteServiceServiceIDUnauthorized) IsCode

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

func (*DeleteServiceServiceIDUnauthorized) IsRedirect

func (o *DeleteServiceServiceIDUnauthorized) IsRedirect() bool

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

func (*DeleteServiceServiceIDUnauthorized) IsServerError

func (o *DeleteServiceServiceIDUnauthorized) IsServerError() bool

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

func (*DeleteServiceServiceIDUnauthorized) IsSuccess

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

func (*DeleteServiceServiceIDUnauthorized) String

type DeleteServiceServiceIDUnprocessableEntity

type DeleteServiceServiceIDUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Content

func NewDeleteServiceServiceIDUnprocessableEntity

func NewDeleteServiceServiceIDUnprocessableEntity() *DeleteServiceServiceIDUnprocessableEntity

NewDeleteServiceServiceIDUnprocessableEntity creates a DeleteServiceServiceIDUnprocessableEntity with default headers values

func (*DeleteServiceServiceIDUnprocessableEntity) Code

Code gets the status code for the delete service service Id unprocessable entity response

func (*DeleteServiceServiceIDUnprocessableEntity) Error

func (*DeleteServiceServiceIDUnprocessableEntity) GetPayload

func (*DeleteServiceServiceIDUnprocessableEntity) IsClientError

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

func (*DeleteServiceServiceIDUnprocessableEntity) IsCode

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

func (*DeleteServiceServiceIDUnprocessableEntity) IsRedirect

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

func (*DeleteServiceServiceIDUnprocessableEntity) IsServerError

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

func (*DeleteServiceServiceIDUnprocessableEntity) IsSuccess

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

func (*DeleteServiceServiceIDUnprocessableEntity) String

type GetServiceBadRequest

type GetServiceBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewGetServiceBadRequest

func NewGetServiceBadRequest() *GetServiceBadRequest

NewGetServiceBadRequest creates a GetServiceBadRequest with default headers values

func (*GetServiceBadRequest) Code

func (o *GetServiceBadRequest) Code() int

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

func (*GetServiceBadRequest) Error

func (o *GetServiceBadRequest) Error() string

func (*GetServiceBadRequest) GetPayload

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

func (*GetServiceBadRequest) IsClientError

func (o *GetServiceBadRequest) IsClientError() bool

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

func (*GetServiceBadRequest) IsCode

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

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

func (*GetServiceBadRequest) IsRedirect

func (o *GetServiceBadRequest) IsRedirect() bool

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

func (*GetServiceBadRequest) IsServerError

func (o *GetServiceBadRequest) IsServerError() bool

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

func (*GetServiceBadRequest) IsSuccess

func (o *GetServiceBadRequest) IsSuccess() bool

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

func (*GetServiceBadRequest) String

func (o *GetServiceBadRequest) String() string

type GetServiceForbidden

type GetServiceForbidden struct {
}

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

type GetServiceOK struct {
	Payload *GetServiceOKBody
}

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

An array of services.

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 (o *GetServiceOK) GetPayload() *GetServiceOKBody

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 GetServiceOKBody

type GetServiceOKBody struct {

	// items
	Items []*models.Service `json:"items"`

	// links
	Links []*models.Link `json:"links,omitempty"`
}

GetServiceOKBody get service o k body swagger:model GetServiceOKBody

func (*GetServiceOKBody) ContextValidate

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

ContextValidate validate this get service o k body based on the context it is used

func (*GetServiceOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetServiceOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetServiceOKBody) Validate

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

Validate validates this get service o k body

type GetServiceParams

type GetServiceParams struct {

	/* Limit.

	   Sets the page size.
	*/
	Limit *int64

	/* Marker.

	   Pagination ID of the last item in the previous list.

	   Format: uuid
	*/
	Marker *strfmt.UUID

	/* NotTags.

	     Filter for resources not having tags, multiple not-tags are considered as logical AND.
	Should be provided in a comma separated list.

	*/
	NotTags []string

	/* NotTagsAny.

	     Filter for resources not having tags, multiple tags are considered as logical OR.
	Should be provided in a comma separated list.

	*/
	NotTagsAny []string

	/* PageReverse.

	   Sets the page direction.
	*/
	PageReverse *bool

	/* ProjectID.

	   Filter for resources belonging or accessible by a specific project.

	*/
	ProjectID *string

	/* Sort.

	   Comma-separated list of sort keys, optionally prefix with - to reverse sort order.
	*/
	Sort *string

	/* Tags.

	     Filter for tags, multiple tags are considered as logical AND.
	Should be provided in a comma separated list.

	*/
	Tags []string

	/* TagsAny.

	     Filter for tags, multiple tags are considered as logical OR.
	Should be provided in a comma separated list.

	*/
	TagsAny []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) SetLimit

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

SetLimit adds the limit to the get service params

func (*GetServiceParams) SetMarker

func (o *GetServiceParams) SetMarker(marker *strfmt.UUID)

SetMarker adds the marker to the get service params

func (*GetServiceParams) SetNotTags

func (o *GetServiceParams) SetNotTags(notTags []string)

SetNotTags adds the notTags to the get service params

func (*GetServiceParams) SetNotTagsAny

func (o *GetServiceParams) SetNotTagsAny(notTagsAny []string)

SetNotTagsAny adds the notTagsAny to the get service params

func (*GetServiceParams) SetPageReverse

func (o *GetServiceParams) SetPageReverse(pageReverse *bool)

SetPageReverse adds the pageReverse to the get service params

func (*GetServiceParams) SetProjectID

func (o *GetServiceParams) SetProjectID(projectID *string)

SetProjectID adds the projectId to the get service params

func (*GetServiceParams) SetSort

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

SetSort adds the sort to the get service params

func (*GetServiceParams) SetTags

func (o *GetServiceParams) SetTags(tags []string)

SetTags adds the tags to the get service params

func (*GetServiceParams) SetTagsAny

func (o *GetServiceParams) SetTagsAny(tagsAny []string)

SetTagsAny adds the tagsAny 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) WithLimit

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

WithLimit adds the limit to the get service params

func (*GetServiceParams) WithMarker

func (o *GetServiceParams) WithMarker(marker *strfmt.UUID) *GetServiceParams

WithMarker adds the marker to the get service params

func (*GetServiceParams) WithNotTags

func (o *GetServiceParams) WithNotTags(notTags []string) *GetServiceParams

WithNotTags adds the notTags to the get service params

func (*GetServiceParams) WithNotTagsAny

func (o *GetServiceParams) WithNotTagsAny(notTagsAny []string) *GetServiceParams

WithNotTagsAny adds the notTagsAny to the get service params

func (*GetServiceParams) WithPageReverse

func (o *GetServiceParams) WithPageReverse(pageReverse *bool) *GetServiceParams

WithPageReverse adds the pageReverse to the get service params

func (*GetServiceParams) WithProjectID

func (o *GetServiceParams) WithProjectID(projectID *string) *GetServiceParams

WithProjectID adds the projectID to the get service params

func (*GetServiceParams) WithSort

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

WithSort adds the sort to the get service params

func (*GetServiceParams) WithTags

func (o *GetServiceParams) WithTags(tags []string) *GetServiceParams

WithTags adds the tags to the get service params

func (*GetServiceParams) WithTagsAny

func (o *GetServiceParams) WithTagsAny(tagsAny []string) *GetServiceParams

WithTagsAny adds the tagsAny 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 GetServiceServiceIDEndpointsBadRequest

type GetServiceServiceIDEndpointsBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewGetServiceServiceIDEndpointsBadRequest

func NewGetServiceServiceIDEndpointsBadRequest() *GetServiceServiceIDEndpointsBadRequest

NewGetServiceServiceIDEndpointsBadRequest creates a GetServiceServiceIDEndpointsBadRequest with default headers values

func (*GetServiceServiceIDEndpointsBadRequest) Code

Code gets the status code for the get service service Id endpoints bad request response

func (*GetServiceServiceIDEndpointsBadRequest) Error

func (*GetServiceServiceIDEndpointsBadRequest) GetPayload

func (*GetServiceServiceIDEndpointsBadRequest) IsClientError

func (o *GetServiceServiceIDEndpointsBadRequest) IsClientError() bool

IsClientError returns true when this get service service Id endpoints bad request response has a 4xx status code

func (*GetServiceServiceIDEndpointsBadRequest) IsCode

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

func (*GetServiceServiceIDEndpointsBadRequest) IsRedirect

IsRedirect returns true when this get service service Id endpoints bad request response has a 3xx status code

func (*GetServiceServiceIDEndpointsBadRequest) IsServerError

func (o *GetServiceServiceIDEndpointsBadRequest) IsServerError() bool

IsServerError returns true when this get service service Id endpoints bad request response has a 5xx status code

func (*GetServiceServiceIDEndpointsBadRequest) IsSuccess

IsSuccess returns true when this get service service Id endpoints bad request response has a 2xx status code

func (*GetServiceServiceIDEndpointsBadRequest) String

type GetServiceServiceIDEndpointsForbidden

type GetServiceServiceIDEndpointsForbidden struct {
}

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

Forbidden

func NewGetServiceServiceIDEndpointsForbidden

func NewGetServiceServiceIDEndpointsForbidden() *GetServiceServiceIDEndpointsForbidden

NewGetServiceServiceIDEndpointsForbidden creates a GetServiceServiceIDEndpointsForbidden with default headers values

func (*GetServiceServiceIDEndpointsForbidden) Code

Code gets the status code for the get service service Id endpoints forbidden response

func (*GetServiceServiceIDEndpointsForbidden) Error

func (*GetServiceServiceIDEndpointsForbidden) IsClientError

func (o *GetServiceServiceIDEndpointsForbidden) IsClientError() bool

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

func (*GetServiceServiceIDEndpointsForbidden) IsCode

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

func (*GetServiceServiceIDEndpointsForbidden) IsRedirect

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

func (*GetServiceServiceIDEndpointsForbidden) IsServerError

func (o *GetServiceServiceIDEndpointsForbidden) IsServerError() bool

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

func (*GetServiceServiceIDEndpointsForbidden) IsSuccess

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

func (*GetServiceServiceIDEndpointsForbidden) String

type GetServiceServiceIDEndpointsNotFound

type GetServiceServiceIDEndpointsNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewGetServiceServiceIDEndpointsNotFound

func NewGetServiceServiceIDEndpointsNotFound() *GetServiceServiceIDEndpointsNotFound

NewGetServiceServiceIDEndpointsNotFound creates a GetServiceServiceIDEndpointsNotFound with default headers values

func (*GetServiceServiceIDEndpointsNotFound) Code

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

func (*GetServiceServiceIDEndpointsNotFound) Error

func (*GetServiceServiceIDEndpointsNotFound) GetPayload

func (*GetServiceServiceIDEndpointsNotFound) IsClientError

func (o *GetServiceServiceIDEndpointsNotFound) IsClientError() bool

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

func (*GetServiceServiceIDEndpointsNotFound) IsCode

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

func (*GetServiceServiceIDEndpointsNotFound) IsRedirect

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

func (*GetServiceServiceIDEndpointsNotFound) IsServerError

func (o *GetServiceServiceIDEndpointsNotFound) IsServerError() bool

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

func (*GetServiceServiceIDEndpointsNotFound) IsSuccess

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

func (*GetServiceServiceIDEndpointsNotFound) String

type GetServiceServiceIDEndpointsOK

type GetServiceServiceIDEndpointsOK struct {
	Payload *GetServiceServiceIDEndpointsOKBody
}

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

An array of service endpoint consumers.

func NewGetServiceServiceIDEndpointsOK

func NewGetServiceServiceIDEndpointsOK() *GetServiceServiceIDEndpointsOK

NewGetServiceServiceIDEndpointsOK creates a GetServiceServiceIDEndpointsOK with default headers values

func (*GetServiceServiceIDEndpointsOK) Code

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

func (*GetServiceServiceIDEndpointsOK) Error

func (*GetServiceServiceIDEndpointsOK) GetPayload

func (*GetServiceServiceIDEndpointsOK) IsClientError

func (o *GetServiceServiceIDEndpointsOK) IsClientError() bool

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

func (*GetServiceServiceIDEndpointsOK) IsCode

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

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

func (*GetServiceServiceIDEndpointsOK) IsRedirect

func (o *GetServiceServiceIDEndpointsOK) IsRedirect() bool

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

func (*GetServiceServiceIDEndpointsOK) IsServerError

func (o *GetServiceServiceIDEndpointsOK) IsServerError() bool

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

func (*GetServiceServiceIDEndpointsOK) IsSuccess

func (o *GetServiceServiceIDEndpointsOK) IsSuccess() bool

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

func (*GetServiceServiceIDEndpointsOK) String

type GetServiceServiceIDEndpointsOKBody

type GetServiceServiceIDEndpointsOKBody struct {

	// items
	Items []*models.EndpointConsumer `json:"items"`

	// links
	Links []*models.Link `json:"links,omitempty"`
}

GetServiceServiceIDEndpointsOKBody get service service ID endpoints o k body swagger:model GetServiceServiceIDEndpointsOKBody

func (*GetServiceServiceIDEndpointsOKBody) ContextValidate

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

ContextValidate validate this get service service ID endpoints o k body based on the context it is used

func (*GetServiceServiceIDEndpointsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetServiceServiceIDEndpointsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetServiceServiceIDEndpointsOKBody) Validate

Validate validates this get service service ID endpoints o k body

type GetServiceServiceIDEndpointsParams

type GetServiceServiceIDEndpointsParams struct {

	/* Limit.

	   Sets the page size.
	*/
	Limit *int64

	/* Marker.

	   Pagination ID of the last item in the previous list.

	   Format: uuid
	*/
	Marker *strfmt.UUID

	/* PageReverse.

	   Sets the page direction.
	*/
	PageReverse *bool

	/* ServiceID.

	   The UUID of the service

	   Format: uuid
	*/
	ServiceID strfmt.UUID

	/* Sort.

	   Comma-separated list of sort keys, optionally prefix with - to reverse sort order.
	*/
	Sort *string

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

GetServiceServiceIDEndpointsParams contains all the parameters to send to the API endpoint

for the get service service ID endpoints operation.

Typically these are written to a http.Request.

func NewGetServiceServiceIDEndpointsParams

func NewGetServiceServiceIDEndpointsParams() *GetServiceServiceIDEndpointsParams

NewGetServiceServiceIDEndpointsParams creates a new GetServiceServiceIDEndpointsParams 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 NewGetServiceServiceIDEndpointsParamsWithContext

func NewGetServiceServiceIDEndpointsParamsWithContext(ctx context.Context) *GetServiceServiceIDEndpointsParams

NewGetServiceServiceIDEndpointsParamsWithContext creates a new GetServiceServiceIDEndpointsParams object with the ability to set a context for a request.

func NewGetServiceServiceIDEndpointsParamsWithHTTPClient

func NewGetServiceServiceIDEndpointsParamsWithHTTPClient(client *http.Client) *GetServiceServiceIDEndpointsParams

NewGetServiceServiceIDEndpointsParamsWithHTTPClient creates a new GetServiceServiceIDEndpointsParams object with the ability to set a custom HTTPClient for a request.

func NewGetServiceServiceIDEndpointsParamsWithTimeout

func NewGetServiceServiceIDEndpointsParamsWithTimeout(timeout time.Duration) *GetServiceServiceIDEndpointsParams

NewGetServiceServiceIDEndpointsParamsWithTimeout creates a new GetServiceServiceIDEndpointsParams object with the ability to set a timeout on a request.

func (*GetServiceServiceIDEndpointsParams) SetContext

SetContext adds the context to the get service service ID endpoints params

func (*GetServiceServiceIDEndpointsParams) SetDefaults

func (o *GetServiceServiceIDEndpointsParams) SetDefaults()

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

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

func (*GetServiceServiceIDEndpointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get service service ID endpoints params

func (*GetServiceServiceIDEndpointsParams) SetLimit

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

SetLimit adds the limit to the get service service ID endpoints params

func (*GetServiceServiceIDEndpointsParams) SetMarker

func (o *GetServiceServiceIDEndpointsParams) SetMarker(marker *strfmt.UUID)

SetMarker adds the marker to the get service service ID endpoints params

func (*GetServiceServiceIDEndpointsParams) SetPageReverse

func (o *GetServiceServiceIDEndpointsParams) SetPageReverse(pageReverse *bool)

SetPageReverse adds the pageReverse to the get service service ID endpoints params

func (*GetServiceServiceIDEndpointsParams) SetServiceID

func (o *GetServiceServiceIDEndpointsParams) SetServiceID(serviceID strfmt.UUID)

SetServiceID adds the serviceId to the get service service ID endpoints params

func (*GetServiceServiceIDEndpointsParams) SetSort

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

SetSort adds the sort to the get service service ID endpoints params

func (*GetServiceServiceIDEndpointsParams) SetTimeout

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

SetTimeout adds the timeout to the get service service ID endpoints params

func (*GetServiceServiceIDEndpointsParams) WithContext

WithContext adds the context to the get service service ID endpoints params

func (*GetServiceServiceIDEndpointsParams) WithDefaults

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

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

func (*GetServiceServiceIDEndpointsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get service service ID endpoints params

func (*GetServiceServiceIDEndpointsParams) WithLimit

WithLimit adds the limit to the get service service ID endpoints params

func (*GetServiceServiceIDEndpointsParams) WithMarker

WithMarker adds the marker to the get service service ID endpoints params

func (*GetServiceServiceIDEndpointsParams) WithPageReverse

WithPageReverse adds the pageReverse to the get service service ID endpoints params

func (*GetServiceServiceIDEndpointsParams) WithServiceID

WithServiceID adds the serviceID to the get service service ID endpoints params

func (*GetServiceServiceIDEndpointsParams) WithSort

WithSort adds the sort to the get service service ID endpoints params

func (*GetServiceServiceIDEndpointsParams) WithTimeout

WithTimeout adds the timeout to the get service service ID endpoints params

func (*GetServiceServiceIDEndpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetServiceServiceIDEndpointsReader

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

GetServiceServiceIDEndpointsReader is a Reader for the GetServiceServiceIDEndpoints structure.

func (*GetServiceServiceIDEndpointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServiceServiceIDEndpointsUnauthorized

type GetServiceServiceIDEndpointsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetServiceServiceIDEndpointsUnauthorized

func NewGetServiceServiceIDEndpointsUnauthorized() *GetServiceServiceIDEndpointsUnauthorized

NewGetServiceServiceIDEndpointsUnauthorized creates a GetServiceServiceIDEndpointsUnauthorized with default headers values

func (*GetServiceServiceIDEndpointsUnauthorized) Code

Code gets the status code for the get service service Id endpoints unauthorized response

func (*GetServiceServiceIDEndpointsUnauthorized) Error

func (*GetServiceServiceIDEndpointsUnauthorized) GetPayload

func (*GetServiceServiceIDEndpointsUnauthorized) IsClientError

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

func (*GetServiceServiceIDEndpointsUnauthorized) IsCode

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

func (*GetServiceServiceIDEndpointsUnauthorized) IsRedirect

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

func (*GetServiceServiceIDEndpointsUnauthorized) IsServerError

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

func (*GetServiceServiceIDEndpointsUnauthorized) IsSuccess

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

func (*GetServiceServiceIDEndpointsUnauthorized) String

type GetServiceServiceIDEndpointsUnprocessableEntity

type GetServiceServiceIDEndpointsUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Content

func NewGetServiceServiceIDEndpointsUnprocessableEntity

func NewGetServiceServiceIDEndpointsUnprocessableEntity() *GetServiceServiceIDEndpointsUnprocessableEntity

NewGetServiceServiceIDEndpointsUnprocessableEntity creates a GetServiceServiceIDEndpointsUnprocessableEntity with default headers values

func (*GetServiceServiceIDEndpointsUnprocessableEntity) Code

Code gets the status code for the get service service Id endpoints unprocessable entity response

func (*GetServiceServiceIDEndpointsUnprocessableEntity) Error

func (*GetServiceServiceIDEndpointsUnprocessableEntity) GetPayload

func (*GetServiceServiceIDEndpointsUnprocessableEntity) IsClientError

IsClientError returns true when this get service service Id endpoints unprocessable entity response has a 4xx status code

func (*GetServiceServiceIDEndpointsUnprocessableEntity) IsCode

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

func (*GetServiceServiceIDEndpointsUnprocessableEntity) IsRedirect

IsRedirect returns true when this get service service Id endpoints unprocessable entity response has a 3xx status code

func (*GetServiceServiceIDEndpointsUnprocessableEntity) IsServerError

IsServerError returns true when this get service service Id endpoints unprocessable entity response has a 5xx status code

func (*GetServiceServiceIDEndpointsUnprocessableEntity) IsSuccess

IsSuccess returns true when this get service service Id endpoints unprocessable entity response has a 2xx status code

func (*GetServiceServiceIDEndpointsUnprocessableEntity) String

type GetServiceServiceIDForbidden

type GetServiceServiceIDForbidden struct {
}

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

Forbidden

func NewGetServiceServiceIDForbidden

func NewGetServiceServiceIDForbidden() *GetServiceServiceIDForbidden

NewGetServiceServiceIDForbidden creates a GetServiceServiceIDForbidden with default headers values

func (*GetServiceServiceIDForbidden) Code

Code gets the status code for the get service service Id forbidden response

func (*GetServiceServiceIDForbidden) Error

func (*GetServiceServiceIDForbidden) IsClientError

func (o *GetServiceServiceIDForbidden) IsClientError() bool

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

func (*GetServiceServiceIDForbidden) IsCode

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

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

func (*GetServiceServiceIDForbidden) IsRedirect

func (o *GetServiceServiceIDForbidden) IsRedirect() bool

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

func (*GetServiceServiceIDForbidden) IsServerError

func (o *GetServiceServiceIDForbidden) IsServerError() bool

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

func (*GetServiceServiceIDForbidden) IsSuccess

func (o *GetServiceServiceIDForbidden) IsSuccess() bool

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

func (*GetServiceServiceIDForbidden) String

type GetServiceServiceIDNotFound

type GetServiceServiceIDNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewGetServiceServiceIDNotFound

func NewGetServiceServiceIDNotFound() *GetServiceServiceIDNotFound

NewGetServiceServiceIDNotFound creates a GetServiceServiceIDNotFound with default headers values

func (*GetServiceServiceIDNotFound) Code

func (o *GetServiceServiceIDNotFound) Code() int

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

func (*GetServiceServiceIDNotFound) Error

func (*GetServiceServiceIDNotFound) GetPayload

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

func (*GetServiceServiceIDNotFound) IsClientError

func (o *GetServiceServiceIDNotFound) IsClientError() bool

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

func (*GetServiceServiceIDNotFound) IsCode

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

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

func (*GetServiceServiceIDNotFound) IsRedirect

func (o *GetServiceServiceIDNotFound) IsRedirect() bool

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

func (*GetServiceServiceIDNotFound) IsServerError

func (o *GetServiceServiceIDNotFound) IsServerError() bool

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

func (*GetServiceServiceIDNotFound) IsSuccess

func (o *GetServiceServiceIDNotFound) IsSuccess() bool

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

func (*GetServiceServiceIDNotFound) String

func (o *GetServiceServiceIDNotFound) String() string

type GetServiceServiceIDOK

type GetServiceServiceIDOK struct {
	Payload *models.Service
}

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

Service

func NewGetServiceServiceIDOK

func NewGetServiceServiceIDOK() *GetServiceServiceIDOK

NewGetServiceServiceIDOK creates a GetServiceServiceIDOK with default headers values

func (*GetServiceServiceIDOK) Code

func (o *GetServiceServiceIDOK) Code() int

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

func (*GetServiceServiceIDOK) Error

func (o *GetServiceServiceIDOK) Error() string

func (*GetServiceServiceIDOK) GetPayload

func (o *GetServiceServiceIDOK) GetPayload() *models.Service

func (*GetServiceServiceIDOK) IsClientError

func (o *GetServiceServiceIDOK) IsClientError() bool

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

func (*GetServiceServiceIDOK) IsCode

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

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

func (*GetServiceServiceIDOK) IsRedirect

func (o *GetServiceServiceIDOK) IsRedirect() bool

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

func (*GetServiceServiceIDOK) IsServerError

func (o *GetServiceServiceIDOK) IsServerError() bool

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

func (*GetServiceServiceIDOK) IsSuccess

func (o *GetServiceServiceIDOK) IsSuccess() bool

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

func (*GetServiceServiceIDOK) String

func (o *GetServiceServiceIDOK) String() string

type GetServiceServiceIDParams

type GetServiceServiceIDParams struct {

	/* ServiceID.

	   The UUID of the service

	   Format: uuid
	*/
	ServiceID strfmt.UUID

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

GetServiceServiceIDParams contains all the parameters to send to the API endpoint

for the get service service ID operation.

Typically these are written to a http.Request.

func NewGetServiceServiceIDParams

func NewGetServiceServiceIDParams() *GetServiceServiceIDParams

NewGetServiceServiceIDParams creates a new GetServiceServiceIDParams 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 NewGetServiceServiceIDParamsWithContext

func NewGetServiceServiceIDParamsWithContext(ctx context.Context) *GetServiceServiceIDParams

NewGetServiceServiceIDParamsWithContext creates a new GetServiceServiceIDParams object with the ability to set a context for a request.

func NewGetServiceServiceIDParamsWithHTTPClient

func NewGetServiceServiceIDParamsWithHTTPClient(client *http.Client) *GetServiceServiceIDParams

NewGetServiceServiceIDParamsWithHTTPClient creates a new GetServiceServiceIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetServiceServiceIDParamsWithTimeout

func NewGetServiceServiceIDParamsWithTimeout(timeout time.Duration) *GetServiceServiceIDParams

NewGetServiceServiceIDParamsWithTimeout creates a new GetServiceServiceIDParams object with the ability to set a timeout on a request.

func (*GetServiceServiceIDParams) SetContext

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

SetContext adds the context to the get service service ID params

func (*GetServiceServiceIDParams) SetDefaults

func (o *GetServiceServiceIDParams) SetDefaults()

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

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

func (*GetServiceServiceIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get service service ID params

func (*GetServiceServiceIDParams) SetServiceID

func (o *GetServiceServiceIDParams) SetServiceID(serviceID strfmt.UUID)

SetServiceID adds the serviceId to the get service service ID params

func (*GetServiceServiceIDParams) SetTimeout

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

SetTimeout adds the timeout to the get service service ID params

func (*GetServiceServiceIDParams) WithContext

WithContext adds the context to the get service service ID params

func (*GetServiceServiceIDParams) WithDefaults

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

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

func (*GetServiceServiceIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get service service ID params

func (*GetServiceServiceIDParams) WithServiceID

func (o *GetServiceServiceIDParams) WithServiceID(serviceID strfmt.UUID) *GetServiceServiceIDParams

WithServiceID adds the serviceID to the get service service ID params

func (*GetServiceServiceIDParams) WithTimeout

WithTimeout adds the timeout to the get service service ID params

func (*GetServiceServiceIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetServiceServiceIDReader

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

GetServiceServiceIDReader is a Reader for the GetServiceServiceID structure.

func (*GetServiceServiceIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServiceServiceIDUnauthorized

type GetServiceServiceIDUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetServiceServiceIDUnauthorized

func NewGetServiceServiceIDUnauthorized() *GetServiceServiceIDUnauthorized

NewGetServiceServiceIDUnauthorized creates a GetServiceServiceIDUnauthorized with default headers values

func (*GetServiceServiceIDUnauthorized) Code

Code gets the status code for the get service service Id unauthorized response

func (*GetServiceServiceIDUnauthorized) Error

func (*GetServiceServiceIDUnauthorized) GetPayload

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

func (*GetServiceServiceIDUnauthorized) IsClientError

func (o *GetServiceServiceIDUnauthorized) IsClientError() bool

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

func (*GetServiceServiceIDUnauthorized) IsCode

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

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

func (*GetServiceServiceIDUnauthorized) IsRedirect

func (o *GetServiceServiceIDUnauthorized) IsRedirect() bool

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

func (*GetServiceServiceIDUnauthorized) IsServerError

func (o *GetServiceServiceIDUnauthorized) IsServerError() bool

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

func (*GetServiceServiceIDUnauthorized) IsSuccess

func (o *GetServiceServiceIDUnauthorized) IsSuccess() bool

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

func (*GetServiceServiceIDUnauthorized) String

type GetServiceServiceIDUnprocessableEntity

type GetServiceServiceIDUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Content

func NewGetServiceServiceIDUnprocessableEntity

func NewGetServiceServiceIDUnprocessableEntity() *GetServiceServiceIDUnprocessableEntity

NewGetServiceServiceIDUnprocessableEntity creates a GetServiceServiceIDUnprocessableEntity with default headers values

func (*GetServiceServiceIDUnprocessableEntity) Code

Code gets the status code for the get service service Id unprocessable entity response

func (*GetServiceServiceIDUnprocessableEntity) Error

func (*GetServiceServiceIDUnprocessableEntity) GetPayload

func (*GetServiceServiceIDUnprocessableEntity) IsClientError

func (o *GetServiceServiceIDUnprocessableEntity) IsClientError() bool

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

func (*GetServiceServiceIDUnprocessableEntity) IsCode

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

func (*GetServiceServiceIDUnprocessableEntity) IsRedirect

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

func (*GetServiceServiceIDUnprocessableEntity) IsServerError

func (o *GetServiceServiceIDUnprocessableEntity) IsServerError() bool

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

func (*GetServiceServiceIDUnprocessableEntity) IsSuccess

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

func (*GetServiceServiceIDUnprocessableEntity) 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 GetServiceUnprocessableEntity

type GetServiceUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Content

func NewGetServiceUnprocessableEntity

func NewGetServiceUnprocessableEntity() *GetServiceUnprocessableEntity

NewGetServiceUnprocessableEntity creates a GetServiceUnprocessableEntity with default headers values

func (*GetServiceUnprocessableEntity) Code

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

func (*GetServiceUnprocessableEntity) Error

func (*GetServiceUnprocessableEntity) GetPayload

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

func (*GetServiceUnprocessableEntity) IsClientError

func (o *GetServiceUnprocessableEntity) IsClientError() bool

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

func (*GetServiceUnprocessableEntity) IsCode

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

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

func (*GetServiceUnprocessableEntity) IsRedirect

func (o *GetServiceUnprocessableEntity) IsRedirect() bool

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

func (*GetServiceUnprocessableEntity) IsServerError

func (o *GetServiceUnprocessableEntity) IsServerError() bool

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

func (*GetServiceUnprocessableEntity) IsSuccess

func (o *GetServiceUnprocessableEntity) IsSuccess() bool

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

func (*GetServiceUnprocessableEntity) String

type PostServiceConflict

type PostServiceConflict struct {
	Payload *models.Error
}

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

Duplicate entry

func NewPostServiceConflict

func NewPostServiceConflict() *PostServiceConflict

NewPostServiceConflict creates a PostServiceConflict with default headers values

func (*PostServiceConflict) Code

func (o *PostServiceConflict) Code() int

Code gets the status code for the post service conflict response

func (*PostServiceConflict) Error

func (o *PostServiceConflict) Error() string

func (*PostServiceConflict) GetPayload

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

func (*PostServiceConflict) IsClientError

func (o *PostServiceConflict) IsClientError() bool

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

func (*PostServiceConflict) IsCode

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

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

func (*PostServiceConflict) IsRedirect

func (o *PostServiceConflict) IsRedirect() bool

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

func (*PostServiceConflict) IsServerError

func (o *PostServiceConflict) IsServerError() bool

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

func (*PostServiceConflict) IsSuccess

func (o *PostServiceConflict) IsSuccess() bool

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

func (*PostServiceConflict) String

func (o *PostServiceConflict) String() string

type PostServiceCreated

type PostServiceCreated struct {
	Payload *models.Service
}

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

Service

func NewPostServiceCreated

func NewPostServiceCreated() *PostServiceCreated

NewPostServiceCreated creates a PostServiceCreated with default headers values

func (*PostServiceCreated) Code

func (o *PostServiceCreated) Code() int

Code gets the status code for the post service created response

func (*PostServiceCreated) Error

func (o *PostServiceCreated) Error() string

func (*PostServiceCreated) GetPayload

func (o *PostServiceCreated) GetPayload() *models.Service

func (*PostServiceCreated) IsClientError

func (o *PostServiceCreated) IsClientError() bool

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

func (*PostServiceCreated) IsCode

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

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

func (*PostServiceCreated) IsRedirect

func (o *PostServiceCreated) IsRedirect() bool

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

func (*PostServiceCreated) IsServerError

func (o *PostServiceCreated) IsServerError() bool

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

func (*PostServiceCreated) IsSuccess

func (o *PostServiceCreated) IsSuccess() bool

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

func (*PostServiceCreated) String

func (o *PostServiceCreated) String() string

type PostServiceForbidden

type PostServiceForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPostServiceForbidden

func NewPostServiceForbidden() *PostServiceForbidden

NewPostServiceForbidden creates a PostServiceForbidden with default headers values

func (*PostServiceForbidden) Code

func (o *PostServiceForbidden) Code() int

Code gets the status code for the post service forbidden response

func (*PostServiceForbidden) Error

func (o *PostServiceForbidden) Error() string

func (*PostServiceForbidden) GetPayload

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

func (*PostServiceForbidden) IsClientError

func (o *PostServiceForbidden) IsClientError() bool

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

func (*PostServiceForbidden) IsCode

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

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

func (*PostServiceForbidden) IsRedirect

func (o *PostServiceForbidden) IsRedirect() bool

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

func (*PostServiceForbidden) IsServerError

func (o *PostServiceForbidden) IsServerError() bool

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

func (*PostServiceForbidden) IsSuccess

func (o *PostServiceForbidden) IsSuccess() bool

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

func (*PostServiceForbidden) String

func (o *PostServiceForbidden) String() string

type PostServiceParams

type PostServiceParams struct {

	/* Body.

	   Service object that needs to be added to the catalog
	*/
	Body *models.Service

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

PostServiceParams contains all the parameters to send to the API endpoint

for the post service operation.

Typically these are written to a http.Request.

func NewPostServiceParams

func NewPostServiceParams() *PostServiceParams

NewPostServiceParams creates a new PostServiceParams 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 NewPostServiceParamsWithContext

func NewPostServiceParamsWithContext(ctx context.Context) *PostServiceParams

NewPostServiceParamsWithContext creates a new PostServiceParams object with the ability to set a context for a request.

func NewPostServiceParamsWithHTTPClient

func NewPostServiceParamsWithHTTPClient(client *http.Client) *PostServiceParams

NewPostServiceParamsWithHTTPClient creates a new PostServiceParams object with the ability to set a custom HTTPClient for a request.

func NewPostServiceParamsWithTimeout

func NewPostServiceParamsWithTimeout(timeout time.Duration) *PostServiceParams

NewPostServiceParamsWithTimeout creates a new PostServiceParams object with the ability to set a timeout on a request.

func (*PostServiceParams) SetBody

func (o *PostServiceParams) SetBody(body *models.Service)

SetBody adds the body to the post service params

func (*PostServiceParams) SetContext

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

SetContext adds the context to the post service params

func (*PostServiceParams) SetDefaults

func (o *PostServiceParams) SetDefaults()

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

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

func (*PostServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post service params

func (*PostServiceParams) SetTimeout

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

SetTimeout adds the timeout to the post service params

func (*PostServiceParams) WithBody

func (o *PostServiceParams) WithBody(body *models.Service) *PostServiceParams

WithBody adds the body to the post service params

func (*PostServiceParams) WithContext

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

WithContext adds the context to the post service params

func (*PostServiceParams) WithDefaults

func (o *PostServiceParams) WithDefaults() *PostServiceParams

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

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

func (*PostServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post service params

func (*PostServiceParams) WithTimeout

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

WithTimeout adds the timeout to the post service params

func (*PostServiceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostServiceReader

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

PostServiceReader is a Reader for the PostService structure.

func (*PostServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostServiceUnauthorized

type PostServiceUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPostServiceUnauthorized

func NewPostServiceUnauthorized() *PostServiceUnauthorized

NewPostServiceUnauthorized creates a PostServiceUnauthorized with default headers values

func (*PostServiceUnauthorized) Code

func (o *PostServiceUnauthorized) Code() int

Code gets the status code for the post service unauthorized response

func (*PostServiceUnauthorized) Error

func (o *PostServiceUnauthorized) Error() string

func (*PostServiceUnauthorized) GetPayload

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

func (*PostServiceUnauthorized) IsClientError

func (o *PostServiceUnauthorized) IsClientError() bool

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

func (*PostServiceUnauthorized) IsCode

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

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

func (*PostServiceUnauthorized) IsRedirect

func (o *PostServiceUnauthorized) IsRedirect() bool

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

func (*PostServiceUnauthorized) IsServerError

func (o *PostServiceUnauthorized) IsServerError() bool

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

func (*PostServiceUnauthorized) IsSuccess

func (o *PostServiceUnauthorized) IsSuccess() bool

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

func (*PostServiceUnauthorized) String

func (o *PostServiceUnauthorized) String() string

type PostServiceUnprocessableEntity

type PostServiceUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Content

func NewPostServiceUnprocessableEntity

func NewPostServiceUnprocessableEntity() *PostServiceUnprocessableEntity

NewPostServiceUnprocessableEntity creates a PostServiceUnprocessableEntity with default headers values

func (*PostServiceUnprocessableEntity) Code

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

func (*PostServiceUnprocessableEntity) Error

func (*PostServiceUnprocessableEntity) GetPayload

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

func (*PostServiceUnprocessableEntity) IsClientError

func (o *PostServiceUnprocessableEntity) IsClientError() bool

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

func (*PostServiceUnprocessableEntity) IsCode

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

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

func (*PostServiceUnprocessableEntity) IsRedirect

func (o *PostServiceUnprocessableEntity) IsRedirect() bool

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

func (*PostServiceUnprocessableEntity) IsServerError

func (o *PostServiceUnprocessableEntity) IsServerError() bool

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

func (*PostServiceUnprocessableEntity) IsSuccess

func (o *PostServiceUnprocessableEntity) IsSuccess() bool

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

func (*PostServiceUnprocessableEntity) String

type PutServiceServiceIDAcceptEndpointsBadRequest

type PutServiceServiceIDAcceptEndpointsBadRequest struct {
	Payload *models.Error
}

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

Must declare at least one, endpoint_id(s) or project_id(s)

func NewPutServiceServiceIDAcceptEndpointsBadRequest

func NewPutServiceServiceIDAcceptEndpointsBadRequest() *PutServiceServiceIDAcceptEndpointsBadRequest

NewPutServiceServiceIDAcceptEndpointsBadRequest creates a PutServiceServiceIDAcceptEndpointsBadRequest with default headers values

func (*PutServiceServiceIDAcceptEndpointsBadRequest) Code

Code gets the status code for the put service service Id accept endpoints bad request response

func (*PutServiceServiceIDAcceptEndpointsBadRequest) Error

func (*PutServiceServiceIDAcceptEndpointsBadRequest) GetPayload

func (*PutServiceServiceIDAcceptEndpointsBadRequest) IsClientError

IsClientError returns true when this put service service Id accept endpoints bad request response has a 4xx status code

func (*PutServiceServiceIDAcceptEndpointsBadRequest) IsCode

IsCode returns true when this put service service Id accept endpoints bad request response a status code equal to that given

func (*PutServiceServiceIDAcceptEndpointsBadRequest) IsRedirect

IsRedirect returns true when this put service service Id accept endpoints bad request response has a 3xx status code

func (*PutServiceServiceIDAcceptEndpointsBadRequest) IsServerError

IsServerError returns true when this put service service Id accept endpoints bad request response has a 5xx status code

func (*PutServiceServiceIDAcceptEndpointsBadRequest) IsSuccess

IsSuccess returns true when this put service service Id accept endpoints bad request response has a 2xx status code

func (*PutServiceServiceIDAcceptEndpointsBadRequest) String

type PutServiceServiceIDAcceptEndpointsForbidden

type PutServiceServiceIDAcceptEndpointsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPutServiceServiceIDAcceptEndpointsForbidden

func NewPutServiceServiceIDAcceptEndpointsForbidden() *PutServiceServiceIDAcceptEndpointsForbidden

NewPutServiceServiceIDAcceptEndpointsForbidden creates a PutServiceServiceIDAcceptEndpointsForbidden with default headers values

func (*PutServiceServiceIDAcceptEndpointsForbidden) Code

Code gets the status code for the put service service Id accept endpoints forbidden response

func (*PutServiceServiceIDAcceptEndpointsForbidden) Error

func (*PutServiceServiceIDAcceptEndpointsForbidden) GetPayload

func (*PutServiceServiceIDAcceptEndpointsForbidden) IsClientError

IsClientError returns true when this put service service Id accept endpoints forbidden response has a 4xx status code

func (*PutServiceServiceIDAcceptEndpointsForbidden) IsCode

IsCode returns true when this put service service Id accept endpoints forbidden response a status code equal to that given

func (*PutServiceServiceIDAcceptEndpointsForbidden) IsRedirect

IsRedirect returns true when this put service service Id accept endpoints forbidden response has a 3xx status code

func (*PutServiceServiceIDAcceptEndpointsForbidden) IsServerError

IsServerError returns true when this put service service Id accept endpoints forbidden response has a 5xx status code

func (*PutServiceServiceIDAcceptEndpointsForbidden) IsSuccess

IsSuccess returns true when this put service service Id accept endpoints forbidden response has a 2xx status code

func (*PutServiceServiceIDAcceptEndpointsForbidden) String

type PutServiceServiceIDAcceptEndpointsNotFound

type PutServiceServiceIDAcceptEndpointsNotFound struct {
}

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

Not Found

func NewPutServiceServiceIDAcceptEndpointsNotFound

func NewPutServiceServiceIDAcceptEndpointsNotFound() *PutServiceServiceIDAcceptEndpointsNotFound

NewPutServiceServiceIDAcceptEndpointsNotFound creates a PutServiceServiceIDAcceptEndpointsNotFound with default headers values

func (*PutServiceServiceIDAcceptEndpointsNotFound) Code

Code gets the status code for the put service service Id accept endpoints not found response

func (*PutServiceServiceIDAcceptEndpointsNotFound) Error

func (*PutServiceServiceIDAcceptEndpointsNotFound) IsClientError

IsClientError returns true when this put service service Id accept endpoints not found response has a 4xx status code

func (*PutServiceServiceIDAcceptEndpointsNotFound) IsCode

IsCode returns true when this put service service Id accept endpoints not found response a status code equal to that given

func (*PutServiceServiceIDAcceptEndpointsNotFound) IsRedirect

IsRedirect returns true when this put service service Id accept endpoints not found response has a 3xx status code

func (*PutServiceServiceIDAcceptEndpointsNotFound) IsServerError

IsServerError returns true when this put service service Id accept endpoints not found response has a 5xx status code

func (*PutServiceServiceIDAcceptEndpointsNotFound) IsSuccess

IsSuccess returns true when this put service service Id accept endpoints not found response has a 2xx status code

func (*PutServiceServiceIDAcceptEndpointsNotFound) String

type PutServiceServiceIDAcceptEndpointsOK

type PutServiceServiceIDAcceptEndpointsOK struct {
	Payload []*models.EndpointConsumer
}

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

Ok

func NewPutServiceServiceIDAcceptEndpointsOK

func NewPutServiceServiceIDAcceptEndpointsOK() *PutServiceServiceIDAcceptEndpointsOK

NewPutServiceServiceIDAcceptEndpointsOK creates a PutServiceServiceIDAcceptEndpointsOK with default headers values

func (*PutServiceServiceIDAcceptEndpointsOK) Code

Code gets the status code for the put service service Id accept endpoints o k response

func (*PutServiceServiceIDAcceptEndpointsOK) Error

func (*PutServiceServiceIDAcceptEndpointsOK) GetPayload

func (*PutServiceServiceIDAcceptEndpointsOK) IsClientError

func (o *PutServiceServiceIDAcceptEndpointsOK) IsClientError() bool

IsClientError returns true when this put service service Id accept endpoints o k response has a 4xx status code

func (*PutServiceServiceIDAcceptEndpointsOK) IsCode

IsCode returns true when this put service service Id accept endpoints o k response a status code equal to that given

func (*PutServiceServiceIDAcceptEndpointsOK) IsRedirect

IsRedirect returns true when this put service service Id accept endpoints o k response has a 3xx status code

func (*PutServiceServiceIDAcceptEndpointsOK) IsServerError

func (o *PutServiceServiceIDAcceptEndpointsOK) IsServerError() bool

IsServerError returns true when this put service service Id accept endpoints o k response has a 5xx status code

func (*PutServiceServiceIDAcceptEndpointsOK) IsSuccess

IsSuccess returns true when this put service service Id accept endpoints o k response has a 2xx status code

func (*PutServiceServiceIDAcceptEndpointsOK) String

type PutServiceServiceIDAcceptEndpointsParams

type PutServiceServiceIDAcceptEndpointsParams struct {

	/* Body.

	   Service object that needs to be updated
	*/
	Body *models.EndpointConsumerList

	/* ServiceID.

	   The UUID of the service

	   Format: uuid
	*/
	ServiceID strfmt.UUID

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

PutServiceServiceIDAcceptEndpointsParams contains all the parameters to send to the API endpoint

for the put service service ID accept endpoints operation.

Typically these are written to a http.Request.

func NewPutServiceServiceIDAcceptEndpointsParams

func NewPutServiceServiceIDAcceptEndpointsParams() *PutServiceServiceIDAcceptEndpointsParams

NewPutServiceServiceIDAcceptEndpointsParams creates a new PutServiceServiceIDAcceptEndpointsParams 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 NewPutServiceServiceIDAcceptEndpointsParamsWithContext

func NewPutServiceServiceIDAcceptEndpointsParamsWithContext(ctx context.Context) *PutServiceServiceIDAcceptEndpointsParams

NewPutServiceServiceIDAcceptEndpointsParamsWithContext creates a new PutServiceServiceIDAcceptEndpointsParams object with the ability to set a context for a request.

func NewPutServiceServiceIDAcceptEndpointsParamsWithHTTPClient

func NewPutServiceServiceIDAcceptEndpointsParamsWithHTTPClient(client *http.Client) *PutServiceServiceIDAcceptEndpointsParams

NewPutServiceServiceIDAcceptEndpointsParamsWithHTTPClient creates a new PutServiceServiceIDAcceptEndpointsParams object with the ability to set a custom HTTPClient for a request.

func NewPutServiceServiceIDAcceptEndpointsParamsWithTimeout

func NewPutServiceServiceIDAcceptEndpointsParamsWithTimeout(timeout time.Duration) *PutServiceServiceIDAcceptEndpointsParams

NewPutServiceServiceIDAcceptEndpointsParamsWithTimeout creates a new PutServiceServiceIDAcceptEndpointsParams object with the ability to set a timeout on a request.

func (*PutServiceServiceIDAcceptEndpointsParams) SetBody

SetBody adds the body to the put service service ID accept endpoints params

func (*PutServiceServiceIDAcceptEndpointsParams) SetContext

SetContext adds the context to the put service service ID accept endpoints params

func (*PutServiceServiceIDAcceptEndpointsParams) SetDefaults

SetDefaults hydrates default values in the put service service ID accept endpoints params (not the query body).

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

func (*PutServiceServiceIDAcceptEndpointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put service service ID accept endpoints params

func (*PutServiceServiceIDAcceptEndpointsParams) SetServiceID

func (o *PutServiceServiceIDAcceptEndpointsParams) SetServiceID(serviceID strfmt.UUID)

SetServiceID adds the serviceId to the put service service ID accept endpoints params

func (*PutServiceServiceIDAcceptEndpointsParams) SetTimeout

SetTimeout adds the timeout to the put service service ID accept endpoints params

func (*PutServiceServiceIDAcceptEndpointsParams) WithBody

WithBody adds the body to the put service service ID accept endpoints params

func (*PutServiceServiceIDAcceptEndpointsParams) WithContext

WithContext adds the context to the put service service ID accept endpoints params

func (*PutServiceServiceIDAcceptEndpointsParams) WithDefaults

WithDefaults hydrates default values in the put service service ID accept endpoints params (not the query body).

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

func (*PutServiceServiceIDAcceptEndpointsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put service service ID accept endpoints params

func (*PutServiceServiceIDAcceptEndpointsParams) WithServiceID

WithServiceID adds the serviceID to the put service service ID accept endpoints params

func (*PutServiceServiceIDAcceptEndpointsParams) WithTimeout

WithTimeout adds the timeout to the put service service ID accept endpoints params

func (*PutServiceServiceIDAcceptEndpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutServiceServiceIDAcceptEndpointsReader

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

PutServiceServiceIDAcceptEndpointsReader is a Reader for the PutServiceServiceIDAcceptEndpoints structure.

func (*PutServiceServiceIDAcceptEndpointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutServiceServiceIDAcceptEndpointsUnauthorized

type PutServiceServiceIDAcceptEndpointsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPutServiceServiceIDAcceptEndpointsUnauthorized

func NewPutServiceServiceIDAcceptEndpointsUnauthorized() *PutServiceServiceIDAcceptEndpointsUnauthorized

NewPutServiceServiceIDAcceptEndpointsUnauthorized creates a PutServiceServiceIDAcceptEndpointsUnauthorized with default headers values

func (*PutServiceServiceIDAcceptEndpointsUnauthorized) Code

Code gets the status code for the put service service Id accept endpoints unauthorized response

func (*PutServiceServiceIDAcceptEndpointsUnauthorized) Error

func (*PutServiceServiceIDAcceptEndpointsUnauthorized) GetPayload

func (*PutServiceServiceIDAcceptEndpointsUnauthorized) IsClientError

IsClientError returns true when this put service service Id accept endpoints unauthorized response has a 4xx status code

func (*PutServiceServiceIDAcceptEndpointsUnauthorized) IsCode

IsCode returns true when this put service service Id accept endpoints unauthorized response a status code equal to that given

func (*PutServiceServiceIDAcceptEndpointsUnauthorized) IsRedirect

IsRedirect returns true when this put service service Id accept endpoints unauthorized response has a 3xx status code

func (*PutServiceServiceIDAcceptEndpointsUnauthorized) IsServerError

IsServerError returns true when this put service service Id accept endpoints unauthorized response has a 5xx status code

func (*PutServiceServiceIDAcceptEndpointsUnauthorized) IsSuccess

IsSuccess returns true when this put service service Id accept endpoints unauthorized response has a 2xx status code

func (*PutServiceServiceIDAcceptEndpointsUnauthorized) String

type PutServiceServiceIDAcceptEndpointsUnprocessableEntity

type PutServiceServiceIDAcceptEndpointsUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Content

func NewPutServiceServiceIDAcceptEndpointsUnprocessableEntity

func NewPutServiceServiceIDAcceptEndpointsUnprocessableEntity() *PutServiceServiceIDAcceptEndpointsUnprocessableEntity

NewPutServiceServiceIDAcceptEndpointsUnprocessableEntity creates a PutServiceServiceIDAcceptEndpointsUnprocessableEntity with default headers values

func (*PutServiceServiceIDAcceptEndpointsUnprocessableEntity) Code

Code gets the status code for the put service service Id accept endpoints unprocessable entity response

func (*PutServiceServiceIDAcceptEndpointsUnprocessableEntity) Error

func (*PutServiceServiceIDAcceptEndpointsUnprocessableEntity) GetPayload

func (*PutServiceServiceIDAcceptEndpointsUnprocessableEntity) IsClientError

IsClientError returns true when this put service service Id accept endpoints unprocessable entity response has a 4xx status code

func (*PutServiceServiceIDAcceptEndpointsUnprocessableEntity) IsCode

IsCode returns true when this put service service Id accept endpoints unprocessable entity response a status code equal to that given

func (*PutServiceServiceIDAcceptEndpointsUnprocessableEntity) IsRedirect

IsRedirect returns true when this put service service Id accept endpoints unprocessable entity response has a 3xx status code

func (*PutServiceServiceIDAcceptEndpointsUnprocessableEntity) IsServerError

IsServerError returns true when this put service service Id accept endpoints unprocessable entity response has a 5xx status code

func (*PutServiceServiceIDAcceptEndpointsUnprocessableEntity) IsSuccess

IsSuccess returns true when this put service service Id accept endpoints unprocessable entity response has a 2xx status code

func (*PutServiceServiceIDAcceptEndpointsUnprocessableEntity) String

type PutServiceServiceIDConflict

type PutServiceServiceIDConflict struct {
	Payload *models.Error
}

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

Duplicate entry

func NewPutServiceServiceIDConflict

func NewPutServiceServiceIDConflict() *PutServiceServiceIDConflict

NewPutServiceServiceIDConflict creates a PutServiceServiceIDConflict with default headers values

func (*PutServiceServiceIDConflict) Code

func (o *PutServiceServiceIDConflict) Code() int

Code gets the status code for the put service service Id conflict response

func (*PutServiceServiceIDConflict) Error

func (*PutServiceServiceIDConflict) GetPayload

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

func (*PutServiceServiceIDConflict) IsClientError

func (o *PutServiceServiceIDConflict) IsClientError() bool

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

func (*PutServiceServiceIDConflict) IsCode

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

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

func (*PutServiceServiceIDConflict) IsRedirect

func (o *PutServiceServiceIDConflict) IsRedirect() bool

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

func (*PutServiceServiceIDConflict) IsServerError

func (o *PutServiceServiceIDConflict) IsServerError() bool

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

func (*PutServiceServiceIDConflict) IsSuccess

func (o *PutServiceServiceIDConflict) IsSuccess() bool

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

func (*PutServiceServiceIDConflict) String

func (o *PutServiceServiceIDConflict) String() string

type PutServiceServiceIDForbidden

type PutServiceServiceIDForbidden struct {
}

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

Forbidden

func NewPutServiceServiceIDForbidden

func NewPutServiceServiceIDForbidden() *PutServiceServiceIDForbidden

NewPutServiceServiceIDForbidden creates a PutServiceServiceIDForbidden with default headers values

func (*PutServiceServiceIDForbidden) Code

Code gets the status code for the put service service Id forbidden response

func (*PutServiceServiceIDForbidden) Error

func (*PutServiceServiceIDForbidden) IsClientError

func (o *PutServiceServiceIDForbidden) IsClientError() bool

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

func (*PutServiceServiceIDForbidden) IsCode

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

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

func (*PutServiceServiceIDForbidden) IsRedirect

func (o *PutServiceServiceIDForbidden) IsRedirect() bool

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

func (*PutServiceServiceIDForbidden) IsServerError

func (o *PutServiceServiceIDForbidden) IsServerError() bool

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

func (*PutServiceServiceIDForbidden) IsSuccess

func (o *PutServiceServiceIDForbidden) IsSuccess() bool

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

func (*PutServiceServiceIDForbidden) String

type PutServiceServiceIDNotFound

type PutServiceServiceIDNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPutServiceServiceIDNotFound

func NewPutServiceServiceIDNotFound() *PutServiceServiceIDNotFound

NewPutServiceServiceIDNotFound creates a PutServiceServiceIDNotFound with default headers values

func (*PutServiceServiceIDNotFound) Code

func (o *PutServiceServiceIDNotFound) Code() int

Code gets the status code for the put service service Id not found response

func (*PutServiceServiceIDNotFound) Error

func (*PutServiceServiceIDNotFound) GetPayload

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

func (*PutServiceServiceIDNotFound) IsClientError

func (o *PutServiceServiceIDNotFound) IsClientError() bool

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

func (*PutServiceServiceIDNotFound) IsCode

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

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

func (*PutServiceServiceIDNotFound) IsRedirect

func (o *PutServiceServiceIDNotFound) IsRedirect() bool

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

func (*PutServiceServiceIDNotFound) IsServerError

func (o *PutServiceServiceIDNotFound) IsServerError() bool

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

func (*PutServiceServiceIDNotFound) IsSuccess

func (o *PutServiceServiceIDNotFound) IsSuccess() bool

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

func (*PutServiceServiceIDNotFound) String

func (o *PutServiceServiceIDNotFound) String() string

type PutServiceServiceIDOK

type PutServiceServiceIDOK struct {
	Payload *models.Service
}

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

Service

func NewPutServiceServiceIDOK

func NewPutServiceServiceIDOK() *PutServiceServiceIDOK

NewPutServiceServiceIDOK creates a PutServiceServiceIDOK with default headers values

func (*PutServiceServiceIDOK) Code

func (o *PutServiceServiceIDOK) Code() int

Code gets the status code for the put service service Id o k response

func (*PutServiceServiceIDOK) Error

func (o *PutServiceServiceIDOK) Error() string

func (*PutServiceServiceIDOK) GetPayload

func (o *PutServiceServiceIDOK) GetPayload() *models.Service

func (*PutServiceServiceIDOK) IsClientError

func (o *PutServiceServiceIDOK) IsClientError() bool

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

func (*PutServiceServiceIDOK) IsCode

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

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

func (*PutServiceServiceIDOK) IsRedirect

func (o *PutServiceServiceIDOK) IsRedirect() bool

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

func (*PutServiceServiceIDOK) IsServerError

func (o *PutServiceServiceIDOK) IsServerError() bool

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

func (*PutServiceServiceIDOK) IsSuccess

func (o *PutServiceServiceIDOK) IsSuccess() bool

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

func (*PutServiceServiceIDOK) String

func (o *PutServiceServiceIDOK) String() string

type PutServiceServiceIDParams

type PutServiceServiceIDParams struct {

	/* Body.

	   Service object that needs to be updated
	*/
	Body *models.ServiceUpdatable

	/* ServiceID.

	   The UUID of the service

	   Format: uuid
	*/
	ServiceID strfmt.UUID

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

PutServiceServiceIDParams contains all the parameters to send to the API endpoint

for the put service service ID operation.

Typically these are written to a http.Request.

func NewPutServiceServiceIDParams

func NewPutServiceServiceIDParams() *PutServiceServiceIDParams

NewPutServiceServiceIDParams creates a new PutServiceServiceIDParams 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 NewPutServiceServiceIDParamsWithContext

func NewPutServiceServiceIDParamsWithContext(ctx context.Context) *PutServiceServiceIDParams

NewPutServiceServiceIDParamsWithContext creates a new PutServiceServiceIDParams object with the ability to set a context for a request.

func NewPutServiceServiceIDParamsWithHTTPClient

func NewPutServiceServiceIDParamsWithHTTPClient(client *http.Client) *PutServiceServiceIDParams

NewPutServiceServiceIDParamsWithHTTPClient creates a new PutServiceServiceIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutServiceServiceIDParamsWithTimeout

func NewPutServiceServiceIDParamsWithTimeout(timeout time.Duration) *PutServiceServiceIDParams

NewPutServiceServiceIDParamsWithTimeout creates a new PutServiceServiceIDParams object with the ability to set a timeout on a request.

func (*PutServiceServiceIDParams) SetBody

SetBody adds the body to the put service service ID params

func (*PutServiceServiceIDParams) SetContext

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

SetContext adds the context to the put service service ID params

func (*PutServiceServiceIDParams) SetDefaults

func (o *PutServiceServiceIDParams) SetDefaults()

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

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

func (*PutServiceServiceIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put service service ID params

func (*PutServiceServiceIDParams) SetServiceID

func (o *PutServiceServiceIDParams) SetServiceID(serviceID strfmt.UUID)

SetServiceID adds the serviceId to the put service service ID params

func (*PutServiceServiceIDParams) SetTimeout

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

SetTimeout adds the timeout to the put service service ID params

func (*PutServiceServiceIDParams) WithBody

WithBody adds the body to the put service service ID params

func (*PutServiceServiceIDParams) WithContext

WithContext adds the context to the put service service ID params

func (*PutServiceServiceIDParams) WithDefaults

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

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

func (*PutServiceServiceIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put service service ID params

func (*PutServiceServiceIDParams) WithServiceID

func (o *PutServiceServiceIDParams) WithServiceID(serviceID strfmt.UUID) *PutServiceServiceIDParams

WithServiceID adds the serviceID to the put service service ID params

func (*PutServiceServiceIDParams) WithTimeout

WithTimeout adds the timeout to the put service service ID params

func (*PutServiceServiceIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutServiceServiceIDReader

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

PutServiceServiceIDReader is a Reader for the PutServiceServiceID structure.

func (*PutServiceServiceIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutServiceServiceIDRejectEndpointsBadRequest

type PutServiceServiceIDRejectEndpointsBadRequest struct {
	Payload *models.Error
}

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

Must declare at least one, endpoint_id(s) or project_id(s)

func NewPutServiceServiceIDRejectEndpointsBadRequest

func NewPutServiceServiceIDRejectEndpointsBadRequest() *PutServiceServiceIDRejectEndpointsBadRequest

NewPutServiceServiceIDRejectEndpointsBadRequest creates a PutServiceServiceIDRejectEndpointsBadRequest with default headers values

func (*PutServiceServiceIDRejectEndpointsBadRequest) Code

Code gets the status code for the put service service Id reject endpoints bad request response

func (*PutServiceServiceIDRejectEndpointsBadRequest) Error

func (*PutServiceServiceIDRejectEndpointsBadRequest) GetPayload

func (*PutServiceServiceIDRejectEndpointsBadRequest) IsClientError

IsClientError returns true when this put service service Id reject endpoints bad request response has a 4xx status code

func (*PutServiceServiceIDRejectEndpointsBadRequest) IsCode

IsCode returns true when this put service service Id reject endpoints bad request response a status code equal to that given

func (*PutServiceServiceIDRejectEndpointsBadRequest) IsRedirect

IsRedirect returns true when this put service service Id reject endpoints bad request response has a 3xx status code

func (*PutServiceServiceIDRejectEndpointsBadRequest) IsServerError

IsServerError returns true when this put service service Id reject endpoints bad request response has a 5xx status code

func (*PutServiceServiceIDRejectEndpointsBadRequest) IsSuccess

IsSuccess returns true when this put service service Id reject endpoints bad request response has a 2xx status code

func (*PutServiceServiceIDRejectEndpointsBadRequest) String

type PutServiceServiceIDRejectEndpointsForbidden

type PutServiceServiceIDRejectEndpointsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPutServiceServiceIDRejectEndpointsForbidden

func NewPutServiceServiceIDRejectEndpointsForbidden() *PutServiceServiceIDRejectEndpointsForbidden

NewPutServiceServiceIDRejectEndpointsForbidden creates a PutServiceServiceIDRejectEndpointsForbidden with default headers values

func (*PutServiceServiceIDRejectEndpointsForbidden) Code

Code gets the status code for the put service service Id reject endpoints forbidden response

func (*PutServiceServiceIDRejectEndpointsForbidden) Error

func (*PutServiceServiceIDRejectEndpointsForbidden) GetPayload

func (*PutServiceServiceIDRejectEndpointsForbidden) IsClientError

IsClientError returns true when this put service service Id reject endpoints forbidden response has a 4xx status code

func (*PutServiceServiceIDRejectEndpointsForbidden) IsCode

IsCode returns true when this put service service Id reject endpoints forbidden response a status code equal to that given

func (*PutServiceServiceIDRejectEndpointsForbidden) IsRedirect

IsRedirect returns true when this put service service Id reject endpoints forbidden response has a 3xx status code

func (*PutServiceServiceIDRejectEndpointsForbidden) IsServerError

IsServerError returns true when this put service service Id reject endpoints forbidden response has a 5xx status code

func (*PutServiceServiceIDRejectEndpointsForbidden) IsSuccess

IsSuccess returns true when this put service service Id reject endpoints forbidden response has a 2xx status code

func (*PutServiceServiceIDRejectEndpointsForbidden) String

type PutServiceServiceIDRejectEndpointsNotFound

type PutServiceServiceIDRejectEndpointsNotFound struct {
}

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

Not Found

func NewPutServiceServiceIDRejectEndpointsNotFound

func NewPutServiceServiceIDRejectEndpointsNotFound() *PutServiceServiceIDRejectEndpointsNotFound

NewPutServiceServiceIDRejectEndpointsNotFound creates a PutServiceServiceIDRejectEndpointsNotFound with default headers values

func (*PutServiceServiceIDRejectEndpointsNotFound) Code

Code gets the status code for the put service service Id reject endpoints not found response

func (*PutServiceServiceIDRejectEndpointsNotFound) Error

func (*PutServiceServiceIDRejectEndpointsNotFound) IsClientError

IsClientError returns true when this put service service Id reject endpoints not found response has a 4xx status code

func (*PutServiceServiceIDRejectEndpointsNotFound) IsCode

IsCode returns true when this put service service Id reject endpoints not found response a status code equal to that given

func (*PutServiceServiceIDRejectEndpointsNotFound) IsRedirect

IsRedirect returns true when this put service service Id reject endpoints not found response has a 3xx status code

func (*PutServiceServiceIDRejectEndpointsNotFound) IsServerError

IsServerError returns true when this put service service Id reject endpoints not found response has a 5xx status code

func (*PutServiceServiceIDRejectEndpointsNotFound) IsSuccess

IsSuccess returns true when this put service service Id reject endpoints not found response has a 2xx status code

func (*PutServiceServiceIDRejectEndpointsNotFound) String

type PutServiceServiceIDRejectEndpointsOK

type PutServiceServiceIDRejectEndpointsOK struct {
	Payload []*models.EndpointConsumer
}

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

Ok

func NewPutServiceServiceIDRejectEndpointsOK

func NewPutServiceServiceIDRejectEndpointsOK() *PutServiceServiceIDRejectEndpointsOK

NewPutServiceServiceIDRejectEndpointsOK creates a PutServiceServiceIDRejectEndpointsOK with default headers values

func (*PutServiceServiceIDRejectEndpointsOK) Code

Code gets the status code for the put service service Id reject endpoints o k response

func (*PutServiceServiceIDRejectEndpointsOK) Error

func (*PutServiceServiceIDRejectEndpointsOK) GetPayload

func (*PutServiceServiceIDRejectEndpointsOK) IsClientError

func (o *PutServiceServiceIDRejectEndpointsOK) IsClientError() bool

IsClientError returns true when this put service service Id reject endpoints o k response has a 4xx status code

func (*PutServiceServiceIDRejectEndpointsOK) IsCode

IsCode returns true when this put service service Id reject endpoints o k response a status code equal to that given

func (*PutServiceServiceIDRejectEndpointsOK) IsRedirect

IsRedirect returns true when this put service service Id reject endpoints o k response has a 3xx status code

func (*PutServiceServiceIDRejectEndpointsOK) IsServerError

func (o *PutServiceServiceIDRejectEndpointsOK) IsServerError() bool

IsServerError returns true when this put service service Id reject endpoints o k response has a 5xx status code

func (*PutServiceServiceIDRejectEndpointsOK) IsSuccess

IsSuccess returns true when this put service service Id reject endpoints o k response has a 2xx status code

func (*PutServiceServiceIDRejectEndpointsOK) String

type PutServiceServiceIDRejectEndpointsParams

type PutServiceServiceIDRejectEndpointsParams struct {

	/* Body.

	   Service object that needs to be updated
	*/
	Body *models.EndpointConsumerList

	/* ServiceID.

	   The UUID of the service

	   Format: uuid
	*/
	ServiceID strfmt.UUID

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

PutServiceServiceIDRejectEndpointsParams contains all the parameters to send to the API endpoint

for the put service service ID reject endpoints operation.

Typically these are written to a http.Request.

func NewPutServiceServiceIDRejectEndpointsParams

func NewPutServiceServiceIDRejectEndpointsParams() *PutServiceServiceIDRejectEndpointsParams

NewPutServiceServiceIDRejectEndpointsParams creates a new PutServiceServiceIDRejectEndpointsParams 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 NewPutServiceServiceIDRejectEndpointsParamsWithContext

func NewPutServiceServiceIDRejectEndpointsParamsWithContext(ctx context.Context) *PutServiceServiceIDRejectEndpointsParams

NewPutServiceServiceIDRejectEndpointsParamsWithContext creates a new PutServiceServiceIDRejectEndpointsParams object with the ability to set a context for a request.

func NewPutServiceServiceIDRejectEndpointsParamsWithHTTPClient

func NewPutServiceServiceIDRejectEndpointsParamsWithHTTPClient(client *http.Client) *PutServiceServiceIDRejectEndpointsParams

NewPutServiceServiceIDRejectEndpointsParamsWithHTTPClient creates a new PutServiceServiceIDRejectEndpointsParams object with the ability to set a custom HTTPClient for a request.

func NewPutServiceServiceIDRejectEndpointsParamsWithTimeout

func NewPutServiceServiceIDRejectEndpointsParamsWithTimeout(timeout time.Duration) *PutServiceServiceIDRejectEndpointsParams

NewPutServiceServiceIDRejectEndpointsParamsWithTimeout creates a new PutServiceServiceIDRejectEndpointsParams object with the ability to set a timeout on a request.

func (*PutServiceServiceIDRejectEndpointsParams) SetBody

SetBody adds the body to the put service service ID reject endpoints params

func (*PutServiceServiceIDRejectEndpointsParams) SetContext

SetContext adds the context to the put service service ID reject endpoints params

func (*PutServiceServiceIDRejectEndpointsParams) SetDefaults

SetDefaults hydrates default values in the put service service ID reject endpoints params (not the query body).

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

func (*PutServiceServiceIDRejectEndpointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put service service ID reject endpoints params

func (*PutServiceServiceIDRejectEndpointsParams) SetServiceID

func (o *PutServiceServiceIDRejectEndpointsParams) SetServiceID(serviceID strfmt.UUID)

SetServiceID adds the serviceId to the put service service ID reject endpoints params

func (*PutServiceServiceIDRejectEndpointsParams) SetTimeout

SetTimeout adds the timeout to the put service service ID reject endpoints params

func (*PutServiceServiceIDRejectEndpointsParams) WithBody

WithBody adds the body to the put service service ID reject endpoints params

func (*PutServiceServiceIDRejectEndpointsParams) WithContext

WithContext adds the context to the put service service ID reject endpoints params

func (*PutServiceServiceIDRejectEndpointsParams) WithDefaults

WithDefaults hydrates default values in the put service service ID reject endpoints params (not the query body).

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

func (*PutServiceServiceIDRejectEndpointsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put service service ID reject endpoints params

func (*PutServiceServiceIDRejectEndpointsParams) WithServiceID

WithServiceID adds the serviceID to the put service service ID reject endpoints params

func (*PutServiceServiceIDRejectEndpointsParams) WithTimeout

WithTimeout adds the timeout to the put service service ID reject endpoints params

func (*PutServiceServiceIDRejectEndpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutServiceServiceIDRejectEndpointsReader

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

PutServiceServiceIDRejectEndpointsReader is a Reader for the PutServiceServiceIDRejectEndpoints structure.

func (*PutServiceServiceIDRejectEndpointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutServiceServiceIDRejectEndpointsUnauthorized

type PutServiceServiceIDRejectEndpointsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPutServiceServiceIDRejectEndpointsUnauthorized

func NewPutServiceServiceIDRejectEndpointsUnauthorized() *PutServiceServiceIDRejectEndpointsUnauthorized

NewPutServiceServiceIDRejectEndpointsUnauthorized creates a PutServiceServiceIDRejectEndpointsUnauthorized with default headers values

func (*PutServiceServiceIDRejectEndpointsUnauthorized) Code

Code gets the status code for the put service service Id reject endpoints unauthorized response

func (*PutServiceServiceIDRejectEndpointsUnauthorized) Error

func (*PutServiceServiceIDRejectEndpointsUnauthorized) GetPayload

func (*PutServiceServiceIDRejectEndpointsUnauthorized) IsClientError

IsClientError returns true when this put service service Id reject endpoints unauthorized response has a 4xx status code

func (*PutServiceServiceIDRejectEndpointsUnauthorized) IsCode

IsCode returns true when this put service service Id reject endpoints unauthorized response a status code equal to that given

func (*PutServiceServiceIDRejectEndpointsUnauthorized) IsRedirect

IsRedirect returns true when this put service service Id reject endpoints unauthorized response has a 3xx status code

func (*PutServiceServiceIDRejectEndpointsUnauthorized) IsServerError

IsServerError returns true when this put service service Id reject endpoints unauthorized response has a 5xx status code

func (*PutServiceServiceIDRejectEndpointsUnauthorized) IsSuccess

IsSuccess returns true when this put service service Id reject endpoints unauthorized response has a 2xx status code

func (*PutServiceServiceIDRejectEndpointsUnauthorized) String

type PutServiceServiceIDRejectEndpointsUnprocessableEntity

type PutServiceServiceIDRejectEndpointsUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Content

func NewPutServiceServiceIDRejectEndpointsUnprocessableEntity

func NewPutServiceServiceIDRejectEndpointsUnprocessableEntity() *PutServiceServiceIDRejectEndpointsUnprocessableEntity

NewPutServiceServiceIDRejectEndpointsUnprocessableEntity creates a PutServiceServiceIDRejectEndpointsUnprocessableEntity with default headers values

func (*PutServiceServiceIDRejectEndpointsUnprocessableEntity) Code

Code gets the status code for the put service service Id reject endpoints unprocessable entity response

func (*PutServiceServiceIDRejectEndpointsUnprocessableEntity) Error

func (*PutServiceServiceIDRejectEndpointsUnprocessableEntity) GetPayload

func (*PutServiceServiceIDRejectEndpointsUnprocessableEntity) IsClientError

IsClientError returns true when this put service service Id reject endpoints unprocessable entity response has a 4xx status code

func (*PutServiceServiceIDRejectEndpointsUnprocessableEntity) IsCode

IsCode returns true when this put service service Id reject endpoints unprocessable entity response a status code equal to that given

func (*PutServiceServiceIDRejectEndpointsUnprocessableEntity) IsRedirect

IsRedirect returns true when this put service service Id reject endpoints unprocessable entity response has a 3xx status code

func (*PutServiceServiceIDRejectEndpointsUnprocessableEntity) IsServerError

IsServerError returns true when this put service service Id reject endpoints unprocessable entity response has a 5xx status code

func (*PutServiceServiceIDRejectEndpointsUnprocessableEntity) IsSuccess

IsSuccess returns true when this put service service Id reject endpoints unprocessable entity response has a 2xx status code

func (*PutServiceServiceIDRejectEndpointsUnprocessableEntity) String

type PutServiceServiceIDUnauthorized

type PutServiceServiceIDUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPutServiceServiceIDUnauthorized

func NewPutServiceServiceIDUnauthorized() *PutServiceServiceIDUnauthorized

NewPutServiceServiceIDUnauthorized creates a PutServiceServiceIDUnauthorized with default headers values

func (*PutServiceServiceIDUnauthorized) Code

Code gets the status code for the put service service Id unauthorized response

func (*PutServiceServiceIDUnauthorized) Error

func (*PutServiceServiceIDUnauthorized) GetPayload

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

func (*PutServiceServiceIDUnauthorized) IsClientError

func (o *PutServiceServiceIDUnauthorized) IsClientError() bool

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

func (*PutServiceServiceIDUnauthorized) IsCode

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

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

func (*PutServiceServiceIDUnauthorized) IsRedirect

func (o *PutServiceServiceIDUnauthorized) IsRedirect() bool

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

func (*PutServiceServiceIDUnauthorized) IsServerError

func (o *PutServiceServiceIDUnauthorized) IsServerError() bool

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

func (*PutServiceServiceIDUnauthorized) IsSuccess

func (o *PutServiceServiceIDUnauthorized) IsSuccess() bool

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

func (*PutServiceServiceIDUnauthorized) String

type PutServiceServiceIDUnprocessableEntity

type PutServiceServiceIDUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Content

func NewPutServiceServiceIDUnprocessableEntity

func NewPutServiceServiceIDUnprocessableEntity() *PutServiceServiceIDUnprocessableEntity

NewPutServiceServiceIDUnprocessableEntity creates a PutServiceServiceIDUnprocessableEntity with default headers values

func (*PutServiceServiceIDUnprocessableEntity) Code

Code gets the status code for the put service service Id unprocessable entity response

func (*PutServiceServiceIDUnprocessableEntity) Error

func (*PutServiceServiceIDUnprocessableEntity) GetPayload

func (*PutServiceServiceIDUnprocessableEntity) IsClientError

func (o *PutServiceServiceIDUnprocessableEntity) IsClientError() bool

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

func (*PutServiceServiceIDUnprocessableEntity) IsCode

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

func (*PutServiceServiceIDUnprocessableEntity) IsRedirect

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

func (*PutServiceServiceIDUnprocessableEntity) IsServerError

func (o *PutServiceServiceIDUnprocessableEntity) IsServerError() bool

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

func (*PutServiceServiceIDUnprocessableEntity) IsSuccess

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

func (*PutServiceServiceIDUnprocessableEntity) String

Jump to

Keyboard shortcuts

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