Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateAlertDefinition(params *CreateAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAlertDefinitionCreated, error)
- func (a *Client) DeleteAlertDefinition(params *DeleteAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAlertDefinitionOK, error)
- func (a *Client) ListAlertDefinition(params *ListAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*ListAlertDefinitionOK, error)
- func (a *Client) MultiDeleteAlertDefinition(params *MultiDeleteAlertDefinitionParams, ...) (*MultiDeleteAlertDefinitionOK, error)
- func (a *Client) ReadAlertDefinition(params *ReadAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*ReadAlertDefinitionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateAlertDefinition(params *UpdateAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAlertDefinitionOK, error)
- type ClientService
- type CreateAlertDefinitionBadRequest
- type CreateAlertDefinitionConflict
- type CreateAlertDefinitionCreated
- type CreateAlertDefinitionForbidden
- type CreateAlertDefinitionInternalServerError
- type CreateAlertDefinitionNotFound
- type CreateAlertDefinitionParams
- func NewCreateAlertDefinitionParams() *CreateAlertDefinitionParams
- func NewCreateAlertDefinitionParamsWithContext(ctx context.Context) *CreateAlertDefinitionParams
- func NewCreateAlertDefinitionParamsWithHTTPClient(client *http.Client) *CreateAlertDefinitionParams
- func NewCreateAlertDefinitionParamsWithTimeout(timeout time.Duration) *CreateAlertDefinitionParams
- func (o *CreateAlertDefinitionParams) SetContext(ctx context.Context)
- func (o *CreateAlertDefinitionParams) SetHTTPClient(client *http.Client)
- func (o *CreateAlertDefinitionParams) SetResource(resource *models.AlertDefinitionDto)
- func (o *CreateAlertDefinitionParams) SetTimeout(timeout time.Duration)
- func (o *CreateAlertDefinitionParams) WithContext(ctx context.Context) *CreateAlertDefinitionParams
- func (o *CreateAlertDefinitionParams) WithHTTPClient(client *http.Client) *CreateAlertDefinitionParams
- func (o *CreateAlertDefinitionParams) WithResource(resource *models.AlertDefinitionDto) *CreateAlertDefinitionParams
- func (o *CreateAlertDefinitionParams) WithTimeout(timeout time.Duration) *CreateAlertDefinitionParams
- func (o *CreateAlertDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAlertDefinitionReader
- type CreateAlertDefinitionUnauthorized
- type DeleteAlertDefinitionBadRequest
- type DeleteAlertDefinitionConflict
- type DeleteAlertDefinitionForbidden
- type DeleteAlertDefinitionInternalServerError
- type DeleteAlertDefinitionNotFound
- type DeleteAlertDefinitionOK
- type DeleteAlertDefinitionParams
- func NewDeleteAlertDefinitionParams() *DeleteAlertDefinitionParams
- func NewDeleteAlertDefinitionParamsWithContext(ctx context.Context) *DeleteAlertDefinitionParams
- func NewDeleteAlertDefinitionParamsWithHTTPClient(client *http.Client) *DeleteAlertDefinitionParams
- func NewDeleteAlertDefinitionParamsWithTimeout(timeout time.Duration) *DeleteAlertDefinitionParams
- func (o *DeleteAlertDefinitionParams) SetContext(ctx context.Context)
- func (o *DeleteAlertDefinitionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAlertDefinitionParams) SetID(id int64)
- func (o *DeleteAlertDefinitionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAlertDefinitionParams) WithContext(ctx context.Context) *DeleteAlertDefinitionParams
- func (o *DeleteAlertDefinitionParams) WithHTTPClient(client *http.Client) *DeleteAlertDefinitionParams
- func (o *DeleteAlertDefinitionParams) WithID(id int64) *DeleteAlertDefinitionParams
- func (o *DeleteAlertDefinitionParams) WithTimeout(timeout time.Duration) *DeleteAlertDefinitionParams
- func (o *DeleteAlertDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAlertDefinitionReader
- type DeleteAlertDefinitionUnauthorized
- type ListAlertDefinitionBadRequest
- type ListAlertDefinitionConflict
- type ListAlertDefinitionForbidden
- type ListAlertDefinitionInternalServerError
- type ListAlertDefinitionNotFound
- type ListAlertDefinitionOK
- type ListAlertDefinitionParams
- func NewListAlertDefinitionParams() *ListAlertDefinitionParams
- func NewListAlertDefinitionParamsWithContext(ctx context.Context) *ListAlertDefinitionParams
- func NewListAlertDefinitionParamsWithHTTPClient(client *http.Client) *ListAlertDefinitionParams
- func NewListAlertDefinitionParamsWithTimeout(timeout time.Duration) *ListAlertDefinitionParams
- func (o *ListAlertDefinitionParams) SetContext(ctx context.Context)
- func (o *ListAlertDefinitionParams) SetFields(fields *string)
- func (o *ListAlertDefinitionParams) SetHTTPClient(client *http.Client)
- func (o *ListAlertDefinitionParams) SetLimit(limit *int32)
- func (o *ListAlertDefinitionParams) SetOrderby(orderby *string)
- func (o *ListAlertDefinitionParams) SetQ(q *string)
- func (o *ListAlertDefinitionParams) SetStart(start *int32)
- func (o *ListAlertDefinitionParams) SetTimeout(timeout time.Duration)
- func (o *ListAlertDefinitionParams) WithContext(ctx context.Context) *ListAlertDefinitionParams
- func (o *ListAlertDefinitionParams) WithFields(fields *string) *ListAlertDefinitionParams
- func (o *ListAlertDefinitionParams) WithHTTPClient(client *http.Client) *ListAlertDefinitionParams
- func (o *ListAlertDefinitionParams) WithLimit(limit *int32) *ListAlertDefinitionParams
- func (o *ListAlertDefinitionParams) WithOrderby(orderby *string) *ListAlertDefinitionParams
- func (o *ListAlertDefinitionParams) WithQ(q *string) *ListAlertDefinitionParams
- func (o *ListAlertDefinitionParams) WithStart(start *int32) *ListAlertDefinitionParams
- func (o *ListAlertDefinitionParams) WithTimeout(timeout time.Duration) *ListAlertDefinitionParams
- func (o *ListAlertDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAlertDefinitionReader
- type ListAlertDefinitionUnauthorized
- type MultiDeleteAlertDefinitionBadRequest
- type MultiDeleteAlertDefinitionConflict
- type MultiDeleteAlertDefinitionForbidden
- type MultiDeleteAlertDefinitionInternalServerError
- type MultiDeleteAlertDefinitionNotFound
- type MultiDeleteAlertDefinitionOK
- type MultiDeleteAlertDefinitionParams
- func NewMultiDeleteAlertDefinitionParams() *MultiDeleteAlertDefinitionParams
- func NewMultiDeleteAlertDefinitionParamsWithContext(ctx context.Context) *MultiDeleteAlertDefinitionParams
- func NewMultiDeleteAlertDefinitionParamsWithHTTPClient(client *http.Client) *MultiDeleteAlertDefinitionParams
- func NewMultiDeleteAlertDefinitionParamsWithTimeout(timeout time.Duration) *MultiDeleteAlertDefinitionParams
- func (o *MultiDeleteAlertDefinitionParams) SetContext(ctx context.Context)
- func (o *MultiDeleteAlertDefinitionParams) SetHTTPClient(client *http.Client)
- func (o *MultiDeleteAlertDefinitionParams) SetIds(ids string)
- func (o *MultiDeleteAlertDefinitionParams) SetTimeout(timeout time.Duration)
- func (o *MultiDeleteAlertDefinitionParams) WithContext(ctx context.Context) *MultiDeleteAlertDefinitionParams
- func (o *MultiDeleteAlertDefinitionParams) WithHTTPClient(client *http.Client) *MultiDeleteAlertDefinitionParams
- func (o *MultiDeleteAlertDefinitionParams) WithIds(ids string) *MultiDeleteAlertDefinitionParams
- func (o *MultiDeleteAlertDefinitionParams) WithTimeout(timeout time.Duration) *MultiDeleteAlertDefinitionParams
- func (o *MultiDeleteAlertDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MultiDeleteAlertDefinitionReader
- type MultiDeleteAlertDefinitionUnauthorized
- type ReadAlertDefinitionBadRequest
- type ReadAlertDefinitionConflict
- type ReadAlertDefinitionForbidden
- type ReadAlertDefinitionInternalServerError
- type ReadAlertDefinitionNotFound
- type ReadAlertDefinitionOK
- type ReadAlertDefinitionParams
- func NewReadAlertDefinitionParams() *ReadAlertDefinitionParams
- func NewReadAlertDefinitionParamsWithContext(ctx context.Context) *ReadAlertDefinitionParams
- func NewReadAlertDefinitionParamsWithHTTPClient(client *http.Client) *ReadAlertDefinitionParams
- func NewReadAlertDefinitionParamsWithTimeout(timeout time.Duration) *ReadAlertDefinitionParams
- func (o *ReadAlertDefinitionParams) SetContext(ctx context.Context)
- func (o *ReadAlertDefinitionParams) SetFields(fields *string)
- func (o *ReadAlertDefinitionParams) SetHTTPClient(client *http.Client)
- func (o *ReadAlertDefinitionParams) SetID(id int64)
- func (o *ReadAlertDefinitionParams) SetTimeout(timeout time.Duration)
- func (o *ReadAlertDefinitionParams) WithContext(ctx context.Context) *ReadAlertDefinitionParams
- func (o *ReadAlertDefinitionParams) WithFields(fields *string) *ReadAlertDefinitionParams
- func (o *ReadAlertDefinitionParams) WithHTTPClient(client *http.Client) *ReadAlertDefinitionParams
- func (o *ReadAlertDefinitionParams) WithID(id int64) *ReadAlertDefinitionParams
- func (o *ReadAlertDefinitionParams) WithTimeout(timeout time.Duration) *ReadAlertDefinitionParams
- func (o *ReadAlertDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadAlertDefinitionReader
- type ReadAlertDefinitionUnauthorized
- type UpdateAlertDefinitionBadRequest
- type UpdateAlertDefinitionConflict
- type UpdateAlertDefinitionForbidden
- type UpdateAlertDefinitionInternalServerError
- type UpdateAlertDefinitionNotFound
- type UpdateAlertDefinitionOK
- type UpdateAlertDefinitionParams
- func NewUpdateAlertDefinitionParams() *UpdateAlertDefinitionParams
- func NewUpdateAlertDefinitionParamsWithContext(ctx context.Context) *UpdateAlertDefinitionParams
- func NewUpdateAlertDefinitionParamsWithHTTPClient(client *http.Client) *UpdateAlertDefinitionParams
- func NewUpdateAlertDefinitionParamsWithTimeout(timeout time.Duration) *UpdateAlertDefinitionParams
- func (o *UpdateAlertDefinitionParams) SetContext(ctx context.Context)
- func (o *UpdateAlertDefinitionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAlertDefinitionParams) SetID(id int64)
- func (o *UpdateAlertDefinitionParams) SetResource(resource *models.AlertDefinitionDto)
- func (o *UpdateAlertDefinitionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAlertDefinitionParams) WithContext(ctx context.Context) *UpdateAlertDefinitionParams
- func (o *UpdateAlertDefinitionParams) WithHTTPClient(client *http.Client) *UpdateAlertDefinitionParams
- func (o *UpdateAlertDefinitionParams) WithID(id int64) *UpdateAlertDefinitionParams
- func (o *UpdateAlertDefinitionParams) WithResource(resource *models.AlertDefinitionDto) *UpdateAlertDefinitionParams
- func (o *UpdateAlertDefinitionParams) WithTimeout(timeout time.Duration) *UpdateAlertDefinitionParams
- func (o *UpdateAlertDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAlertDefinitionReader
- type UpdateAlertDefinitionUnauthorized
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 alert definition controller API
func (*Client) CreateAlertDefinition ¶
func (a *Client) CreateAlertDefinition(params *CreateAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAlertDefinitionCreated, error)
CreateAlertDefinition creates
func (*Client) DeleteAlertDefinition ¶
func (a *Client) DeleteAlertDefinition(params *DeleteAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAlertDefinitionOK, error)
DeleteAlertDefinition deletes
func (*Client) ListAlertDefinition ¶
func (a *Client) ListAlertDefinition(params *ListAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*ListAlertDefinitionOK, error)
ListAlertDefinition lists
func (*Client) MultiDeleteAlertDefinition ¶
func (a *Client) MultiDeleteAlertDefinition(params *MultiDeleteAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*MultiDeleteAlertDefinitionOK, error)
MultiDeleteAlertDefinition multis delete
func (*Client) ReadAlertDefinition ¶
func (a *Client) ReadAlertDefinition(params *ReadAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*ReadAlertDefinitionOK, error)
ReadAlertDefinition reads
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateAlertDefinition ¶
func (a *Client) UpdateAlertDefinition(params *UpdateAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAlertDefinitionOK, error)
UpdateAlertDefinition updates
type ClientService ¶
type ClientService interface { CreateAlertDefinition(params *CreateAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAlertDefinitionCreated, error) DeleteAlertDefinition(params *DeleteAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAlertDefinitionOK, error) ListAlertDefinition(params *ListAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*ListAlertDefinitionOK, error) MultiDeleteAlertDefinition(params *MultiDeleteAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*MultiDeleteAlertDefinitionOK, error) ReadAlertDefinition(params *ReadAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*ReadAlertDefinitionOK, error) UpdateAlertDefinition(params *UpdateAlertDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAlertDefinitionOK, 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 alert definition controller API client.
type CreateAlertDefinitionBadRequest ¶
CreateAlertDefinitionBadRequest handles this case with default header values.
Bad Request
func NewCreateAlertDefinitionBadRequest ¶
func NewCreateAlertDefinitionBadRequest() *CreateAlertDefinitionBadRequest
NewCreateAlertDefinitionBadRequest creates a CreateAlertDefinitionBadRequest with default headers values
func (*CreateAlertDefinitionBadRequest) Error ¶
func (o *CreateAlertDefinitionBadRequest) Error() string
func (*CreateAlertDefinitionBadRequest) GetPayload ¶
func (o *CreateAlertDefinitionBadRequest) GetPayload() *models.APIResult
type CreateAlertDefinitionConflict ¶
CreateAlertDefinitionConflict handles this case with default header values.
Conflict
func NewCreateAlertDefinitionConflict ¶
func NewCreateAlertDefinitionConflict() *CreateAlertDefinitionConflict
NewCreateAlertDefinitionConflict creates a CreateAlertDefinitionConflict with default headers values
func (*CreateAlertDefinitionConflict) Error ¶
func (o *CreateAlertDefinitionConflict) Error() string
func (*CreateAlertDefinitionConflict) GetPayload ¶
func (o *CreateAlertDefinitionConflict) GetPayload() *models.APIResult
type CreateAlertDefinitionCreated ¶
type CreateAlertDefinitionCreated struct {
Payload *models.APIResultAlertDefinitionDto
}
CreateAlertDefinitionCreated handles this case with default header values.
Created
func NewCreateAlertDefinitionCreated ¶
func NewCreateAlertDefinitionCreated() *CreateAlertDefinitionCreated
NewCreateAlertDefinitionCreated creates a CreateAlertDefinitionCreated with default headers values
func (*CreateAlertDefinitionCreated) Error ¶
func (o *CreateAlertDefinitionCreated) Error() string
func (*CreateAlertDefinitionCreated) GetPayload ¶
func (o *CreateAlertDefinitionCreated) GetPayload() *models.APIResultAlertDefinitionDto
type CreateAlertDefinitionForbidden ¶
CreateAlertDefinitionForbidden handles this case with default header values.
Forbidden
func NewCreateAlertDefinitionForbidden ¶
func NewCreateAlertDefinitionForbidden() *CreateAlertDefinitionForbidden
NewCreateAlertDefinitionForbidden creates a CreateAlertDefinitionForbidden with default headers values
func (*CreateAlertDefinitionForbidden) Error ¶
func (o *CreateAlertDefinitionForbidden) Error() string
func (*CreateAlertDefinitionForbidden) GetPayload ¶
func (o *CreateAlertDefinitionForbidden) GetPayload() *models.APIResult
type CreateAlertDefinitionInternalServerError ¶
CreateAlertDefinitionInternalServerError handles this case with default header values.
Internal Server Error
func NewCreateAlertDefinitionInternalServerError ¶
func NewCreateAlertDefinitionInternalServerError() *CreateAlertDefinitionInternalServerError
NewCreateAlertDefinitionInternalServerError creates a CreateAlertDefinitionInternalServerError with default headers values
func (*CreateAlertDefinitionInternalServerError) Error ¶
func (o *CreateAlertDefinitionInternalServerError) Error() string
func (*CreateAlertDefinitionInternalServerError) GetPayload ¶
func (o *CreateAlertDefinitionInternalServerError) GetPayload() *models.APIResult
type CreateAlertDefinitionNotFound ¶
CreateAlertDefinitionNotFound handles this case with default header values.
Not Found
func NewCreateAlertDefinitionNotFound ¶
func NewCreateAlertDefinitionNotFound() *CreateAlertDefinitionNotFound
NewCreateAlertDefinitionNotFound creates a CreateAlertDefinitionNotFound with default headers values
func (*CreateAlertDefinitionNotFound) Error ¶
func (o *CreateAlertDefinitionNotFound) Error() string
func (*CreateAlertDefinitionNotFound) GetPayload ¶
func (o *CreateAlertDefinitionNotFound) GetPayload() *models.APIResult
type CreateAlertDefinitionParams ¶
type CreateAlertDefinitionParams struct { /*Resource resource */ Resource *models.AlertDefinitionDto Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateAlertDefinitionParams contains all the parameters to send to the API endpoint for the create alert definition operation typically these are written to a http.Request
func NewCreateAlertDefinitionParams ¶
func NewCreateAlertDefinitionParams() *CreateAlertDefinitionParams
NewCreateAlertDefinitionParams creates a new CreateAlertDefinitionParams object with the default values initialized.
func NewCreateAlertDefinitionParamsWithContext ¶
func NewCreateAlertDefinitionParamsWithContext(ctx context.Context) *CreateAlertDefinitionParams
NewCreateAlertDefinitionParamsWithContext creates a new CreateAlertDefinitionParams object with the default values initialized, and the ability to set a context for a request
func NewCreateAlertDefinitionParamsWithHTTPClient ¶
func NewCreateAlertDefinitionParamsWithHTTPClient(client *http.Client) *CreateAlertDefinitionParams
NewCreateAlertDefinitionParamsWithHTTPClient creates a new CreateAlertDefinitionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateAlertDefinitionParamsWithTimeout ¶
func NewCreateAlertDefinitionParamsWithTimeout(timeout time.Duration) *CreateAlertDefinitionParams
NewCreateAlertDefinitionParamsWithTimeout creates a new CreateAlertDefinitionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateAlertDefinitionParams) SetContext ¶
func (o *CreateAlertDefinitionParams) SetContext(ctx context.Context)
SetContext adds the context to the create alert definition params
func (*CreateAlertDefinitionParams) SetHTTPClient ¶
func (o *CreateAlertDefinitionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create alert definition params
func (*CreateAlertDefinitionParams) SetResource ¶
func (o *CreateAlertDefinitionParams) SetResource(resource *models.AlertDefinitionDto)
SetResource adds the resource to the create alert definition params
func (*CreateAlertDefinitionParams) SetTimeout ¶
func (o *CreateAlertDefinitionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create alert definition params
func (*CreateAlertDefinitionParams) WithContext ¶
func (o *CreateAlertDefinitionParams) WithContext(ctx context.Context) *CreateAlertDefinitionParams
WithContext adds the context to the create alert definition params
func (*CreateAlertDefinitionParams) WithHTTPClient ¶
func (o *CreateAlertDefinitionParams) WithHTTPClient(client *http.Client) *CreateAlertDefinitionParams
WithHTTPClient adds the HTTPClient to the create alert definition params
func (*CreateAlertDefinitionParams) WithResource ¶
func (o *CreateAlertDefinitionParams) WithResource(resource *models.AlertDefinitionDto) *CreateAlertDefinitionParams
WithResource adds the resource to the create alert definition params
func (*CreateAlertDefinitionParams) WithTimeout ¶
func (o *CreateAlertDefinitionParams) WithTimeout(timeout time.Duration) *CreateAlertDefinitionParams
WithTimeout adds the timeout to the create alert definition params
func (*CreateAlertDefinitionParams) WriteToRequest ¶
func (o *CreateAlertDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAlertDefinitionReader ¶
type CreateAlertDefinitionReader struct {
// contains filtered or unexported fields
}
CreateAlertDefinitionReader is a Reader for the CreateAlertDefinition structure.
func (*CreateAlertDefinitionReader) ReadResponse ¶
func (o *CreateAlertDefinitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateAlertDefinitionUnauthorized ¶
type CreateAlertDefinitionUnauthorized struct {
}CreateAlertDefinitionUnauthorized handles this case with default header values.
Unauthorized
func NewCreateAlertDefinitionUnauthorized ¶
func NewCreateAlertDefinitionUnauthorized() *CreateAlertDefinitionUnauthorized
NewCreateAlertDefinitionUnauthorized creates a CreateAlertDefinitionUnauthorized with default headers values
func (*CreateAlertDefinitionUnauthorized) Error ¶
func (o *CreateAlertDefinitionUnauthorized) Error() string
func (*CreateAlertDefinitionUnauthorized) GetPayload ¶
func (o *CreateAlertDefinitionUnauthorized) GetPayload() *models.APIResult
type DeleteAlertDefinitionBadRequest ¶
DeleteAlertDefinitionBadRequest handles this case with default header values.
Bad Request
func NewDeleteAlertDefinitionBadRequest ¶
func NewDeleteAlertDefinitionBadRequest() *DeleteAlertDefinitionBadRequest
NewDeleteAlertDefinitionBadRequest creates a DeleteAlertDefinitionBadRequest with default headers values
func (*DeleteAlertDefinitionBadRequest) Error ¶
func (o *DeleteAlertDefinitionBadRequest) Error() string
func (*DeleteAlertDefinitionBadRequest) GetPayload ¶
func (o *DeleteAlertDefinitionBadRequest) GetPayload() *models.APIResult
type DeleteAlertDefinitionConflict ¶
DeleteAlertDefinitionConflict handles this case with default header values.
Conflict
func NewDeleteAlertDefinitionConflict ¶
func NewDeleteAlertDefinitionConflict() *DeleteAlertDefinitionConflict
NewDeleteAlertDefinitionConflict creates a DeleteAlertDefinitionConflict with default headers values
func (*DeleteAlertDefinitionConflict) Error ¶
func (o *DeleteAlertDefinitionConflict) Error() string
func (*DeleteAlertDefinitionConflict) GetPayload ¶
func (o *DeleteAlertDefinitionConflict) GetPayload() *models.APIResult
type DeleteAlertDefinitionForbidden ¶
DeleteAlertDefinitionForbidden handles this case with default header values.
Forbidden
func NewDeleteAlertDefinitionForbidden ¶
func NewDeleteAlertDefinitionForbidden() *DeleteAlertDefinitionForbidden
NewDeleteAlertDefinitionForbidden creates a DeleteAlertDefinitionForbidden with default headers values
func (*DeleteAlertDefinitionForbidden) Error ¶
func (o *DeleteAlertDefinitionForbidden) Error() string
func (*DeleteAlertDefinitionForbidden) GetPayload ¶
func (o *DeleteAlertDefinitionForbidden) GetPayload() *models.APIResult
type DeleteAlertDefinitionInternalServerError ¶
DeleteAlertDefinitionInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteAlertDefinitionInternalServerError ¶
func NewDeleteAlertDefinitionInternalServerError() *DeleteAlertDefinitionInternalServerError
NewDeleteAlertDefinitionInternalServerError creates a DeleteAlertDefinitionInternalServerError with default headers values
func (*DeleteAlertDefinitionInternalServerError) Error ¶
func (o *DeleteAlertDefinitionInternalServerError) Error() string
func (*DeleteAlertDefinitionInternalServerError) GetPayload ¶
func (o *DeleteAlertDefinitionInternalServerError) GetPayload() *models.APIResult
type DeleteAlertDefinitionNotFound ¶
DeleteAlertDefinitionNotFound handles this case with default header values.
Not Found
func NewDeleteAlertDefinitionNotFound ¶
func NewDeleteAlertDefinitionNotFound() *DeleteAlertDefinitionNotFound
NewDeleteAlertDefinitionNotFound creates a DeleteAlertDefinitionNotFound with default headers values
func (*DeleteAlertDefinitionNotFound) Error ¶
func (o *DeleteAlertDefinitionNotFound) Error() string
func (*DeleteAlertDefinitionNotFound) GetPayload ¶
func (o *DeleteAlertDefinitionNotFound) GetPayload() *models.APIResult
type DeleteAlertDefinitionOK ¶
type DeleteAlertDefinitionOK struct {
Payload *models.APIResultVoid
}
DeleteAlertDefinitionOK handles this case with default header values.
OK
func NewDeleteAlertDefinitionOK ¶
func NewDeleteAlertDefinitionOK() *DeleteAlertDefinitionOK
NewDeleteAlertDefinitionOK creates a DeleteAlertDefinitionOK with default headers values
func (*DeleteAlertDefinitionOK) Error ¶
func (o *DeleteAlertDefinitionOK) Error() string
func (*DeleteAlertDefinitionOK) GetPayload ¶
func (o *DeleteAlertDefinitionOK) GetPayload() *models.APIResultVoid
type DeleteAlertDefinitionParams ¶
type DeleteAlertDefinitionParams struct { /*ID id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAlertDefinitionParams contains all the parameters to send to the API endpoint for the delete alert definition operation typically these are written to a http.Request
func NewDeleteAlertDefinitionParams ¶
func NewDeleteAlertDefinitionParams() *DeleteAlertDefinitionParams
NewDeleteAlertDefinitionParams creates a new DeleteAlertDefinitionParams object with the default values initialized.
func NewDeleteAlertDefinitionParamsWithContext ¶
func NewDeleteAlertDefinitionParamsWithContext(ctx context.Context) *DeleteAlertDefinitionParams
NewDeleteAlertDefinitionParamsWithContext creates a new DeleteAlertDefinitionParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAlertDefinitionParamsWithHTTPClient ¶
func NewDeleteAlertDefinitionParamsWithHTTPClient(client *http.Client) *DeleteAlertDefinitionParams
NewDeleteAlertDefinitionParamsWithHTTPClient creates a new DeleteAlertDefinitionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAlertDefinitionParamsWithTimeout ¶
func NewDeleteAlertDefinitionParamsWithTimeout(timeout time.Duration) *DeleteAlertDefinitionParams
NewDeleteAlertDefinitionParamsWithTimeout creates a new DeleteAlertDefinitionParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAlertDefinitionParams) SetContext ¶
func (o *DeleteAlertDefinitionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete alert definition params
func (*DeleteAlertDefinitionParams) SetHTTPClient ¶
func (o *DeleteAlertDefinitionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete alert definition params
func (*DeleteAlertDefinitionParams) SetID ¶
func (o *DeleteAlertDefinitionParams) SetID(id int64)
SetID adds the id to the delete alert definition params
func (*DeleteAlertDefinitionParams) SetTimeout ¶
func (o *DeleteAlertDefinitionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete alert definition params
func (*DeleteAlertDefinitionParams) WithContext ¶
func (o *DeleteAlertDefinitionParams) WithContext(ctx context.Context) *DeleteAlertDefinitionParams
WithContext adds the context to the delete alert definition params
func (*DeleteAlertDefinitionParams) WithHTTPClient ¶
func (o *DeleteAlertDefinitionParams) WithHTTPClient(client *http.Client) *DeleteAlertDefinitionParams
WithHTTPClient adds the HTTPClient to the delete alert definition params
func (*DeleteAlertDefinitionParams) WithID ¶
func (o *DeleteAlertDefinitionParams) WithID(id int64) *DeleteAlertDefinitionParams
WithID adds the id to the delete alert definition params
func (*DeleteAlertDefinitionParams) WithTimeout ¶
func (o *DeleteAlertDefinitionParams) WithTimeout(timeout time.Duration) *DeleteAlertDefinitionParams
WithTimeout adds the timeout to the delete alert definition params
func (*DeleteAlertDefinitionParams) WriteToRequest ¶
func (o *DeleteAlertDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAlertDefinitionReader ¶
type DeleteAlertDefinitionReader struct {
// contains filtered or unexported fields
}
DeleteAlertDefinitionReader is a Reader for the DeleteAlertDefinition structure.
func (*DeleteAlertDefinitionReader) ReadResponse ¶
func (o *DeleteAlertDefinitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAlertDefinitionUnauthorized ¶
type DeleteAlertDefinitionUnauthorized struct {
}DeleteAlertDefinitionUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteAlertDefinitionUnauthorized ¶
func NewDeleteAlertDefinitionUnauthorized() *DeleteAlertDefinitionUnauthorized
NewDeleteAlertDefinitionUnauthorized creates a DeleteAlertDefinitionUnauthorized with default headers values
func (*DeleteAlertDefinitionUnauthorized) Error ¶
func (o *DeleteAlertDefinitionUnauthorized) Error() string
func (*DeleteAlertDefinitionUnauthorized) GetPayload ¶
func (o *DeleteAlertDefinitionUnauthorized) GetPayload() *models.APIResult
type ListAlertDefinitionBadRequest ¶
ListAlertDefinitionBadRequest handles this case with default header values.
Bad Request
func NewListAlertDefinitionBadRequest ¶
func NewListAlertDefinitionBadRequest() *ListAlertDefinitionBadRequest
NewListAlertDefinitionBadRequest creates a ListAlertDefinitionBadRequest with default headers values
func (*ListAlertDefinitionBadRequest) Error ¶
func (o *ListAlertDefinitionBadRequest) Error() string
func (*ListAlertDefinitionBadRequest) GetPayload ¶
func (o *ListAlertDefinitionBadRequest) GetPayload() *models.APIResult
type ListAlertDefinitionConflict ¶
ListAlertDefinitionConflict handles this case with default header values.
Conflict
func NewListAlertDefinitionConflict ¶
func NewListAlertDefinitionConflict() *ListAlertDefinitionConflict
NewListAlertDefinitionConflict creates a ListAlertDefinitionConflict with default headers values
func (*ListAlertDefinitionConflict) Error ¶
func (o *ListAlertDefinitionConflict) Error() string
func (*ListAlertDefinitionConflict) GetPayload ¶
func (o *ListAlertDefinitionConflict) GetPayload() *models.APIResult
type ListAlertDefinitionForbidden ¶
ListAlertDefinitionForbidden handles this case with default header values.
Forbidden
func NewListAlertDefinitionForbidden ¶
func NewListAlertDefinitionForbidden() *ListAlertDefinitionForbidden
NewListAlertDefinitionForbidden creates a ListAlertDefinitionForbidden with default headers values
func (*ListAlertDefinitionForbidden) Error ¶
func (o *ListAlertDefinitionForbidden) Error() string
func (*ListAlertDefinitionForbidden) GetPayload ¶
func (o *ListAlertDefinitionForbidden) GetPayload() *models.APIResult
type ListAlertDefinitionInternalServerError ¶
ListAlertDefinitionInternalServerError handles this case with default header values.
Internal Server Error
func NewListAlertDefinitionInternalServerError ¶
func NewListAlertDefinitionInternalServerError() *ListAlertDefinitionInternalServerError
NewListAlertDefinitionInternalServerError creates a ListAlertDefinitionInternalServerError with default headers values
func (*ListAlertDefinitionInternalServerError) Error ¶
func (o *ListAlertDefinitionInternalServerError) Error() string
func (*ListAlertDefinitionInternalServerError) GetPayload ¶
func (o *ListAlertDefinitionInternalServerError) GetPayload() *models.APIResult
type ListAlertDefinitionNotFound ¶
ListAlertDefinitionNotFound handles this case with default header values.
Not Found
func NewListAlertDefinitionNotFound ¶
func NewListAlertDefinitionNotFound() *ListAlertDefinitionNotFound
NewListAlertDefinitionNotFound creates a ListAlertDefinitionNotFound with default headers values
func (*ListAlertDefinitionNotFound) Error ¶
func (o *ListAlertDefinitionNotFound) Error() string
func (*ListAlertDefinitionNotFound) GetPayload ¶
func (o *ListAlertDefinitionNotFound) GetPayload() *models.APIResult
type ListAlertDefinitionOK ¶
type ListAlertDefinitionOK struct {
Payload *models.APIResultListAlertDefinitionDto
}
ListAlertDefinitionOK handles this case with default header values.
OK
func NewListAlertDefinitionOK ¶
func NewListAlertDefinitionOK() *ListAlertDefinitionOK
NewListAlertDefinitionOK creates a ListAlertDefinitionOK with default headers values
func (*ListAlertDefinitionOK) Error ¶
func (o *ListAlertDefinitionOK) Error() string
func (*ListAlertDefinitionOK) GetPayload ¶
func (o *ListAlertDefinitionOK) GetPayload() *models.APIResultListAlertDefinitionDto
type ListAlertDefinitionParams ¶
type ListAlertDefinitionParams struct { /*Fields Output fields */ Fields *string /*Limit A maximum number of returned objects in listing, if '-1' or '0' no limit is applied */ Limit *int32 /*Orderby Fields to order by */ Orderby *string /*Q A search query */ Q *string /*Start A start offset in object listing */ Start *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAlertDefinitionParams contains all the parameters to send to the API endpoint for the list alert definition operation typically these are written to a http.Request
func NewListAlertDefinitionParams ¶
func NewListAlertDefinitionParams() *ListAlertDefinitionParams
NewListAlertDefinitionParams creates a new ListAlertDefinitionParams object with the default values initialized.
func NewListAlertDefinitionParamsWithContext ¶
func NewListAlertDefinitionParamsWithContext(ctx context.Context) *ListAlertDefinitionParams
NewListAlertDefinitionParamsWithContext creates a new ListAlertDefinitionParams object with the default values initialized, and the ability to set a context for a request
func NewListAlertDefinitionParamsWithHTTPClient ¶
func NewListAlertDefinitionParamsWithHTTPClient(client *http.Client) *ListAlertDefinitionParams
NewListAlertDefinitionParamsWithHTTPClient creates a new ListAlertDefinitionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListAlertDefinitionParamsWithTimeout ¶
func NewListAlertDefinitionParamsWithTimeout(timeout time.Duration) *ListAlertDefinitionParams
NewListAlertDefinitionParamsWithTimeout creates a new ListAlertDefinitionParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListAlertDefinitionParams) SetContext ¶
func (o *ListAlertDefinitionParams) SetContext(ctx context.Context)
SetContext adds the context to the list alert definition params
func (*ListAlertDefinitionParams) SetFields ¶
func (o *ListAlertDefinitionParams) SetFields(fields *string)
SetFields adds the fields to the list alert definition params
func (*ListAlertDefinitionParams) SetHTTPClient ¶
func (o *ListAlertDefinitionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list alert definition params
func (*ListAlertDefinitionParams) SetLimit ¶
func (o *ListAlertDefinitionParams) SetLimit(limit *int32)
SetLimit adds the limit to the list alert definition params
func (*ListAlertDefinitionParams) SetOrderby ¶
func (o *ListAlertDefinitionParams) SetOrderby(orderby *string)
SetOrderby adds the orderby to the list alert definition params
func (*ListAlertDefinitionParams) SetQ ¶
func (o *ListAlertDefinitionParams) SetQ(q *string)
SetQ adds the q to the list alert definition params
func (*ListAlertDefinitionParams) SetStart ¶
func (o *ListAlertDefinitionParams) SetStart(start *int32)
SetStart adds the start to the list alert definition params
func (*ListAlertDefinitionParams) SetTimeout ¶
func (o *ListAlertDefinitionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list alert definition params
func (*ListAlertDefinitionParams) WithContext ¶
func (o *ListAlertDefinitionParams) WithContext(ctx context.Context) *ListAlertDefinitionParams
WithContext adds the context to the list alert definition params
func (*ListAlertDefinitionParams) WithFields ¶
func (o *ListAlertDefinitionParams) WithFields(fields *string) *ListAlertDefinitionParams
WithFields adds the fields to the list alert definition params
func (*ListAlertDefinitionParams) WithHTTPClient ¶
func (o *ListAlertDefinitionParams) WithHTTPClient(client *http.Client) *ListAlertDefinitionParams
WithHTTPClient adds the HTTPClient to the list alert definition params
func (*ListAlertDefinitionParams) WithLimit ¶
func (o *ListAlertDefinitionParams) WithLimit(limit *int32) *ListAlertDefinitionParams
WithLimit adds the limit to the list alert definition params
func (*ListAlertDefinitionParams) WithOrderby ¶
func (o *ListAlertDefinitionParams) WithOrderby(orderby *string) *ListAlertDefinitionParams
WithOrderby adds the orderby to the list alert definition params
func (*ListAlertDefinitionParams) WithQ ¶
func (o *ListAlertDefinitionParams) WithQ(q *string) *ListAlertDefinitionParams
WithQ adds the q to the list alert definition params
func (*ListAlertDefinitionParams) WithStart ¶
func (o *ListAlertDefinitionParams) WithStart(start *int32) *ListAlertDefinitionParams
WithStart adds the start to the list alert definition params
func (*ListAlertDefinitionParams) WithTimeout ¶
func (o *ListAlertDefinitionParams) WithTimeout(timeout time.Duration) *ListAlertDefinitionParams
WithTimeout adds the timeout to the list alert definition params
func (*ListAlertDefinitionParams) WriteToRequest ¶
func (o *ListAlertDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAlertDefinitionReader ¶
type ListAlertDefinitionReader struct {
// contains filtered or unexported fields
}
ListAlertDefinitionReader is a Reader for the ListAlertDefinition structure.
func (*ListAlertDefinitionReader) ReadResponse ¶
func (o *ListAlertDefinitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAlertDefinitionUnauthorized ¶
type ListAlertDefinitionUnauthorized struct {
}ListAlertDefinitionUnauthorized handles this case with default header values.
Unauthorized
func NewListAlertDefinitionUnauthorized ¶
func NewListAlertDefinitionUnauthorized() *ListAlertDefinitionUnauthorized
NewListAlertDefinitionUnauthorized creates a ListAlertDefinitionUnauthorized with default headers values
func (*ListAlertDefinitionUnauthorized) Error ¶
func (o *ListAlertDefinitionUnauthorized) Error() string
func (*ListAlertDefinitionUnauthorized) GetPayload ¶
func (o *ListAlertDefinitionUnauthorized) GetPayload() *models.APIResult
type MultiDeleteAlertDefinitionBadRequest ¶
MultiDeleteAlertDefinitionBadRequest handles this case with default header values.
Bad Request
func NewMultiDeleteAlertDefinitionBadRequest ¶
func NewMultiDeleteAlertDefinitionBadRequest() *MultiDeleteAlertDefinitionBadRequest
NewMultiDeleteAlertDefinitionBadRequest creates a MultiDeleteAlertDefinitionBadRequest with default headers values
func (*MultiDeleteAlertDefinitionBadRequest) Error ¶
func (o *MultiDeleteAlertDefinitionBadRequest) Error() string
func (*MultiDeleteAlertDefinitionBadRequest) GetPayload ¶
func (o *MultiDeleteAlertDefinitionBadRequest) GetPayload() *models.APIResult
type MultiDeleteAlertDefinitionConflict ¶
MultiDeleteAlertDefinitionConflict handles this case with default header values.
Conflict
func NewMultiDeleteAlertDefinitionConflict ¶
func NewMultiDeleteAlertDefinitionConflict() *MultiDeleteAlertDefinitionConflict
NewMultiDeleteAlertDefinitionConflict creates a MultiDeleteAlertDefinitionConflict with default headers values
func (*MultiDeleteAlertDefinitionConflict) Error ¶
func (o *MultiDeleteAlertDefinitionConflict) Error() string
func (*MultiDeleteAlertDefinitionConflict) GetPayload ¶
func (o *MultiDeleteAlertDefinitionConflict) GetPayload() *models.APIResult
type MultiDeleteAlertDefinitionForbidden ¶
MultiDeleteAlertDefinitionForbidden handles this case with default header values.
Forbidden
func NewMultiDeleteAlertDefinitionForbidden ¶
func NewMultiDeleteAlertDefinitionForbidden() *MultiDeleteAlertDefinitionForbidden
NewMultiDeleteAlertDefinitionForbidden creates a MultiDeleteAlertDefinitionForbidden with default headers values
func (*MultiDeleteAlertDefinitionForbidden) Error ¶
func (o *MultiDeleteAlertDefinitionForbidden) Error() string
func (*MultiDeleteAlertDefinitionForbidden) GetPayload ¶
func (o *MultiDeleteAlertDefinitionForbidden) GetPayload() *models.APIResult
type MultiDeleteAlertDefinitionInternalServerError ¶
MultiDeleteAlertDefinitionInternalServerError handles this case with default header values.
Internal Server Error
func NewMultiDeleteAlertDefinitionInternalServerError ¶
func NewMultiDeleteAlertDefinitionInternalServerError() *MultiDeleteAlertDefinitionInternalServerError
NewMultiDeleteAlertDefinitionInternalServerError creates a MultiDeleteAlertDefinitionInternalServerError with default headers values
func (*MultiDeleteAlertDefinitionInternalServerError) Error ¶
func (o *MultiDeleteAlertDefinitionInternalServerError) Error() string
func (*MultiDeleteAlertDefinitionInternalServerError) GetPayload ¶
func (o *MultiDeleteAlertDefinitionInternalServerError) GetPayload() *models.APIResult
type MultiDeleteAlertDefinitionNotFound ¶
MultiDeleteAlertDefinitionNotFound handles this case with default header values.
Not Found
func NewMultiDeleteAlertDefinitionNotFound ¶
func NewMultiDeleteAlertDefinitionNotFound() *MultiDeleteAlertDefinitionNotFound
NewMultiDeleteAlertDefinitionNotFound creates a MultiDeleteAlertDefinitionNotFound with default headers values
func (*MultiDeleteAlertDefinitionNotFound) Error ¶
func (o *MultiDeleteAlertDefinitionNotFound) Error() string
func (*MultiDeleteAlertDefinitionNotFound) GetPayload ¶
func (o *MultiDeleteAlertDefinitionNotFound) GetPayload() *models.APIResult
type MultiDeleteAlertDefinitionOK ¶
type MultiDeleteAlertDefinitionOK struct {
Payload *models.APIResultVoid
}
MultiDeleteAlertDefinitionOK handles this case with default header values.
OK
func NewMultiDeleteAlertDefinitionOK ¶
func NewMultiDeleteAlertDefinitionOK() *MultiDeleteAlertDefinitionOK
NewMultiDeleteAlertDefinitionOK creates a MultiDeleteAlertDefinitionOK with default headers values
func (*MultiDeleteAlertDefinitionOK) Error ¶
func (o *MultiDeleteAlertDefinitionOK) Error() string
func (*MultiDeleteAlertDefinitionOK) GetPayload ¶
func (o *MultiDeleteAlertDefinitionOK) GetPayload() *models.APIResultVoid
type MultiDeleteAlertDefinitionParams ¶
type MultiDeleteAlertDefinitionParams struct { /*Ids A comma-separated list of resource identifiers */ Ids string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MultiDeleteAlertDefinitionParams contains all the parameters to send to the API endpoint for the multi delete alert definition operation typically these are written to a http.Request
func NewMultiDeleteAlertDefinitionParams ¶
func NewMultiDeleteAlertDefinitionParams() *MultiDeleteAlertDefinitionParams
NewMultiDeleteAlertDefinitionParams creates a new MultiDeleteAlertDefinitionParams object with the default values initialized.
func NewMultiDeleteAlertDefinitionParamsWithContext ¶
func NewMultiDeleteAlertDefinitionParamsWithContext(ctx context.Context) *MultiDeleteAlertDefinitionParams
NewMultiDeleteAlertDefinitionParamsWithContext creates a new MultiDeleteAlertDefinitionParams object with the default values initialized, and the ability to set a context for a request
func NewMultiDeleteAlertDefinitionParamsWithHTTPClient ¶
func NewMultiDeleteAlertDefinitionParamsWithHTTPClient(client *http.Client) *MultiDeleteAlertDefinitionParams
NewMultiDeleteAlertDefinitionParamsWithHTTPClient creates a new MultiDeleteAlertDefinitionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewMultiDeleteAlertDefinitionParamsWithTimeout ¶
func NewMultiDeleteAlertDefinitionParamsWithTimeout(timeout time.Duration) *MultiDeleteAlertDefinitionParams
NewMultiDeleteAlertDefinitionParamsWithTimeout creates a new MultiDeleteAlertDefinitionParams object with the default values initialized, and the ability to set a timeout on a request
func (*MultiDeleteAlertDefinitionParams) SetContext ¶
func (o *MultiDeleteAlertDefinitionParams) SetContext(ctx context.Context)
SetContext adds the context to the multi delete alert definition params
func (*MultiDeleteAlertDefinitionParams) SetHTTPClient ¶
func (o *MultiDeleteAlertDefinitionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the multi delete alert definition params
func (*MultiDeleteAlertDefinitionParams) SetIds ¶
func (o *MultiDeleteAlertDefinitionParams) SetIds(ids string)
SetIds adds the ids to the multi delete alert definition params
func (*MultiDeleteAlertDefinitionParams) SetTimeout ¶
func (o *MultiDeleteAlertDefinitionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the multi delete alert definition params
func (*MultiDeleteAlertDefinitionParams) WithContext ¶
func (o *MultiDeleteAlertDefinitionParams) WithContext(ctx context.Context) *MultiDeleteAlertDefinitionParams
WithContext adds the context to the multi delete alert definition params
func (*MultiDeleteAlertDefinitionParams) WithHTTPClient ¶
func (o *MultiDeleteAlertDefinitionParams) WithHTTPClient(client *http.Client) *MultiDeleteAlertDefinitionParams
WithHTTPClient adds the HTTPClient to the multi delete alert definition params
func (*MultiDeleteAlertDefinitionParams) WithIds ¶
func (o *MultiDeleteAlertDefinitionParams) WithIds(ids string) *MultiDeleteAlertDefinitionParams
WithIds adds the ids to the multi delete alert definition params
func (*MultiDeleteAlertDefinitionParams) WithTimeout ¶
func (o *MultiDeleteAlertDefinitionParams) WithTimeout(timeout time.Duration) *MultiDeleteAlertDefinitionParams
WithTimeout adds the timeout to the multi delete alert definition params
func (*MultiDeleteAlertDefinitionParams) WriteToRequest ¶
func (o *MultiDeleteAlertDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MultiDeleteAlertDefinitionReader ¶
type MultiDeleteAlertDefinitionReader struct {
// contains filtered or unexported fields
}
MultiDeleteAlertDefinitionReader is a Reader for the MultiDeleteAlertDefinition structure.
func (*MultiDeleteAlertDefinitionReader) ReadResponse ¶
func (o *MultiDeleteAlertDefinitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MultiDeleteAlertDefinitionUnauthorized ¶
type MultiDeleteAlertDefinitionUnauthorized struct {
}MultiDeleteAlertDefinitionUnauthorized handles this case with default header values.
Unauthorized
func NewMultiDeleteAlertDefinitionUnauthorized ¶
func NewMultiDeleteAlertDefinitionUnauthorized() *MultiDeleteAlertDefinitionUnauthorized
NewMultiDeleteAlertDefinitionUnauthorized creates a MultiDeleteAlertDefinitionUnauthorized with default headers values
func (*MultiDeleteAlertDefinitionUnauthorized) Error ¶
func (o *MultiDeleteAlertDefinitionUnauthorized) Error() string
func (*MultiDeleteAlertDefinitionUnauthorized) GetPayload ¶
func (o *MultiDeleteAlertDefinitionUnauthorized) GetPayload() *models.APIResult
type ReadAlertDefinitionBadRequest ¶
ReadAlertDefinitionBadRequest handles this case with default header values.
Bad Request
func NewReadAlertDefinitionBadRequest ¶
func NewReadAlertDefinitionBadRequest() *ReadAlertDefinitionBadRequest
NewReadAlertDefinitionBadRequest creates a ReadAlertDefinitionBadRequest with default headers values
func (*ReadAlertDefinitionBadRequest) Error ¶
func (o *ReadAlertDefinitionBadRequest) Error() string
func (*ReadAlertDefinitionBadRequest) GetPayload ¶
func (o *ReadAlertDefinitionBadRequest) GetPayload() *models.APIResult
type ReadAlertDefinitionConflict ¶
ReadAlertDefinitionConflict handles this case with default header values.
Conflict
func NewReadAlertDefinitionConflict ¶
func NewReadAlertDefinitionConflict() *ReadAlertDefinitionConflict
NewReadAlertDefinitionConflict creates a ReadAlertDefinitionConflict with default headers values
func (*ReadAlertDefinitionConflict) Error ¶
func (o *ReadAlertDefinitionConflict) Error() string
func (*ReadAlertDefinitionConflict) GetPayload ¶
func (o *ReadAlertDefinitionConflict) GetPayload() *models.APIResult
type ReadAlertDefinitionForbidden ¶
ReadAlertDefinitionForbidden handles this case with default header values.
Forbidden
func NewReadAlertDefinitionForbidden ¶
func NewReadAlertDefinitionForbidden() *ReadAlertDefinitionForbidden
NewReadAlertDefinitionForbidden creates a ReadAlertDefinitionForbidden with default headers values
func (*ReadAlertDefinitionForbidden) Error ¶
func (o *ReadAlertDefinitionForbidden) Error() string
func (*ReadAlertDefinitionForbidden) GetPayload ¶
func (o *ReadAlertDefinitionForbidden) GetPayload() *models.APIResult
type ReadAlertDefinitionInternalServerError ¶
ReadAlertDefinitionInternalServerError handles this case with default header values.
Internal Server Error
func NewReadAlertDefinitionInternalServerError ¶
func NewReadAlertDefinitionInternalServerError() *ReadAlertDefinitionInternalServerError
NewReadAlertDefinitionInternalServerError creates a ReadAlertDefinitionInternalServerError with default headers values
func (*ReadAlertDefinitionInternalServerError) Error ¶
func (o *ReadAlertDefinitionInternalServerError) Error() string
func (*ReadAlertDefinitionInternalServerError) GetPayload ¶
func (o *ReadAlertDefinitionInternalServerError) GetPayload() *models.APIResult
type ReadAlertDefinitionNotFound ¶
ReadAlertDefinitionNotFound handles this case with default header values.
Not Found
func NewReadAlertDefinitionNotFound ¶
func NewReadAlertDefinitionNotFound() *ReadAlertDefinitionNotFound
NewReadAlertDefinitionNotFound creates a ReadAlertDefinitionNotFound with default headers values
func (*ReadAlertDefinitionNotFound) Error ¶
func (o *ReadAlertDefinitionNotFound) Error() string
func (*ReadAlertDefinitionNotFound) GetPayload ¶
func (o *ReadAlertDefinitionNotFound) GetPayload() *models.APIResult
type ReadAlertDefinitionOK ¶
type ReadAlertDefinitionOK struct {
Payload *models.APIResultAlertDefinitionDto
}
ReadAlertDefinitionOK handles this case with default header values.
OK
func NewReadAlertDefinitionOK ¶
func NewReadAlertDefinitionOK() *ReadAlertDefinitionOK
NewReadAlertDefinitionOK creates a ReadAlertDefinitionOK with default headers values
func (*ReadAlertDefinitionOK) Error ¶
func (o *ReadAlertDefinitionOK) Error() string
func (*ReadAlertDefinitionOK) GetPayload ¶
func (o *ReadAlertDefinitionOK) GetPayload() *models.APIResultAlertDefinitionDto
type ReadAlertDefinitionParams ¶
type ReadAlertDefinitionParams struct { /*Fields Output fields */ Fields *string /*ID id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadAlertDefinitionParams contains all the parameters to send to the API endpoint for the read alert definition operation typically these are written to a http.Request
func NewReadAlertDefinitionParams ¶
func NewReadAlertDefinitionParams() *ReadAlertDefinitionParams
NewReadAlertDefinitionParams creates a new ReadAlertDefinitionParams object with the default values initialized.
func NewReadAlertDefinitionParamsWithContext ¶
func NewReadAlertDefinitionParamsWithContext(ctx context.Context) *ReadAlertDefinitionParams
NewReadAlertDefinitionParamsWithContext creates a new ReadAlertDefinitionParams object with the default values initialized, and the ability to set a context for a request
func NewReadAlertDefinitionParamsWithHTTPClient ¶
func NewReadAlertDefinitionParamsWithHTTPClient(client *http.Client) *ReadAlertDefinitionParams
NewReadAlertDefinitionParamsWithHTTPClient creates a new ReadAlertDefinitionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReadAlertDefinitionParamsWithTimeout ¶
func NewReadAlertDefinitionParamsWithTimeout(timeout time.Duration) *ReadAlertDefinitionParams
NewReadAlertDefinitionParamsWithTimeout creates a new ReadAlertDefinitionParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReadAlertDefinitionParams) SetContext ¶
func (o *ReadAlertDefinitionParams) SetContext(ctx context.Context)
SetContext adds the context to the read alert definition params
func (*ReadAlertDefinitionParams) SetFields ¶
func (o *ReadAlertDefinitionParams) SetFields(fields *string)
SetFields adds the fields to the read alert definition params
func (*ReadAlertDefinitionParams) SetHTTPClient ¶
func (o *ReadAlertDefinitionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read alert definition params
func (*ReadAlertDefinitionParams) SetID ¶
func (o *ReadAlertDefinitionParams) SetID(id int64)
SetID adds the id to the read alert definition params
func (*ReadAlertDefinitionParams) SetTimeout ¶
func (o *ReadAlertDefinitionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read alert definition params
func (*ReadAlertDefinitionParams) WithContext ¶
func (o *ReadAlertDefinitionParams) WithContext(ctx context.Context) *ReadAlertDefinitionParams
WithContext adds the context to the read alert definition params
func (*ReadAlertDefinitionParams) WithFields ¶
func (o *ReadAlertDefinitionParams) WithFields(fields *string) *ReadAlertDefinitionParams
WithFields adds the fields to the read alert definition params
func (*ReadAlertDefinitionParams) WithHTTPClient ¶
func (o *ReadAlertDefinitionParams) WithHTTPClient(client *http.Client) *ReadAlertDefinitionParams
WithHTTPClient adds the HTTPClient to the read alert definition params
func (*ReadAlertDefinitionParams) WithID ¶
func (o *ReadAlertDefinitionParams) WithID(id int64) *ReadAlertDefinitionParams
WithID adds the id to the read alert definition params
func (*ReadAlertDefinitionParams) WithTimeout ¶
func (o *ReadAlertDefinitionParams) WithTimeout(timeout time.Duration) *ReadAlertDefinitionParams
WithTimeout adds the timeout to the read alert definition params
func (*ReadAlertDefinitionParams) WriteToRequest ¶
func (o *ReadAlertDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadAlertDefinitionReader ¶
type ReadAlertDefinitionReader struct {
// contains filtered or unexported fields
}
ReadAlertDefinitionReader is a Reader for the ReadAlertDefinition structure.
func (*ReadAlertDefinitionReader) ReadResponse ¶
func (o *ReadAlertDefinitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadAlertDefinitionUnauthorized ¶
type ReadAlertDefinitionUnauthorized struct {
}ReadAlertDefinitionUnauthorized handles this case with default header values.
Unauthorized
func NewReadAlertDefinitionUnauthorized ¶
func NewReadAlertDefinitionUnauthorized() *ReadAlertDefinitionUnauthorized
NewReadAlertDefinitionUnauthorized creates a ReadAlertDefinitionUnauthorized with default headers values
func (*ReadAlertDefinitionUnauthorized) Error ¶
func (o *ReadAlertDefinitionUnauthorized) Error() string
func (*ReadAlertDefinitionUnauthorized) GetPayload ¶
func (o *ReadAlertDefinitionUnauthorized) GetPayload() *models.APIResult
type UpdateAlertDefinitionBadRequest ¶
UpdateAlertDefinitionBadRequest handles this case with default header values.
Bad Request
func NewUpdateAlertDefinitionBadRequest ¶
func NewUpdateAlertDefinitionBadRequest() *UpdateAlertDefinitionBadRequest
NewUpdateAlertDefinitionBadRequest creates a UpdateAlertDefinitionBadRequest with default headers values
func (*UpdateAlertDefinitionBadRequest) Error ¶
func (o *UpdateAlertDefinitionBadRequest) Error() string
func (*UpdateAlertDefinitionBadRequest) GetPayload ¶
func (o *UpdateAlertDefinitionBadRequest) GetPayload() *models.APIResult
type UpdateAlertDefinitionConflict ¶
UpdateAlertDefinitionConflict handles this case with default header values.
Conflict
func NewUpdateAlertDefinitionConflict ¶
func NewUpdateAlertDefinitionConflict() *UpdateAlertDefinitionConflict
NewUpdateAlertDefinitionConflict creates a UpdateAlertDefinitionConflict with default headers values
func (*UpdateAlertDefinitionConflict) Error ¶
func (o *UpdateAlertDefinitionConflict) Error() string
func (*UpdateAlertDefinitionConflict) GetPayload ¶
func (o *UpdateAlertDefinitionConflict) GetPayload() *models.APIResult
type UpdateAlertDefinitionForbidden ¶
UpdateAlertDefinitionForbidden handles this case with default header values.
Forbidden
func NewUpdateAlertDefinitionForbidden ¶
func NewUpdateAlertDefinitionForbidden() *UpdateAlertDefinitionForbidden
NewUpdateAlertDefinitionForbidden creates a UpdateAlertDefinitionForbidden with default headers values
func (*UpdateAlertDefinitionForbidden) Error ¶
func (o *UpdateAlertDefinitionForbidden) Error() string
func (*UpdateAlertDefinitionForbidden) GetPayload ¶
func (o *UpdateAlertDefinitionForbidden) GetPayload() *models.APIResult
type UpdateAlertDefinitionInternalServerError ¶
UpdateAlertDefinitionInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdateAlertDefinitionInternalServerError ¶
func NewUpdateAlertDefinitionInternalServerError() *UpdateAlertDefinitionInternalServerError
NewUpdateAlertDefinitionInternalServerError creates a UpdateAlertDefinitionInternalServerError with default headers values
func (*UpdateAlertDefinitionInternalServerError) Error ¶
func (o *UpdateAlertDefinitionInternalServerError) Error() string
func (*UpdateAlertDefinitionInternalServerError) GetPayload ¶
func (o *UpdateAlertDefinitionInternalServerError) GetPayload() *models.APIResult
type UpdateAlertDefinitionNotFound ¶
UpdateAlertDefinitionNotFound handles this case with default header values.
Not Found
func NewUpdateAlertDefinitionNotFound ¶
func NewUpdateAlertDefinitionNotFound() *UpdateAlertDefinitionNotFound
NewUpdateAlertDefinitionNotFound creates a UpdateAlertDefinitionNotFound with default headers values
func (*UpdateAlertDefinitionNotFound) Error ¶
func (o *UpdateAlertDefinitionNotFound) Error() string
func (*UpdateAlertDefinitionNotFound) GetPayload ¶
func (o *UpdateAlertDefinitionNotFound) GetPayload() *models.APIResult
type UpdateAlertDefinitionOK ¶
type UpdateAlertDefinitionOK struct {
Payload *models.APIResultAlertDefinitionDto
}
UpdateAlertDefinitionOK handles this case with default header values.
OK
func NewUpdateAlertDefinitionOK ¶
func NewUpdateAlertDefinitionOK() *UpdateAlertDefinitionOK
NewUpdateAlertDefinitionOK creates a UpdateAlertDefinitionOK with default headers values
func (*UpdateAlertDefinitionOK) Error ¶
func (o *UpdateAlertDefinitionOK) Error() string
func (*UpdateAlertDefinitionOK) GetPayload ¶
func (o *UpdateAlertDefinitionOK) GetPayload() *models.APIResultAlertDefinitionDto
type UpdateAlertDefinitionParams ¶
type UpdateAlertDefinitionParams struct { /*ID id */ ID int64 /*Resource resource */ Resource *models.AlertDefinitionDto Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAlertDefinitionParams contains all the parameters to send to the API endpoint for the update alert definition operation typically these are written to a http.Request
func NewUpdateAlertDefinitionParams ¶
func NewUpdateAlertDefinitionParams() *UpdateAlertDefinitionParams
NewUpdateAlertDefinitionParams creates a new UpdateAlertDefinitionParams object with the default values initialized.
func NewUpdateAlertDefinitionParamsWithContext ¶
func NewUpdateAlertDefinitionParamsWithContext(ctx context.Context) *UpdateAlertDefinitionParams
NewUpdateAlertDefinitionParamsWithContext creates a new UpdateAlertDefinitionParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateAlertDefinitionParamsWithHTTPClient ¶
func NewUpdateAlertDefinitionParamsWithHTTPClient(client *http.Client) *UpdateAlertDefinitionParams
NewUpdateAlertDefinitionParamsWithHTTPClient creates a new UpdateAlertDefinitionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateAlertDefinitionParamsWithTimeout ¶
func NewUpdateAlertDefinitionParamsWithTimeout(timeout time.Duration) *UpdateAlertDefinitionParams
NewUpdateAlertDefinitionParamsWithTimeout creates a new UpdateAlertDefinitionParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateAlertDefinitionParams) SetContext ¶
func (o *UpdateAlertDefinitionParams) SetContext(ctx context.Context)
SetContext adds the context to the update alert definition params
func (*UpdateAlertDefinitionParams) SetHTTPClient ¶
func (o *UpdateAlertDefinitionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update alert definition params
func (*UpdateAlertDefinitionParams) SetID ¶
func (o *UpdateAlertDefinitionParams) SetID(id int64)
SetID adds the id to the update alert definition params
func (*UpdateAlertDefinitionParams) SetResource ¶
func (o *UpdateAlertDefinitionParams) SetResource(resource *models.AlertDefinitionDto)
SetResource adds the resource to the update alert definition params
func (*UpdateAlertDefinitionParams) SetTimeout ¶
func (o *UpdateAlertDefinitionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update alert definition params
func (*UpdateAlertDefinitionParams) WithContext ¶
func (o *UpdateAlertDefinitionParams) WithContext(ctx context.Context) *UpdateAlertDefinitionParams
WithContext adds the context to the update alert definition params
func (*UpdateAlertDefinitionParams) WithHTTPClient ¶
func (o *UpdateAlertDefinitionParams) WithHTTPClient(client *http.Client) *UpdateAlertDefinitionParams
WithHTTPClient adds the HTTPClient to the update alert definition params
func (*UpdateAlertDefinitionParams) WithID ¶
func (o *UpdateAlertDefinitionParams) WithID(id int64) *UpdateAlertDefinitionParams
WithID adds the id to the update alert definition params
func (*UpdateAlertDefinitionParams) WithResource ¶
func (o *UpdateAlertDefinitionParams) WithResource(resource *models.AlertDefinitionDto) *UpdateAlertDefinitionParams
WithResource adds the resource to the update alert definition params
func (*UpdateAlertDefinitionParams) WithTimeout ¶
func (o *UpdateAlertDefinitionParams) WithTimeout(timeout time.Duration) *UpdateAlertDefinitionParams
WithTimeout adds the timeout to the update alert definition params
func (*UpdateAlertDefinitionParams) WriteToRequest ¶
func (o *UpdateAlertDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAlertDefinitionReader ¶
type UpdateAlertDefinitionReader struct {
// contains filtered or unexported fields
}
UpdateAlertDefinitionReader is a Reader for the UpdateAlertDefinition structure.
func (*UpdateAlertDefinitionReader) ReadResponse ¶
func (o *UpdateAlertDefinitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAlertDefinitionUnauthorized ¶
type UpdateAlertDefinitionUnauthorized struct {
}UpdateAlertDefinitionUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateAlertDefinitionUnauthorized ¶
func NewUpdateAlertDefinitionUnauthorized() *UpdateAlertDefinitionUnauthorized
NewUpdateAlertDefinitionUnauthorized creates a UpdateAlertDefinitionUnauthorized with default headers values
func (*UpdateAlertDefinitionUnauthorized) Error ¶
func (o *UpdateAlertDefinitionUnauthorized) Error() string
func (*UpdateAlertDefinitionUnauthorized) GetPayload ¶
func (o *UpdateAlertDefinitionUnauthorized) GetPayload() *models.APIResult
Source Files ¶
- alert_definition_controller_client.go
- create_alert_definition_parameters.go
- create_alert_definition_responses.go
- delete_alert_definition_parameters.go
- delete_alert_definition_responses.go
- list_alert_definition_parameters.go
- list_alert_definition_responses.go
- multi_delete_alert_definition_parameters.go
- multi_delete_alert_definition_responses.go
- read_alert_definition_parameters.go
- read_alert_definition_responses.go
- update_alert_definition_parameters.go
- update_alert_definition_responses.go