noop_entity

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 10 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 noop entity API

func (*Client) CreateNoopEntity

func (a *Client) CreateNoopEntity(params *CreateNoopEntityParams, opts ...ClientOption) (*CreateNoopEntityOK, error)

CreateNoopEntity create noop entity API

func (*Client) DeleteNoopEntity

func (a *Client) DeleteNoopEntity(params *DeleteNoopEntityParams, opts ...ClientOption) (*DeleteNoopEntityOK, error)

DeleteNoopEntity delete noop entity API

func (*Client) ReadNoopEntity

func (a *Client) ReadNoopEntity(params *ReadNoopEntityParams, opts ...ClientOption) (*ReadNoopEntityOK, error)

ReadNoopEntity read noop entity API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNoopEntity

func (a *Client) UpdateNoopEntity(params *UpdateNoopEntityParams, opts ...ClientOption) (*UpdateNoopEntityOK, error)

UpdateNoopEntity update noop entity API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateNoopEntity(params *CreateNoopEntityParams, opts ...ClientOption) (*CreateNoopEntityOK, error)

	DeleteNoopEntity(params *DeleteNoopEntityParams, opts ...ClientOption) (*DeleteNoopEntityOK, error)

	ReadNoopEntity(params *ReadNoopEntityParams, opts ...ClientOption) (*ReadNoopEntityOK, error)

	UpdateNoopEntity(params *UpdateNoopEntityParams, opts ...ClientOption) (*UpdateNoopEntityOK, 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 noop entity API client.

type CreateNoopEntityBadRequest

type CreateNoopEntityBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the NoopEntity because the request is invalid.

func NewCreateNoopEntityBadRequest

func NewCreateNoopEntityBadRequest() *CreateNoopEntityBadRequest

NewCreateNoopEntityBadRequest creates a CreateNoopEntityBadRequest with default headers values

func (*CreateNoopEntityBadRequest) Code

func (o *CreateNoopEntityBadRequest) Code() int

Code gets the status code for the create noop entity bad request response

func (*CreateNoopEntityBadRequest) Error

func (*CreateNoopEntityBadRequest) GetPayload

func (o *CreateNoopEntityBadRequest) GetPayload() *models.APIError

func (*CreateNoopEntityBadRequest) IsClientError

func (o *CreateNoopEntityBadRequest) IsClientError() bool

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

func (*CreateNoopEntityBadRequest) IsCode

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

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

func (*CreateNoopEntityBadRequest) IsRedirect

func (o *CreateNoopEntityBadRequest) IsRedirect() bool

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

func (*CreateNoopEntityBadRequest) IsServerError

func (o *CreateNoopEntityBadRequest) IsServerError() bool

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

func (*CreateNoopEntityBadRequest) IsSuccess

func (o *CreateNoopEntityBadRequest) IsSuccess() bool

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

func (*CreateNoopEntityBadRequest) String

func (o *CreateNoopEntityBadRequest) String() string

type CreateNoopEntityConflict

type CreateNoopEntityConflict struct {
	Payload *models.APIError
}

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

Cannot create the NoopEntity because there is a conflict with an existing NoopEntity.

func NewCreateNoopEntityConflict

func NewCreateNoopEntityConflict() *CreateNoopEntityConflict

NewCreateNoopEntityConflict creates a CreateNoopEntityConflict with default headers values

func (*CreateNoopEntityConflict) Code

func (o *CreateNoopEntityConflict) Code() int

Code gets the status code for the create noop entity conflict response

func (*CreateNoopEntityConflict) Error

func (o *CreateNoopEntityConflict) Error() string

func (*CreateNoopEntityConflict) GetPayload

func (o *CreateNoopEntityConflict) GetPayload() *models.APIError

func (*CreateNoopEntityConflict) IsClientError

func (o *CreateNoopEntityConflict) IsClientError() bool

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

func (*CreateNoopEntityConflict) IsCode

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

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

func (*CreateNoopEntityConflict) IsRedirect

func (o *CreateNoopEntityConflict) IsRedirect() bool

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

func (*CreateNoopEntityConflict) IsServerError

func (o *CreateNoopEntityConflict) IsServerError() bool

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

func (*CreateNoopEntityConflict) IsSuccess

func (o *CreateNoopEntityConflict) IsSuccess() bool

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

func (*CreateNoopEntityConflict) String

func (o *CreateNoopEntityConflict) String() string

type CreateNoopEntityDefault

type CreateNoopEntityDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateNoopEntityDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateNoopEntityDefault

func NewCreateNoopEntityDefault(code int) *CreateNoopEntityDefault

NewCreateNoopEntityDefault creates a CreateNoopEntityDefault with default headers values

func (*CreateNoopEntityDefault) Code

func (o *CreateNoopEntityDefault) Code() int

Code gets the status code for the create noop entity default response

func (*CreateNoopEntityDefault) Error

func (o *CreateNoopEntityDefault) Error() string

func (*CreateNoopEntityDefault) GetPayload

func (*CreateNoopEntityDefault) IsClientError

func (o *CreateNoopEntityDefault) IsClientError() bool

IsClientError returns true when this create noop entity default response has a 4xx status code

func (*CreateNoopEntityDefault) IsCode

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

IsCode returns true when this create noop entity default response a status code equal to that given

func (*CreateNoopEntityDefault) IsRedirect

func (o *CreateNoopEntityDefault) IsRedirect() bool

IsRedirect returns true when this create noop entity default response has a 3xx status code

func (*CreateNoopEntityDefault) IsServerError

func (o *CreateNoopEntityDefault) IsServerError() bool

IsServerError returns true when this create noop entity default response has a 5xx status code

func (*CreateNoopEntityDefault) IsSuccess

func (o *CreateNoopEntityDefault) IsSuccess() bool

IsSuccess returns true when this create noop entity default response has a 2xx status code

func (*CreateNoopEntityDefault) String

func (o *CreateNoopEntityDefault) String() string

type CreateNoopEntityInternalServerError

type CreateNoopEntityInternalServerError struct {
	Payload *models.APIError
}

CreateNoopEntityInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewCreateNoopEntityInternalServerError

func NewCreateNoopEntityInternalServerError() *CreateNoopEntityInternalServerError

NewCreateNoopEntityInternalServerError creates a CreateNoopEntityInternalServerError with default headers values

func (*CreateNoopEntityInternalServerError) Code

Code gets the status code for the create noop entity internal server error response

func (*CreateNoopEntityInternalServerError) Error

func (*CreateNoopEntityInternalServerError) GetPayload

func (*CreateNoopEntityInternalServerError) IsClientError

func (o *CreateNoopEntityInternalServerError) IsClientError() bool

IsClientError returns true when this create noop entity internal server error response has a 4xx status code

func (*CreateNoopEntityInternalServerError) IsCode

IsCode returns true when this create noop entity internal server error response a status code equal to that given

func (*CreateNoopEntityInternalServerError) IsRedirect

func (o *CreateNoopEntityInternalServerError) IsRedirect() bool

IsRedirect returns true when this create noop entity internal server error response has a 3xx status code

func (*CreateNoopEntityInternalServerError) IsServerError

func (o *CreateNoopEntityInternalServerError) IsServerError() bool

IsServerError returns true when this create noop entity internal server error response has a 5xx status code

func (*CreateNoopEntityInternalServerError) IsSuccess

IsSuccess returns true when this create noop entity internal server error response has a 2xx status code

func (*CreateNoopEntityInternalServerError) String

type CreateNoopEntityOK

type CreateNoopEntityOK struct {
	Payload *models.ConfigunstableCreateNoopEntityResponse
}

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

A successful response containing the created NoopEntity.

func NewCreateNoopEntityOK

func NewCreateNoopEntityOK() *CreateNoopEntityOK

NewCreateNoopEntityOK creates a CreateNoopEntityOK with default headers values

func (*CreateNoopEntityOK) Code

func (o *CreateNoopEntityOK) Code() int

Code gets the status code for the create noop entity o k response

func (*CreateNoopEntityOK) Error

func (o *CreateNoopEntityOK) Error() string

func (*CreateNoopEntityOK) GetPayload

func (*CreateNoopEntityOK) IsClientError

func (o *CreateNoopEntityOK) IsClientError() bool

IsClientError returns true when this create noop entity o k response has a 4xx status code

func (*CreateNoopEntityOK) IsCode

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

IsCode returns true when this create noop entity o k response a status code equal to that given

func (*CreateNoopEntityOK) IsRedirect

func (o *CreateNoopEntityOK) IsRedirect() bool

IsRedirect returns true when this create noop entity o k response has a 3xx status code

func (*CreateNoopEntityOK) IsServerError

func (o *CreateNoopEntityOK) IsServerError() bool

IsServerError returns true when this create noop entity o k response has a 5xx status code

func (*CreateNoopEntityOK) IsSuccess

func (o *CreateNoopEntityOK) IsSuccess() bool

IsSuccess returns true when this create noop entity o k response has a 2xx status code

func (*CreateNoopEntityOK) String

func (o *CreateNoopEntityOK) String() string

type CreateNoopEntityParams

type CreateNoopEntityParams struct {

	// Body.
	Body *models.ConfigunstableCreateNoopEntityRequest

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

CreateNoopEntityParams contains all the parameters to send to the API endpoint

for the create noop entity operation.

Typically these are written to a http.Request.

func NewCreateNoopEntityParams

func NewCreateNoopEntityParams() *CreateNoopEntityParams

NewCreateNoopEntityParams creates a new CreateNoopEntityParams 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 NewCreateNoopEntityParamsWithContext

func NewCreateNoopEntityParamsWithContext(ctx context.Context) *CreateNoopEntityParams

NewCreateNoopEntityParamsWithContext creates a new CreateNoopEntityParams object with the ability to set a context for a request.

func NewCreateNoopEntityParamsWithHTTPClient

func NewCreateNoopEntityParamsWithHTTPClient(client *http.Client) *CreateNoopEntityParams

NewCreateNoopEntityParamsWithHTTPClient creates a new CreateNoopEntityParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNoopEntityParamsWithTimeout

func NewCreateNoopEntityParamsWithTimeout(timeout time.Duration) *CreateNoopEntityParams

NewCreateNoopEntityParamsWithTimeout creates a new CreateNoopEntityParams object with the ability to set a timeout on a request.

func (*CreateNoopEntityParams) SetBody

SetBody adds the body to the create noop entity params

func (*CreateNoopEntityParams) SetContext

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

SetContext adds the context to the create noop entity params

func (*CreateNoopEntityParams) SetDefaults

func (o *CreateNoopEntityParams) SetDefaults()

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

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

func (*CreateNoopEntityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create noop entity params

func (*CreateNoopEntityParams) SetTimeout

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

SetTimeout adds the timeout to the create noop entity params

func (*CreateNoopEntityParams) WithBody

WithBody adds the body to the create noop entity params

func (*CreateNoopEntityParams) WithContext

WithContext adds the context to the create noop entity params

func (*CreateNoopEntityParams) WithDefaults

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

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

func (*CreateNoopEntityParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create noop entity params

func (*CreateNoopEntityParams) WithTimeout

WithTimeout adds the timeout to the create noop entity params

func (*CreateNoopEntityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNoopEntityReader

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

CreateNoopEntityReader is a Reader for the CreateNoopEntity structure.

func (*CreateNoopEntityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNoopEntityBadRequest

type DeleteNoopEntityBadRequest struct {
	Payload *models.APIError
}

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

Cannot delete the NoopEntity because it is in use.

func NewDeleteNoopEntityBadRequest

func NewDeleteNoopEntityBadRequest() *DeleteNoopEntityBadRequest

NewDeleteNoopEntityBadRequest creates a DeleteNoopEntityBadRequest with default headers values

func (*DeleteNoopEntityBadRequest) Code

func (o *DeleteNoopEntityBadRequest) Code() int

Code gets the status code for the delete noop entity bad request response

func (*DeleteNoopEntityBadRequest) Error

func (*DeleteNoopEntityBadRequest) GetPayload

func (o *DeleteNoopEntityBadRequest) GetPayload() *models.APIError

func (*DeleteNoopEntityBadRequest) IsClientError

func (o *DeleteNoopEntityBadRequest) IsClientError() bool

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

func (*DeleteNoopEntityBadRequest) IsCode

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

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

func (*DeleteNoopEntityBadRequest) IsRedirect

func (o *DeleteNoopEntityBadRequest) IsRedirect() bool

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

func (*DeleteNoopEntityBadRequest) IsServerError

func (o *DeleteNoopEntityBadRequest) IsServerError() bool

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

func (*DeleteNoopEntityBadRequest) IsSuccess

func (o *DeleteNoopEntityBadRequest) IsSuccess() bool

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

func (*DeleteNoopEntityBadRequest) String

func (o *DeleteNoopEntityBadRequest) String() string

type DeleteNoopEntityDefault

type DeleteNoopEntityDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteNoopEntityDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteNoopEntityDefault

func NewDeleteNoopEntityDefault(code int) *DeleteNoopEntityDefault

NewDeleteNoopEntityDefault creates a DeleteNoopEntityDefault with default headers values

func (*DeleteNoopEntityDefault) Code

func (o *DeleteNoopEntityDefault) Code() int

Code gets the status code for the delete noop entity default response

func (*DeleteNoopEntityDefault) Error

func (o *DeleteNoopEntityDefault) Error() string

func (*DeleteNoopEntityDefault) GetPayload

func (*DeleteNoopEntityDefault) IsClientError

func (o *DeleteNoopEntityDefault) IsClientError() bool

IsClientError returns true when this delete noop entity default response has a 4xx status code

func (*DeleteNoopEntityDefault) IsCode

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

IsCode returns true when this delete noop entity default response a status code equal to that given

func (*DeleteNoopEntityDefault) IsRedirect

func (o *DeleteNoopEntityDefault) IsRedirect() bool

IsRedirect returns true when this delete noop entity default response has a 3xx status code

func (*DeleteNoopEntityDefault) IsServerError

func (o *DeleteNoopEntityDefault) IsServerError() bool

IsServerError returns true when this delete noop entity default response has a 5xx status code

func (*DeleteNoopEntityDefault) IsSuccess

func (o *DeleteNoopEntityDefault) IsSuccess() bool

IsSuccess returns true when this delete noop entity default response has a 2xx status code

func (*DeleteNoopEntityDefault) String

func (o *DeleteNoopEntityDefault) String() string

type DeleteNoopEntityInternalServerError

type DeleteNoopEntityInternalServerError struct {
	Payload *models.APIError
}

DeleteNoopEntityInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewDeleteNoopEntityInternalServerError

func NewDeleteNoopEntityInternalServerError() *DeleteNoopEntityInternalServerError

NewDeleteNoopEntityInternalServerError creates a DeleteNoopEntityInternalServerError with default headers values

func (*DeleteNoopEntityInternalServerError) Code

Code gets the status code for the delete noop entity internal server error response

func (*DeleteNoopEntityInternalServerError) Error

func (*DeleteNoopEntityInternalServerError) GetPayload

func (*DeleteNoopEntityInternalServerError) IsClientError

func (o *DeleteNoopEntityInternalServerError) IsClientError() bool

IsClientError returns true when this delete noop entity internal server error response has a 4xx status code

func (*DeleteNoopEntityInternalServerError) IsCode

IsCode returns true when this delete noop entity internal server error response a status code equal to that given

func (*DeleteNoopEntityInternalServerError) IsRedirect

func (o *DeleteNoopEntityInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete noop entity internal server error response has a 3xx status code

func (*DeleteNoopEntityInternalServerError) IsServerError

func (o *DeleteNoopEntityInternalServerError) IsServerError() bool

IsServerError returns true when this delete noop entity internal server error response has a 5xx status code

func (*DeleteNoopEntityInternalServerError) IsSuccess

IsSuccess returns true when this delete noop entity internal server error response has a 2xx status code

func (*DeleteNoopEntityInternalServerError) String

type DeleteNoopEntityNotFound

type DeleteNoopEntityNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the NoopEntity because the slug does not exist.

func NewDeleteNoopEntityNotFound

func NewDeleteNoopEntityNotFound() *DeleteNoopEntityNotFound

NewDeleteNoopEntityNotFound creates a DeleteNoopEntityNotFound with default headers values

func (*DeleteNoopEntityNotFound) Code

func (o *DeleteNoopEntityNotFound) Code() int

Code gets the status code for the delete noop entity not found response

func (*DeleteNoopEntityNotFound) Error

func (o *DeleteNoopEntityNotFound) Error() string

func (*DeleteNoopEntityNotFound) GetPayload

func (o *DeleteNoopEntityNotFound) GetPayload() *models.APIError

func (*DeleteNoopEntityNotFound) IsClientError

func (o *DeleteNoopEntityNotFound) IsClientError() bool

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

func (*DeleteNoopEntityNotFound) IsCode

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

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

func (*DeleteNoopEntityNotFound) IsRedirect

func (o *DeleteNoopEntityNotFound) IsRedirect() bool

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

func (*DeleteNoopEntityNotFound) IsServerError

func (o *DeleteNoopEntityNotFound) IsServerError() bool

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

func (*DeleteNoopEntityNotFound) IsSuccess

func (o *DeleteNoopEntityNotFound) IsSuccess() bool

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

func (*DeleteNoopEntityNotFound) String

func (o *DeleteNoopEntityNotFound) String() string

type DeleteNoopEntityOK

type DeleteNoopEntityOK struct {
	Payload *models.ConfigunstableDeleteNoopEntityResponse
}

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

A successful response.

func NewDeleteNoopEntityOK

func NewDeleteNoopEntityOK() *DeleteNoopEntityOK

NewDeleteNoopEntityOK creates a DeleteNoopEntityOK with default headers values

func (*DeleteNoopEntityOK) Code

func (o *DeleteNoopEntityOK) Code() int

Code gets the status code for the delete noop entity o k response

func (*DeleteNoopEntityOK) Error

func (o *DeleteNoopEntityOK) Error() string

func (*DeleteNoopEntityOK) GetPayload

func (*DeleteNoopEntityOK) IsClientError

func (o *DeleteNoopEntityOK) IsClientError() bool

IsClientError returns true when this delete noop entity o k response has a 4xx status code

func (*DeleteNoopEntityOK) IsCode

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

IsCode returns true when this delete noop entity o k response a status code equal to that given

func (*DeleteNoopEntityOK) IsRedirect

func (o *DeleteNoopEntityOK) IsRedirect() bool

IsRedirect returns true when this delete noop entity o k response has a 3xx status code

func (*DeleteNoopEntityOK) IsServerError

func (o *DeleteNoopEntityOK) IsServerError() bool

IsServerError returns true when this delete noop entity o k response has a 5xx status code

func (*DeleteNoopEntityOK) IsSuccess

func (o *DeleteNoopEntityOK) IsSuccess() bool

IsSuccess returns true when this delete noop entity o k response has a 2xx status code

func (*DeleteNoopEntityOK) String

func (o *DeleteNoopEntityOK) String() string

type DeleteNoopEntityParams

type DeleteNoopEntityParams struct {

	// Slug.
	Slug string

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

DeleteNoopEntityParams contains all the parameters to send to the API endpoint

for the delete noop entity operation.

Typically these are written to a http.Request.

func NewDeleteNoopEntityParams

func NewDeleteNoopEntityParams() *DeleteNoopEntityParams

NewDeleteNoopEntityParams creates a new DeleteNoopEntityParams 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 NewDeleteNoopEntityParamsWithContext

func NewDeleteNoopEntityParamsWithContext(ctx context.Context) *DeleteNoopEntityParams

NewDeleteNoopEntityParamsWithContext creates a new DeleteNoopEntityParams object with the ability to set a context for a request.

func NewDeleteNoopEntityParamsWithHTTPClient

func NewDeleteNoopEntityParamsWithHTTPClient(client *http.Client) *DeleteNoopEntityParams

NewDeleteNoopEntityParamsWithHTTPClient creates a new DeleteNoopEntityParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNoopEntityParamsWithTimeout

func NewDeleteNoopEntityParamsWithTimeout(timeout time.Duration) *DeleteNoopEntityParams

NewDeleteNoopEntityParamsWithTimeout creates a new DeleteNoopEntityParams object with the ability to set a timeout on a request.

func (*DeleteNoopEntityParams) SetContext

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

SetContext adds the context to the delete noop entity params

func (*DeleteNoopEntityParams) SetDefaults

func (o *DeleteNoopEntityParams) SetDefaults()

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

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

func (*DeleteNoopEntityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete noop entity params

func (*DeleteNoopEntityParams) SetSlug

func (o *DeleteNoopEntityParams) SetSlug(slug string)

SetSlug adds the slug to the delete noop entity params

func (*DeleteNoopEntityParams) SetTimeout

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

SetTimeout adds the timeout to the delete noop entity params

func (*DeleteNoopEntityParams) WithContext

WithContext adds the context to the delete noop entity params

func (*DeleteNoopEntityParams) WithDefaults

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

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

func (*DeleteNoopEntityParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete noop entity params

func (*DeleteNoopEntityParams) WithSlug

WithSlug adds the slug to the delete noop entity params

func (*DeleteNoopEntityParams) WithTimeout

WithTimeout adds the timeout to the delete noop entity params

func (*DeleteNoopEntityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNoopEntityReader

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

DeleteNoopEntityReader is a Reader for the DeleteNoopEntity structure.

func (*DeleteNoopEntityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadNoopEntityDefault

type ReadNoopEntityDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadNoopEntityDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadNoopEntityDefault

func NewReadNoopEntityDefault(code int) *ReadNoopEntityDefault

NewReadNoopEntityDefault creates a ReadNoopEntityDefault with default headers values

func (*ReadNoopEntityDefault) Code

func (o *ReadNoopEntityDefault) Code() int

Code gets the status code for the read noop entity default response

func (*ReadNoopEntityDefault) Error

func (o *ReadNoopEntityDefault) Error() string

func (*ReadNoopEntityDefault) GetPayload

func (o *ReadNoopEntityDefault) GetPayload() models.GenericError

func (*ReadNoopEntityDefault) IsClientError

func (o *ReadNoopEntityDefault) IsClientError() bool

IsClientError returns true when this read noop entity default response has a 4xx status code

func (*ReadNoopEntityDefault) IsCode

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

IsCode returns true when this read noop entity default response a status code equal to that given

func (*ReadNoopEntityDefault) IsRedirect

func (o *ReadNoopEntityDefault) IsRedirect() bool

IsRedirect returns true when this read noop entity default response has a 3xx status code

func (*ReadNoopEntityDefault) IsServerError

func (o *ReadNoopEntityDefault) IsServerError() bool

IsServerError returns true when this read noop entity default response has a 5xx status code

func (*ReadNoopEntityDefault) IsSuccess

func (o *ReadNoopEntityDefault) IsSuccess() bool

IsSuccess returns true when this read noop entity default response has a 2xx status code

func (*ReadNoopEntityDefault) String

func (o *ReadNoopEntityDefault) String() string

type ReadNoopEntityInternalServerError

type ReadNoopEntityInternalServerError struct {
	Payload *models.APIError
}

ReadNoopEntityInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadNoopEntityInternalServerError

func NewReadNoopEntityInternalServerError() *ReadNoopEntityInternalServerError

NewReadNoopEntityInternalServerError creates a ReadNoopEntityInternalServerError with default headers values

func (*ReadNoopEntityInternalServerError) Code

Code gets the status code for the read noop entity internal server error response

func (*ReadNoopEntityInternalServerError) Error

func (*ReadNoopEntityInternalServerError) GetPayload

func (*ReadNoopEntityInternalServerError) IsClientError

func (o *ReadNoopEntityInternalServerError) IsClientError() bool

IsClientError returns true when this read noop entity internal server error response has a 4xx status code

func (*ReadNoopEntityInternalServerError) IsCode

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

IsCode returns true when this read noop entity internal server error response a status code equal to that given

func (*ReadNoopEntityInternalServerError) IsRedirect

func (o *ReadNoopEntityInternalServerError) IsRedirect() bool

IsRedirect returns true when this read noop entity internal server error response has a 3xx status code

func (*ReadNoopEntityInternalServerError) IsServerError

func (o *ReadNoopEntityInternalServerError) IsServerError() bool

IsServerError returns true when this read noop entity internal server error response has a 5xx status code

func (*ReadNoopEntityInternalServerError) IsSuccess

func (o *ReadNoopEntityInternalServerError) IsSuccess() bool

IsSuccess returns true when this read noop entity internal server error response has a 2xx status code

func (*ReadNoopEntityInternalServerError) String

type ReadNoopEntityNotFound

type ReadNoopEntityNotFound struct {
	Payload *models.APIError
}

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

Cannot read the NoopEntity because the slug does not exist.

func NewReadNoopEntityNotFound

func NewReadNoopEntityNotFound() *ReadNoopEntityNotFound

NewReadNoopEntityNotFound creates a ReadNoopEntityNotFound with default headers values

func (*ReadNoopEntityNotFound) Code

func (o *ReadNoopEntityNotFound) Code() int

Code gets the status code for the read noop entity not found response

func (*ReadNoopEntityNotFound) Error

func (o *ReadNoopEntityNotFound) Error() string

func (*ReadNoopEntityNotFound) GetPayload

func (o *ReadNoopEntityNotFound) GetPayload() *models.APIError

func (*ReadNoopEntityNotFound) IsClientError

func (o *ReadNoopEntityNotFound) IsClientError() bool

IsClientError returns true when this read noop entity not found response has a 4xx status code

func (*ReadNoopEntityNotFound) IsCode

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

IsCode returns true when this read noop entity not found response a status code equal to that given

func (*ReadNoopEntityNotFound) IsRedirect

func (o *ReadNoopEntityNotFound) IsRedirect() bool

IsRedirect returns true when this read noop entity not found response has a 3xx status code

func (*ReadNoopEntityNotFound) IsServerError

func (o *ReadNoopEntityNotFound) IsServerError() bool

IsServerError returns true when this read noop entity not found response has a 5xx status code

func (*ReadNoopEntityNotFound) IsSuccess

func (o *ReadNoopEntityNotFound) IsSuccess() bool

IsSuccess returns true when this read noop entity not found response has a 2xx status code

func (*ReadNoopEntityNotFound) String

func (o *ReadNoopEntityNotFound) String() string

type ReadNoopEntityOK

type ReadNoopEntityOK struct {
	Payload *models.ConfigunstableReadNoopEntityResponse
}

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

A successful response.

func NewReadNoopEntityOK

func NewReadNoopEntityOK() *ReadNoopEntityOK

NewReadNoopEntityOK creates a ReadNoopEntityOK with default headers values

func (*ReadNoopEntityOK) Code

func (o *ReadNoopEntityOK) Code() int

Code gets the status code for the read noop entity o k response

func (*ReadNoopEntityOK) Error

func (o *ReadNoopEntityOK) Error() string

func (*ReadNoopEntityOK) GetPayload

func (*ReadNoopEntityOK) IsClientError

func (o *ReadNoopEntityOK) IsClientError() bool

IsClientError returns true when this read noop entity o k response has a 4xx status code

func (*ReadNoopEntityOK) IsCode

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

IsCode returns true when this read noop entity o k response a status code equal to that given

func (*ReadNoopEntityOK) IsRedirect

func (o *ReadNoopEntityOK) IsRedirect() bool

IsRedirect returns true when this read noop entity o k response has a 3xx status code

func (*ReadNoopEntityOK) IsServerError

func (o *ReadNoopEntityOK) IsServerError() bool

IsServerError returns true when this read noop entity o k response has a 5xx status code

func (*ReadNoopEntityOK) IsSuccess

func (o *ReadNoopEntityOK) IsSuccess() bool

IsSuccess returns true when this read noop entity o k response has a 2xx status code

func (*ReadNoopEntityOK) String

func (o *ReadNoopEntityOK) String() string

type ReadNoopEntityParams

type ReadNoopEntityParams struct {

	// Slug.
	Slug string

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

ReadNoopEntityParams contains all the parameters to send to the API endpoint

for the read noop entity operation.

Typically these are written to a http.Request.

func NewReadNoopEntityParams

func NewReadNoopEntityParams() *ReadNoopEntityParams

NewReadNoopEntityParams creates a new ReadNoopEntityParams 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 NewReadNoopEntityParamsWithContext

func NewReadNoopEntityParamsWithContext(ctx context.Context) *ReadNoopEntityParams

NewReadNoopEntityParamsWithContext creates a new ReadNoopEntityParams object with the ability to set a context for a request.

func NewReadNoopEntityParamsWithHTTPClient

func NewReadNoopEntityParamsWithHTTPClient(client *http.Client) *ReadNoopEntityParams

NewReadNoopEntityParamsWithHTTPClient creates a new ReadNoopEntityParams object with the ability to set a custom HTTPClient for a request.

func NewReadNoopEntityParamsWithTimeout

func NewReadNoopEntityParamsWithTimeout(timeout time.Duration) *ReadNoopEntityParams

NewReadNoopEntityParamsWithTimeout creates a new ReadNoopEntityParams object with the ability to set a timeout on a request.

func (*ReadNoopEntityParams) SetContext

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

SetContext adds the context to the read noop entity params

func (*ReadNoopEntityParams) SetDefaults

func (o *ReadNoopEntityParams) SetDefaults()

SetDefaults hydrates default values in the read noop entity params (not the query body).

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

func (*ReadNoopEntityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read noop entity params

func (*ReadNoopEntityParams) SetSlug

func (o *ReadNoopEntityParams) SetSlug(slug string)

SetSlug adds the slug to the read noop entity params

func (*ReadNoopEntityParams) SetTimeout

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

SetTimeout adds the timeout to the read noop entity params

func (*ReadNoopEntityParams) WithContext

WithContext adds the context to the read noop entity params

func (*ReadNoopEntityParams) WithDefaults

func (o *ReadNoopEntityParams) WithDefaults() *ReadNoopEntityParams

WithDefaults hydrates default values in the read noop entity params (not the query body).

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

func (*ReadNoopEntityParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read noop entity params

func (*ReadNoopEntityParams) WithSlug

WithSlug adds the slug to the read noop entity params

func (*ReadNoopEntityParams) WithTimeout

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

WithTimeout adds the timeout to the read noop entity params

func (*ReadNoopEntityParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReadNoopEntityReader

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

ReadNoopEntityReader is a Reader for the ReadNoopEntity structure.

func (*ReadNoopEntityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNoopEntityBadRequest

type UpdateNoopEntityBadRequest struct {
	Payload *models.APIError
}

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

Cannot update the NoopEntity because the request is invalid.

func NewUpdateNoopEntityBadRequest

func NewUpdateNoopEntityBadRequest() *UpdateNoopEntityBadRequest

NewUpdateNoopEntityBadRequest creates a UpdateNoopEntityBadRequest with default headers values

func (*UpdateNoopEntityBadRequest) Code

func (o *UpdateNoopEntityBadRequest) Code() int

Code gets the status code for the update noop entity bad request response

func (*UpdateNoopEntityBadRequest) Error

func (*UpdateNoopEntityBadRequest) GetPayload

func (o *UpdateNoopEntityBadRequest) GetPayload() *models.APIError

func (*UpdateNoopEntityBadRequest) IsClientError

func (o *UpdateNoopEntityBadRequest) IsClientError() bool

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

func (*UpdateNoopEntityBadRequest) IsCode

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

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

func (*UpdateNoopEntityBadRequest) IsRedirect

func (o *UpdateNoopEntityBadRequest) IsRedirect() bool

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

func (*UpdateNoopEntityBadRequest) IsServerError

func (o *UpdateNoopEntityBadRequest) IsServerError() bool

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

func (*UpdateNoopEntityBadRequest) IsSuccess

func (o *UpdateNoopEntityBadRequest) IsSuccess() bool

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

func (*UpdateNoopEntityBadRequest) String

func (o *UpdateNoopEntityBadRequest) String() string

type UpdateNoopEntityConflict

type UpdateNoopEntityConflict struct {
	Payload *models.APIError
}

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

Cannot update the NoopEntity because there is a conflict with an existing NoopEntity.

func NewUpdateNoopEntityConflict

func NewUpdateNoopEntityConflict() *UpdateNoopEntityConflict

NewUpdateNoopEntityConflict creates a UpdateNoopEntityConflict with default headers values

func (*UpdateNoopEntityConflict) Code

func (o *UpdateNoopEntityConflict) Code() int

Code gets the status code for the update noop entity conflict response

func (*UpdateNoopEntityConflict) Error

func (o *UpdateNoopEntityConflict) Error() string

func (*UpdateNoopEntityConflict) GetPayload

func (o *UpdateNoopEntityConflict) GetPayload() *models.APIError

func (*UpdateNoopEntityConflict) IsClientError

func (o *UpdateNoopEntityConflict) IsClientError() bool

IsClientError returns true when this update noop entity conflict response has a 4xx status code

func (*UpdateNoopEntityConflict) IsCode

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

IsCode returns true when this update noop entity conflict response a status code equal to that given

func (*UpdateNoopEntityConflict) IsRedirect

func (o *UpdateNoopEntityConflict) IsRedirect() bool

IsRedirect returns true when this update noop entity conflict response has a 3xx status code

func (*UpdateNoopEntityConflict) IsServerError

func (o *UpdateNoopEntityConflict) IsServerError() bool

IsServerError returns true when this update noop entity conflict response has a 5xx status code

func (*UpdateNoopEntityConflict) IsSuccess

func (o *UpdateNoopEntityConflict) IsSuccess() bool

IsSuccess returns true when this update noop entity conflict response has a 2xx status code

func (*UpdateNoopEntityConflict) String

func (o *UpdateNoopEntityConflict) String() string

type UpdateNoopEntityDefault

type UpdateNoopEntityDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateNoopEntityDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateNoopEntityDefault

func NewUpdateNoopEntityDefault(code int) *UpdateNoopEntityDefault

NewUpdateNoopEntityDefault creates a UpdateNoopEntityDefault with default headers values

func (*UpdateNoopEntityDefault) Code

func (o *UpdateNoopEntityDefault) Code() int

Code gets the status code for the update noop entity default response

func (*UpdateNoopEntityDefault) Error

func (o *UpdateNoopEntityDefault) Error() string

func (*UpdateNoopEntityDefault) GetPayload

func (*UpdateNoopEntityDefault) IsClientError

func (o *UpdateNoopEntityDefault) IsClientError() bool

IsClientError returns true when this update noop entity default response has a 4xx status code

func (*UpdateNoopEntityDefault) IsCode

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

IsCode returns true when this update noop entity default response a status code equal to that given

func (*UpdateNoopEntityDefault) IsRedirect

func (o *UpdateNoopEntityDefault) IsRedirect() bool

IsRedirect returns true when this update noop entity default response has a 3xx status code

func (*UpdateNoopEntityDefault) IsServerError

func (o *UpdateNoopEntityDefault) IsServerError() bool

IsServerError returns true when this update noop entity default response has a 5xx status code

func (*UpdateNoopEntityDefault) IsSuccess

func (o *UpdateNoopEntityDefault) IsSuccess() bool

IsSuccess returns true when this update noop entity default response has a 2xx status code

func (*UpdateNoopEntityDefault) String

func (o *UpdateNoopEntityDefault) String() string

type UpdateNoopEntityInternalServerError

type UpdateNoopEntityInternalServerError struct {
	Payload *models.APIError
}

UpdateNoopEntityInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateNoopEntityInternalServerError

func NewUpdateNoopEntityInternalServerError() *UpdateNoopEntityInternalServerError

NewUpdateNoopEntityInternalServerError creates a UpdateNoopEntityInternalServerError with default headers values

func (*UpdateNoopEntityInternalServerError) Code

Code gets the status code for the update noop entity internal server error response

func (*UpdateNoopEntityInternalServerError) Error

func (*UpdateNoopEntityInternalServerError) GetPayload

func (*UpdateNoopEntityInternalServerError) IsClientError

func (o *UpdateNoopEntityInternalServerError) IsClientError() bool

IsClientError returns true when this update noop entity internal server error response has a 4xx status code

func (*UpdateNoopEntityInternalServerError) IsCode

IsCode returns true when this update noop entity internal server error response a status code equal to that given

func (*UpdateNoopEntityInternalServerError) IsRedirect

func (o *UpdateNoopEntityInternalServerError) IsRedirect() bool

IsRedirect returns true when this update noop entity internal server error response has a 3xx status code

func (*UpdateNoopEntityInternalServerError) IsServerError

func (o *UpdateNoopEntityInternalServerError) IsServerError() bool

IsServerError returns true when this update noop entity internal server error response has a 5xx status code

func (*UpdateNoopEntityInternalServerError) IsSuccess

IsSuccess returns true when this update noop entity internal server error response has a 2xx status code

func (*UpdateNoopEntityInternalServerError) String

type UpdateNoopEntityNotFound

type UpdateNoopEntityNotFound struct {
	Payload *models.APIError
}

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

Cannot update the NoopEntity because the slug does not exist.

func NewUpdateNoopEntityNotFound

func NewUpdateNoopEntityNotFound() *UpdateNoopEntityNotFound

NewUpdateNoopEntityNotFound creates a UpdateNoopEntityNotFound with default headers values

func (*UpdateNoopEntityNotFound) Code

func (o *UpdateNoopEntityNotFound) Code() int

Code gets the status code for the update noop entity not found response

func (*UpdateNoopEntityNotFound) Error

func (o *UpdateNoopEntityNotFound) Error() string

func (*UpdateNoopEntityNotFound) GetPayload

func (o *UpdateNoopEntityNotFound) GetPayload() *models.APIError

func (*UpdateNoopEntityNotFound) IsClientError

func (o *UpdateNoopEntityNotFound) IsClientError() bool

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

func (*UpdateNoopEntityNotFound) IsCode

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

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

func (*UpdateNoopEntityNotFound) IsRedirect

func (o *UpdateNoopEntityNotFound) IsRedirect() bool

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

func (*UpdateNoopEntityNotFound) IsServerError

func (o *UpdateNoopEntityNotFound) IsServerError() bool

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

func (*UpdateNoopEntityNotFound) IsSuccess

func (o *UpdateNoopEntityNotFound) IsSuccess() bool

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

func (*UpdateNoopEntityNotFound) String

func (o *UpdateNoopEntityNotFound) String() string

type UpdateNoopEntityOK

type UpdateNoopEntityOK struct {
	Payload *models.ConfigunstableUpdateNoopEntityResponse
}

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

A successful response containing the updated NoopEntity.

func NewUpdateNoopEntityOK

func NewUpdateNoopEntityOK() *UpdateNoopEntityOK

NewUpdateNoopEntityOK creates a UpdateNoopEntityOK with default headers values

func (*UpdateNoopEntityOK) Code

func (o *UpdateNoopEntityOK) Code() int

Code gets the status code for the update noop entity o k response

func (*UpdateNoopEntityOK) Error

func (o *UpdateNoopEntityOK) Error() string

func (*UpdateNoopEntityOK) GetPayload

func (*UpdateNoopEntityOK) IsClientError

func (o *UpdateNoopEntityOK) IsClientError() bool

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

func (*UpdateNoopEntityOK) IsCode

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

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

func (*UpdateNoopEntityOK) IsRedirect

func (o *UpdateNoopEntityOK) IsRedirect() bool

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

func (*UpdateNoopEntityOK) IsServerError

func (o *UpdateNoopEntityOK) IsServerError() bool

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

func (*UpdateNoopEntityOK) IsSuccess

func (o *UpdateNoopEntityOK) IsSuccess() bool

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

func (*UpdateNoopEntityOK) String

func (o *UpdateNoopEntityOK) String() string

type UpdateNoopEntityParams

type UpdateNoopEntityParams struct {

	// Body.
	Body *models.ConfigUnstableUpdateNoopEntityBody

	// Slug.
	Slug string

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

UpdateNoopEntityParams contains all the parameters to send to the API endpoint

for the update noop entity operation.

Typically these are written to a http.Request.

func NewUpdateNoopEntityParams

func NewUpdateNoopEntityParams() *UpdateNoopEntityParams

NewUpdateNoopEntityParams creates a new UpdateNoopEntityParams 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 NewUpdateNoopEntityParamsWithContext

func NewUpdateNoopEntityParamsWithContext(ctx context.Context) *UpdateNoopEntityParams

NewUpdateNoopEntityParamsWithContext creates a new UpdateNoopEntityParams object with the ability to set a context for a request.

func NewUpdateNoopEntityParamsWithHTTPClient

func NewUpdateNoopEntityParamsWithHTTPClient(client *http.Client) *UpdateNoopEntityParams

NewUpdateNoopEntityParamsWithHTTPClient creates a new UpdateNoopEntityParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNoopEntityParamsWithTimeout

func NewUpdateNoopEntityParamsWithTimeout(timeout time.Duration) *UpdateNoopEntityParams

NewUpdateNoopEntityParamsWithTimeout creates a new UpdateNoopEntityParams object with the ability to set a timeout on a request.

func (*UpdateNoopEntityParams) SetBody

SetBody adds the body to the update noop entity params

func (*UpdateNoopEntityParams) SetContext

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

SetContext adds the context to the update noop entity params

func (*UpdateNoopEntityParams) SetDefaults

func (o *UpdateNoopEntityParams) SetDefaults()

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

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

func (*UpdateNoopEntityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update noop entity params

func (*UpdateNoopEntityParams) SetSlug

func (o *UpdateNoopEntityParams) SetSlug(slug string)

SetSlug adds the slug to the update noop entity params

func (*UpdateNoopEntityParams) SetTimeout

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

SetTimeout adds the timeout to the update noop entity params

func (*UpdateNoopEntityParams) WithBody

WithBody adds the body to the update noop entity params

func (*UpdateNoopEntityParams) WithContext

WithContext adds the context to the update noop entity params

func (*UpdateNoopEntityParams) WithDefaults

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

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

func (*UpdateNoopEntityParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update noop entity params

func (*UpdateNoopEntityParams) WithSlug

WithSlug adds the slug to the update noop entity params

func (*UpdateNoopEntityParams) WithTimeout

WithTimeout adds the timeout to the update noop entity params

func (*UpdateNoopEntityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNoopEntityReader

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

UpdateNoopEntityReader is a Reader for the UpdateNoopEntity structure.

func (*UpdateNoopEntityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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