Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteEventMappingsID(params *DeleteEventMappingsIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteEventMappingsIDNoContent, error)
- func (a *Client) GetEventMappings(params *GetEventMappingsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetEventMappingsOK, error)
- func (a *Client) GetEventMappingsID(params *GetEventMappingsIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetEventMappingsIDOK, error)
- func (a *Client) PatchEventMappingsID(params *PatchEventMappingsIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchEventMappingsIDOK, error)
- func (a *Client) PostEventMappings(params *PostEventMappingsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostEventMappingsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteEventMappingsIDBadRequest
- func (o *DeleteEventMappingsIDBadRequest) Code() int
- func (o *DeleteEventMappingsIDBadRequest) Error() string
- func (o *DeleteEventMappingsIDBadRequest) GetPayload() *models.Errors
- func (o *DeleteEventMappingsIDBadRequest) IsClientError() bool
- func (o *DeleteEventMappingsIDBadRequest) IsCode(code int) bool
- func (o *DeleteEventMappingsIDBadRequest) IsRedirect() bool
- func (o *DeleteEventMappingsIDBadRequest) IsServerError() bool
- func (o *DeleteEventMappingsIDBadRequest) IsSuccess() bool
- func (o *DeleteEventMappingsIDBadRequest) String() string
- type DeleteEventMappingsIDDefault
- func (o *DeleteEventMappingsIDDefault) Code() int
- func (o *DeleteEventMappingsIDDefault) Error() string
- func (o *DeleteEventMappingsIDDefault) GetPayload() *models.Errors
- func (o *DeleteEventMappingsIDDefault) IsClientError() bool
- func (o *DeleteEventMappingsIDDefault) IsCode(code int) bool
- func (o *DeleteEventMappingsIDDefault) IsRedirect() bool
- func (o *DeleteEventMappingsIDDefault) IsServerError() bool
- func (o *DeleteEventMappingsIDDefault) IsSuccess() bool
- func (o *DeleteEventMappingsIDDefault) String() string
- type DeleteEventMappingsIDForbidden
- func (o *DeleteEventMappingsIDForbidden) Code() int
- func (o *DeleteEventMappingsIDForbidden) Error() string
- func (o *DeleteEventMappingsIDForbidden) GetPayload() *models.Errors
- func (o *DeleteEventMappingsIDForbidden) IsClientError() bool
- func (o *DeleteEventMappingsIDForbidden) IsCode(code int) bool
- func (o *DeleteEventMappingsIDForbidden) IsRedirect() bool
- func (o *DeleteEventMappingsIDForbidden) IsServerError() bool
- func (o *DeleteEventMappingsIDForbidden) IsSuccess() bool
- func (o *DeleteEventMappingsIDForbidden) String() string
- type DeleteEventMappingsIDNoContent
- func (o *DeleteEventMappingsIDNoContent) Code() int
- func (o *DeleteEventMappingsIDNoContent) Error() string
- func (o *DeleteEventMappingsIDNoContent) IsClientError() bool
- func (o *DeleteEventMappingsIDNoContent) IsCode(code int) bool
- func (o *DeleteEventMappingsIDNoContent) IsRedirect() bool
- func (o *DeleteEventMappingsIDNoContent) IsServerError() bool
- func (o *DeleteEventMappingsIDNoContent) IsSuccess() bool
- func (o *DeleteEventMappingsIDNoContent) String() string
- type DeleteEventMappingsIDNotFound
- func (o *DeleteEventMappingsIDNotFound) Code() int
- func (o *DeleteEventMappingsIDNotFound) Error() string
- func (o *DeleteEventMappingsIDNotFound) GetPayload() *models.Errors
- func (o *DeleteEventMappingsIDNotFound) IsClientError() bool
- func (o *DeleteEventMappingsIDNotFound) IsCode(code int) bool
- func (o *DeleteEventMappingsIDNotFound) IsRedirect() bool
- func (o *DeleteEventMappingsIDNotFound) IsServerError() bool
- func (o *DeleteEventMappingsIDNotFound) IsSuccess() bool
- func (o *DeleteEventMappingsIDNotFound) String() string
- type DeleteEventMappingsIDParams
- func NewDeleteEventMappingsIDParams() *DeleteEventMappingsIDParams
- func NewDeleteEventMappingsIDParamsWithContext(ctx context.Context) *DeleteEventMappingsIDParams
- func NewDeleteEventMappingsIDParamsWithHTTPClient(client *http.Client) *DeleteEventMappingsIDParams
- func NewDeleteEventMappingsIDParamsWithTimeout(timeout time.Duration) *DeleteEventMappingsIDParams
- func (o *DeleteEventMappingsIDParams) SetContext(ctx context.Context)
- func (o *DeleteEventMappingsIDParams) SetDefaults()
- func (o *DeleteEventMappingsIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEventMappingsIDParams) SetID(id string)
- func (o *DeleteEventMappingsIDParams) SetIfMatch(ifMatch string)
- func (o *DeleteEventMappingsIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEventMappingsIDParams) WithContext(ctx context.Context) *DeleteEventMappingsIDParams
- func (o *DeleteEventMappingsIDParams) WithDefaults() *DeleteEventMappingsIDParams
- func (o *DeleteEventMappingsIDParams) WithHTTPClient(client *http.Client) *DeleteEventMappingsIDParams
- func (o *DeleteEventMappingsIDParams) WithID(id string) *DeleteEventMappingsIDParams
- func (o *DeleteEventMappingsIDParams) WithIfMatch(ifMatch string) *DeleteEventMappingsIDParams
- func (o *DeleteEventMappingsIDParams) WithTimeout(timeout time.Duration) *DeleteEventMappingsIDParams
- func (o *DeleteEventMappingsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEventMappingsIDReader
- type DeleteEventMappingsIDUnauthorized
- func (o *DeleteEventMappingsIDUnauthorized) Code() int
- func (o *DeleteEventMappingsIDUnauthorized) Error() string
- func (o *DeleteEventMappingsIDUnauthorized) GetPayload() *models.Errors
- func (o *DeleteEventMappingsIDUnauthorized) IsClientError() bool
- func (o *DeleteEventMappingsIDUnauthorized) IsCode(code int) bool
- func (o *DeleteEventMappingsIDUnauthorized) IsRedirect() bool
- func (o *DeleteEventMappingsIDUnauthorized) IsServerError() bool
- func (o *DeleteEventMappingsIDUnauthorized) IsSuccess() bool
- func (o *DeleteEventMappingsIDUnauthorized) String() string
- type GetEventMappingsBadRequest
- func (o *GetEventMappingsBadRequest) Code() int
- func (o *GetEventMappingsBadRequest) Error() string
- func (o *GetEventMappingsBadRequest) GetPayload() *models.Errors
- func (o *GetEventMappingsBadRequest) IsClientError() bool
- func (o *GetEventMappingsBadRequest) IsCode(code int) bool
- func (o *GetEventMappingsBadRequest) IsRedirect() bool
- func (o *GetEventMappingsBadRequest) IsServerError() bool
- func (o *GetEventMappingsBadRequest) IsSuccess() bool
- func (o *GetEventMappingsBadRequest) String() string
- type GetEventMappingsDefault
- func (o *GetEventMappingsDefault) Code() int
- func (o *GetEventMappingsDefault) Error() string
- func (o *GetEventMappingsDefault) GetPayload() *models.Errors
- func (o *GetEventMappingsDefault) IsClientError() bool
- func (o *GetEventMappingsDefault) IsCode(code int) bool
- func (o *GetEventMappingsDefault) IsRedirect() bool
- func (o *GetEventMappingsDefault) IsServerError() bool
- func (o *GetEventMappingsDefault) IsSuccess() bool
- func (o *GetEventMappingsDefault) String() string
- type GetEventMappingsForbidden
- func (o *GetEventMappingsForbidden) Code() int
- func (o *GetEventMappingsForbidden) Error() string
- func (o *GetEventMappingsForbidden) GetPayload() *models.Errors
- func (o *GetEventMappingsForbidden) IsClientError() bool
- func (o *GetEventMappingsForbidden) IsCode(code int) bool
- func (o *GetEventMappingsForbidden) IsRedirect() bool
- func (o *GetEventMappingsForbidden) IsServerError() bool
- func (o *GetEventMappingsForbidden) IsSuccess() bool
- func (o *GetEventMappingsForbidden) String() string
- type GetEventMappingsIDBadRequest
- func (o *GetEventMappingsIDBadRequest) Code() int
- func (o *GetEventMappingsIDBadRequest) Error() string
- func (o *GetEventMappingsIDBadRequest) GetPayload() *models.Errors
- func (o *GetEventMappingsIDBadRequest) IsClientError() bool
- func (o *GetEventMappingsIDBadRequest) IsCode(code int) bool
- func (o *GetEventMappingsIDBadRequest) IsRedirect() bool
- func (o *GetEventMappingsIDBadRequest) IsServerError() bool
- func (o *GetEventMappingsIDBadRequest) IsSuccess() bool
- func (o *GetEventMappingsIDBadRequest) String() string
- type GetEventMappingsIDDefault
- func (o *GetEventMappingsIDDefault) Code() int
- func (o *GetEventMappingsIDDefault) Error() string
- func (o *GetEventMappingsIDDefault) GetPayload() *models.Errors
- func (o *GetEventMappingsIDDefault) IsClientError() bool
- func (o *GetEventMappingsIDDefault) IsCode(code int) bool
- func (o *GetEventMappingsIDDefault) IsRedirect() bool
- func (o *GetEventMappingsIDDefault) IsServerError() bool
- func (o *GetEventMappingsIDDefault) IsSuccess() bool
- func (o *GetEventMappingsIDDefault) String() string
- type GetEventMappingsIDForbidden
- func (o *GetEventMappingsIDForbidden) Code() int
- func (o *GetEventMappingsIDForbidden) Error() string
- func (o *GetEventMappingsIDForbidden) GetPayload() *models.Errors
- func (o *GetEventMappingsIDForbidden) IsClientError() bool
- func (o *GetEventMappingsIDForbidden) IsCode(code int) bool
- func (o *GetEventMappingsIDForbidden) IsRedirect() bool
- func (o *GetEventMappingsIDForbidden) IsServerError() bool
- func (o *GetEventMappingsIDForbidden) IsSuccess() bool
- func (o *GetEventMappingsIDForbidden) String() string
- type GetEventMappingsIDNotFound
- func (o *GetEventMappingsIDNotFound) Code() int
- func (o *GetEventMappingsIDNotFound) Error() string
- func (o *GetEventMappingsIDNotFound) GetPayload() *models.Errors
- func (o *GetEventMappingsIDNotFound) IsClientError() bool
- func (o *GetEventMappingsIDNotFound) IsCode(code int) bool
- func (o *GetEventMappingsIDNotFound) IsRedirect() bool
- func (o *GetEventMappingsIDNotFound) IsServerError() bool
- func (o *GetEventMappingsIDNotFound) IsSuccess() bool
- func (o *GetEventMappingsIDNotFound) String() string
- type GetEventMappingsIDOK
- func (o *GetEventMappingsIDOK) Code() int
- func (o *GetEventMappingsIDOK) Error() string
- func (o *GetEventMappingsIDOK) GetPayload() *models.EventMapping
- func (o *GetEventMappingsIDOK) IsClientError() bool
- func (o *GetEventMappingsIDOK) IsCode(code int) bool
- func (o *GetEventMappingsIDOK) IsRedirect() bool
- func (o *GetEventMappingsIDOK) IsServerError() bool
- func (o *GetEventMappingsIDOK) IsSuccess() bool
- func (o *GetEventMappingsIDOK) String() string
- type GetEventMappingsIDParams
- func NewGetEventMappingsIDParams() *GetEventMappingsIDParams
- func NewGetEventMappingsIDParamsWithContext(ctx context.Context) *GetEventMappingsIDParams
- func NewGetEventMappingsIDParamsWithHTTPClient(client *http.Client) *GetEventMappingsIDParams
- func NewGetEventMappingsIDParamsWithTimeout(timeout time.Duration) *GetEventMappingsIDParams
- func (o *GetEventMappingsIDParams) SetContext(ctx context.Context)
- func (o *GetEventMappingsIDParams) SetDefaults()
- func (o *GetEventMappingsIDParams) SetHTTPClient(client *http.Client)
- func (o *GetEventMappingsIDParams) SetID(id string)
- func (o *GetEventMappingsIDParams) SetTimeout(timeout time.Duration)
- func (o *GetEventMappingsIDParams) WithContext(ctx context.Context) *GetEventMappingsIDParams
- func (o *GetEventMappingsIDParams) WithDefaults() *GetEventMappingsIDParams
- func (o *GetEventMappingsIDParams) WithHTTPClient(client *http.Client) *GetEventMappingsIDParams
- func (o *GetEventMappingsIDParams) WithID(id string) *GetEventMappingsIDParams
- func (o *GetEventMappingsIDParams) WithTimeout(timeout time.Duration) *GetEventMappingsIDParams
- func (o *GetEventMappingsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEventMappingsIDReader
- type GetEventMappingsIDUnauthorized
- func (o *GetEventMappingsIDUnauthorized) Code() int
- func (o *GetEventMappingsIDUnauthorized) Error() string
- func (o *GetEventMappingsIDUnauthorized) GetPayload() *models.Errors
- func (o *GetEventMappingsIDUnauthorized) IsClientError() bool
- func (o *GetEventMappingsIDUnauthorized) IsCode(code int) bool
- func (o *GetEventMappingsIDUnauthorized) IsRedirect() bool
- func (o *GetEventMappingsIDUnauthorized) IsServerError() bool
- func (o *GetEventMappingsIDUnauthorized) IsSuccess() bool
- func (o *GetEventMappingsIDUnauthorized) String() string
- type GetEventMappingsOK
- func (o *GetEventMappingsOK) Code() int
- func (o *GetEventMappingsOK) Error() string
- func (o *GetEventMappingsOK) GetPayload() *models.PagedEventMapping
- func (o *GetEventMappingsOK) IsClientError() bool
- func (o *GetEventMappingsOK) IsCode(code int) bool
- func (o *GetEventMappingsOK) IsRedirect() bool
- func (o *GetEventMappingsOK) IsServerError() bool
- func (o *GetEventMappingsOK) IsSuccess() bool
- func (o *GetEventMappingsOK) String() string
- type GetEventMappingsParams
- func NewGetEventMappingsParams() *GetEventMappingsParams
- func NewGetEventMappingsParamsWithContext(ctx context.Context) *GetEventMappingsParams
- func NewGetEventMappingsParamsWithHTTPClient(client *http.Client) *GetEventMappingsParams
- func NewGetEventMappingsParamsWithTimeout(timeout time.Duration) *GetEventMappingsParams
- func (o *GetEventMappingsParams) SetContext(ctx context.Context)
- func (o *GetEventMappingsParams) SetDefaults()
- func (o *GetEventMappingsParams) SetFilter(filter *string)
- func (o *GetEventMappingsParams) SetHTTPClient(client *http.Client)
- func (o *GetEventMappingsParams) SetPage(page *int32)
- func (o *GetEventMappingsParams) SetSize(size *int32)
- func (o *GetEventMappingsParams) SetTimeout(timeout time.Duration)
- func (o *GetEventMappingsParams) WithContext(ctx context.Context) *GetEventMappingsParams
- func (o *GetEventMappingsParams) WithDefaults() *GetEventMappingsParams
- func (o *GetEventMappingsParams) WithFilter(filter *string) *GetEventMappingsParams
- func (o *GetEventMappingsParams) WithHTTPClient(client *http.Client) *GetEventMappingsParams
- func (o *GetEventMappingsParams) WithPage(page *int32) *GetEventMappingsParams
- func (o *GetEventMappingsParams) WithSize(size *int32) *GetEventMappingsParams
- func (o *GetEventMappingsParams) WithTimeout(timeout time.Duration) *GetEventMappingsParams
- func (o *GetEventMappingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEventMappingsReader
- type GetEventMappingsUnauthorized
- func (o *GetEventMappingsUnauthorized) Code() int
- func (o *GetEventMappingsUnauthorized) Error() string
- func (o *GetEventMappingsUnauthorized) GetPayload() *models.Errors
- func (o *GetEventMappingsUnauthorized) IsClientError() bool
- func (o *GetEventMappingsUnauthorized) IsCode(code int) bool
- func (o *GetEventMappingsUnauthorized) IsRedirect() bool
- func (o *GetEventMappingsUnauthorized) IsServerError() bool
- func (o *GetEventMappingsUnauthorized) IsSuccess() bool
- func (o *GetEventMappingsUnauthorized) String() string
- type PatchEventMappingsIDBadRequest
- func (o *PatchEventMappingsIDBadRequest) Code() int
- func (o *PatchEventMappingsIDBadRequest) Error() string
- func (o *PatchEventMappingsIDBadRequest) GetPayload() *models.Errors
- func (o *PatchEventMappingsIDBadRequest) IsClientError() bool
- func (o *PatchEventMappingsIDBadRequest) IsCode(code int) bool
- func (o *PatchEventMappingsIDBadRequest) IsRedirect() bool
- func (o *PatchEventMappingsIDBadRequest) IsServerError() bool
- func (o *PatchEventMappingsIDBadRequest) IsSuccess() bool
- func (o *PatchEventMappingsIDBadRequest) String() string
- type PatchEventMappingsIDConflict
- func (o *PatchEventMappingsIDConflict) Code() int
- func (o *PatchEventMappingsIDConflict) Error() string
- func (o *PatchEventMappingsIDConflict) GetPayload() *models.Errors
- func (o *PatchEventMappingsIDConflict) IsClientError() bool
- func (o *PatchEventMappingsIDConflict) IsCode(code int) bool
- func (o *PatchEventMappingsIDConflict) IsRedirect() bool
- func (o *PatchEventMappingsIDConflict) IsServerError() bool
- func (o *PatchEventMappingsIDConflict) IsSuccess() bool
- func (o *PatchEventMappingsIDConflict) String() string
- type PatchEventMappingsIDDefault
- func (o *PatchEventMappingsIDDefault) Code() int
- func (o *PatchEventMappingsIDDefault) Error() string
- func (o *PatchEventMappingsIDDefault) GetPayload() *models.Errors
- func (o *PatchEventMappingsIDDefault) IsClientError() bool
- func (o *PatchEventMappingsIDDefault) IsCode(code int) bool
- func (o *PatchEventMappingsIDDefault) IsRedirect() bool
- func (o *PatchEventMappingsIDDefault) IsServerError() bool
- func (o *PatchEventMappingsIDDefault) IsSuccess() bool
- func (o *PatchEventMappingsIDDefault) String() string
- type PatchEventMappingsIDForbidden
- func (o *PatchEventMappingsIDForbidden) Code() int
- func (o *PatchEventMappingsIDForbidden) Error() string
- func (o *PatchEventMappingsIDForbidden) GetPayload() *models.Errors
- func (o *PatchEventMappingsIDForbidden) IsClientError() bool
- func (o *PatchEventMappingsIDForbidden) IsCode(code int) bool
- func (o *PatchEventMappingsIDForbidden) IsRedirect() bool
- func (o *PatchEventMappingsIDForbidden) IsServerError() bool
- func (o *PatchEventMappingsIDForbidden) IsSuccess() bool
- func (o *PatchEventMappingsIDForbidden) String() string
- type PatchEventMappingsIDOK
- func (o *PatchEventMappingsIDOK) Code() int
- func (o *PatchEventMappingsIDOK) Error() string
- func (o *PatchEventMappingsIDOK) GetPayload() *models.EventMappingOptional
- func (o *PatchEventMappingsIDOK) IsClientError() bool
- func (o *PatchEventMappingsIDOK) IsCode(code int) bool
- func (o *PatchEventMappingsIDOK) IsRedirect() bool
- func (o *PatchEventMappingsIDOK) IsServerError() bool
- func (o *PatchEventMappingsIDOK) IsSuccess() bool
- func (o *PatchEventMappingsIDOK) String() string
- type PatchEventMappingsIDParams
- func NewPatchEventMappingsIDParams() *PatchEventMappingsIDParams
- func NewPatchEventMappingsIDParamsWithContext(ctx context.Context) *PatchEventMappingsIDParams
- func NewPatchEventMappingsIDParamsWithHTTPClient(client *http.Client) *PatchEventMappingsIDParams
- func NewPatchEventMappingsIDParamsWithTimeout(timeout time.Duration) *PatchEventMappingsIDParams
- func (o *PatchEventMappingsIDParams) SetContext(ctx context.Context)
- func (o *PatchEventMappingsIDParams) SetDefaults()
- func (o *PatchEventMappingsIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchEventMappingsIDParams) SetID(id string)
- func (o *PatchEventMappingsIDParams) SetIfMatch(ifMatch string)
- func (o *PatchEventMappingsIDParams) SetMapping(mapping *models.EventMappingOptional)
- func (o *PatchEventMappingsIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchEventMappingsIDParams) WithContext(ctx context.Context) *PatchEventMappingsIDParams
- func (o *PatchEventMappingsIDParams) WithDefaults() *PatchEventMappingsIDParams
- func (o *PatchEventMappingsIDParams) WithHTTPClient(client *http.Client) *PatchEventMappingsIDParams
- func (o *PatchEventMappingsIDParams) WithID(id string) *PatchEventMappingsIDParams
- func (o *PatchEventMappingsIDParams) WithIfMatch(ifMatch string) *PatchEventMappingsIDParams
- func (o *PatchEventMappingsIDParams) WithMapping(mapping *models.EventMappingOptional) *PatchEventMappingsIDParams
- func (o *PatchEventMappingsIDParams) WithTimeout(timeout time.Duration) *PatchEventMappingsIDParams
- func (o *PatchEventMappingsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchEventMappingsIDReader
- type PatchEventMappingsIDUnauthorized
- func (o *PatchEventMappingsIDUnauthorized) Code() int
- func (o *PatchEventMappingsIDUnauthorized) Error() string
- func (o *PatchEventMappingsIDUnauthorized) GetPayload() *models.Errors
- func (o *PatchEventMappingsIDUnauthorized) IsClientError() bool
- func (o *PatchEventMappingsIDUnauthorized) IsCode(code int) bool
- func (o *PatchEventMappingsIDUnauthorized) IsRedirect() bool
- func (o *PatchEventMappingsIDUnauthorized) IsServerError() bool
- func (o *PatchEventMappingsIDUnauthorized) IsSuccess() bool
- func (o *PatchEventMappingsIDUnauthorized) String() string
- type PostEventMappingsBadRequest
- func (o *PostEventMappingsBadRequest) Code() int
- func (o *PostEventMappingsBadRequest) Error() string
- func (o *PostEventMappingsBadRequest) GetPayload() *models.Errors
- func (o *PostEventMappingsBadRequest) IsClientError() bool
- func (o *PostEventMappingsBadRequest) IsCode(code int) bool
- func (o *PostEventMappingsBadRequest) IsRedirect() bool
- func (o *PostEventMappingsBadRequest) IsServerError() bool
- func (o *PostEventMappingsBadRequest) IsSuccess() bool
- func (o *PostEventMappingsBadRequest) String() string
- type PostEventMappingsConflict
- func (o *PostEventMappingsConflict) Code() int
- func (o *PostEventMappingsConflict) Error() string
- func (o *PostEventMappingsConflict) GetPayload() *models.Errors
- func (o *PostEventMappingsConflict) IsClientError() bool
- func (o *PostEventMappingsConflict) IsCode(code int) bool
- func (o *PostEventMappingsConflict) IsRedirect() bool
- func (o *PostEventMappingsConflict) IsServerError() bool
- func (o *PostEventMappingsConflict) IsSuccess() bool
- func (o *PostEventMappingsConflict) String() string
- type PostEventMappingsCreated
- func (o *PostEventMappingsCreated) Code() int
- func (o *PostEventMappingsCreated) Error() string
- func (o *PostEventMappingsCreated) GetPayload() *models.EventMappingOptional
- func (o *PostEventMappingsCreated) IsClientError() bool
- func (o *PostEventMappingsCreated) IsCode(code int) bool
- func (o *PostEventMappingsCreated) IsRedirect() bool
- func (o *PostEventMappingsCreated) IsServerError() bool
- func (o *PostEventMappingsCreated) IsSuccess() bool
- func (o *PostEventMappingsCreated) String() string
- type PostEventMappingsDefault
- func (o *PostEventMappingsDefault) Code() int
- func (o *PostEventMappingsDefault) Error() string
- func (o *PostEventMappingsDefault) GetPayload() *models.Errors
- func (o *PostEventMappingsDefault) IsClientError() bool
- func (o *PostEventMappingsDefault) IsCode(code int) bool
- func (o *PostEventMappingsDefault) IsRedirect() bool
- func (o *PostEventMappingsDefault) IsServerError() bool
- func (o *PostEventMappingsDefault) IsSuccess() bool
- func (o *PostEventMappingsDefault) String() string
- type PostEventMappingsForbidden
- func (o *PostEventMappingsForbidden) Code() int
- func (o *PostEventMappingsForbidden) Error() string
- func (o *PostEventMappingsForbidden) GetPayload() *models.Errors
- func (o *PostEventMappingsForbidden) IsClientError() bool
- func (o *PostEventMappingsForbidden) IsCode(code int) bool
- func (o *PostEventMappingsForbidden) IsRedirect() bool
- func (o *PostEventMappingsForbidden) IsServerError() bool
- func (o *PostEventMappingsForbidden) IsSuccess() bool
- func (o *PostEventMappingsForbidden) String() string
- type PostEventMappingsParams
- func NewPostEventMappingsParams() *PostEventMappingsParams
- func NewPostEventMappingsParamsWithContext(ctx context.Context) *PostEventMappingsParams
- func NewPostEventMappingsParamsWithHTTPClient(client *http.Client) *PostEventMappingsParams
- func NewPostEventMappingsParamsWithTimeout(timeout time.Duration) *PostEventMappingsParams
- func (o *PostEventMappingsParams) SetContext(ctx context.Context)
- func (o *PostEventMappingsParams) SetDefaults()
- func (o *PostEventMappingsParams) SetHTTPClient(client *http.Client)
- func (o *PostEventMappingsParams) SetMapping(mapping *models.EventMapping)
- func (o *PostEventMappingsParams) SetTimeout(timeout time.Duration)
- func (o *PostEventMappingsParams) WithContext(ctx context.Context) *PostEventMappingsParams
- func (o *PostEventMappingsParams) WithDefaults() *PostEventMappingsParams
- func (o *PostEventMappingsParams) WithHTTPClient(client *http.Client) *PostEventMappingsParams
- func (o *PostEventMappingsParams) WithMapping(mapping *models.EventMapping) *PostEventMappingsParams
- func (o *PostEventMappingsParams) WithTimeout(timeout time.Duration) *PostEventMappingsParams
- func (o *PostEventMappingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostEventMappingsReader
- type PostEventMappingsUnauthorized
- func (o *PostEventMappingsUnauthorized) Code() int
- func (o *PostEventMappingsUnauthorized) Error() string
- func (o *PostEventMappingsUnauthorized) GetPayload() *models.Errors
- func (o *PostEventMappingsUnauthorized) IsClientError() bool
- func (o *PostEventMappingsUnauthorized) IsCode(code int) bool
- func (o *PostEventMappingsUnauthorized) IsRedirect() bool
- func (o *PostEventMappingsUnauthorized) IsServerError() bool
- func (o *PostEventMappingsUnauthorized) IsSuccess() bool
- func (o *PostEventMappingsUnauthorized) String() string
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 ¶
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 ¶
func (o *DeleteEventMappingsIDBadRequest) Code() int
Code gets the status code for the delete event mappings Id bad request response
func (*DeleteEventMappingsIDBadRequest) Error ¶
func (o *DeleteEventMappingsIDBadRequest) Error() string
func (*DeleteEventMappingsIDBadRequest) GetPayload ¶
func (o *DeleteEventMappingsIDBadRequest) GetPayload() *models.Errors
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 ¶
func (o *DeleteEventMappingsIDBadRequest) String() 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 ¶
func (o *DeleteEventMappingsIDDefault) Code() int
Code gets the status code for the delete event mappings ID default response
func (*DeleteEventMappingsIDDefault) Error ¶
func (o *DeleteEventMappingsIDDefault) Error() string
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 ¶
func (o *DeleteEventMappingsIDDefault) String() string
type DeleteEventMappingsIDForbidden ¶
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 ¶
func (o *DeleteEventMappingsIDForbidden) Code() int
Code gets the status code for the delete event mappings Id forbidden response
func (*DeleteEventMappingsIDForbidden) Error ¶
func (o *DeleteEventMappingsIDForbidden) Error() string
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 ¶
func (o *DeleteEventMappingsIDForbidden) String() 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 ¶
func (o *DeleteEventMappingsIDNoContent) Code() int
Code gets the status code for the delete event mappings Id no content response
func (*DeleteEventMappingsIDNoContent) Error ¶
func (o *DeleteEventMappingsIDNoContent) Error() string
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 ¶
func (o *DeleteEventMappingsIDNoContent) String() string
type DeleteEventMappingsIDNotFound ¶
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 ¶
func (o *DeleteEventMappingsIDNotFound) Code() int
Code gets the status code for the delete event mappings Id not found response
func (*DeleteEventMappingsIDNotFound) Error ¶
func (o *DeleteEventMappingsIDNotFound) Error() string
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 ¶
func (o *DeleteEventMappingsIDNotFound) String() 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 ¶
func (o *DeleteEventMappingsIDParams) WithContext(ctx context.Context) *DeleteEventMappingsIDParams
WithContext adds the context to the delete event mappings ID params
func (*DeleteEventMappingsIDParams) WithDefaults ¶
func (o *DeleteEventMappingsIDParams) WithDefaults() *DeleteEventMappingsIDParams
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 ¶
func (o *DeleteEventMappingsIDParams) WithHTTPClient(client *http.Client) *DeleteEventMappingsIDParams
WithHTTPClient adds the HTTPClient to the delete event mappings ID params
func (*DeleteEventMappingsIDParams) WithID ¶
func (o *DeleteEventMappingsIDParams) WithID(id string) *DeleteEventMappingsIDParams
WithID adds the id to the delete event mappings ID params
func (*DeleteEventMappingsIDParams) WithIfMatch ¶
func (o *DeleteEventMappingsIDParams) WithIfMatch(ifMatch string) *DeleteEventMappingsIDParams
WithIfMatch adds the ifMatch to the delete event mappings ID params
func (*DeleteEventMappingsIDParams) WithTimeout ¶
func (o *DeleteEventMappingsIDParams) WithTimeout(timeout time.Duration) *DeleteEventMappingsIDParams
WithTimeout adds the timeout to the delete event mappings ID params
func (*DeleteEventMappingsIDParams) WriteToRequest ¶
func (o *DeleteEventMappingsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *DeleteEventMappingsIDUnauthorized) Code() int
Code gets the status code for the delete event mappings Id unauthorized response
func (*DeleteEventMappingsIDUnauthorized) Error ¶
func (o *DeleteEventMappingsIDUnauthorized) Error() string
func (*DeleteEventMappingsIDUnauthorized) GetPayload ¶
func (o *DeleteEventMappingsIDUnauthorized) GetPayload() *models.Errors
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 ¶
func (o *DeleteEventMappingsIDUnauthorized) String() string
type GetEventMappingsBadRequest ¶
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 (o *GetEventMappingsBadRequest) Error() string
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 ¶
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 ¶
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 ¶
func (o *GetEventMappingsIDBadRequest) Code() int
Code gets the status code for the get event mappings Id bad request response
func (*GetEventMappingsIDBadRequest) Error ¶
func (o *GetEventMappingsIDBadRequest) Error() string
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 ¶
func (o *GetEventMappingsIDBadRequest) String() 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 ¶
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 (o *GetEventMappingsIDForbidden) Error() string
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 ¶
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 (o *GetEventMappingsIDNotFound) Error() string
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 ¶
func (o *GetEventMappingsIDParams) WithContext(ctx context.Context) *GetEventMappingsIDParams
WithContext adds the context to the get event mappings ID params
func (*GetEventMappingsIDParams) WithDefaults ¶
func (o *GetEventMappingsIDParams) WithDefaults() *GetEventMappingsIDParams
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 ¶
func (o *GetEventMappingsIDParams) WithID(id string) *GetEventMappingsIDParams
WithID adds the id to the get event mappings ID params
func (*GetEventMappingsIDParams) WithTimeout ¶
func (o *GetEventMappingsIDParams) WithTimeout(timeout time.Duration) *GetEventMappingsIDParams
WithTimeout adds the timeout to the get event mappings ID params
func (*GetEventMappingsIDParams) WriteToRequest ¶
func (o *GetEventMappingsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *GetEventMappingsIDUnauthorized) Code() int
Code gets the status code for the get event mappings Id unauthorized response
func (*GetEventMappingsIDUnauthorized) Error ¶
func (o *GetEventMappingsIDUnauthorized) Error() string
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 ¶
func (o *GetEventMappingsIDUnauthorized) String() 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 ¶
func (o *GetEventMappingsParams) WithContext(ctx context.Context) *GetEventMappingsParams
WithContext adds the context to the get event mappings params
func (*GetEventMappingsParams) WithDefaults ¶
func (o *GetEventMappingsParams) WithDefaults() *GetEventMappingsParams
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 ¶
func (o *GetEventMappingsParams) WithPage(page *int32) *GetEventMappingsParams
WithPage adds the page to the get event mappings params
func (*GetEventMappingsParams) WithSize ¶
func (o *GetEventMappingsParams) WithSize(size *int32) *GetEventMappingsParams
WithSize adds the size to the get event mappings params
func (*GetEventMappingsParams) WithTimeout ¶
func (o *GetEventMappingsParams) WithTimeout(timeout time.Duration) *GetEventMappingsParams
WithTimeout adds the timeout to the get event mappings params
func (*GetEventMappingsParams) WriteToRequest ¶
func (o *GetEventMappingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *GetEventMappingsUnauthorized) Code() int
Code gets the status code for the get event mappings unauthorized response
func (*GetEventMappingsUnauthorized) Error ¶
func (o *GetEventMappingsUnauthorized) Error() string
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 ¶
func (o *GetEventMappingsUnauthorized) String() string
type PatchEventMappingsIDBadRequest ¶
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 ¶
func (o *PatchEventMappingsIDBadRequest) Code() int
Code gets the status code for the patch event mappings Id bad request response
func (*PatchEventMappingsIDBadRequest) Error ¶
func (o *PatchEventMappingsIDBadRequest) Error() string
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 ¶
func (o *PatchEventMappingsIDBadRequest) String() string
type PatchEventMappingsIDConflict ¶
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 ¶
func (o *PatchEventMappingsIDConflict) Code() int
Code gets the status code for the patch event mappings Id conflict response
func (*PatchEventMappingsIDConflict) Error ¶
func (o *PatchEventMappingsIDConflict) Error() string
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 ¶
func (o *PatchEventMappingsIDConflict) String() 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 (o *PatchEventMappingsIDDefault) Error() string
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 ¶
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 ¶
func (o *PatchEventMappingsIDForbidden) Code() int
Code gets the status code for the patch event mappings Id forbidden response
func (*PatchEventMappingsIDForbidden) Error ¶
func (o *PatchEventMappingsIDForbidden) Error() string
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 ¶
func (o *PatchEventMappingsIDForbidden) String() 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 (o *PatchEventMappingsIDOK) GetPayload() *models.EventMappingOptional
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 ¶
func (o *PatchEventMappingsIDParams) WithContext(ctx context.Context) *PatchEventMappingsIDParams
WithContext adds the context to the patch event mappings ID params
func (*PatchEventMappingsIDParams) WithDefaults ¶
func (o *PatchEventMappingsIDParams) WithDefaults() *PatchEventMappingsIDParams
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 ¶
func (o *PatchEventMappingsIDParams) WithHTTPClient(client *http.Client) *PatchEventMappingsIDParams
WithHTTPClient adds the HTTPClient to the patch event mappings ID params
func (*PatchEventMappingsIDParams) WithID ¶
func (o *PatchEventMappingsIDParams) WithID(id string) *PatchEventMappingsIDParams
WithID adds the id to the patch event mappings ID params
func (*PatchEventMappingsIDParams) WithIfMatch ¶
func (o *PatchEventMappingsIDParams) WithIfMatch(ifMatch string) *PatchEventMappingsIDParams
WithIfMatch adds the ifMatch to the patch event mappings ID params
func (*PatchEventMappingsIDParams) WithMapping ¶
func (o *PatchEventMappingsIDParams) WithMapping(mapping *models.EventMappingOptional) *PatchEventMappingsIDParams
WithMapping adds the mapping to the patch event mappings ID params
func (*PatchEventMappingsIDParams) WithTimeout ¶
func (o *PatchEventMappingsIDParams) WithTimeout(timeout time.Duration) *PatchEventMappingsIDParams
WithTimeout adds the timeout to the patch event mappings ID params
func (*PatchEventMappingsIDParams) WriteToRequest ¶
func (o *PatchEventMappingsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *PatchEventMappingsIDUnauthorized) Code() int
Code gets the status code for the patch event mappings Id unauthorized response
func (*PatchEventMappingsIDUnauthorized) Error ¶
func (o *PatchEventMappingsIDUnauthorized) Error() string
func (*PatchEventMappingsIDUnauthorized) GetPayload ¶
func (o *PatchEventMappingsIDUnauthorized) GetPayload() *models.Errors
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 ¶
func (o *PatchEventMappingsIDUnauthorized) String() string
type PostEventMappingsBadRequest ¶
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 (o *PostEventMappingsBadRequest) Error() string
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 ¶
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 (o *PostEventMappingsCreated) GetPayload() *models.EventMappingOptional
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 ¶
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 (o *PostEventMappingsForbidden) Error() string
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 ¶
func (o *PostEventMappingsParams) WithContext(ctx context.Context) *PostEventMappingsParams
WithContext adds the context to the post event mappings params
func (*PostEventMappingsParams) WithDefaults ¶
func (o *PostEventMappingsParams) WithDefaults() *PostEventMappingsParams
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 ¶
func (o *PostEventMappingsParams) WithMapping(mapping *models.EventMapping) *PostEventMappingsParams
WithMapping adds the mapping to the post event mappings params
func (*PostEventMappingsParams) WithTimeout ¶
func (o *PostEventMappingsParams) WithTimeout(timeout time.Duration) *PostEventMappingsParams
WithTimeout adds the timeout to the post event mappings params
func (*PostEventMappingsParams) WriteToRequest ¶
func (o *PostEventMappingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *PostEventMappingsUnauthorized) Code() int
Code gets the status code for the post event mappings unauthorized response
func (*PostEventMappingsUnauthorized) Error ¶
func (o *PostEventMappingsUnauthorized) Error() string
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 ¶
func (o *PostEventMappingsUnauthorized) String() string
Source Files
¶
- delete_event_mappings_id_parameters.go
- delete_event_mappings_id_responses.go
- event_mappings_client.go
- get_event_mappings_id_parameters.go
- get_event_mappings_id_responses.go
- get_event_mappings_parameters.go
- get_event_mappings_responses.go
- patch_event_mappings_id_parameters.go
- patch_event_mappings_id_responses.go
- post_event_mappings_parameters.go
- post_event_mappings_responses.go