event_mappings

package
v0.0.0-...-208ba13 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MulanPSL-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 event mappings API

func (*Client) DeleteEventMappingsID

func (a *Client) DeleteEventMappingsID(params *DeleteEventMappingsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEventMappingsIDNoContent, error)

DeleteEventMappingsID deletes a mapping

Deletes a mapping.

func (*Client) GetEventMappings

func (a *Client) GetEventMappings(params *GetEventMappingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEventMappingsOK, error)

GetEventMappings gets mappings

Retrieves a list of mappings.

func (*Client) GetEventMappingsID

func (a *Client) GetEventMappingsID(params *GetEventMappingsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEventMappingsIDOK, error)

GetEventMappingsID gets a mapping by id

Gets a mapping by given id.

func (*Client) PatchEventMappingsID

func (a *Client) PatchEventMappingsID(params *PatchEventMappingsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchEventMappingsIDOK, error)

PatchEventMappingsID updates a mapping

Updates a mapping.

func (*Client) PostEventMappings

func (a *Client) PostEventMappings(params *PostEventMappingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostEventMappingsCreated, error)

PostEventMappings creates single mapping

Creates a single mapping.

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 may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	DeleteEventMappingsID(params *DeleteEventMappingsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEventMappingsIDNoContent, error)

	GetEventMappings(params *GetEventMappingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEventMappingsOK, error)

	GetEventMappingsID(params *GetEventMappingsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEventMappingsIDOK, error)

	PatchEventMappingsID(params *PatchEventMappingsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchEventMappingsIDOK, error)

	PostEventMappings(params *PostEventMappingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostEventMappingsCreated, 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 event mappings API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new event mappings API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new event mappings API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type DeleteEventMappingsIDBadRequest

type DeleteEventMappingsIDBadRequest struct {
	Payload *models.Errors
}

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

Bad Request

func NewDeleteEventMappingsIDBadRequest

func NewDeleteEventMappingsIDBadRequest() *DeleteEventMappingsIDBadRequest

NewDeleteEventMappingsIDBadRequest creates a DeleteEventMappingsIDBadRequest with default headers values

func (*DeleteEventMappingsIDBadRequest) Code

Code gets the status code for the delete event mappings Id bad request response

func (*DeleteEventMappingsIDBadRequest) Error

func (*DeleteEventMappingsIDBadRequest) GetPayload

func (*DeleteEventMappingsIDBadRequest) IsClientError

func (o *DeleteEventMappingsIDBadRequest) IsClientError() bool

IsClientError returns true when this delete event mappings Id bad request response has a 4xx status code

func (*DeleteEventMappingsIDBadRequest) IsCode

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

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

func (*DeleteEventMappingsIDBadRequest) IsRedirect

func (o *DeleteEventMappingsIDBadRequest) IsRedirect() bool

IsRedirect returns true when this delete event mappings Id bad request response has a 3xx status code

func (*DeleteEventMappingsIDBadRequest) IsServerError

func (o *DeleteEventMappingsIDBadRequest) IsServerError() bool

IsServerError returns true when this delete event mappings Id bad request response has a 5xx status code

func (*DeleteEventMappingsIDBadRequest) IsSuccess

func (o *DeleteEventMappingsIDBadRequest) IsSuccess() bool

IsSuccess returns true when this delete event mappings Id bad request response has a 2xx status code

func (*DeleteEventMappingsIDBadRequest) String

type DeleteEventMappingsIDDefault

type DeleteEventMappingsIDDefault struct {
	Payload *models.Errors
	// contains filtered or unexported fields
}

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

unexpected error

func NewDeleteEventMappingsIDDefault

func NewDeleteEventMappingsIDDefault(code int) *DeleteEventMappingsIDDefault

NewDeleteEventMappingsIDDefault creates a DeleteEventMappingsIDDefault with default headers values

func (*DeleteEventMappingsIDDefault) Code

Code gets the status code for the delete event mappings ID default response

func (*DeleteEventMappingsIDDefault) Error

func (*DeleteEventMappingsIDDefault) GetPayload

func (o *DeleteEventMappingsIDDefault) GetPayload() *models.Errors

func (*DeleteEventMappingsIDDefault) IsClientError

func (o *DeleteEventMappingsIDDefault) IsClientError() bool

IsClientError returns true when this delete event mappings ID default response has a 4xx status code

func (*DeleteEventMappingsIDDefault) IsCode

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

IsCode returns true when this delete event mappings ID default response a status code equal to that given

func (*DeleteEventMappingsIDDefault) IsRedirect

func (o *DeleteEventMappingsIDDefault) IsRedirect() bool

IsRedirect returns true when this delete event mappings ID default response has a 3xx status code

func (*DeleteEventMappingsIDDefault) IsServerError

func (o *DeleteEventMappingsIDDefault) IsServerError() bool

IsServerError returns true when this delete event mappings ID default response has a 5xx status code

func (*DeleteEventMappingsIDDefault) IsSuccess

func (o *DeleteEventMappingsIDDefault) IsSuccess() bool

IsSuccess returns true when this delete event mappings ID default response has a 2xx status code

func (*DeleteEventMappingsIDDefault) String

type DeleteEventMappingsIDForbidden

type DeleteEventMappingsIDForbidden struct {
	Payload *models.Errors
}

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

Forbidden

func NewDeleteEventMappingsIDForbidden

func NewDeleteEventMappingsIDForbidden() *DeleteEventMappingsIDForbidden

NewDeleteEventMappingsIDForbidden creates a DeleteEventMappingsIDForbidden with default headers values

func (*DeleteEventMappingsIDForbidden) Code

Code gets the status code for the delete event mappings Id forbidden response

func (*DeleteEventMappingsIDForbidden) Error

func (*DeleteEventMappingsIDForbidden) GetPayload

func (o *DeleteEventMappingsIDForbidden) GetPayload() *models.Errors

func (*DeleteEventMappingsIDForbidden) IsClientError

func (o *DeleteEventMappingsIDForbidden) IsClientError() bool

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

func (*DeleteEventMappingsIDForbidden) IsCode

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

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

func (*DeleteEventMappingsIDForbidden) IsRedirect

func (o *DeleteEventMappingsIDForbidden) IsRedirect() bool

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

func (*DeleteEventMappingsIDForbidden) IsServerError

func (o *DeleteEventMappingsIDForbidden) IsServerError() bool

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

func (*DeleteEventMappingsIDForbidden) IsSuccess

func (o *DeleteEventMappingsIDForbidden) IsSuccess() bool

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

func (*DeleteEventMappingsIDForbidden) String

type DeleteEventMappingsIDNoContent

type DeleteEventMappingsIDNoContent struct {
}

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

Deleted

func NewDeleteEventMappingsIDNoContent

func NewDeleteEventMappingsIDNoContent() *DeleteEventMappingsIDNoContent

NewDeleteEventMappingsIDNoContent creates a DeleteEventMappingsIDNoContent with default headers values

func (*DeleteEventMappingsIDNoContent) Code

Code gets the status code for the delete event mappings Id no content response

func (*DeleteEventMappingsIDNoContent) Error

func (*DeleteEventMappingsIDNoContent) IsClientError

func (o *DeleteEventMappingsIDNoContent) IsClientError() bool

IsClientError returns true when this delete event mappings Id no content response has a 4xx status code

func (*DeleteEventMappingsIDNoContent) IsCode

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

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

func (*DeleteEventMappingsIDNoContent) IsRedirect

func (o *DeleteEventMappingsIDNoContent) IsRedirect() bool

IsRedirect returns true when this delete event mappings Id no content response has a 3xx status code

func (*DeleteEventMappingsIDNoContent) IsServerError

func (o *DeleteEventMappingsIDNoContent) IsServerError() bool

IsServerError returns true when this delete event mappings Id no content response has a 5xx status code

func (*DeleteEventMappingsIDNoContent) IsSuccess

func (o *DeleteEventMappingsIDNoContent) IsSuccess() bool

IsSuccess returns true when this delete event mappings Id no content response has a 2xx status code

func (*DeleteEventMappingsIDNoContent) String

type DeleteEventMappingsIDNotFound

type DeleteEventMappingsIDNotFound struct {
	Payload *models.Errors
}

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

Mapping not found

func NewDeleteEventMappingsIDNotFound

func NewDeleteEventMappingsIDNotFound() *DeleteEventMappingsIDNotFound

NewDeleteEventMappingsIDNotFound creates a DeleteEventMappingsIDNotFound with default headers values

func (*DeleteEventMappingsIDNotFound) Code

Code gets the status code for the delete event mappings Id not found response

func (*DeleteEventMappingsIDNotFound) Error

func (*DeleteEventMappingsIDNotFound) GetPayload

func (o *DeleteEventMappingsIDNotFound) GetPayload() *models.Errors

func (*DeleteEventMappingsIDNotFound) IsClientError

func (o *DeleteEventMappingsIDNotFound) IsClientError() bool

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

func (*DeleteEventMappingsIDNotFound) IsCode

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

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

func (*DeleteEventMappingsIDNotFound) IsRedirect

func (o *DeleteEventMappingsIDNotFound) IsRedirect() bool

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

func (*DeleteEventMappingsIDNotFound) IsServerError

func (o *DeleteEventMappingsIDNotFound) IsServerError() bool

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

func (*DeleteEventMappingsIDNotFound) IsSuccess

func (o *DeleteEventMappingsIDNotFound) IsSuccess() bool

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

func (*DeleteEventMappingsIDNotFound) String

type DeleteEventMappingsIDParams

type DeleteEventMappingsIDParams struct {

	/* IfMatch.

	   ETag number of resource.
	*/
	IfMatch string

	/* ID.

	   Unique identifier of the mapping resource.
	*/
	ID string

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

DeleteEventMappingsIDParams contains all the parameters to send to the API endpoint

for the delete event mappings ID operation.

Typically these are written to a http.Request.

func NewDeleteEventMappingsIDParams

func NewDeleteEventMappingsIDParams() *DeleteEventMappingsIDParams

NewDeleteEventMappingsIDParams creates a new DeleteEventMappingsIDParams 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 NewDeleteEventMappingsIDParamsWithContext

func NewDeleteEventMappingsIDParamsWithContext(ctx context.Context) *DeleteEventMappingsIDParams

NewDeleteEventMappingsIDParamsWithContext creates a new DeleteEventMappingsIDParams object with the ability to set a context for a request.

func NewDeleteEventMappingsIDParamsWithHTTPClient

func NewDeleteEventMappingsIDParamsWithHTTPClient(client *http.Client) *DeleteEventMappingsIDParams

NewDeleteEventMappingsIDParamsWithHTTPClient creates a new DeleteEventMappingsIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEventMappingsIDParamsWithTimeout

func NewDeleteEventMappingsIDParamsWithTimeout(timeout time.Duration) *DeleteEventMappingsIDParams

NewDeleteEventMappingsIDParamsWithTimeout creates a new DeleteEventMappingsIDParams object with the ability to set a timeout on a request.

func (*DeleteEventMappingsIDParams) SetContext

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

SetContext adds the context to the delete event mappings ID params

func (*DeleteEventMappingsIDParams) SetDefaults

func (o *DeleteEventMappingsIDParams) SetDefaults()

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

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

func (*DeleteEventMappingsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete event mappings ID params

func (*DeleteEventMappingsIDParams) SetID

func (o *DeleteEventMappingsIDParams) SetID(id string)

SetID adds the id to the delete event mappings ID params

func (*DeleteEventMappingsIDParams) SetIfMatch

func (o *DeleteEventMappingsIDParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the delete event mappings ID params

func (*DeleteEventMappingsIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete event mappings ID params

func (*DeleteEventMappingsIDParams) WithContext

WithContext adds the context to the delete event mappings ID params

func (*DeleteEventMappingsIDParams) WithDefaults

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

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

func (*DeleteEventMappingsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete event mappings ID params

func (*DeleteEventMappingsIDParams) WithID

WithID adds the id to the delete event mappings ID params

func (*DeleteEventMappingsIDParams) WithIfMatch

WithIfMatch adds the ifMatch to the delete event mappings ID params

func (*DeleteEventMappingsIDParams) WithTimeout

WithTimeout adds the timeout to the delete event mappings ID params

func (*DeleteEventMappingsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteEventMappingsIDReader

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

DeleteEventMappingsIDReader is a Reader for the DeleteEventMappingsID structure.

func (*DeleteEventMappingsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteEventMappingsIDUnauthorized

type DeleteEventMappingsIDUnauthorized struct {
	Payload *models.Errors
}

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

unauthorized

func NewDeleteEventMappingsIDUnauthorized

func NewDeleteEventMappingsIDUnauthorized() *DeleteEventMappingsIDUnauthorized

NewDeleteEventMappingsIDUnauthorized creates a DeleteEventMappingsIDUnauthorized with default headers values

func (*DeleteEventMappingsIDUnauthorized) Code

Code gets the status code for the delete event mappings Id unauthorized response

func (*DeleteEventMappingsIDUnauthorized) Error

func (*DeleteEventMappingsIDUnauthorized) GetPayload

func (*DeleteEventMappingsIDUnauthorized) IsClientError

func (o *DeleteEventMappingsIDUnauthorized) IsClientError() bool

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

func (*DeleteEventMappingsIDUnauthorized) IsCode

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

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

func (*DeleteEventMappingsIDUnauthorized) IsRedirect

func (o *DeleteEventMappingsIDUnauthorized) IsRedirect() bool

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

func (*DeleteEventMappingsIDUnauthorized) IsServerError

func (o *DeleteEventMappingsIDUnauthorized) IsServerError() bool

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

func (*DeleteEventMappingsIDUnauthorized) IsSuccess

func (o *DeleteEventMappingsIDUnauthorized) IsSuccess() bool

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

func (*DeleteEventMappingsIDUnauthorized) String

type GetEventMappingsBadRequest

type GetEventMappingsBadRequest struct {
	Payload *models.Errors
}

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

Bad Request

func NewGetEventMappingsBadRequest

func NewGetEventMappingsBadRequest() *GetEventMappingsBadRequest

NewGetEventMappingsBadRequest creates a GetEventMappingsBadRequest with default headers values

func (*GetEventMappingsBadRequest) Code

func (o *GetEventMappingsBadRequest) Code() int

Code gets the status code for the get event mappings bad request response

func (*GetEventMappingsBadRequest) Error

func (*GetEventMappingsBadRequest) GetPayload

func (o *GetEventMappingsBadRequest) GetPayload() *models.Errors

func (*GetEventMappingsBadRequest) IsClientError

func (o *GetEventMappingsBadRequest) IsClientError() bool

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

func (*GetEventMappingsBadRequest) IsCode

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

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

func (*GetEventMappingsBadRequest) IsRedirect

func (o *GetEventMappingsBadRequest) IsRedirect() bool

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

func (*GetEventMappingsBadRequest) IsServerError

func (o *GetEventMappingsBadRequest) IsServerError() bool

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

func (*GetEventMappingsBadRequest) IsSuccess

func (o *GetEventMappingsBadRequest) IsSuccess() bool

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

func (*GetEventMappingsBadRequest) String

func (o *GetEventMappingsBadRequest) String() string

type GetEventMappingsDefault

type GetEventMappingsDefault struct {
	Payload *models.Errors
	// contains filtered or unexported fields
}

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

unexpected error

func NewGetEventMappingsDefault

func NewGetEventMappingsDefault(code int) *GetEventMappingsDefault

NewGetEventMappingsDefault creates a GetEventMappingsDefault with default headers values

func (*GetEventMappingsDefault) Code

func (o *GetEventMappingsDefault) Code() int

Code gets the status code for the get event mappings default response

func (*GetEventMappingsDefault) Error

func (o *GetEventMappingsDefault) Error() string

func (*GetEventMappingsDefault) GetPayload

func (o *GetEventMappingsDefault) GetPayload() *models.Errors

func (*GetEventMappingsDefault) IsClientError

func (o *GetEventMappingsDefault) IsClientError() bool

IsClientError returns true when this get event mappings default response has a 4xx status code

func (*GetEventMappingsDefault) IsCode

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

IsCode returns true when this get event mappings default response a status code equal to that given

func (*GetEventMappingsDefault) IsRedirect

func (o *GetEventMappingsDefault) IsRedirect() bool

IsRedirect returns true when this get event mappings default response has a 3xx status code

func (*GetEventMappingsDefault) IsServerError

func (o *GetEventMappingsDefault) IsServerError() bool

IsServerError returns true when this get event mappings default response has a 5xx status code

func (*GetEventMappingsDefault) IsSuccess

func (o *GetEventMappingsDefault) IsSuccess() bool

IsSuccess returns true when this get event mappings default response has a 2xx status code

func (*GetEventMappingsDefault) String

func (o *GetEventMappingsDefault) String() string

type GetEventMappingsForbidden

type GetEventMappingsForbidden struct {
	Payload *models.Errors
}

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

Forbidden

func NewGetEventMappingsForbidden

func NewGetEventMappingsForbidden() *GetEventMappingsForbidden

NewGetEventMappingsForbidden creates a GetEventMappingsForbidden with default headers values

func (*GetEventMappingsForbidden) Code

func (o *GetEventMappingsForbidden) Code() int

Code gets the status code for the get event mappings forbidden response

func (*GetEventMappingsForbidden) Error

func (o *GetEventMappingsForbidden) Error() string

func (*GetEventMappingsForbidden) GetPayload

func (o *GetEventMappingsForbidden) GetPayload() *models.Errors

func (*GetEventMappingsForbidden) IsClientError

func (o *GetEventMappingsForbidden) IsClientError() bool

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

func (*GetEventMappingsForbidden) IsCode

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

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

func (*GetEventMappingsForbidden) IsRedirect

func (o *GetEventMappingsForbidden) IsRedirect() bool

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

func (*GetEventMappingsForbidden) IsServerError

func (o *GetEventMappingsForbidden) IsServerError() bool

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

func (*GetEventMappingsForbidden) IsSuccess

func (o *GetEventMappingsForbidden) IsSuccess() bool

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

func (*GetEventMappingsForbidden) String

func (o *GetEventMappingsForbidden) String() string

type GetEventMappingsIDBadRequest

type GetEventMappingsIDBadRequest struct {
	Payload *models.Errors
}

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

Bad Request

func NewGetEventMappingsIDBadRequest

func NewGetEventMappingsIDBadRequest() *GetEventMappingsIDBadRequest

NewGetEventMappingsIDBadRequest creates a GetEventMappingsIDBadRequest with default headers values

func (*GetEventMappingsIDBadRequest) Code

Code gets the status code for the get event mappings Id bad request response

func (*GetEventMappingsIDBadRequest) Error

func (*GetEventMappingsIDBadRequest) GetPayload

func (o *GetEventMappingsIDBadRequest) GetPayload() *models.Errors

func (*GetEventMappingsIDBadRequest) IsClientError

func (o *GetEventMappingsIDBadRequest) IsClientError() bool

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

func (*GetEventMappingsIDBadRequest) IsCode

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

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

func (*GetEventMappingsIDBadRequest) IsRedirect

func (o *GetEventMappingsIDBadRequest) IsRedirect() bool

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

func (*GetEventMappingsIDBadRequest) IsServerError

func (o *GetEventMappingsIDBadRequest) IsServerError() bool

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

func (*GetEventMappingsIDBadRequest) IsSuccess

func (o *GetEventMappingsIDBadRequest) IsSuccess() bool

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

func (*GetEventMappingsIDBadRequest) String

type GetEventMappingsIDDefault

type GetEventMappingsIDDefault struct {
	Payload *models.Errors
	// contains filtered or unexported fields
}

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

unexpected error

func NewGetEventMappingsIDDefault

func NewGetEventMappingsIDDefault(code int) *GetEventMappingsIDDefault

NewGetEventMappingsIDDefault creates a GetEventMappingsIDDefault with default headers values

func (*GetEventMappingsIDDefault) Code

func (o *GetEventMappingsIDDefault) Code() int

Code gets the status code for the get event mappings ID default response

func (*GetEventMappingsIDDefault) Error

func (o *GetEventMappingsIDDefault) Error() string

func (*GetEventMappingsIDDefault) GetPayload

func (o *GetEventMappingsIDDefault) GetPayload() *models.Errors

func (*GetEventMappingsIDDefault) IsClientError

func (o *GetEventMappingsIDDefault) IsClientError() bool

IsClientError returns true when this get event mappings ID default response has a 4xx status code

func (*GetEventMappingsIDDefault) IsCode

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

IsCode returns true when this get event mappings ID default response a status code equal to that given

func (*GetEventMappingsIDDefault) IsRedirect

func (o *GetEventMappingsIDDefault) IsRedirect() bool

IsRedirect returns true when this get event mappings ID default response has a 3xx status code

func (*GetEventMappingsIDDefault) IsServerError

func (o *GetEventMappingsIDDefault) IsServerError() bool

IsServerError returns true when this get event mappings ID default response has a 5xx status code

func (*GetEventMappingsIDDefault) IsSuccess

func (o *GetEventMappingsIDDefault) IsSuccess() bool

IsSuccess returns true when this get event mappings ID default response has a 2xx status code

func (*GetEventMappingsIDDefault) String

func (o *GetEventMappingsIDDefault) String() string

type GetEventMappingsIDForbidden

type GetEventMappingsIDForbidden struct {
	Payload *models.Errors
}

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

Forbidden

func NewGetEventMappingsIDForbidden

func NewGetEventMappingsIDForbidden() *GetEventMappingsIDForbidden

NewGetEventMappingsIDForbidden creates a GetEventMappingsIDForbidden with default headers values

func (*GetEventMappingsIDForbidden) Code

func (o *GetEventMappingsIDForbidden) Code() int

Code gets the status code for the get event mappings Id forbidden response

func (*GetEventMappingsIDForbidden) Error

func (*GetEventMappingsIDForbidden) GetPayload

func (o *GetEventMappingsIDForbidden) GetPayload() *models.Errors

func (*GetEventMappingsIDForbidden) IsClientError

func (o *GetEventMappingsIDForbidden) IsClientError() bool

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

func (*GetEventMappingsIDForbidden) IsCode

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

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

func (*GetEventMappingsIDForbidden) IsRedirect

func (o *GetEventMappingsIDForbidden) IsRedirect() bool

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

func (*GetEventMappingsIDForbidden) IsServerError

func (o *GetEventMappingsIDForbidden) IsServerError() bool

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

func (*GetEventMappingsIDForbidden) IsSuccess

func (o *GetEventMappingsIDForbidden) IsSuccess() bool

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

func (*GetEventMappingsIDForbidden) String

func (o *GetEventMappingsIDForbidden) String() string

type GetEventMappingsIDNotFound

type GetEventMappingsIDNotFound struct {
	Payload *models.Errors
}

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

Mapping not found

func NewGetEventMappingsIDNotFound

func NewGetEventMappingsIDNotFound() *GetEventMappingsIDNotFound

NewGetEventMappingsIDNotFound creates a GetEventMappingsIDNotFound with default headers values

func (*GetEventMappingsIDNotFound) Code

func (o *GetEventMappingsIDNotFound) Code() int

Code gets the status code for the get event mappings Id not found response

func (*GetEventMappingsIDNotFound) Error

func (*GetEventMappingsIDNotFound) GetPayload

func (o *GetEventMappingsIDNotFound) GetPayload() *models.Errors

func (*GetEventMappingsIDNotFound) IsClientError

func (o *GetEventMappingsIDNotFound) IsClientError() bool

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

func (*GetEventMappingsIDNotFound) IsCode

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

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

func (*GetEventMappingsIDNotFound) IsRedirect

func (o *GetEventMappingsIDNotFound) IsRedirect() bool

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

func (*GetEventMappingsIDNotFound) IsServerError

func (o *GetEventMappingsIDNotFound) IsServerError() bool

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

func (*GetEventMappingsIDNotFound) IsSuccess

func (o *GetEventMappingsIDNotFound) IsSuccess() bool

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

func (*GetEventMappingsIDNotFound) String

func (o *GetEventMappingsIDNotFound) String() string

type GetEventMappingsIDOK

type GetEventMappingsIDOK struct {
	Payload *models.EventMapping
}

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

OK

func NewGetEventMappingsIDOK

func NewGetEventMappingsIDOK() *GetEventMappingsIDOK

NewGetEventMappingsIDOK creates a GetEventMappingsIDOK with default headers values

func (*GetEventMappingsIDOK) Code

func (o *GetEventMappingsIDOK) Code() int

Code gets the status code for the get event mappings Id o k response

func (*GetEventMappingsIDOK) Error

func (o *GetEventMappingsIDOK) Error() string

func (*GetEventMappingsIDOK) GetPayload

func (o *GetEventMappingsIDOK) GetPayload() *models.EventMapping

func (*GetEventMappingsIDOK) IsClientError

func (o *GetEventMappingsIDOK) IsClientError() bool

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

func (*GetEventMappingsIDOK) IsCode

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

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

func (*GetEventMappingsIDOK) IsRedirect

func (o *GetEventMappingsIDOK) IsRedirect() bool

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

func (*GetEventMappingsIDOK) IsServerError

func (o *GetEventMappingsIDOK) IsServerError() bool

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

func (*GetEventMappingsIDOK) IsSuccess

func (o *GetEventMappingsIDOK) IsSuccess() bool

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

func (*GetEventMappingsIDOK) String

func (o *GetEventMappingsIDOK) String() string

type GetEventMappingsIDParams

type GetEventMappingsIDParams struct {

	/* ID.

	   Unique identifier of the mapping resource.
	*/
	ID string

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

GetEventMappingsIDParams contains all the parameters to send to the API endpoint

for the get event mappings ID operation.

Typically these are written to a http.Request.

func NewGetEventMappingsIDParams

func NewGetEventMappingsIDParams() *GetEventMappingsIDParams

NewGetEventMappingsIDParams creates a new GetEventMappingsIDParams 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 NewGetEventMappingsIDParamsWithContext

func NewGetEventMappingsIDParamsWithContext(ctx context.Context) *GetEventMappingsIDParams

NewGetEventMappingsIDParamsWithContext creates a new GetEventMappingsIDParams object with the ability to set a context for a request.

func NewGetEventMappingsIDParamsWithHTTPClient

func NewGetEventMappingsIDParamsWithHTTPClient(client *http.Client) *GetEventMappingsIDParams

NewGetEventMappingsIDParamsWithHTTPClient creates a new GetEventMappingsIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetEventMappingsIDParamsWithTimeout

func NewGetEventMappingsIDParamsWithTimeout(timeout time.Duration) *GetEventMappingsIDParams

NewGetEventMappingsIDParamsWithTimeout creates a new GetEventMappingsIDParams object with the ability to set a timeout on a request.

func (*GetEventMappingsIDParams) SetContext

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

SetContext adds the context to the get event mappings ID params

func (*GetEventMappingsIDParams) SetDefaults

func (o *GetEventMappingsIDParams) SetDefaults()

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

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

func (*GetEventMappingsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get event mappings ID params

func (*GetEventMappingsIDParams) SetID

func (o *GetEventMappingsIDParams) SetID(id string)

SetID adds the id to the get event mappings ID params

func (*GetEventMappingsIDParams) SetTimeout

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

SetTimeout adds the timeout to the get event mappings ID params

func (*GetEventMappingsIDParams) WithContext

WithContext adds the context to the get event mappings ID params

func (*GetEventMappingsIDParams) WithDefaults

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

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

func (*GetEventMappingsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get event mappings ID params

func (*GetEventMappingsIDParams) WithID

WithID adds the id to the get event mappings ID params

func (*GetEventMappingsIDParams) WithTimeout

WithTimeout adds the timeout to the get event mappings ID params

func (*GetEventMappingsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEventMappingsIDReader

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

GetEventMappingsIDReader is a Reader for the GetEventMappingsID structure.

func (*GetEventMappingsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEventMappingsIDUnauthorized

type GetEventMappingsIDUnauthorized struct {
	Payload *models.Errors
}

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

unauthorized

func NewGetEventMappingsIDUnauthorized

func NewGetEventMappingsIDUnauthorized() *GetEventMappingsIDUnauthorized

NewGetEventMappingsIDUnauthorized creates a GetEventMappingsIDUnauthorized with default headers values

func (*GetEventMappingsIDUnauthorized) Code

Code gets the status code for the get event mappings Id unauthorized response

func (*GetEventMappingsIDUnauthorized) Error

func (*GetEventMappingsIDUnauthorized) GetPayload

func (o *GetEventMappingsIDUnauthorized) GetPayload() *models.Errors

func (*GetEventMappingsIDUnauthorized) IsClientError

func (o *GetEventMappingsIDUnauthorized) IsClientError() bool

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

func (*GetEventMappingsIDUnauthorized) IsCode

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

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

func (*GetEventMappingsIDUnauthorized) IsRedirect

func (o *GetEventMappingsIDUnauthorized) IsRedirect() bool

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

func (*GetEventMappingsIDUnauthorized) IsServerError

func (o *GetEventMappingsIDUnauthorized) IsServerError() bool

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

func (*GetEventMappingsIDUnauthorized) IsSuccess

func (o *GetEventMappingsIDUnauthorized) IsSuccess() bool

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

func (*GetEventMappingsIDUnauthorized) String

type GetEventMappingsOK

type GetEventMappingsOK struct {
	Payload *models.PagedEventMapping
}

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

OK

func NewGetEventMappingsOK

func NewGetEventMappingsOK() *GetEventMappingsOK

NewGetEventMappingsOK creates a GetEventMappingsOK with default headers values

func (*GetEventMappingsOK) Code

func (o *GetEventMappingsOK) Code() int

Code gets the status code for the get event mappings o k response

func (*GetEventMappingsOK) Error

func (o *GetEventMappingsOK) Error() string

func (*GetEventMappingsOK) GetPayload

func (o *GetEventMappingsOK) GetPayload() *models.PagedEventMapping

func (*GetEventMappingsOK) IsClientError

func (o *GetEventMappingsOK) IsClientError() bool

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

func (*GetEventMappingsOK) IsCode

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

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

func (*GetEventMappingsOK) IsRedirect

func (o *GetEventMappingsOK) IsRedirect() bool

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

func (*GetEventMappingsOK) IsServerError

func (o *GetEventMappingsOK) IsServerError() bool

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

func (*GetEventMappingsOK) IsSuccess

func (o *GetEventMappingsOK) IsSuccess() bool

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

func (*GetEventMappingsOK) String

func (o *GetEventMappingsOK) String() string

type GetEventMappingsParams

type GetEventMappingsParams struct {

	/* Filter.

	   Filter as stringified JSON object with agentId as the key.
	*/
	Filter *string

	/* Page.

	   The (0-based) index of page.

	   Format: int32
	*/
	Page *int32

	/* Size.

	   The maximum number of elements in a page.

	   Format: int32
	   Default: 20
	*/
	Size *int32

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

GetEventMappingsParams contains all the parameters to send to the API endpoint

for the get event mappings operation.

Typically these are written to a http.Request.

func NewGetEventMappingsParams

func NewGetEventMappingsParams() *GetEventMappingsParams

NewGetEventMappingsParams creates a new GetEventMappingsParams 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 NewGetEventMappingsParamsWithContext

func NewGetEventMappingsParamsWithContext(ctx context.Context) *GetEventMappingsParams

NewGetEventMappingsParamsWithContext creates a new GetEventMappingsParams object with the ability to set a context for a request.

func NewGetEventMappingsParamsWithHTTPClient

func NewGetEventMappingsParamsWithHTTPClient(client *http.Client) *GetEventMappingsParams

NewGetEventMappingsParamsWithHTTPClient creates a new GetEventMappingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetEventMappingsParamsWithTimeout

func NewGetEventMappingsParamsWithTimeout(timeout time.Duration) *GetEventMappingsParams

NewGetEventMappingsParamsWithTimeout creates a new GetEventMappingsParams object with the ability to set a timeout on a request.

func (*GetEventMappingsParams) SetContext

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

SetContext adds the context to the get event mappings params

func (*GetEventMappingsParams) SetDefaults

func (o *GetEventMappingsParams) SetDefaults()

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

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

func (*GetEventMappingsParams) SetFilter

func (o *GetEventMappingsParams) SetFilter(filter *string)

SetFilter adds the filter to the get event mappings params

func (*GetEventMappingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get event mappings params

func (*GetEventMappingsParams) SetPage

func (o *GetEventMappingsParams) SetPage(page *int32)

SetPage adds the page to the get event mappings params

func (*GetEventMappingsParams) SetSize

func (o *GetEventMappingsParams) SetSize(size *int32)

SetSize adds the size to the get event mappings params

func (*GetEventMappingsParams) SetTimeout

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

SetTimeout adds the timeout to the get event mappings params

func (*GetEventMappingsParams) WithContext

WithContext adds the context to the get event mappings params

func (*GetEventMappingsParams) WithDefaults

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

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

func (*GetEventMappingsParams) WithFilter

func (o *GetEventMappingsParams) WithFilter(filter *string) *GetEventMappingsParams

WithFilter adds the filter to the get event mappings params

func (*GetEventMappingsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get event mappings params

func (*GetEventMappingsParams) WithPage

WithPage adds the page to the get event mappings params

func (*GetEventMappingsParams) WithSize

WithSize adds the size to the get event mappings params

func (*GetEventMappingsParams) WithTimeout

WithTimeout adds the timeout to the get event mappings params

func (*GetEventMappingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEventMappingsReader

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

GetEventMappingsReader is a Reader for the GetEventMappings structure.

func (*GetEventMappingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEventMappingsUnauthorized

type GetEventMappingsUnauthorized struct {
	Payload *models.Errors
}

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

Unauthorized

func NewGetEventMappingsUnauthorized

func NewGetEventMappingsUnauthorized() *GetEventMappingsUnauthorized

NewGetEventMappingsUnauthorized creates a GetEventMappingsUnauthorized with default headers values

func (*GetEventMappingsUnauthorized) Code

Code gets the status code for the get event mappings unauthorized response

func (*GetEventMappingsUnauthorized) Error

func (*GetEventMappingsUnauthorized) GetPayload

func (o *GetEventMappingsUnauthorized) GetPayload() *models.Errors

func (*GetEventMappingsUnauthorized) IsClientError

func (o *GetEventMappingsUnauthorized) IsClientError() bool

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

func (*GetEventMappingsUnauthorized) IsCode

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

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

func (*GetEventMappingsUnauthorized) IsRedirect

func (o *GetEventMappingsUnauthorized) IsRedirect() bool

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

func (*GetEventMappingsUnauthorized) IsServerError

func (o *GetEventMappingsUnauthorized) IsServerError() bool

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

func (*GetEventMappingsUnauthorized) IsSuccess

func (o *GetEventMappingsUnauthorized) IsSuccess() bool

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

func (*GetEventMappingsUnauthorized) String

type PatchEventMappingsIDBadRequest

type PatchEventMappingsIDBadRequest struct {
	Payload *models.Errors
}

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

Bad Request. Request validations failed.

func NewPatchEventMappingsIDBadRequest

func NewPatchEventMappingsIDBadRequest() *PatchEventMappingsIDBadRequest

NewPatchEventMappingsIDBadRequest creates a PatchEventMappingsIDBadRequest with default headers values

func (*PatchEventMappingsIDBadRequest) Code

Code gets the status code for the patch event mappings Id bad request response

func (*PatchEventMappingsIDBadRequest) Error

func (*PatchEventMappingsIDBadRequest) GetPayload

func (o *PatchEventMappingsIDBadRequest) GetPayload() *models.Errors

func (*PatchEventMappingsIDBadRequest) IsClientError

func (o *PatchEventMappingsIDBadRequest) IsClientError() bool

IsClientError returns true when this patch event mappings Id bad request response has a 4xx status code

func (*PatchEventMappingsIDBadRequest) IsCode

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

IsCode returns true when this patch event mappings Id bad request response a status code equal to that given

func (*PatchEventMappingsIDBadRequest) IsRedirect

func (o *PatchEventMappingsIDBadRequest) IsRedirect() bool

IsRedirect returns true when this patch event mappings Id bad request response has a 3xx status code

func (*PatchEventMappingsIDBadRequest) IsServerError

func (o *PatchEventMappingsIDBadRequest) IsServerError() bool

IsServerError returns true when this patch event mappings Id bad request response has a 5xx status code

func (*PatchEventMappingsIDBadRequest) IsSuccess

func (o *PatchEventMappingsIDBadRequest) IsSuccess() bool

IsSuccess returns true when this patch event mappings Id bad request response has a 2xx status code

func (*PatchEventMappingsIDBadRequest) String

type PatchEventMappingsIDConflict

type PatchEventMappingsIDConflict struct {
	Payload *models.Errors
}

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

Conflict

func NewPatchEventMappingsIDConflict

func NewPatchEventMappingsIDConflict() *PatchEventMappingsIDConflict

NewPatchEventMappingsIDConflict creates a PatchEventMappingsIDConflict with default headers values

func (*PatchEventMappingsIDConflict) Code

Code gets the status code for the patch event mappings Id conflict response

func (*PatchEventMappingsIDConflict) Error

func (*PatchEventMappingsIDConflict) GetPayload

func (o *PatchEventMappingsIDConflict) GetPayload() *models.Errors

func (*PatchEventMappingsIDConflict) IsClientError

func (o *PatchEventMappingsIDConflict) IsClientError() bool

IsClientError returns true when this patch event mappings Id conflict response has a 4xx status code

func (*PatchEventMappingsIDConflict) IsCode

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

IsCode returns true when this patch event mappings Id conflict response a status code equal to that given

func (*PatchEventMappingsIDConflict) IsRedirect

func (o *PatchEventMappingsIDConflict) IsRedirect() bool

IsRedirect returns true when this patch event mappings Id conflict response has a 3xx status code

func (*PatchEventMappingsIDConflict) IsServerError

func (o *PatchEventMappingsIDConflict) IsServerError() bool

IsServerError returns true when this patch event mappings Id conflict response has a 5xx status code

func (*PatchEventMappingsIDConflict) IsSuccess

func (o *PatchEventMappingsIDConflict) IsSuccess() bool

IsSuccess returns true when this patch event mappings Id conflict response has a 2xx status code

func (*PatchEventMappingsIDConflict) String

type PatchEventMappingsIDDefault

type PatchEventMappingsIDDefault struct {
	Payload *models.Errors
	// contains filtered or unexported fields
}

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

unexpected error

func NewPatchEventMappingsIDDefault

func NewPatchEventMappingsIDDefault(code int) *PatchEventMappingsIDDefault

NewPatchEventMappingsIDDefault creates a PatchEventMappingsIDDefault with default headers values

func (*PatchEventMappingsIDDefault) Code

func (o *PatchEventMappingsIDDefault) Code() int

Code gets the status code for the patch event mappings ID default response

func (*PatchEventMappingsIDDefault) Error

func (*PatchEventMappingsIDDefault) GetPayload

func (o *PatchEventMappingsIDDefault) GetPayload() *models.Errors

func (*PatchEventMappingsIDDefault) IsClientError

func (o *PatchEventMappingsIDDefault) IsClientError() bool

IsClientError returns true when this patch event mappings ID default response has a 4xx status code

func (*PatchEventMappingsIDDefault) IsCode

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

IsCode returns true when this patch event mappings ID default response a status code equal to that given

func (*PatchEventMappingsIDDefault) IsRedirect

func (o *PatchEventMappingsIDDefault) IsRedirect() bool

IsRedirect returns true when this patch event mappings ID default response has a 3xx status code

func (*PatchEventMappingsIDDefault) IsServerError

func (o *PatchEventMappingsIDDefault) IsServerError() bool

IsServerError returns true when this patch event mappings ID default response has a 5xx status code

func (*PatchEventMappingsIDDefault) IsSuccess

func (o *PatchEventMappingsIDDefault) IsSuccess() bool

IsSuccess returns true when this patch event mappings ID default response has a 2xx status code

func (*PatchEventMappingsIDDefault) String

func (o *PatchEventMappingsIDDefault) String() string

type PatchEventMappingsIDForbidden

type PatchEventMappingsIDForbidden struct {
	Payload *models.Errors
}

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

Forbidden

func NewPatchEventMappingsIDForbidden

func NewPatchEventMappingsIDForbidden() *PatchEventMappingsIDForbidden

NewPatchEventMappingsIDForbidden creates a PatchEventMappingsIDForbidden with default headers values

func (*PatchEventMappingsIDForbidden) Code

Code gets the status code for the patch event mappings Id forbidden response

func (*PatchEventMappingsIDForbidden) Error

func (*PatchEventMappingsIDForbidden) GetPayload

func (o *PatchEventMappingsIDForbidden) GetPayload() *models.Errors

func (*PatchEventMappingsIDForbidden) IsClientError

func (o *PatchEventMappingsIDForbidden) IsClientError() bool

IsClientError returns true when this patch event mappings Id forbidden response has a 4xx status code

func (*PatchEventMappingsIDForbidden) IsCode

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

IsCode returns true when this patch event mappings Id forbidden response a status code equal to that given

func (*PatchEventMappingsIDForbidden) IsRedirect

func (o *PatchEventMappingsIDForbidden) IsRedirect() bool

IsRedirect returns true when this patch event mappings Id forbidden response has a 3xx status code

func (*PatchEventMappingsIDForbidden) IsServerError

func (o *PatchEventMappingsIDForbidden) IsServerError() bool

IsServerError returns true when this patch event mappings Id forbidden response has a 5xx status code

func (*PatchEventMappingsIDForbidden) IsSuccess

func (o *PatchEventMappingsIDForbidden) IsSuccess() bool

IsSuccess returns true when this patch event mappings Id forbidden response has a 2xx status code

func (*PatchEventMappingsIDForbidden) String

type PatchEventMappingsIDOK

type PatchEventMappingsIDOK struct {
	Payload *models.EventMappingOptional
}

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

OK

func NewPatchEventMappingsIDOK

func NewPatchEventMappingsIDOK() *PatchEventMappingsIDOK

NewPatchEventMappingsIDOK creates a PatchEventMappingsIDOK with default headers values

func (*PatchEventMappingsIDOK) Code

func (o *PatchEventMappingsIDOK) Code() int

Code gets the status code for the patch event mappings Id o k response

func (*PatchEventMappingsIDOK) Error

func (o *PatchEventMappingsIDOK) Error() string

func (*PatchEventMappingsIDOK) GetPayload

func (*PatchEventMappingsIDOK) IsClientError

func (o *PatchEventMappingsIDOK) IsClientError() bool

IsClientError returns true when this patch event mappings Id o k response has a 4xx status code

func (*PatchEventMappingsIDOK) IsCode

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

IsCode returns true when this patch event mappings Id o k response a status code equal to that given

func (*PatchEventMappingsIDOK) IsRedirect

func (o *PatchEventMappingsIDOK) IsRedirect() bool

IsRedirect returns true when this patch event mappings Id o k response has a 3xx status code

func (*PatchEventMappingsIDOK) IsServerError

func (o *PatchEventMappingsIDOK) IsServerError() bool

IsServerError returns true when this patch event mappings Id o k response has a 5xx status code

func (*PatchEventMappingsIDOK) IsSuccess

func (o *PatchEventMappingsIDOK) IsSuccess() bool

IsSuccess returns true when this patch event mappings Id o k response has a 2xx status code

func (*PatchEventMappingsIDOK) String

func (o *PatchEventMappingsIDOK) String() string

type PatchEventMappingsIDParams

type PatchEventMappingsIDParams struct {

	/* IfMatch.

	   ETag number of resource.
	*/
	IfMatch string

	/* ID.

	   Unique identifier of the mapping resource.
	*/
	ID string

	/* Mapping.

	   Object describing new values of the attributes of the mapping.
	*/
	Mapping *models.EventMappingOptional

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

PatchEventMappingsIDParams contains all the parameters to send to the API endpoint

for the patch event mappings ID operation.

Typically these are written to a http.Request.

func NewPatchEventMappingsIDParams

func NewPatchEventMappingsIDParams() *PatchEventMappingsIDParams

NewPatchEventMappingsIDParams creates a new PatchEventMappingsIDParams 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 NewPatchEventMappingsIDParamsWithContext

func NewPatchEventMappingsIDParamsWithContext(ctx context.Context) *PatchEventMappingsIDParams

NewPatchEventMappingsIDParamsWithContext creates a new PatchEventMappingsIDParams object with the ability to set a context for a request.

func NewPatchEventMappingsIDParamsWithHTTPClient

func NewPatchEventMappingsIDParamsWithHTTPClient(client *http.Client) *PatchEventMappingsIDParams

NewPatchEventMappingsIDParamsWithHTTPClient creates a new PatchEventMappingsIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchEventMappingsIDParamsWithTimeout

func NewPatchEventMappingsIDParamsWithTimeout(timeout time.Duration) *PatchEventMappingsIDParams

NewPatchEventMappingsIDParamsWithTimeout creates a new PatchEventMappingsIDParams object with the ability to set a timeout on a request.

func (*PatchEventMappingsIDParams) SetContext

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

SetContext adds the context to the patch event mappings ID params

func (*PatchEventMappingsIDParams) SetDefaults

func (o *PatchEventMappingsIDParams) SetDefaults()

SetDefaults hydrates default values in the patch event mappings ID params (not the query body).

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

func (*PatchEventMappingsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch event mappings ID params

func (*PatchEventMappingsIDParams) SetID

func (o *PatchEventMappingsIDParams) SetID(id string)

SetID adds the id to the patch event mappings ID params

func (*PatchEventMappingsIDParams) SetIfMatch

func (o *PatchEventMappingsIDParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the patch event mappings ID params

func (*PatchEventMappingsIDParams) SetMapping

func (o *PatchEventMappingsIDParams) SetMapping(mapping *models.EventMappingOptional)

SetMapping adds the mapping to the patch event mappings ID params

func (*PatchEventMappingsIDParams) SetTimeout

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

SetTimeout adds the timeout to the patch event mappings ID params

func (*PatchEventMappingsIDParams) WithContext

WithContext adds the context to the patch event mappings ID params

func (*PatchEventMappingsIDParams) WithDefaults

WithDefaults hydrates default values in the patch event mappings ID params (not the query body).

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

func (*PatchEventMappingsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch event mappings ID params

func (*PatchEventMappingsIDParams) WithID

WithID adds the id to the patch event mappings ID params

func (*PatchEventMappingsIDParams) WithIfMatch

WithIfMatch adds the ifMatch to the patch event mappings ID params

func (*PatchEventMappingsIDParams) WithMapping

WithMapping adds the mapping to the patch event mappings ID params

func (*PatchEventMappingsIDParams) WithTimeout

WithTimeout adds the timeout to the patch event mappings ID params

func (*PatchEventMappingsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchEventMappingsIDReader

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

PatchEventMappingsIDReader is a Reader for the PatchEventMappingsID structure.

func (*PatchEventMappingsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchEventMappingsIDUnauthorized

type PatchEventMappingsIDUnauthorized struct {
	Payload *models.Errors
}

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

Unauthorized

func NewPatchEventMappingsIDUnauthorized

func NewPatchEventMappingsIDUnauthorized() *PatchEventMappingsIDUnauthorized

NewPatchEventMappingsIDUnauthorized creates a PatchEventMappingsIDUnauthorized with default headers values

func (*PatchEventMappingsIDUnauthorized) Code

Code gets the status code for the patch event mappings Id unauthorized response

func (*PatchEventMappingsIDUnauthorized) Error

func (*PatchEventMappingsIDUnauthorized) GetPayload

func (*PatchEventMappingsIDUnauthorized) IsClientError

func (o *PatchEventMappingsIDUnauthorized) IsClientError() bool

IsClientError returns true when this patch event mappings Id unauthorized response has a 4xx status code

func (*PatchEventMappingsIDUnauthorized) IsCode

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

IsCode returns true when this patch event mappings Id unauthorized response a status code equal to that given

func (*PatchEventMappingsIDUnauthorized) IsRedirect

func (o *PatchEventMappingsIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this patch event mappings Id unauthorized response has a 3xx status code

func (*PatchEventMappingsIDUnauthorized) IsServerError

func (o *PatchEventMappingsIDUnauthorized) IsServerError() bool

IsServerError returns true when this patch event mappings Id unauthorized response has a 5xx status code

func (*PatchEventMappingsIDUnauthorized) IsSuccess

func (o *PatchEventMappingsIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this patch event mappings Id unauthorized response has a 2xx status code

func (*PatchEventMappingsIDUnauthorized) String

type PostEventMappingsBadRequest

type PostEventMappingsBadRequest struct {
	Payload *models.Errors
}

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

Bad Request. Request validations failed.

func NewPostEventMappingsBadRequest

func NewPostEventMappingsBadRequest() *PostEventMappingsBadRequest

NewPostEventMappingsBadRequest creates a PostEventMappingsBadRequest with default headers values

func (*PostEventMappingsBadRequest) Code

func (o *PostEventMappingsBadRequest) Code() int

Code gets the status code for the post event mappings bad request response

func (*PostEventMappingsBadRequest) Error

func (*PostEventMappingsBadRequest) GetPayload

func (o *PostEventMappingsBadRequest) GetPayload() *models.Errors

func (*PostEventMappingsBadRequest) IsClientError

func (o *PostEventMappingsBadRequest) IsClientError() bool

IsClientError returns true when this post event mappings bad request response has a 4xx status code

func (*PostEventMappingsBadRequest) IsCode

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

IsCode returns true when this post event mappings bad request response a status code equal to that given

func (*PostEventMappingsBadRequest) IsRedirect

func (o *PostEventMappingsBadRequest) IsRedirect() bool

IsRedirect returns true when this post event mappings bad request response has a 3xx status code

func (*PostEventMappingsBadRequest) IsServerError

func (o *PostEventMappingsBadRequest) IsServerError() bool

IsServerError returns true when this post event mappings bad request response has a 5xx status code

func (*PostEventMappingsBadRequest) IsSuccess

func (o *PostEventMappingsBadRequest) IsSuccess() bool

IsSuccess returns true when this post event mappings bad request response has a 2xx status code

func (*PostEventMappingsBadRequest) String

func (o *PostEventMappingsBadRequest) String() string

type PostEventMappingsConflict

type PostEventMappingsConflict struct {
	Payload *models.Errors
}

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

Conflict

func NewPostEventMappingsConflict

func NewPostEventMappingsConflict() *PostEventMappingsConflict

NewPostEventMappingsConflict creates a PostEventMappingsConflict with default headers values

func (*PostEventMappingsConflict) Code

func (o *PostEventMappingsConflict) Code() int

Code gets the status code for the post event mappings conflict response

func (*PostEventMappingsConflict) Error

func (o *PostEventMappingsConflict) Error() string

func (*PostEventMappingsConflict) GetPayload

func (o *PostEventMappingsConflict) GetPayload() *models.Errors

func (*PostEventMappingsConflict) IsClientError

func (o *PostEventMappingsConflict) IsClientError() bool

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

func (*PostEventMappingsConflict) IsCode

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

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

func (*PostEventMappingsConflict) IsRedirect

func (o *PostEventMappingsConflict) IsRedirect() bool

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

func (*PostEventMappingsConflict) IsServerError

func (o *PostEventMappingsConflict) IsServerError() bool

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

func (*PostEventMappingsConflict) IsSuccess

func (o *PostEventMappingsConflict) IsSuccess() bool

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

func (*PostEventMappingsConflict) String

func (o *PostEventMappingsConflict) String() string

type PostEventMappingsCreated

type PostEventMappingsCreated struct {
	Payload *models.EventMappingOptional
}

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

Created

func NewPostEventMappingsCreated

func NewPostEventMappingsCreated() *PostEventMappingsCreated

NewPostEventMappingsCreated creates a PostEventMappingsCreated with default headers values

func (*PostEventMappingsCreated) Code

func (o *PostEventMappingsCreated) Code() int

Code gets the status code for the post event mappings created response

func (*PostEventMappingsCreated) Error

func (o *PostEventMappingsCreated) Error() string

func (*PostEventMappingsCreated) GetPayload

func (*PostEventMappingsCreated) IsClientError

func (o *PostEventMappingsCreated) IsClientError() bool

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

func (*PostEventMappingsCreated) IsCode

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

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

func (*PostEventMappingsCreated) IsRedirect

func (o *PostEventMappingsCreated) IsRedirect() bool

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

func (*PostEventMappingsCreated) IsServerError

func (o *PostEventMappingsCreated) IsServerError() bool

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

func (*PostEventMappingsCreated) IsSuccess

func (o *PostEventMappingsCreated) IsSuccess() bool

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

func (*PostEventMappingsCreated) String

func (o *PostEventMappingsCreated) String() string

type PostEventMappingsDefault

type PostEventMappingsDefault struct {
	Payload *models.Errors
	// contains filtered or unexported fields
}

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

unexpected error

func NewPostEventMappingsDefault

func NewPostEventMappingsDefault(code int) *PostEventMappingsDefault

NewPostEventMappingsDefault creates a PostEventMappingsDefault with default headers values

func (*PostEventMappingsDefault) Code

func (o *PostEventMappingsDefault) Code() int

Code gets the status code for the post event mappings default response

func (*PostEventMappingsDefault) Error

func (o *PostEventMappingsDefault) Error() string

func (*PostEventMappingsDefault) GetPayload

func (o *PostEventMappingsDefault) GetPayload() *models.Errors

func (*PostEventMappingsDefault) IsClientError

func (o *PostEventMappingsDefault) IsClientError() bool

IsClientError returns true when this post event mappings default response has a 4xx status code

func (*PostEventMappingsDefault) IsCode

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

IsCode returns true when this post event mappings default response a status code equal to that given

func (*PostEventMappingsDefault) IsRedirect

func (o *PostEventMappingsDefault) IsRedirect() bool

IsRedirect returns true when this post event mappings default response has a 3xx status code

func (*PostEventMappingsDefault) IsServerError

func (o *PostEventMappingsDefault) IsServerError() bool

IsServerError returns true when this post event mappings default response has a 5xx status code

func (*PostEventMappingsDefault) IsSuccess

func (o *PostEventMappingsDefault) IsSuccess() bool

IsSuccess returns true when this post event mappings default response has a 2xx status code

func (*PostEventMappingsDefault) String

func (o *PostEventMappingsDefault) String() string

type PostEventMappingsForbidden

type PostEventMappingsForbidden struct {
	Payload *models.Errors
}

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

Forbidden

func NewPostEventMappingsForbidden

func NewPostEventMappingsForbidden() *PostEventMappingsForbidden

NewPostEventMappingsForbidden creates a PostEventMappingsForbidden with default headers values

func (*PostEventMappingsForbidden) Code

func (o *PostEventMappingsForbidden) Code() int

Code gets the status code for the post event mappings forbidden response

func (*PostEventMappingsForbidden) Error

func (*PostEventMappingsForbidden) GetPayload

func (o *PostEventMappingsForbidden) GetPayload() *models.Errors

func (*PostEventMappingsForbidden) IsClientError

func (o *PostEventMappingsForbidden) IsClientError() bool

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

func (*PostEventMappingsForbidden) IsCode

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

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

func (*PostEventMappingsForbidden) IsRedirect

func (o *PostEventMappingsForbidden) IsRedirect() bool

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

func (*PostEventMappingsForbidden) IsServerError

func (o *PostEventMappingsForbidden) IsServerError() bool

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

func (*PostEventMappingsForbidden) IsSuccess

func (o *PostEventMappingsForbidden) IsSuccess() bool

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

func (*PostEventMappingsForbidden) String

func (o *PostEventMappingsForbidden) String() string

type PostEventMappingsParams

type PostEventMappingsParams struct {

	/* Mapping.

	   Object describing new mapping resource.
	*/
	Mapping *models.EventMapping

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

PostEventMappingsParams contains all the parameters to send to the API endpoint

for the post event mappings operation.

Typically these are written to a http.Request.

func NewPostEventMappingsParams

func NewPostEventMappingsParams() *PostEventMappingsParams

NewPostEventMappingsParams creates a new PostEventMappingsParams 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 NewPostEventMappingsParamsWithContext

func NewPostEventMappingsParamsWithContext(ctx context.Context) *PostEventMappingsParams

NewPostEventMappingsParamsWithContext creates a new PostEventMappingsParams object with the ability to set a context for a request.

func NewPostEventMappingsParamsWithHTTPClient

func NewPostEventMappingsParamsWithHTTPClient(client *http.Client) *PostEventMappingsParams

NewPostEventMappingsParamsWithHTTPClient creates a new PostEventMappingsParams object with the ability to set a custom HTTPClient for a request.

func NewPostEventMappingsParamsWithTimeout

func NewPostEventMappingsParamsWithTimeout(timeout time.Duration) *PostEventMappingsParams

NewPostEventMappingsParamsWithTimeout creates a new PostEventMappingsParams object with the ability to set a timeout on a request.

func (*PostEventMappingsParams) SetContext

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

SetContext adds the context to the post event mappings params

func (*PostEventMappingsParams) SetDefaults

func (o *PostEventMappingsParams) SetDefaults()

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

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

func (*PostEventMappingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post event mappings params

func (*PostEventMappingsParams) SetMapping

func (o *PostEventMappingsParams) SetMapping(mapping *models.EventMapping)

SetMapping adds the mapping to the post event mappings params

func (*PostEventMappingsParams) SetTimeout

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

SetTimeout adds the timeout to the post event mappings params

func (*PostEventMappingsParams) WithContext

WithContext adds the context to the post event mappings params

func (*PostEventMappingsParams) WithDefaults

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

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

func (*PostEventMappingsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post event mappings params

func (*PostEventMappingsParams) WithMapping

WithMapping adds the mapping to the post event mappings params

func (*PostEventMappingsParams) WithTimeout

WithTimeout adds the timeout to the post event mappings params

func (*PostEventMappingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostEventMappingsReader

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

PostEventMappingsReader is a Reader for the PostEventMappings structure.

func (*PostEventMappingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostEventMappingsUnauthorized

type PostEventMappingsUnauthorized struct {
	Payload *models.Errors
}

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

Unauthorized

func NewPostEventMappingsUnauthorized

func NewPostEventMappingsUnauthorized() *PostEventMappingsUnauthorized

NewPostEventMappingsUnauthorized creates a PostEventMappingsUnauthorized with default headers values

func (*PostEventMappingsUnauthorized) Code

Code gets the status code for the post event mappings unauthorized response

func (*PostEventMappingsUnauthorized) Error

func (*PostEventMappingsUnauthorized) GetPayload

func (o *PostEventMappingsUnauthorized) GetPayload() *models.Errors

func (*PostEventMappingsUnauthorized) IsClientError

func (o *PostEventMappingsUnauthorized) IsClientError() bool

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

func (*PostEventMappingsUnauthorized) IsCode

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

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

func (*PostEventMappingsUnauthorized) IsRedirect

func (o *PostEventMappingsUnauthorized) IsRedirect() bool

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

func (*PostEventMappingsUnauthorized) IsServerError

func (o *PostEventMappingsUnauthorized) IsServerError() bool

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

func (*PostEventMappingsUnauthorized) IsSuccess

func (o *PostEventMappingsUnauthorized) IsSuccess() bool

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

func (*PostEventMappingsUnauthorized) String

Jump to

Keyboard shortcuts

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