Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteMonitorsMonitorID(params *DeleteMonitorsMonitorIDParams, opts ...ClientOption) (*DeleteMonitorsMonitorIDNoContent, error)
- func (a *Client) GetMonitors(params *GetMonitorsParams, opts ...ClientOption) (*GetMonitorsOK, error)
- func (a *Client) GetMonitorsMonitorID(params *GetMonitorsMonitorIDParams, opts ...ClientOption) (*GetMonitorsMonitorIDOK, error)
- func (a *Client) PostMonitors(params *PostMonitorsParams, opts ...ClientOption) (*PostMonitorsCreated, error)
- func (a *Client) PutMonitorsMonitorID(params *PutMonitorsMonitorIDParams, opts ...ClientOption) (*PutMonitorsMonitorIDAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteMonitorsMonitorIDDefault
- func (o *DeleteMonitorsMonitorIDDefault) Code() int
- func (o *DeleteMonitorsMonitorIDDefault) Error() string
- func (o *DeleteMonitorsMonitorIDDefault) GetPayload() *models.Error
- func (o *DeleteMonitorsMonitorIDDefault) IsClientError() bool
- func (o *DeleteMonitorsMonitorIDDefault) IsCode(code int) bool
- func (o *DeleteMonitorsMonitorIDDefault) IsRedirect() bool
- func (o *DeleteMonitorsMonitorIDDefault) IsServerError() bool
- func (o *DeleteMonitorsMonitorIDDefault) IsSuccess() bool
- func (o *DeleteMonitorsMonitorIDDefault) String() string
- type DeleteMonitorsMonitorIDNoContent
- func (o *DeleteMonitorsMonitorIDNoContent) Code() int
- func (o *DeleteMonitorsMonitorIDNoContent) Error() string
- func (o *DeleteMonitorsMonitorIDNoContent) IsClientError() bool
- func (o *DeleteMonitorsMonitorIDNoContent) IsCode(code int) bool
- func (o *DeleteMonitorsMonitorIDNoContent) IsRedirect() bool
- func (o *DeleteMonitorsMonitorIDNoContent) IsServerError() bool
- func (o *DeleteMonitorsMonitorIDNoContent) IsSuccess() bool
- func (o *DeleteMonitorsMonitorIDNoContent) String() string
- type DeleteMonitorsMonitorIDNotFound
- func (o *DeleteMonitorsMonitorIDNotFound) Code() int
- func (o *DeleteMonitorsMonitorIDNotFound) Error() string
- func (o *DeleteMonitorsMonitorIDNotFound) GetPayload() *models.Error
- func (o *DeleteMonitorsMonitorIDNotFound) IsClientError() bool
- func (o *DeleteMonitorsMonitorIDNotFound) IsCode(code int) bool
- func (o *DeleteMonitorsMonitorIDNotFound) IsRedirect() bool
- func (o *DeleteMonitorsMonitorIDNotFound) IsServerError() bool
- func (o *DeleteMonitorsMonitorIDNotFound) IsSuccess() bool
- func (o *DeleteMonitorsMonitorIDNotFound) String() string
- type DeleteMonitorsMonitorIDParams
- func NewDeleteMonitorsMonitorIDParams() *DeleteMonitorsMonitorIDParams
- func NewDeleteMonitorsMonitorIDParamsWithContext(ctx context.Context) *DeleteMonitorsMonitorIDParams
- func NewDeleteMonitorsMonitorIDParamsWithHTTPClient(client *http.Client) *DeleteMonitorsMonitorIDParams
- func NewDeleteMonitorsMonitorIDParamsWithTimeout(timeout time.Duration) *DeleteMonitorsMonitorIDParams
- func (o *DeleteMonitorsMonitorIDParams) SetContext(ctx context.Context)
- func (o *DeleteMonitorsMonitorIDParams) SetDefaults()
- func (o *DeleteMonitorsMonitorIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMonitorsMonitorIDParams) SetMonitorID(monitorID strfmt.UUID)
- func (o *DeleteMonitorsMonitorIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMonitorsMonitorIDParams) WithContext(ctx context.Context) *DeleteMonitorsMonitorIDParams
- func (o *DeleteMonitorsMonitorIDParams) WithDefaults() *DeleteMonitorsMonitorIDParams
- func (o *DeleteMonitorsMonitorIDParams) WithHTTPClient(client *http.Client) *DeleteMonitorsMonitorIDParams
- func (o *DeleteMonitorsMonitorIDParams) WithMonitorID(monitorID strfmt.UUID) *DeleteMonitorsMonitorIDParams
- func (o *DeleteMonitorsMonitorIDParams) WithTimeout(timeout time.Duration) *DeleteMonitorsMonitorIDParams
- func (o *DeleteMonitorsMonitorIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMonitorsMonitorIDReader
- type GetMonitorsBadRequest
- func (o *GetMonitorsBadRequest) Code() int
- func (o *GetMonitorsBadRequest) Error() string
- func (o *GetMonitorsBadRequest) GetPayload() *models.Error
- func (o *GetMonitorsBadRequest) IsClientError() bool
- func (o *GetMonitorsBadRequest) IsCode(code int) bool
- func (o *GetMonitorsBadRequest) IsRedirect() bool
- func (o *GetMonitorsBadRequest) IsServerError() bool
- func (o *GetMonitorsBadRequest) IsSuccess() bool
- func (o *GetMonitorsBadRequest) String() string
- type GetMonitorsDefault
- func (o *GetMonitorsDefault) Code() int
- func (o *GetMonitorsDefault) Error() string
- func (o *GetMonitorsDefault) GetPayload() *models.Error
- func (o *GetMonitorsDefault) IsClientError() bool
- func (o *GetMonitorsDefault) IsCode(code int) bool
- func (o *GetMonitorsDefault) IsRedirect() bool
- func (o *GetMonitorsDefault) IsServerError() bool
- func (o *GetMonitorsDefault) IsSuccess() bool
- func (o *GetMonitorsDefault) String() string
- type GetMonitorsMonitorIDDefault
- func (o *GetMonitorsMonitorIDDefault) Code() int
- func (o *GetMonitorsMonitorIDDefault) Error() string
- func (o *GetMonitorsMonitorIDDefault) GetPayload() *models.Error
- func (o *GetMonitorsMonitorIDDefault) IsClientError() bool
- func (o *GetMonitorsMonitorIDDefault) IsCode(code int) bool
- func (o *GetMonitorsMonitorIDDefault) IsRedirect() bool
- func (o *GetMonitorsMonitorIDDefault) IsServerError() bool
- func (o *GetMonitorsMonitorIDDefault) IsSuccess() bool
- func (o *GetMonitorsMonitorIDDefault) String() string
- type GetMonitorsMonitorIDNotFound
- func (o *GetMonitorsMonitorIDNotFound) Code() int
- func (o *GetMonitorsMonitorIDNotFound) Error() string
- func (o *GetMonitorsMonitorIDNotFound) GetPayload() *models.Error
- func (o *GetMonitorsMonitorIDNotFound) IsClientError() bool
- func (o *GetMonitorsMonitorIDNotFound) IsCode(code int) bool
- func (o *GetMonitorsMonitorIDNotFound) IsRedirect() bool
- func (o *GetMonitorsMonitorIDNotFound) IsServerError() bool
- func (o *GetMonitorsMonitorIDNotFound) IsSuccess() bool
- func (o *GetMonitorsMonitorIDNotFound) String() string
- type GetMonitorsMonitorIDOK
- func (o *GetMonitorsMonitorIDOK) Code() int
- func (o *GetMonitorsMonitorIDOK) Error() string
- func (o *GetMonitorsMonitorIDOK) GetPayload() *GetMonitorsMonitorIDOKBody
- func (o *GetMonitorsMonitorIDOK) IsClientError() bool
- func (o *GetMonitorsMonitorIDOK) IsCode(code int) bool
- func (o *GetMonitorsMonitorIDOK) IsRedirect() bool
- func (o *GetMonitorsMonitorIDOK) IsServerError() bool
- func (o *GetMonitorsMonitorIDOK) IsSuccess() bool
- func (o *GetMonitorsMonitorIDOK) String() string
- type GetMonitorsMonitorIDOKBody
- func (o *GetMonitorsMonitorIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetMonitorsMonitorIDOKBody) MarshalBinary() ([]byte, error)
- func (o *GetMonitorsMonitorIDOKBody) UnmarshalBinary(b []byte) error
- func (o *GetMonitorsMonitorIDOKBody) Validate(formats strfmt.Registry) error
- type GetMonitorsMonitorIDParams
- func NewGetMonitorsMonitorIDParams() *GetMonitorsMonitorIDParams
- func NewGetMonitorsMonitorIDParamsWithContext(ctx context.Context) *GetMonitorsMonitorIDParams
- func NewGetMonitorsMonitorIDParamsWithHTTPClient(client *http.Client) *GetMonitorsMonitorIDParams
- func NewGetMonitorsMonitorIDParamsWithTimeout(timeout time.Duration) *GetMonitorsMonitorIDParams
- func (o *GetMonitorsMonitorIDParams) SetContext(ctx context.Context)
- func (o *GetMonitorsMonitorIDParams) SetDefaults()
- func (o *GetMonitorsMonitorIDParams) SetHTTPClient(client *http.Client)
- func (o *GetMonitorsMonitorIDParams) SetMonitorID(monitorID strfmt.UUID)
- func (o *GetMonitorsMonitorIDParams) SetTimeout(timeout time.Duration)
- func (o *GetMonitorsMonitorIDParams) WithContext(ctx context.Context) *GetMonitorsMonitorIDParams
- func (o *GetMonitorsMonitorIDParams) WithDefaults() *GetMonitorsMonitorIDParams
- func (o *GetMonitorsMonitorIDParams) WithHTTPClient(client *http.Client) *GetMonitorsMonitorIDParams
- func (o *GetMonitorsMonitorIDParams) WithMonitorID(monitorID strfmt.UUID) *GetMonitorsMonitorIDParams
- func (o *GetMonitorsMonitorIDParams) WithTimeout(timeout time.Duration) *GetMonitorsMonitorIDParams
- func (o *GetMonitorsMonitorIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMonitorsMonitorIDReader
- type GetMonitorsOK
- func (o *GetMonitorsOK) Code() int
- func (o *GetMonitorsOK) Error() string
- func (o *GetMonitorsOK) GetPayload() *GetMonitorsOKBody
- func (o *GetMonitorsOK) IsClientError() bool
- func (o *GetMonitorsOK) IsCode(code int) bool
- func (o *GetMonitorsOK) IsRedirect() bool
- func (o *GetMonitorsOK) IsServerError() bool
- func (o *GetMonitorsOK) IsSuccess() bool
- func (o *GetMonitorsOK) String() string
- type GetMonitorsOKBody
- type GetMonitorsParams
- func (o *GetMonitorsParams) SetContext(ctx context.Context)
- func (o *GetMonitorsParams) SetDefaults()
- func (o *GetMonitorsParams) SetHTTPClient(client *http.Client)
- func (o *GetMonitorsParams) SetLimit(limit *int64)
- func (o *GetMonitorsParams) SetMarker(marker *strfmt.UUID)
- func (o *GetMonitorsParams) SetPageReverse(pageReverse *bool)
- func (o *GetMonitorsParams) SetPoolID(poolID *strfmt.UUID)
- func (o *GetMonitorsParams) SetSort(sort *string)
- func (o *GetMonitorsParams) SetTimeout(timeout time.Duration)
- func (o *GetMonitorsParams) WithContext(ctx context.Context) *GetMonitorsParams
- func (o *GetMonitorsParams) WithDefaults() *GetMonitorsParams
- func (o *GetMonitorsParams) WithHTTPClient(client *http.Client) *GetMonitorsParams
- func (o *GetMonitorsParams) WithLimit(limit *int64) *GetMonitorsParams
- func (o *GetMonitorsParams) WithMarker(marker *strfmt.UUID) *GetMonitorsParams
- func (o *GetMonitorsParams) WithPageReverse(pageReverse *bool) *GetMonitorsParams
- func (o *GetMonitorsParams) WithPoolID(poolID *strfmt.UUID) *GetMonitorsParams
- func (o *GetMonitorsParams) WithSort(sort *string) *GetMonitorsParams
- func (o *GetMonitorsParams) WithTimeout(timeout time.Duration) *GetMonitorsParams
- func (o *GetMonitorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMonitorsReader
- type PostMonitorsBadRequest
- func (o *PostMonitorsBadRequest) Code() int
- func (o *PostMonitorsBadRequest) Error() string
- func (o *PostMonitorsBadRequest) GetPayload() *models.Error
- func (o *PostMonitorsBadRequest) IsClientError() bool
- func (o *PostMonitorsBadRequest) IsCode(code int) bool
- func (o *PostMonitorsBadRequest) IsRedirect() bool
- func (o *PostMonitorsBadRequest) IsServerError() bool
- func (o *PostMonitorsBadRequest) IsSuccess() bool
- func (o *PostMonitorsBadRequest) String() string
- type PostMonitorsBody
- type PostMonitorsCreated
- func (o *PostMonitorsCreated) Code() int
- func (o *PostMonitorsCreated) Error() string
- func (o *PostMonitorsCreated) GetPayload() *PostMonitorsCreatedBody
- func (o *PostMonitorsCreated) IsClientError() bool
- func (o *PostMonitorsCreated) IsCode(code int) bool
- func (o *PostMonitorsCreated) IsRedirect() bool
- func (o *PostMonitorsCreated) IsServerError() bool
- func (o *PostMonitorsCreated) IsSuccess() bool
- func (o *PostMonitorsCreated) String() string
- type PostMonitorsCreatedBody
- func (o *PostMonitorsCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PostMonitorsCreatedBody) MarshalBinary() ([]byte, error)
- func (o *PostMonitorsCreatedBody) UnmarshalBinary(b []byte) error
- func (o *PostMonitorsCreatedBody) Validate(formats strfmt.Registry) error
- type PostMonitorsDefault
- func (o *PostMonitorsDefault) Code() int
- func (o *PostMonitorsDefault) Error() string
- func (o *PostMonitorsDefault) GetPayload() *models.Error
- func (o *PostMonitorsDefault) IsClientError() bool
- func (o *PostMonitorsDefault) IsCode(code int) bool
- func (o *PostMonitorsDefault) IsRedirect() bool
- func (o *PostMonitorsDefault) IsServerError() bool
- func (o *PostMonitorsDefault) IsSuccess() bool
- func (o *PostMonitorsDefault) String() string
- type PostMonitorsNotFound
- func (o *PostMonitorsNotFound) Code() int
- func (o *PostMonitorsNotFound) Error() string
- func (o *PostMonitorsNotFound) GetPayload() *models.Error
- func (o *PostMonitorsNotFound) IsClientError() bool
- func (o *PostMonitorsNotFound) IsCode(code int) bool
- func (o *PostMonitorsNotFound) IsRedirect() bool
- func (o *PostMonitorsNotFound) IsServerError() bool
- func (o *PostMonitorsNotFound) IsSuccess() bool
- func (o *PostMonitorsNotFound) String() string
- type PostMonitorsParams
- func (o *PostMonitorsParams) SetContext(ctx context.Context)
- func (o *PostMonitorsParams) SetDefaults()
- func (o *PostMonitorsParams) SetHTTPClient(client *http.Client)
- func (o *PostMonitorsParams) SetMonitor(monitor PostMonitorsBody)
- func (o *PostMonitorsParams) SetTimeout(timeout time.Duration)
- func (o *PostMonitorsParams) WithContext(ctx context.Context) *PostMonitorsParams
- func (o *PostMonitorsParams) WithDefaults() *PostMonitorsParams
- func (o *PostMonitorsParams) WithHTTPClient(client *http.Client) *PostMonitorsParams
- func (o *PostMonitorsParams) WithMonitor(monitor PostMonitorsBody) *PostMonitorsParams
- func (o *PostMonitorsParams) WithTimeout(timeout time.Duration) *PostMonitorsParams
- func (o *PostMonitorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostMonitorsReader
- type PutMonitorsMonitorIDAccepted
- func (o *PutMonitorsMonitorIDAccepted) Code() int
- func (o *PutMonitorsMonitorIDAccepted) Error() string
- func (o *PutMonitorsMonitorIDAccepted) GetPayload() *PutMonitorsMonitorIDAcceptedBody
- func (o *PutMonitorsMonitorIDAccepted) IsClientError() bool
- func (o *PutMonitorsMonitorIDAccepted) IsCode(code int) bool
- func (o *PutMonitorsMonitorIDAccepted) IsRedirect() bool
- func (o *PutMonitorsMonitorIDAccepted) IsServerError() bool
- func (o *PutMonitorsMonitorIDAccepted) IsSuccess() bool
- func (o *PutMonitorsMonitorIDAccepted) String() string
- type PutMonitorsMonitorIDAcceptedBody
- func (o *PutMonitorsMonitorIDAcceptedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PutMonitorsMonitorIDAcceptedBody) MarshalBinary() ([]byte, error)
- func (o *PutMonitorsMonitorIDAcceptedBody) UnmarshalBinary(b []byte) error
- func (o *PutMonitorsMonitorIDAcceptedBody) Validate(formats strfmt.Registry) error
- type PutMonitorsMonitorIDBadRequest
- func (o *PutMonitorsMonitorIDBadRequest) Code() int
- func (o *PutMonitorsMonitorIDBadRequest) Error() string
- func (o *PutMonitorsMonitorIDBadRequest) GetPayload() *models.Error
- func (o *PutMonitorsMonitorIDBadRequest) IsClientError() bool
- func (o *PutMonitorsMonitorIDBadRequest) IsCode(code int) bool
- func (o *PutMonitorsMonitorIDBadRequest) IsRedirect() bool
- func (o *PutMonitorsMonitorIDBadRequest) IsServerError() bool
- func (o *PutMonitorsMonitorIDBadRequest) IsSuccess() bool
- func (o *PutMonitorsMonitorIDBadRequest) String() string
- type PutMonitorsMonitorIDBody
- func (o *PutMonitorsMonitorIDBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PutMonitorsMonitorIDBody) MarshalBinary() ([]byte, error)
- func (o *PutMonitorsMonitorIDBody) UnmarshalBinary(b []byte) error
- func (o *PutMonitorsMonitorIDBody) Validate(formats strfmt.Registry) error
- type PutMonitorsMonitorIDDefault
- func (o *PutMonitorsMonitorIDDefault) Code() int
- func (o *PutMonitorsMonitorIDDefault) Error() string
- func (o *PutMonitorsMonitorIDDefault) GetPayload() *models.Error
- func (o *PutMonitorsMonitorIDDefault) IsClientError() bool
- func (o *PutMonitorsMonitorIDDefault) IsCode(code int) bool
- func (o *PutMonitorsMonitorIDDefault) IsRedirect() bool
- func (o *PutMonitorsMonitorIDDefault) IsServerError() bool
- func (o *PutMonitorsMonitorIDDefault) IsSuccess() bool
- func (o *PutMonitorsMonitorIDDefault) String() string
- type PutMonitorsMonitorIDNotFound
- func (o *PutMonitorsMonitorIDNotFound) Code() int
- func (o *PutMonitorsMonitorIDNotFound) Error() string
- func (o *PutMonitorsMonitorIDNotFound) GetPayload() *models.Error
- func (o *PutMonitorsMonitorIDNotFound) IsClientError() bool
- func (o *PutMonitorsMonitorIDNotFound) IsCode(code int) bool
- func (o *PutMonitorsMonitorIDNotFound) IsRedirect() bool
- func (o *PutMonitorsMonitorIDNotFound) IsServerError() bool
- func (o *PutMonitorsMonitorIDNotFound) IsSuccess() bool
- func (o *PutMonitorsMonitorIDNotFound) String() string
- type PutMonitorsMonitorIDParams
- func NewPutMonitorsMonitorIDParams() *PutMonitorsMonitorIDParams
- func NewPutMonitorsMonitorIDParamsWithContext(ctx context.Context) *PutMonitorsMonitorIDParams
- func NewPutMonitorsMonitorIDParamsWithHTTPClient(client *http.Client) *PutMonitorsMonitorIDParams
- func NewPutMonitorsMonitorIDParamsWithTimeout(timeout time.Duration) *PutMonitorsMonitorIDParams
- func (o *PutMonitorsMonitorIDParams) SetContext(ctx context.Context)
- func (o *PutMonitorsMonitorIDParams) SetDefaults()
- func (o *PutMonitorsMonitorIDParams) SetHTTPClient(client *http.Client)
- func (o *PutMonitorsMonitorIDParams) SetMonitor(monitor PutMonitorsMonitorIDBody)
- func (o *PutMonitorsMonitorIDParams) SetMonitorID(monitorID strfmt.UUID)
- func (o *PutMonitorsMonitorIDParams) SetTimeout(timeout time.Duration)
- func (o *PutMonitorsMonitorIDParams) WithContext(ctx context.Context) *PutMonitorsMonitorIDParams
- func (o *PutMonitorsMonitorIDParams) WithDefaults() *PutMonitorsMonitorIDParams
- func (o *PutMonitorsMonitorIDParams) WithHTTPClient(client *http.Client) *PutMonitorsMonitorIDParams
- func (o *PutMonitorsMonitorIDParams) WithMonitor(monitor PutMonitorsMonitorIDBody) *PutMonitorsMonitorIDParams
- func (o *PutMonitorsMonitorIDParams) WithMonitorID(monitorID strfmt.UUID) *PutMonitorsMonitorIDParams
- func (o *PutMonitorsMonitorIDParams) WithTimeout(timeout time.Duration) *PutMonitorsMonitorIDParams
- func (o *PutMonitorsMonitorIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutMonitorsMonitorIDReader
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 monitors API
func (*Client) DeleteMonitorsMonitorID ¶
func (a *Client) DeleteMonitorsMonitorID(params *DeleteMonitorsMonitorIDParams, opts ...ClientOption) (*DeleteMonitorsMonitorIDNoContent, error)
DeleteMonitorsMonitorID deletes a monitor
func (*Client) GetMonitors ¶
func (a *Client) GetMonitors(params *GetMonitorsParams, opts ...ClientOption) (*GetMonitorsOK, error)
GetMonitors lists monitors
func (*Client) GetMonitorsMonitorID ¶
func (a *Client) GetMonitorsMonitorID(params *GetMonitorsMonitorIDParams, opts ...ClientOption) (*GetMonitorsMonitorIDOK, error)
GetMonitorsMonitorID shows monitor detail
func (*Client) PostMonitors ¶
func (a *Client) PostMonitors(params *PostMonitorsParams, opts ...ClientOption) (*PostMonitorsCreated, error)
PostMonitors creates new monitor
func (*Client) PutMonitorsMonitorID ¶
func (a *Client) PutMonitorsMonitorID(params *PutMonitorsMonitorIDParams, opts ...ClientOption) (*PutMonitorsMonitorIDAccepted, error)
PutMonitorsMonitorID updates a monitor
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
DeleteMonitorsMonitorID(params *DeleteMonitorsMonitorIDParams, opts ...ClientOption) (*DeleteMonitorsMonitorIDNoContent, error)
GetMonitors(params *GetMonitorsParams, opts ...ClientOption) (*GetMonitorsOK, error)
GetMonitorsMonitorID(params *GetMonitorsMonitorIDParams, opts ...ClientOption) (*GetMonitorsMonitorIDOK, error)
PostMonitors(params *PostMonitorsParams, opts ...ClientOption) (*PostMonitorsCreated, error)
PutMonitorsMonitorID(params *PutMonitorsMonitorIDParams, opts ...ClientOption) (*PutMonitorsMonitorIDAccepted, 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 monitors API client.
type DeleteMonitorsMonitorIDDefault ¶
type DeleteMonitorsMonitorIDDefault struct {
Payload *models.Error
// contains filtered or unexported fields
}
DeleteMonitorsMonitorIDDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewDeleteMonitorsMonitorIDDefault ¶
func NewDeleteMonitorsMonitorIDDefault(code int) *DeleteMonitorsMonitorIDDefault
NewDeleteMonitorsMonitorIDDefault creates a DeleteMonitorsMonitorIDDefault with default headers values
func (*DeleteMonitorsMonitorIDDefault) Code ¶
func (o *DeleteMonitorsMonitorIDDefault) Code() int
Code gets the status code for the delete monitors monitor ID default response
func (*DeleteMonitorsMonitorIDDefault) Error ¶
func (o *DeleteMonitorsMonitorIDDefault) Error() string
func (*DeleteMonitorsMonitorIDDefault) GetPayload ¶
func (o *DeleteMonitorsMonitorIDDefault) GetPayload() *models.Error
func (*DeleteMonitorsMonitorIDDefault) IsClientError ¶
func (o *DeleteMonitorsMonitorIDDefault) IsClientError() bool
IsClientError returns true when this delete monitors monitor ID default response has a 4xx status code
func (*DeleteMonitorsMonitorIDDefault) IsCode ¶
func (o *DeleteMonitorsMonitorIDDefault) IsCode(code int) bool
IsCode returns true when this delete monitors monitor ID default response a status code equal to that given
func (*DeleteMonitorsMonitorIDDefault) IsRedirect ¶
func (o *DeleteMonitorsMonitorIDDefault) IsRedirect() bool
IsRedirect returns true when this delete monitors monitor ID default response has a 3xx status code
func (*DeleteMonitorsMonitorIDDefault) IsServerError ¶
func (o *DeleteMonitorsMonitorIDDefault) IsServerError() bool
IsServerError returns true when this delete monitors monitor ID default response has a 5xx status code
func (*DeleteMonitorsMonitorIDDefault) IsSuccess ¶
func (o *DeleteMonitorsMonitorIDDefault) IsSuccess() bool
IsSuccess returns true when this delete monitors monitor ID default response has a 2xx status code
func (*DeleteMonitorsMonitorIDDefault) String ¶
func (o *DeleteMonitorsMonitorIDDefault) String() string
type DeleteMonitorsMonitorIDNoContent ¶
type DeleteMonitorsMonitorIDNoContent struct {
}
DeleteMonitorsMonitorIDNoContent describes a response with status code 204, with default header values.
Resource successfully deleted.
func NewDeleteMonitorsMonitorIDNoContent ¶
func NewDeleteMonitorsMonitorIDNoContent() *DeleteMonitorsMonitorIDNoContent
NewDeleteMonitorsMonitorIDNoContent creates a DeleteMonitorsMonitorIDNoContent with default headers values
func (*DeleteMonitorsMonitorIDNoContent) Code ¶
func (o *DeleteMonitorsMonitorIDNoContent) Code() int
Code gets the status code for the delete monitors monitor Id no content response
func (*DeleteMonitorsMonitorIDNoContent) Error ¶
func (o *DeleteMonitorsMonitorIDNoContent) Error() string
func (*DeleteMonitorsMonitorIDNoContent) IsClientError ¶
func (o *DeleteMonitorsMonitorIDNoContent) IsClientError() bool
IsClientError returns true when this delete monitors monitor Id no content response has a 4xx status code
func (*DeleteMonitorsMonitorIDNoContent) IsCode ¶
func (o *DeleteMonitorsMonitorIDNoContent) IsCode(code int) bool
IsCode returns true when this delete monitors monitor Id no content response a status code equal to that given
func (*DeleteMonitorsMonitorIDNoContent) IsRedirect ¶
func (o *DeleteMonitorsMonitorIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete monitors monitor Id no content response has a 3xx status code
func (*DeleteMonitorsMonitorIDNoContent) IsServerError ¶
func (o *DeleteMonitorsMonitorIDNoContent) IsServerError() bool
IsServerError returns true when this delete monitors monitor Id no content response has a 5xx status code
func (*DeleteMonitorsMonitorIDNoContent) IsSuccess ¶
func (o *DeleteMonitorsMonitorIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete monitors monitor Id no content response has a 2xx status code
func (*DeleteMonitorsMonitorIDNoContent) String ¶
func (o *DeleteMonitorsMonitorIDNoContent) String() string
type DeleteMonitorsMonitorIDNotFound ¶
DeleteMonitorsMonitorIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteMonitorsMonitorIDNotFound ¶
func NewDeleteMonitorsMonitorIDNotFound() *DeleteMonitorsMonitorIDNotFound
NewDeleteMonitorsMonitorIDNotFound creates a DeleteMonitorsMonitorIDNotFound with default headers values
func (*DeleteMonitorsMonitorIDNotFound) Code ¶
func (o *DeleteMonitorsMonitorIDNotFound) Code() int
Code gets the status code for the delete monitors monitor Id not found response
func (*DeleteMonitorsMonitorIDNotFound) Error ¶
func (o *DeleteMonitorsMonitorIDNotFound) Error() string
func (*DeleteMonitorsMonitorIDNotFound) GetPayload ¶
func (o *DeleteMonitorsMonitorIDNotFound) GetPayload() *models.Error
func (*DeleteMonitorsMonitorIDNotFound) IsClientError ¶
func (o *DeleteMonitorsMonitorIDNotFound) IsClientError() bool
IsClientError returns true when this delete monitors monitor Id not found response has a 4xx status code
func (*DeleteMonitorsMonitorIDNotFound) IsCode ¶
func (o *DeleteMonitorsMonitorIDNotFound) IsCode(code int) bool
IsCode returns true when this delete monitors monitor Id not found response a status code equal to that given
func (*DeleteMonitorsMonitorIDNotFound) IsRedirect ¶
func (o *DeleteMonitorsMonitorIDNotFound) IsRedirect() bool
IsRedirect returns true when this delete monitors monitor Id not found response has a 3xx status code
func (*DeleteMonitorsMonitorIDNotFound) IsServerError ¶
func (o *DeleteMonitorsMonitorIDNotFound) IsServerError() bool
IsServerError returns true when this delete monitors monitor Id not found response has a 5xx status code
func (*DeleteMonitorsMonitorIDNotFound) IsSuccess ¶
func (o *DeleteMonitorsMonitorIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete monitors monitor Id not found response has a 2xx status code
func (*DeleteMonitorsMonitorIDNotFound) String ¶
func (o *DeleteMonitorsMonitorIDNotFound) String() string
type DeleteMonitorsMonitorIDParams ¶
type DeleteMonitorsMonitorIDParams struct {
/* MonitorID.
The UUID of the monitor
Format: uuid
*/
MonitorID strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteMonitorsMonitorIDParams contains all the parameters to send to the API endpoint
for the delete monitors monitor ID operation. Typically these are written to a http.Request.
func NewDeleteMonitorsMonitorIDParams ¶
func NewDeleteMonitorsMonitorIDParams() *DeleteMonitorsMonitorIDParams
NewDeleteMonitorsMonitorIDParams creates a new DeleteMonitorsMonitorIDParams 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 NewDeleteMonitorsMonitorIDParamsWithContext ¶
func NewDeleteMonitorsMonitorIDParamsWithContext(ctx context.Context) *DeleteMonitorsMonitorIDParams
NewDeleteMonitorsMonitorIDParamsWithContext creates a new DeleteMonitorsMonitorIDParams object with the ability to set a context for a request.
func NewDeleteMonitorsMonitorIDParamsWithHTTPClient ¶
func NewDeleteMonitorsMonitorIDParamsWithHTTPClient(client *http.Client) *DeleteMonitorsMonitorIDParams
NewDeleteMonitorsMonitorIDParamsWithHTTPClient creates a new DeleteMonitorsMonitorIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteMonitorsMonitorIDParamsWithTimeout ¶
func NewDeleteMonitorsMonitorIDParamsWithTimeout(timeout time.Duration) *DeleteMonitorsMonitorIDParams
NewDeleteMonitorsMonitorIDParamsWithTimeout creates a new DeleteMonitorsMonitorIDParams object with the ability to set a timeout on a request.
func (*DeleteMonitorsMonitorIDParams) SetContext ¶
func (o *DeleteMonitorsMonitorIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete monitors monitor ID params
func (*DeleteMonitorsMonitorIDParams) SetDefaults ¶
func (o *DeleteMonitorsMonitorIDParams) SetDefaults()
SetDefaults hydrates default values in the delete monitors monitor ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMonitorsMonitorIDParams) SetHTTPClient ¶
func (o *DeleteMonitorsMonitorIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete monitors monitor ID params
func (*DeleteMonitorsMonitorIDParams) SetMonitorID ¶
func (o *DeleteMonitorsMonitorIDParams) SetMonitorID(monitorID strfmt.UUID)
SetMonitorID adds the monitorId to the delete monitors monitor ID params
func (*DeleteMonitorsMonitorIDParams) SetTimeout ¶
func (o *DeleteMonitorsMonitorIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete monitors monitor ID params
func (*DeleteMonitorsMonitorIDParams) WithContext ¶
func (o *DeleteMonitorsMonitorIDParams) WithContext(ctx context.Context) *DeleteMonitorsMonitorIDParams
WithContext adds the context to the delete monitors monitor ID params
func (*DeleteMonitorsMonitorIDParams) WithDefaults ¶
func (o *DeleteMonitorsMonitorIDParams) WithDefaults() *DeleteMonitorsMonitorIDParams
WithDefaults hydrates default values in the delete monitors monitor ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMonitorsMonitorIDParams) WithHTTPClient ¶
func (o *DeleteMonitorsMonitorIDParams) WithHTTPClient(client *http.Client) *DeleteMonitorsMonitorIDParams
WithHTTPClient adds the HTTPClient to the delete monitors monitor ID params
func (*DeleteMonitorsMonitorIDParams) WithMonitorID ¶
func (o *DeleteMonitorsMonitorIDParams) WithMonitorID(monitorID strfmt.UUID) *DeleteMonitorsMonitorIDParams
WithMonitorID adds the monitorID to the delete monitors monitor ID params
func (*DeleteMonitorsMonitorIDParams) WithTimeout ¶
func (o *DeleteMonitorsMonitorIDParams) WithTimeout(timeout time.Duration) *DeleteMonitorsMonitorIDParams
WithTimeout adds the timeout to the delete monitors monitor ID params
func (*DeleteMonitorsMonitorIDParams) WriteToRequest ¶
func (o *DeleteMonitorsMonitorIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMonitorsMonitorIDReader ¶
type DeleteMonitorsMonitorIDReader struct {
// contains filtered or unexported fields
}
DeleteMonitorsMonitorIDReader is a Reader for the DeleteMonitorsMonitorID structure.
func (*DeleteMonitorsMonitorIDReader) ReadResponse ¶
func (o *DeleteMonitorsMonitorIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMonitorsBadRequest ¶
GetMonitorsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetMonitorsBadRequest ¶
func NewGetMonitorsBadRequest() *GetMonitorsBadRequest
NewGetMonitorsBadRequest creates a GetMonitorsBadRequest with default headers values
func (*GetMonitorsBadRequest) Code ¶
func (o *GetMonitorsBadRequest) Code() int
Code gets the status code for the get monitors bad request response
func (*GetMonitorsBadRequest) Error ¶
func (o *GetMonitorsBadRequest) Error() string
func (*GetMonitorsBadRequest) GetPayload ¶
func (o *GetMonitorsBadRequest) GetPayload() *models.Error
func (*GetMonitorsBadRequest) IsClientError ¶
func (o *GetMonitorsBadRequest) IsClientError() bool
IsClientError returns true when this get monitors bad request response has a 4xx status code
func (*GetMonitorsBadRequest) IsCode ¶
func (o *GetMonitorsBadRequest) IsCode(code int) bool
IsCode returns true when this get monitors bad request response a status code equal to that given
func (*GetMonitorsBadRequest) IsRedirect ¶
func (o *GetMonitorsBadRequest) IsRedirect() bool
IsRedirect returns true when this get monitors bad request response has a 3xx status code
func (*GetMonitorsBadRequest) IsServerError ¶
func (o *GetMonitorsBadRequest) IsServerError() bool
IsServerError returns true when this get monitors bad request response has a 5xx status code
func (*GetMonitorsBadRequest) IsSuccess ¶
func (o *GetMonitorsBadRequest) IsSuccess() bool
IsSuccess returns true when this get monitors bad request response has a 2xx status code
func (*GetMonitorsBadRequest) String ¶
func (o *GetMonitorsBadRequest) String() string
type GetMonitorsDefault ¶
GetMonitorsDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewGetMonitorsDefault ¶
func NewGetMonitorsDefault(code int) *GetMonitorsDefault
NewGetMonitorsDefault creates a GetMonitorsDefault with default headers values
func (*GetMonitorsDefault) Code ¶
func (o *GetMonitorsDefault) Code() int
Code gets the status code for the get monitors default response
func (*GetMonitorsDefault) Error ¶
func (o *GetMonitorsDefault) Error() string
func (*GetMonitorsDefault) GetPayload ¶
func (o *GetMonitorsDefault) GetPayload() *models.Error
func (*GetMonitorsDefault) IsClientError ¶
func (o *GetMonitorsDefault) IsClientError() bool
IsClientError returns true when this get monitors default response has a 4xx status code
func (*GetMonitorsDefault) IsCode ¶
func (o *GetMonitorsDefault) IsCode(code int) bool
IsCode returns true when this get monitors default response a status code equal to that given
func (*GetMonitorsDefault) IsRedirect ¶
func (o *GetMonitorsDefault) IsRedirect() bool
IsRedirect returns true when this get monitors default response has a 3xx status code
func (*GetMonitorsDefault) IsServerError ¶
func (o *GetMonitorsDefault) IsServerError() bool
IsServerError returns true when this get monitors default response has a 5xx status code
func (*GetMonitorsDefault) IsSuccess ¶
func (o *GetMonitorsDefault) IsSuccess() bool
IsSuccess returns true when this get monitors default response has a 2xx status code
func (*GetMonitorsDefault) String ¶
func (o *GetMonitorsDefault) String() string
type GetMonitorsMonitorIDDefault ¶
type GetMonitorsMonitorIDDefault struct {
Payload *models.Error
// contains filtered or unexported fields
}
GetMonitorsMonitorIDDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewGetMonitorsMonitorIDDefault ¶
func NewGetMonitorsMonitorIDDefault(code int) *GetMonitorsMonitorIDDefault
NewGetMonitorsMonitorIDDefault creates a GetMonitorsMonitorIDDefault with default headers values
func (*GetMonitorsMonitorIDDefault) Code ¶
func (o *GetMonitorsMonitorIDDefault) Code() int
Code gets the status code for the get monitors monitor ID default response
func (*GetMonitorsMonitorIDDefault) Error ¶
func (o *GetMonitorsMonitorIDDefault) Error() string
func (*GetMonitorsMonitorIDDefault) GetPayload ¶
func (o *GetMonitorsMonitorIDDefault) GetPayload() *models.Error
func (*GetMonitorsMonitorIDDefault) IsClientError ¶
func (o *GetMonitorsMonitorIDDefault) IsClientError() bool
IsClientError returns true when this get monitors monitor ID default response has a 4xx status code
func (*GetMonitorsMonitorIDDefault) IsCode ¶
func (o *GetMonitorsMonitorIDDefault) IsCode(code int) bool
IsCode returns true when this get monitors monitor ID default response a status code equal to that given
func (*GetMonitorsMonitorIDDefault) IsRedirect ¶
func (o *GetMonitorsMonitorIDDefault) IsRedirect() bool
IsRedirect returns true when this get monitors monitor ID default response has a 3xx status code
func (*GetMonitorsMonitorIDDefault) IsServerError ¶
func (o *GetMonitorsMonitorIDDefault) IsServerError() bool
IsServerError returns true when this get monitors monitor ID default response has a 5xx status code
func (*GetMonitorsMonitorIDDefault) IsSuccess ¶
func (o *GetMonitorsMonitorIDDefault) IsSuccess() bool
IsSuccess returns true when this get monitors monitor ID default response has a 2xx status code
func (*GetMonitorsMonitorIDDefault) String ¶
func (o *GetMonitorsMonitorIDDefault) String() string
type GetMonitorsMonitorIDNotFound ¶
GetMonitorsMonitorIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetMonitorsMonitorIDNotFound ¶
func NewGetMonitorsMonitorIDNotFound() *GetMonitorsMonitorIDNotFound
NewGetMonitorsMonitorIDNotFound creates a GetMonitorsMonitorIDNotFound with default headers values
func (*GetMonitorsMonitorIDNotFound) Code ¶
func (o *GetMonitorsMonitorIDNotFound) Code() int
Code gets the status code for the get monitors monitor Id not found response
func (*GetMonitorsMonitorIDNotFound) Error ¶
func (o *GetMonitorsMonitorIDNotFound) Error() string
func (*GetMonitorsMonitorIDNotFound) GetPayload ¶
func (o *GetMonitorsMonitorIDNotFound) GetPayload() *models.Error
func (*GetMonitorsMonitorIDNotFound) IsClientError ¶
func (o *GetMonitorsMonitorIDNotFound) IsClientError() bool
IsClientError returns true when this get monitors monitor Id not found response has a 4xx status code
func (*GetMonitorsMonitorIDNotFound) IsCode ¶
func (o *GetMonitorsMonitorIDNotFound) IsCode(code int) bool
IsCode returns true when this get monitors monitor Id not found response a status code equal to that given
func (*GetMonitorsMonitorIDNotFound) IsRedirect ¶
func (o *GetMonitorsMonitorIDNotFound) IsRedirect() bool
IsRedirect returns true when this get monitors monitor Id not found response has a 3xx status code
func (*GetMonitorsMonitorIDNotFound) IsServerError ¶
func (o *GetMonitorsMonitorIDNotFound) IsServerError() bool
IsServerError returns true when this get monitors monitor Id not found response has a 5xx status code
func (*GetMonitorsMonitorIDNotFound) IsSuccess ¶
func (o *GetMonitorsMonitorIDNotFound) IsSuccess() bool
IsSuccess returns true when this get monitors monitor Id not found response has a 2xx status code
func (*GetMonitorsMonitorIDNotFound) String ¶
func (o *GetMonitorsMonitorIDNotFound) String() string
type GetMonitorsMonitorIDOK ¶
type GetMonitorsMonitorIDOK struct {
Payload *GetMonitorsMonitorIDOKBody
}
GetMonitorsMonitorIDOK describes a response with status code 200, with default header values.
Shows the details of a specific monitor.
func NewGetMonitorsMonitorIDOK ¶
func NewGetMonitorsMonitorIDOK() *GetMonitorsMonitorIDOK
NewGetMonitorsMonitorIDOK creates a GetMonitorsMonitorIDOK with default headers values
func (*GetMonitorsMonitorIDOK) Code ¶
func (o *GetMonitorsMonitorIDOK) Code() int
Code gets the status code for the get monitors monitor Id o k response
func (*GetMonitorsMonitorIDOK) Error ¶
func (o *GetMonitorsMonitorIDOK) Error() string
func (*GetMonitorsMonitorIDOK) GetPayload ¶
func (o *GetMonitorsMonitorIDOK) GetPayload() *GetMonitorsMonitorIDOKBody
func (*GetMonitorsMonitorIDOK) IsClientError ¶
func (o *GetMonitorsMonitorIDOK) IsClientError() bool
IsClientError returns true when this get monitors monitor Id o k response has a 4xx status code
func (*GetMonitorsMonitorIDOK) IsCode ¶
func (o *GetMonitorsMonitorIDOK) IsCode(code int) bool
IsCode returns true when this get monitors monitor Id o k response a status code equal to that given
func (*GetMonitorsMonitorIDOK) IsRedirect ¶
func (o *GetMonitorsMonitorIDOK) IsRedirect() bool
IsRedirect returns true when this get monitors monitor Id o k response has a 3xx status code
func (*GetMonitorsMonitorIDOK) IsServerError ¶
func (o *GetMonitorsMonitorIDOK) IsServerError() bool
IsServerError returns true when this get monitors monitor Id o k response has a 5xx status code
func (*GetMonitorsMonitorIDOK) IsSuccess ¶
func (o *GetMonitorsMonitorIDOK) IsSuccess() bool
IsSuccess returns true when this get monitors monitor Id o k response has a 2xx status code
func (*GetMonitorsMonitorIDOK) String ¶
func (o *GetMonitorsMonitorIDOK) String() string
type GetMonitorsMonitorIDOKBody ¶
type GetMonitorsMonitorIDOKBody struct {
// monitor
Monitor *models.Monitor `json:"monitor,omitempty"`
}
GetMonitorsMonitorIDOKBody get monitors monitor ID o k body swagger:model GetMonitorsMonitorIDOKBody
func (*GetMonitorsMonitorIDOKBody) ContextValidate ¶
func (o *GetMonitorsMonitorIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get monitors monitor ID o k body based on the context it is used
func (*GetMonitorsMonitorIDOKBody) MarshalBinary ¶
func (o *GetMonitorsMonitorIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetMonitorsMonitorIDOKBody) UnmarshalBinary ¶
func (o *GetMonitorsMonitorIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetMonitorsMonitorIDParams ¶
type GetMonitorsMonitorIDParams struct {
/* MonitorID.
The UUID of the monitor
Format: uuid
*/
MonitorID strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetMonitorsMonitorIDParams contains all the parameters to send to the API endpoint
for the get monitors monitor ID operation. Typically these are written to a http.Request.
func NewGetMonitorsMonitorIDParams ¶
func NewGetMonitorsMonitorIDParams() *GetMonitorsMonitorIDParams
NewGetMonitorsMonitorIDParams creates a new GetMonitorsMonitorIDParams 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 NewGetMonitorsMonitorIDParamsWithContext ¶
func NewGetMonitorsMonitorIDParamsWithContext(ctx context.Context) *GetMonitorsMonitorIDParams
NewGetMonitorsMonitorIDParamsWithContext creates a new GetMonitorsMonitorIDParams object with the ability to set a context for a request.
func NewGetMonitorsMonitorIDParamsWithHTTPClient ¶
func NewGetMonitorsMonitorIDParamsWithHTTPClient(client *http.Client) *GetMonitorsMonitorIDParams
NewGetMonitorsMonitorIDParamsWithHTTPClient creates a new GetMonitorsMonitorIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetMonitorsMonitorIDParamsWithTimeout ¶
func NewGetMonitorsMonitorIDParamsWithTimeout(timeout time.Duration) *GetMonitorsMonitorIDParams
NewGetMonitorsMonitorIDParamsWithTimeout creates a new GetMonitorsMonitorIDParams object with the ability to set a timeout on a request.
func (*GetMonitorsMonitorIDParams) SetContext ¶
func (o *GetMonitorsMonitorIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get monitors monitor ID params
func (*GetMonitorsMonitorIDParams) SetDefaults ¶
func (o *GetMonitorsMonitorIDParams) SetDefaults()
SetDefaults hydrates default values in the get monitors monitor ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetMonitorsMonitorIDParams) SetHTTPClient ¶
func (o *GetMonitorsMonitorIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get monitors monitor ID params
func (*GetMonitorsMonitorIDParams) SetMonitorID ¶
func (o *GetMonitorsMonitorIDParams) SetMonitorID(monitorID strfmt.UUID)
SetMonitorID adds the monitorId to the get monitors monitor ID params
func (*GetMonitorsMonitorIDParams) SetTimeout ¶
func (o *GetMonitorsMonitorIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get monitors monitor ID params
func (*GetMonitorsMonitorIDParams) WithContext ¶
func (o *GetMonitorsMonitorIDParams) WithContext(ctx context.Context) *GetMonitorsMonitorIDParams
WithContext adds the context to the get monitors monitor ID params
func (*GetMonitorsMonitorIDParams) WithDefaults ¶
func (o *GetMonitorsMonitorIDParams) WithDefaults() *GetMonitorsMonitorIDParams
WithDefaults hydrates default values in the get monitors monitor ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetMonitorsMonitorIDParams) WithHTTPClient ¶
func (o *GetMonitorsMonitorIDParams) WithHTTPClient(client *http.Client) *GetMonitorsMonitorIDParams
WithHTTPClient adds the HTTPClient to the get monitors monitor ID params
func (*GetMonitorsMonitorIDParams) WithMonitorID ¶
func (o *GetMonitorsMonitorIDParams) WithMonitorID(monitorID strfmt.UUID) *GetMonitorsMonitorIDParams
WithMonitorID adds the monitorID to the get monitors monitor ID params
func (*GetMonitorsMonitorIDParams) WithTimeout ¶
func (o *GetMonitorsMonitorIDParams) WithTimeout(timeout time.Duration) *GetMonitorsMonitorIDParams
WithTimeout adds the timeout to the get monitors monitor ID params
func (*GetMonitorsMonitorIDParams) WriteToRequest ¶
func (o *GetMonitorsMonitorIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMonitorsMonitorIDReader ¶
type GetMonitorsMonitorIDReader struct {
// contains filtered or unexported fields
}
GetMonitorsMonitorIDReader is a Reader for the GetMonitorsMonitorID structure.
func (*GetMonitorsMonitorIDReader) ReadResponse ¶
func (o *GetMonitorsMonitorIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMonitorsOK ¶
type GetMonitorsOK struct {
Payload *GetMonitorsOKBody
}
GetMonitorsOK describes a response with status code 200, with default header values.
A JSON array of monitors
func NewGetMonitorsOK ¶
func NewGetMonitorsOK() *GetMonitorsOK
NewGetMonitorsOK creates a GetMonitorsOK with default headers values
func (*GetMonitorsOK) Code ¶
func (o *GetMonitorsOK) Code() int
Code gets the status code for the get monitors o k response
func (*GetMonitorsOK) Error ¶
func (o *GetMonitorsOK) Error() string
func (*GetMonitorsOK) GetPayload ¶
func (o *GetMonitorsOK) GetPayload() *GetMonitorsOKBody
func (*GetMonitorsOK) IsClientError ¶
func (o *GetMonitorsOK) IsClientError() bool
IsClientError returns true when this get monitors o k response has a 4xx status code
func (*GetMonitorsOK) IsCode ¶
func (o *GetMonitorsOK) IsCode(code int) bool
IsCode returns true when this get monitors o k response a status code equal to that given
func (*GetMonitorsOK) IsRedirect ¶
func (o *GetMonitorsOK) IsRedirect() bool
IsRedirect returns true when this get monitors o k response has a 3xx status code
func (*GetMonitorsOK) IsServerError ¶
func (o *GetMonitorsOK) IsServerError() bool
IsServerError returns true when this get monitors o k response has a 5xx status code
func (*GetMonitorsOK) IsSuccess ¶
func (o *GetMonitorsOK) IsSuccess() bool
IsSuccess returns true when this get monitors o k response has a 2xx status code
func (*GetMonitorsOK) String ¶
func (o *GetMonitorsOK) String() string
type GetMonitorsOKBody ¶
type GetMonitorsOKBody struct {
// links
Links []*models.Link `json:"links,omitempty"`
// monitors
Monitors []*models.Monitor `json:"monitors"`
}
GetMonitorsOKBody get monitors o k body swagger:model GetMonitorsOKBody
func (*GetMonitorsOKBody) ContextValidate ¶
ContextValidate validate this get monitors o k body based on the context it is used
func (*GetMonitorsOKBody) MarshalBinary ¶
func (o *GetMonitorsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetMonitorsOKBody) UnmarshalBinary ¶
func (o *GetMonitorsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetMonitorsParams ¶
type GetMonitorsParams struct {
/* Limit.
Sets the page size.
*/
Limit *int64
/* Marker.
Pagination ID of the last item in the previous list.
Format: uuid
*/
Marker *strfmt.UUID
/* PageReverse.
Sets the page direction.
*/
PageReverse *bool
/* PoolID.
Pool ID of the monitors to fetch
Format: uuid
*/
PoolID *strfmt.UUID
/* Sort.
Comma-separated list of sort keys, optinally prefix with - to reverse sort order.
*/
Sort *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetMonitorsParams contains all the parameters to send to the API endpoint
for the get monitors operation. Typically these are written to a http.Request.
func NewGetMonitorsParams ¶
func NewGetMonitorsParams() *GetMonitorsParams
NewGetMonitorsParams creates a new GetMonitorsParams 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 NewGetMonitorsParamsWithContext ¶
func NewGetMonitorsParamsWithContext(ctx context.Context) *GetMonitorsParams
NewGetMonitorsParamsWithContext creates a new GetMonitorsParams object with the ability to set a context for a request.
func NewGetMonitorsParamsWithHTTPClient ¶
func NewGetMonitorsParamsWithHTTPClient(client *http.Client) *GetMonitorsParams
NewGetMonitorsParamsWithHTTPClient creates a new GetMonitorsParams object with the ability to set a custom HTTPClient for a request.
func NewGetMonitorsParamsWithTimeout ¶
func NewGetMonitorsParamsWithTimeout(timeout time.Duration) *GetMonitorsParams
NewGetMonitorsParamsWithTimeout creates a new GetMonitorsParams object with the ability to set a timeout on a request.
func (*GetMonitorsParams) SetContext ¶
func (o *GetMonitorsParams) SetContext(ctx context.Context)
SetContext adds the context to the get monitors params
func (*GetMonitorsParams) SetDefaults ¶
func (o *GetMonitorsParams) SetDefaults()
SetDefaults hydrates default values in the get monitors params (not the query body).
All values with no default are reset to their zero value.
func (*GetMonitorsParams) SetHTTPClient ¶
func (o *GetMonitorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get monitors params
func (*GetMonitorsParams) SetLimit ¶
func (o *GetMonitorsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get monitors params
func (*GetMonitorsParams) SetMarker ¶
func (o *GetMonitorsParams) SetMarker(marker *strfmt.UUID)
SetMarker adds the marker to the get monitors params
func (*GetMonitorsParams) SetPageReverse ¶
func (o *GetMonitorsParams) SetPageReverse(pageReverse *bool)
SetPageReverse adds the pageReverse to the get monitors params
func (*GetMonitorsParams) SetPoolID ¶
func (o *GetMonitorsParams) SetPoolID(poolID *strfmt.UUID)
SetPoolID adds the poolId to the get monitors params
func (*GetMonitorsParams) SetSort ¶
func (o *GetMonitorsParams) SetSort(sort *string)
SetSort adds the sort to the get monitors params
func (*GetMonitorsParams) SetTimeout ¶
func (o *GetMonitorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get monitors params
func (*GetMonitorsParams) WithContext ¶
func (o *GetMonitorsParams) WithContext(ctx context.Context) *GetMonitorsParams
WithContext adds the context to the get monitors params
func (*GetMonitorsParams) WithDefaults ¶
func (o *GetMonitorsParams) WithDefaults() *GetMonitorsParams
WithDefaults hydrates default values in the get monitors params (not the query body).
All values with no default are reset to their zero value.
func (*GetMonitorsParams) WithHTTPClient ¶
func (o *GetMonitorsParams) WithHTTPClient(client *http.Client) *GetMonitorsParams
WithHTTPClient adds the HTTPClient to the get monitors params
func (*GetMonitorsParams) WithLimit ¶
func (o *GetMonitorsParams) WithLimit(limit *int64) *GetMonitorsParams
WithLimit adds the limit to the get monitors params
func (*GetMonitorsParams) WithMarker ¶
func (o *GetMonitorsParams) WithMarker(marker *strfmt.UUID) *GetMonitorsParams
WithMarker adds the marker to the get monitors params
func (*GetMonitorsParams) WithPageReverse ¶
func (o *GetMonitorsParams) WithPageReverse(pageReverse *bool) *GetMonitorsParams
WithPageReverse adds the pageReverse to the get monitors params
func (*GetMonitorsParams) WithPoolID ¶
func (o *GetMonitorsParams) WithPoolID(poolID *strfmt.UUID) *GetMonitorsParams
WithPoolID adds the poolID to the get monitors params
func (*GetMonitorsParams) WithSort ¶
func (o *GetMonitorsParams) WithSort(sort *string) *GetMonitorsParams
WithSort adds the sort to the get monitors params
func (*GetMonitorsParams) WithTimeout ¶
func (o *GetMonitorsParams) WithTimeout(timeout time.Duration) *GetMonitorsParams
WithTimeout adds the timeout to the get monitors params
func (*GetMonitorsParams) WriteToRequest ¶
func (o *GetMonitorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMonitorsReader ¶
type GetMonitorsReader struct {
// contains filtered or unexported fields
}
GetMonitorsReader is a Reader for the GetMonitors structure.
func (*GetMonitorsReader) ReadResponse ¶
func (o *GetMonitorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostMonitorsBadRequest ¶
PostMonitorsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewPostMonitorsBadRequest ¶
func NewPostMonitorsBadRequest() *PostMonitorsBadRequest
NewPostMonitorsBadRequest creates a PostMonitorsBadRequest with default headers values
func (*PostMonitorsBadRequest) Code ¶
func (o *PostMonitorsBadRequest) Code() int
Code gets the status code for the post monitors bad request response
func (*PostMonitorsBadRequest) Error ¶
func (o *PostMonitorsBadRequest) Error() string
func (*PostMonitorsBadRequest) GetPayload ¶
func (o *PostMonitorsBadRequest) GetPayload() *models.Error
func (*PostMonitorsBadRequest) IsClientError ¶
func (o *PostMonitorsBadRequest) IsClientError() bool
IsClientError returns true when this post monitors bad request response has a 4xx status code
func (*PostMonitorsBadRequest) IsCode ¶
func (o *PostMonitorsBadRequest) IsCode(code int) bool
IsCode returns true when this post monitors bad request response a status code equal to that given
func (*PostMonitorsBadRequest) IsRedirect ¶
func (o *PostMonitorsBadRequest) IsRedirect() bool
IsRedirect returns true when this post monitors bad request response has a 3xx status code
func (*PostMonitorsBadRequest) IsServerError ¶
func (o *PostMonitorsBadRequest) IsServerError() bool
IsServerError returns true when this post monitors bad request response has a 5xx status code
func (*PostMonitorsBadRequest) IsSuccess ¶
func (o *PostMonitorsBadRequest) IsSuccess() bool
IsSuccess returns true when this post monitors bad request response has a 2xx status code
func (*PostMonitorsBadRequest) String ¶
func (o *PostMonitorsBadRequest) String() string
type PostMonitorsBody ¶
type PostMonitorsBody struct {
// monitor
// Required: true
Monitor *models.Monitor `json:"monitor"`
}
PostMonitorsBody post monitors body swagger:model PostMonitorsBody
func (*PostMonitorsBody) ContextValidate ¶
ContextValidate validate this post monitors body based on the context it is used
func (*PostMonitorsBody) MarshalBinary ¶
func (o *PostMonitorsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostMonitorsBody) UnmarshalBinary ¶
func (o *PostMonitorsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostMonitorsCreated ¶
type PostMonitorsCreated struct {
Payload *PostMonitorsCreatedBody
}
PostMonitorsCreated describes a response with status code 201, with default header values.
Created monitor.
func NewPostMonitorsCreated ¶
func NewPostMonitorsCreated() *PostMonitorsCreated
NewPostMonitorsCreated creates a PostMonitorsCreated with default headers values
func (*PostMonitorsCreated) Code ¶
func (o *PostMonitorsCreated) Code() int
Code gets the status code for the post monitors created response
func (*PostMonitorsCreated) Error ¶
func (o *PostMonitorsCreated) Error() string
func (*PostMonitorsCreated) GetPayload ¶
func (o *PostMonitorsCreated) GetPayload() *PostMonitorsCreatedBody
func (*PostMonitorsCreated) IsClientError ¶
func (o *PostMonitorsCreated) IsClientError() bool
IsClientError returns true when this post monitors created response has a 4xx status code
func (*PostMonitorsCreated) IsCode ¶
func (o *PostMonitorsCreated) IsCode(code int) bool
IsCode returns true when this post monitors created response a status code equal to that given
func (*PostMonitorsCreated) IsRedirect ¶
func (o *PostMonitorsCreated) IsRedirect() bool
IsRedirect returns true when this post monitors created response has a 3xx status code
func (*PostMonitorsCreated) IsServerError ¶
func (o *PostMonitorsCreated) IsServerError() bool
IsServerError returns true when this post monitors created response has a 5xx status code
func (*PostMonitorsCreated) IsSuccess ¶
func (o *PostMonitorsCreated) IsSuccess() bool
IsSuccess returns true when this post monitors created response has a 2xx status code
func (*PostMonitorsCreated) String ¶
func (o *PostMonitorsCreated) String() string
type PostMonitorsCreatedBody ¶
type PostMonitorsCreatedBody struct {
// monitor
Monitor *models.Monitor `json:"monitor,omitempty"`
}
PostMonitorsCreatedBody post monitors created body swagger:model PostMonitorsCreatedBody
func (*PostMonitorsCreatedBody) ContextValidate ¶
func (o *PostMonitorsCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this post monitors created body based on the context it is used
func (*PostMonitorsCreatedBody) MarshalBinary ¶
func (o *PostMonitorsCreatedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostMonitorsCreatedBody) UnmarshalBinary ¶
func (o *PostMonitorsCreatedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostMonitorsDefault ¶
PostMonitorsDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewPostMonitorsDefault ¶
func NewPostMonitorsDefault(code int) *PostMonitorsDefault
NewPostMonitorsDefault creates a PostMonitorsDefault with default headers values
func (*PostMonitorsDefault) Code ¶
func (o *PostMonitorsDefault) Code() int
Code gets the status code for the post monitors default response
func (*PostMonitorsDefault) Error ¶
func (o *PostMonitorsDefault) Error() string
func (*PostMonitorsDefault) GetPayload ¶
func (o *PostMonitorsDefault) GetPayload() *models.Error
func (*PostMonitorsDefault) IsClientError ¶
func (o *PostMonitorsDefault) IsClientError() bool
IsClientError returns true when this post monitors default response has a 4xx status code
func (*PostMonitorsDefault) IsCode ¶
func (o *PostMonitorsDefault) IsCode(code int) bool
IsCode returns true when this post monitors default response a status code equal to that given
func (*PostMonitorsDefault) IsRedirect ¶
func (o *PostMonitorsDefault) IsRedirect() bool
IsRedirect returns true when this post monitors default response has a 3xx status code
func (*PostMonitorsDefault) IsServerError ¶
func (o *PostMonitorsDefault) IsServerError() bool
IsServerError returns true when this post monitors default response has a 5xx status code
func (*PostMonitorsDefault) IsSuccess ¶
func (o *PostMonitorsDefault) IsSuccess() bool
IsSuccess returns true when this post monitors default response has a 2xx status code
func (*PostMonitorsDefault) String ¶
func (o *PostMonitorsDefault) String() string
type PostMonitorsNotFound ¶
PostMonitorsNotFound describes a response with status code 404, with default header values.
Not Found
func NewPostMonitorsNotFound ¶
func NewPostMonitorsNotFound() *PostMonitorsNotFound
NewPostMonitorsNotFound creates a PostMonitorsNotFound with default headers values
func (*PostMonitorsNotFound) Code ¶
func (o *PostMonitorsNotFound) Code() int
Code gets the status code for the post monitors not found response
func (*PostMonitorsNotFound) Error ¶
func (o *PostMonitorsNotFound) Error() string
func (*PostMonitorsNotFound) GetPayload ¶
func (o *PostMonitorsNotFound) GetPayload() *models.Error
func (*PostMonitorsNotFound) IsClientError ¶
func (o *PostMonitorsNotFound) IsClientError() bool
IsClientError returns true when this post monitors not found response has a 4xx status code
func (*PostMonitorsNotFound) IsCode ¶
func (o *PostMonitorsNotFound) IsCode(code int) bool
IsCode returns true when this post monitors not found response a status code equal to that given
func (*PostMonitorsNotFound) IsRedirect ¶
func (o *PostMonitorsNotFound) IsRedirect() bool
IsRedirect returns true when this post monitors not found response has a 3xx status code
func (*PostMonitorsNotFound) IsServerError ¶
func (o *PostMonitorsNotFound) IsServerError() bool
IsServerError returns true when this post monitors not found response has a 5xx status code
func (*PostMonitorsNotFound) IsSuccess ¶
func (o *PostMonitorsNotFound) IsSuccess() bool
IsSuccess returns true when this post monitors not found response has a 2xx status code
func (*PostMonitorsNotFound) String ¶
func (o *PostMonitorsNotFound) String() string
type PostMonitorsParams ¶
type PostMonitorsParams struct {
// Monitor.
Monitor PostMonitorsBody
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostMonitorsParams contains all the parameters to send to the API endpoint
for the post monitors operation. Typically these are written to a http.Request.
func NewPostMonitorsParams ¶
func NewPostMonitorsParams() *PostMonitorsParams
NewPostMonitorsParams creates a new PostMonitorsParams 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 NewPostMonitorsParamsWithContext ¶
func NewPostMonitorsParamsWithContext(ctx context.Context) *PostMonitorsParams
NewPostMonitorsParamsWithContext creates a new PostMonitorsParams object with the ability to set a context for a request.
func NewPostMonitorsParamsWithHTTPClient ¶
func NewPostMonitorsParamsWithHTTPClient(client *http.Client) *PostMonitorsParams
NewPostMonitorsParamsWithHTTPClient creates a new PostMonitorsParams object with the ability to set a custom HTTPClient for a request.
func NewPostMonitorsParamsWithTimeout ¶
func NewPostMonitorsParamsWithTimeout(timeout time.Duration) *PostMonitorsParams
NewPostMonitorsParamsWithTimeout creates a new PostMonitorsParams object with the ability to set a timeout on a request.
func (*PostMonitorsParams) SetContext ¶
func (o *PostMonitorsParams) SetContext(ctx context.Context)
SetContext adds the context to the post monitors params
func (*PostMonitorsParams) SetDefaults ¶
func (o *PostMonitorsParams) SetDefaults()
SetDefaults hydrates default values in the post monitors params (not the query body).
All values with no default are reset to their zero value.
func (*PostMonitorsParams) SetHTTPClient ¶
func (o *PostMonitorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post monitors params
func (*PostMonitorsParams) SetMonitor ¶
func (o *PostMonitorsParams) SetMonitor(monitor PostMonitorsBody)
SetMonitor adds the monitor to the post monitors params
func (*PostMonitorsParams) SetTimeout ¶
func (o *PostMonitorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post monitors params
func (*PostMonitorsParams) WithContext ¶
func (o *PostMonitorsParams) WithContext(ctx context.Context) *PostMonitorsParams
WithContext adds the context to the post monitors params
func (*PostMonitorsParams) WithDefaults ¶
func (o *PostMonitorsParams) WithDefaults() *PostMonitorsParams
WithDefaults hydrates default values in the post monitors params (not the query body).
All values with no default are reset to their zero value.
func (*PostMonitorsParams) WithHTTPClient ¶
func (o *PostMonitorsParams) WithHTTPClient(client *http.Client) *PostMonitorsParams
WithHTTPClient adds the HTTPClient to the post monitors params
func (*PostMonitorsParams) WithMonitor ¶
func (o *PostMonitorsParams) WithMonitor(monitor PostMonitorsBody) *PostMonitorsParams
WithMonitor adds the monitor to the post monitors params
func (*PostMonitorsParams) WithTimeout ¶
func (o *PostMonitorsParams) WithTimeout(timeout time.Duration) *PostMonitorsParams
WithTimeout adds the timeout to the post monitors params
func (*PostMonitorsParams) WriteToRequest ¶
func (o *PostMonitorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostMonitorsReader ¶
type PostMonitorsReader struct {
// contains filtered or unexported fields
}
PostMonitorsReader is a Reader for the PostMonitors structure.
func (*PostMonitorsReader) ReadResponse ¶
func (o *PostMonitorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutMonitorsMonitorIDAccepted ¶
type PutMonitorsMonitorIDAccepted struct {
Payload *PutMonitorsMonitorIDAcceptedBody
}
PutMonitorsMonitorIDAccepted describes a response with status code 202, with default header values.
Updated monitor.
func NewPutMonitorsMonitorIDAccepted ¶
func NewPutMonitorsMonitorIDAccepted() *PutMonitorsMonitorIDAccepted
NewPutMonitorsMonitorIDAccepted creates a PutMonitorsMonitorIDAccepted with default headers values
func (*PutMonitorsMonitorIDAccepted) Code ¶
func (o *PutMonitorsMonitorIDAccepted) Code() int
Code gets the status code for the put monitors monitor Id accepted response
func (*PutMonitorsMonitorIDAccepted) Error ¶
func (o *PutMonitorsMonitorIDAccepted) Error() string
func (*PutMonitorsMonitorIDAccepted) GetPayload ¶
func (o *PutMonitorsMonitorIDAccepted) GetPayload() *PutMonitorsMonitorIDAcceptedBody
func (*PutMonitorsMonitorIDAccepted) IsClientError ¶
func (o *PutMonitorsMonitorIDAccepted) IsClientError() bool
IsClientError returns true when this put monitors monitor Id accepted response has a 4xx status code
func (*PutMonitorsMonitorIDAccepted) IsCode ¶
func (o *PutMonitorsMonitorIDAccepted) IsCode(code int) bool
IsCode returns true when this put monitors monitor Id accepted response a status code equal to that given
func (*PutMonitorsMonitorIDAccepted) IsRedirect ¶
func (o *PutMonitorsMonitorIDAccepted) IsRedirect() bool
IsRedirect returns true when this put monitors monitor Id accepted response has a 3xx status code
func (*PutMonitorsMonitorIDAccepted) IsServerError ¶
func (o *PutMonitorsMonitorIDAccepted) IsServerError() bool
IsServerError returns true when this put monitors monitor Id accepted response has a 5xx status code
func (*PutMonitorsMonitorIDAccepted) IsSuccess ¶
func (o *PutMonitorsMonitorIDAccepted) IsSuccess() bool
IsSuccess returns true when this put monitors monitor Id accepted response has a 2xx status code
func (*PutMonitorsMonitorIDAccepted) String ¶
func (o *PutMonitorsMonitorIDAccepted) String() string
type PutMonitorsMonitorIDAcceptedBody ¶
type PutMonitorsMonitorIDAcceptedBody struct {
// monitor
Monitor *models.Monitor `json:"monitor,omitempty"`
}
PutMonitorsMonitorIDAcceptedBody put monitors monitor ID accepted body swagger:model PutMonitorsMonitorIDAcceptedBody
func (*PutMonitorsMonitorIDAcceptedBody) ContextValidate ¶
func (o *PutMonitorsMonitorIDAcceptedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this put monitors monitor ID accepted body based on the context it is used
func (*PutMonitorsMonitorIDAcceptedBody) MarshalBinary ¶
func (o *PutMonitorsMonitorIDAcceptedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PutMonitorsMonitorIDAcceptedBody) UnmarshalBinary ¶
func (o *PutMonitorsMonitorIDAcceptedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PutMonitorsMonitorIDBadRequest ¶
PutMonitorsMonitorIDBadRequest describes a response with status code 400, with default header values.
Bad request
func NewPutMonitorsMonitorIDBadRequest ¶
func NewPutMonitorsMonitorIDBadRequest() *PutMonitorsMonitorIDBadRequest
NewPutMonitorsMonitorIDBadRequest creates a PutMonitorsMonitorIDBadRequest with default headers values
func (*PutMonitorsMonitorIDBadRequest) Code ¶
func (o *PutMonitorsMonitorIDBadRequest) Code() int
Code gets the status code for the put monitors monitor Id bad request response
func (*PutMonitorsMonitorIDBadRequest) Error ¶
func (o *PutMonitorsMonitorIDBadRequest) Error() string
func (*PutMonitorsMonitorIDBadRequest) GetPayload ¶
func (o *PutMonitorsMonitorIDBadRequest) GetPayload() *models.Error
func (*PutMonitorsMonitorIDBadRequest) IsClientError ¶
func (o *PutMonitorsMonitorIDBadRequest) IsClientError() bool
IsClientError returns true when this put monitors monitor Id bad request response has a 4xx status code
func (*PutMonitorsMonitorIDBadRequest) IsCode ¶
func (o *PutMonitorsMonitorIDBadRequest) IsCode(code int) bool
IsCode returns true when this put monitors monitor Id bad request response a status code equal to that given
func (*PutMonitorsMonitorIDBadRequest) IsRedirect ¶
func (o *PutMonitorsMonitorIDBadRequest) IsRedirect() bool
IsRedirect returns true when this put monitors monitor Id bad request response has a 3xx status code
func (*PutMonitorsMonitorIDBadRequest) IsServerError ¶
func (o *PutMonitorsMonitorIDBadRequest) IsServerError() bool
IsServerError returns true when this put monitors monitor Id bad request response has a 5xx status code
func (*PutMonitorsMonitorIDBadRequest) IsSuccess ¶
func (o *PutMonitorsMonitorIDBadRequest) IsSuccess() bool
IsSuccess returns true when this put monitors monitor Id bad request response has a 2xx status code
func (*PutMonitorsMonitorIDBadRequest) String ¶
func (o *PutMonitorsMonitorIDBadRequest) String() string
type PutMonitorsMonitorIDBody ¶
type PutMonitorsMonitorIDBody struct {
// monitor
// Required: true
Monitor *models.Monitor `json:"monitor"`
}
PutMonitorsMonitorIDBody put monitors monitor ID body swagger:model PutMonitorsMonitorIDBody
func (*PutMonitorsMonitorIDBody) ContextValidate ¶
func (o *PutMonitorsMonitorIDBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this put monitors monitor ID body based on the context it is used
func (*PutMonitorsMonitorIDBody) MarshalBinary ¶
func (o *PutMonitorsMonitorIDBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PutMonitorsMonitorIDBody) UnmarshalBinary ¶
func (o *PutMonitorsMonitorIDBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PutMonitorsMonitorIDDefault ¶
type PutMonitorsMonitorIDDefault struct {
Payload *models.Error
// contains filtered or unexported fields
}
PutMonitorsMonitorIDDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewPutMonitorsMonitorIDDefault ¶
func NewPutMonitorsMonitorIDDefault(code int) *PutMonitorsMonitorIDDefault
NewPutMonitorsMonitorIDDefault creates a PutMonitorsMonitorIDDefault with default headers values
func (*PutMonitorsMonitorIDDefault) Code ¶
func (o *PutMonitorsMonitorIDDefault) Code() int
Code gets the status code for the put monitors monitor ID default response
func (*PutMonitorsMonitorIDDefault) Error ¶
func (o *PutMonitorsMonitorIDDefault) Error() string
func (*PutMonitorsMonitorIDDefault) GetPayload ¶
func (o *PutMonitorsMonitorIDDefault) GetPayload() *models.Error
func (*PutMonitorsMonitorIDDefault) IsClientError ¶
func (o *PutMonitorsMonitorIDDefault) IsClientError() bool
IsClientError returns true when this put monitors monitor ID default response has a 4xx status code
func (*PutMonitorsMonitorIDDefault) IsCode ¶
func (o *PutMonitorsMonitorIDDefault) IsCode(code int) bool
IsCode returns true when this put monitors monitor ID default response a status code equal to that given
func (*PutMonitorsMonitorIDDefault) IsRedirect ¶
func (o *PutMonitorsMonitorIDDefault) IsRedirect() bool
IsRedirect returns true when this put monitors monitor ID default response has a 3xx status code
func (*PutMonitorsMonitorIDDefault) IsServerError ¶
func (o *PutMonitorsMonitorIDDefault) IsServerError() bool
IsServerError returns true when this put monitors monitor ID default response has a 5xx status code
func (*PutMonitorsMonitorIDDefault) IsSuccess ¶
func (o *PutMonitorsMonitorIDDefault) IsSuccess() bool
IsSuccess returns true when this put monitors monitor ID default response has a 2xx status code
func (*PutMonitorsMonitorIDDefault) String ¶
func (o *PutMonitorsMonitorIDDefault) String() string
type PutMonitorsMonitorIDNotFound ¶
PutMonitorsMonitorIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewPutMonitorsMonitorIDNotFound ¶
func NewPutMonitorsMonitorIDNotFound() *PutMonitorsMonitorIDNotFound
NewPutMonitorsMonitorIDNotFound creates a PutMonitorsMonitorIDNotFound with default headers values
func (*PutMonitorsMonitorIDNotFound) Code ¶
func (o *PutMonitorsMonitorIDNotFound) Code() int
Code gets the status code for the put monitors monitor Id not found response
func (*PutMonitorsMonitorIDNotFound) Error ¶
func (o *PutMonitorsMonitorIDNotFound) Error() string
func (*PutMonitorsMonitorIDNotFound) GetPayload ¶
func (o *PutMonitorsMonitorIDNotFound) GetPayload() *models.Error
func (*PutMonitorsMonitorIDNotFound) IsClientError ¶
func (o *PutMonitorsMonitorIDNotFound) IsClientError() bool
IsClientError returns true when this put monitors monitor Id not found response has a 4xx status code
func (*PutMonitorsMonitorIDNotFound) IsCode ¶
func (o *PutMonitorsMonitorIDNotFound) IsCode(code int) bool
IsCode returns true when this put monitors monitor Id not found response a status code equal to that given
func (*PutMonitorsMonitorIDNotFound) IsRedirect ¶
func (o *PutMonitorsMonitorIDNotFound) IsRedirect() bool
IsRedirect returns true when this put monitors monitor Id not found response has a 3xx status code
func (*PutMonitorsMonitorIDNotFound) IsServerError ¶
func (o *PutMonitorsMonitorIDNotFound) IsServerError() bool
IsServerError returns true when this put monitors monitor Id not found response has a 5xx status code
func (*PutMonitorsMonitorIDNotFound) IsSuccess ¶
func (o *PutMonitorsMonitorIDNotFound) IsSuccess() bool
IsSuccess returns true when this put monitors monitor Id not found response has a 2xx status code
func (*PutMonitorsMonitorIDNotFound) String ¶
func (o *PutMonitorsMonitorIDNotFound) String() string
type PutMonitorsMonitorIDParams ¶
type PutMonitorsMonitorIDParams struct {
// Monitor.
Monitor PutMonitorsMonitorIDBody
/* MonitorID.
The UUID of the monitor
Format: uuid
*/
MonitorID strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PutMonitorsMonitorIDParams contains all the parameters to send to the API endpoint
for the put monitors monitor ID operation. Typically these are written to a http.Request.
func NewPutMonitorsMonitorIDParams ¶
func NewPutMonitorsMonitorIDParams() *PutMonitorsMonitorIDParams
NewPutMonitorsMonitorIDParams creates a new PutMonitorsMonitorIDParams 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 NewPutMonitorsMonitorIDParamsWithContext ¶
func NewPutMonitorsMonitorIDParamsWithContext(ctx context.Context) *PutMonitorsMonitorIDParams
NewPutMonitorsMonitorIDParamsWithContext creates a new PutMonitorsMonitorIDParams object with the ability to set a context for a request.
func NewPutMonitorsMonitorIDParamsWithHTTPClient ¶
func NewPutMonitorsMonitorIDParamsWithHTTPClient(client *http.Client) *PutMonitorsMonitorIDParams
NewPutMonitorsMonitorIDParamsWithHTTPClient creates a new PutMonitorsMonitorIDParams object with the ability to set a custom HTTPClient for a request.
func NewPutMonitorsMonitorIDParamsWithTimeout ¶
func NewPutMonitorsMonitorIDParamsWithTimeout(timeout time.Duration) *PutMonitorsMonitorIDParams
NewPutMonitorsMonitorIDParamsWithTimeout creates a new PutMonitorsMonitorIDParams object with the ability to set a timeout on a request.
func (*PutMonitorsMonitorIDParams) SetContext ¶
func (o *PutMonitorsMonitorIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put monitors monitor ID params
func (*PutMonitorsMonitorIDParams) SetDefaults ¶
func (o *PutMonitorsMonitorIDParams) SetDefaults()
SetDefaults hydrates default values in the put monitors monitor ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutMonitorsMonitorIDParams) SetHTTPClient ¶
func (o *PutMonitorsMonitorIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put monitors monitor ID params
func (*PutMonitorsMonitorIDParams) SetMonitor ¶
func (o *PutMonitorsMonitorIDParams) SetMonitor(monitor PutMonitorsMonitorIDBody)
SetMonitor adds the monitor to the put monitors monitor ID params
func (*PutMonitorsMonitorIDParams) SetMonitorID ¶
func (o *PutMonitorsMonitorIDParams) SetMonitorID(monitorID strfmt.UUID)
SetMonitorID adds the monitorId to the put monitors monitor ID params
func (*PutMonitorsMonitorIDParams) SetTimeout ¶
func (o *PutMonitorsMonitorIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put monitors monitor ID params
func (*PutMonitorsMonitorIDParams) WithContext ¶
func (o *PutMonitorsMonitorIDParams) WithContext(ctx context.Context) *PutMonitorsMonitorIDParams
WithContext adds the context to the put monitors monitor ID params
func (*PutMonitorsMonitorIDParams) WithDefaults ¶
func (o *PutMonitorsMonitorIDParams) WithDefaults() *PutMonitorsMonitorIDParams
WithDefaults hydrates default values in the put monitors monitor ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutMonitorsMonitorIDParams) WithHTTPClient ¶
func (o *PutMonitorsMonitorIDParams) WithHTTPClient(client *http.Client) *PutMonitorsMonitorIDParams
WithHTTPClient adds the HTTPClient to the put monitors monitor ID params
func (*PutMonitorsMonitorIDParams) WithMonitor ¶
func (o *PutMonitorsMonitorIDParams) WithMonitor(monitor PutMonitorsMonitorIDBody) *PutMonitorsMonitorIDParams
WithMonitor adds the monitor to the put monitors monitor ID params
func (*PutMonitorsMonitorIDParams) WithMonitorID ¶
func (o *PutMonitorsMonitorIDParams) WithMonitorID(monitorID strfmt.UUID) *PutMonitorsMonitorIDParams
WithMonitorID adds the monitorID to the put monitors monitor ID params
func (*PutMonitorsMonitorIDParams) WithTimeout ¶
func (o *PutMonitorsMonitorIDParams) WithTimeout(timeout time.Duration) *PutMonitorsMonitorIDParams
WithTimeout adds the timeout to the put monitors monitor ID params
func (*PutMonitorsMonitorIDParams) WriteToRequest ¶
func (o *PutMonitorsMonitorIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutMonitorsMonitorIDReader ¶
type PutMonitorsMonitorIDReader struct {
// contains filtered or unexported fields
}
PutMonitorsMonitorIDReader is a Reader for the PutMonitorsMonitorID structure.
func (*PutMonitorsMonitorIDReader) ReadResponse ¶
func (o *PutMonitorsMonitorIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- delete_monitors_monitor_id_parameters.go
- delete_monitors_monitor_id_responses.go
- get_monitors_monitor_id_parameters.go
- get_monitors_monitor_id_responses.go
- get_monitors_parameters.go
- get_monitors_responses.go
- monitors_client.go
- post_monitors_parameters.go
- post_monitors_responses.go
- put_monitors_monitor_id_parameters.go
- put_monitors_monitor_id_responses.go