Documentation
¶
Index ¶
- type Client
- func (a *Client) GetAPI24Alerts(params *GetAPI24AlertsParams) (*GetApi24AlertsOK, error)
- func (a *Client) GetAPI24AlertsEvents(params *GetAPI24AlertsEventsParams) (*GetApi24AlertsEventsOK, error)
- func (a *Client) PatchAPI24Alerts(params *PatchAPI24AlertsParams) (*PatchApi24AlertsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetAPI24AlertsEventsParams
- func NewGetAPI24AlertsEventsParams() *GetAPI24AlertsEventsParams
- func NewGetAPI24AlertsEventsParamsWithContext(ctx context.Context) *GetAPI24AlertsEventsParams
- func NewGetAPI24AlertsEventsParamsWithHTTPClient(client *http.Client) *GetAPI24AlertsEventsParams
- func NewGetAPI24AlertsEventsParamsWithTimeout(timeout time.Duration) *GetAPI24AlertsEventsParams
- func (o *GetAPI24AlertsEventsParams) SetAuthorization(authorization *string)
- func (o *GetAPI24AlertsEventsParams) SetContext(ctx context.Context)
- func (o *GetAPI24AlertsEventsParams) SetContinuationToken(continuationToken *string)
- func (o *GetAPI24AlertsEventsParams) SetFilter(filter *string)
- func (o *GetAPI24AlertsEventsParams) SetFlagged(flagged *bool)
- func (o *GetAPI24AlertsEventsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24AlertsEventsParams) SetIds(ids []string)
- func (o *GetAPI24AlertsEventsParams) SetLimit(limit *int32)
- func (o *GetAPI24AlertsEventsParams) SetNames(names []string)
- func (o *GetAPI24AlertsEventsParams) SetOffset(offset *int32)
- func (o *GetAPI24AlertsEventsParams) SetSort(sort []string)
- func (o *GetAPI24AlertsEventsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24AlertsEventsParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24AlertsEventsParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24AlertsEventsParams) WithAuthorization(authorization *string) *GetAPI24AlertsEventsParams
- func (o *GetAPI24AlertsEventsParams) WithContext(ctx context.Context) *GetAPI24AlertsEventsParams
- func (o *GetAPI24AlertsEventsParams) WithContinuationToken(continuationToken *string) *GetAPI24AlertsEventsParams
- func (o *GetAPI24AlertsEventsParams) WithFilter(filter *string) *GetAPI24AlertsEventsParams
- func (o *GetAPI24AlertsEventsParams) WithFlagged(flagged *bool) *GetAPI24AlertsEventsParams
- func (o *GetAPI24AlertsEventsParams) WithHTTPClient(client *http.Client) *GetAPI24AlertsEventsParams
- func (o *GetAPI24AlertsEventsParams) WithIds(ids []string) *GetAPI24AlertsEventsParams
- func (o *GetAPI24AlertsEventsParams) WithLimit(limit *int32) *GetAPI24AlertsEventsParams
- func (o *GetAPI24AlertsEventsParams) WithNames(names []string) *GetAPI24AlertsEventsParams
- func (o *GetAPI24AlertsEventsParams) WithOffset(offset *int32) *GetAPI24AlertsEventsParams
- func (o *GetAPI24AlertsEventsParams) WithSort(sort []string) *GetAPI24AlertsEventsParams
- func (o *GetAPI24AlertsEventsParams) WithTimeout(timeout time.Duration) *GetAPI24AlertsEventsParams
- func (o *GetAPI24AlertsEventsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24AlertsEventsParams
- func (o *GetAPI24AlertsEventsParams) WithXRequestID(xRequestID *string) *GetAPI24AlertsEventsParams
- func (o *GetAPI24AlertsEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24AlertsEventsReader
- type GetAPI24AlertsParams
- func NewGetAPI24AlertsParams() *GetAPI24AlertsParams
- func NewGetAPI24AlertsParamsWithContext(ctx context.Context) *GetAPI24AlertsParams
- func NewGetAPI24AlertsParamsWithHTTPClient(client *http.Client) *GetAPI24AlertsParams
- func NewGetAPI24AlertsParamsWithTimeout(timeout time.Duration) *GetAPI24AlertsParams
- func (o *GetAPI24AlertsParams) SetAuthorization(authorization *string)
- func (o *GetAPI24AlertsParams) SetContext(ctx context.Context)
- func (o *GetAPI24AlertsParams) SetContinuationToken(continuationToken *string)
- func (o *GetAPI24AlertsParams) SetFilter(filter *string)
- func (o *GetAPI24AlertsParams) SetFlagged(flagged *bool)
- func (o *GetAPI24AlertsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24AlertsParams) SetIds(ids []string)
- func (o *GetAPI24AlertsParams) SetLimit(limit *int32)
- func (o *GetAPI24AlertsParams) SetNames(names []string)
- func (o *GetAPI24AlertsParams) SetOffset(offset *int32)
- func (o *GetAPI24AlertsParams) SetSort(sort []string)
- func (o *GetAPI24AlertsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24AlertsParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24AlertsParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24AlertsParams) WithAuthorization(authorization *string) *GetAPI24AlertsParams
- func (o *GetAPI24AlertsParams) WithContext(ctx context.Context) *GetAPI24AlertsParams
- func (o *GetAPI24AlertsParams) WithContinuationToken(continuationToken *string) *GetAPI24AlertsParams
- func (o *GetAPI24AlertsParams) WithFilter(filter *string) *GetAPI24AlertsParams
- func (o *GetAPI24AlertsParams) WithFlagged(flagged *bool) *GetAPI24AlertsParams
- func (o *GetAPI24AlertsParams) WithHTTPClient(client *http.Client) *GetAPI24AlertsParams
- func (o *GetAPI24AlertsParams) WithIds(ids []string) *GetAPI24AlertsParams
- func (o *GetAPI24AlertsParams) WithLimit(limit *int32) *GetAPI24AlertsParams
- func (o *GetAPI24AlertsParams) WithNames(names []string) *GetAPI24AlertsParams
- func (o *GetAPI24AlertsParams) WithOffset(offset *int32) *GetAPI24AlertsParams
- func (o *GetAPI24AlertsParams) WithSort(sort []string) *GetAPI24AlertsParams
- func (o *GetAPI24AlertsParams) WithTimeout(timeout time.Duration) *GetAPI24AlertsParams
- func (o *GetAPI24AlertsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24AlertsParams
- func (o *GetAPI24AlertsParams) WithXRequestID(xRequestID *string) *GetAPI24AlertsParams
- func (o *GetAPI24AlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24AlertsReader
- type GetApi24AlertsBadRequest
- type GetApi24AlertsEventsBadRequest
- type GetApi24AlertsEventsOK
- type GetApi24AlertsOK
- type PatchAPI24AlertsParams
- func NewPatchAPI24AlertsParams() *PatchAPI24AlertsParams
- func NewPatchAPI24AlertsParamsWithContext(ctx context.Context) *PatchAPI24AlertsParams
- func NewPatchAPI24AlertsParamsWithHTTPClient(client *http.Client) *PatchAPI24AlertsParams
- func NewPatchAPI24AlertsParamsWithTimeout(timeout time.Duration) *PatchAPI24AlertsParams
- func (o *PatchAPI24AlertsParams) SetAlert(alert *models.Alert)
- func (o *PatchAPI24AlertsParams) SetAuthorization(authorization *string)
- func (o *PatchAPI24AlertsParams) SetContext(ctx context.Context)
- func (o *PatchAPI24AlertsParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPI24AlertsParams) SetIds(ids []string)
- func (o *PatchAPI24AlertsParams) SetNames(names []string)
- func (o *PatchAPI24AlertsParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPI24AlertsParams) SetXRequestID(xRequestID *string)
- func (o *PatchAPI24AlertsParams) WithAlert(alert *models.Alert) *PatchAPI24AlertsParams
- func (o *PatchAPI24AlertsParams) WithAuthorization(authorization *string) *PatchAPI24AlertsParams
- func (o *PatchAPI24AlertsParams) WithContext(ctx context.Context) *PatchAPI24AlertsParams
- func (o *PatchAPI24AlertsParams) WithHTTPClient(client *http.Client) *PatchAPI24AlertsParams
- func (o *PatchAPI24AlertsParams) WithIds(ids []string) *PatchAPI24AlertsParams
- func (o *PatchAPI24AlertsParams) WithNames(names []string) *PatchAPI24AlertsParams
- func (o *PatchAPI24AlertsParams) WithTimeout(timeout time.Duration) *PatchAPI24AlertsParams
- func (o *PatchAPI24AlertsParams) WithXRequestID(xRequestID *string) *PatchAPI24AlertsParams
- func (o *PatchAPI24AlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPI24AlertsReader
- type PatchApi24AlertsBadRequest
- type PatchApi24AlertsOK
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 alerts API
func (*Client) GetAPI24Alerts ¶
func (a *Client) GetAPI24Alerts(params *GetAPI24AlertsParams) (*GetApi24AlertsOK, error)
GetAPI24Alerts lists alerts
Displays a list of alerts.
func (*Client) GetAPI24AlertsEvents ¶
func (a *Client) GetAPI24AlertsEvents(params *GetAPI24AlertsEventsParams) (*GetApi24AlertsEventsOK, error)
GetAPI24AlertsEvents lists alert events
Displays a list of alert events.
func (*Client) PatchAPI24Alerts ¶
func (a *Client) PatchAPI24Alerts(params *PatchAPI24AlertsParams) (*PatchApi24AlertsOK, error)
PatchAPI24Alerts modifies flagged state
Modifies one or more alerts and display updated information about these alerts.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetAPI24Alerts(params *GetAPI24AlertsParams) (*GetApi24AlertsOK, error) GetAPI24AlertsEvents(params *GetAPI24AlertsEventsParams) (*GetApi24AlertsEventsOK, error) PatchAPI24Alerts(params *PatchAPI24AlertsParams) (*PatchApi24AlertsOK, 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 alerts API client.
type GetAPI24AlertsEventsParams ¶
type GetAPI24AlertsEventsParams struct { /*Authorization Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`) */ Authorization *string /*XRequestID Supplied by client during request or generated by server. */ XRequestID *string /*ContinuationToken A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set `continuation_token` to the system-generated token taken from the `x-next-token` header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the `limit` and `continuation_token` query parameters. */ ContinuationToken *string /*Filter Narrows down the results to only the response objects that satisfy the filter criteria. */ Filter *string /*Flagged If set to `true`, lists only flagged messages. If set to `false`, lists only unflagged messages. if not specified, lists all messages. */ Flagged *bool /*Ids Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The `ids` and `names` parameters cannot be provided together. */ Ids []string /*Limit Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size. */ Limit *int32 /*Names Performs the operation on the unique name specified. For example, `name01`. Enter multiple names in comma-separated format. The `ids` or `names` parameter is required, but both cannot be set together. */ Names []string /*Offset The starting position based on the results of the query in relation to the full set of response objects returned. */ Offset *int32 /*Sort Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values. */ Sort []string /*TotalItemCount If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`. */ TotalItemCount *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPI24AlertsEventsParams contains all the parameters to send to the API endpoint for the get API 24 alerts events operation typically these are written to a http.Request
func NewGetAPI24AlertsEventsParams ¶
func NewGetAPI24AlertsEventsParams() *GetAPI24AlertsEventsParams
NewGetAPI24AlertsEventsParams creates a new GetAPI24AlertsEventsParams object with the default values initialized.
func NewGetAPI24AlertsEventsParamsWithContext ¶
func NewGetAPI24AlertsEventsParamsWithContext(ctx context.Context) *GetAPI24AlertsEventsParams
NewGetAPI24AlertsEventsParamsWithContext creates a new GetAPI24AlertsEventsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24AlertsEventsParamsWithHTTPClient ¶
func NewGetAPI24AlertsEventsParamsWithHTTPClient(client *http.Client) *GetAPI24AlertsEventsParams
NewGetAPI24AlertsEventsParamsWithHTTPClient creates a new GetAPI24AlertsEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24AlertsEventsParamsWithTimeout ¶
func NewGetAPI24AlertsEventsParamsWithTimeout(timeout time.Duration) *GetAPI24AlertsEventsParams
NewGetAPI24AlertsEventsParamsWithTimeout creates a new GetAPI24AlertsEventsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24AlertsEventsParams) SetAuthorization ¶
func (o *GetAPI24AlertsEventsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) SetContext ¶
func (o *GetAPI24AlertsEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) SetContinuationToken ¶
func (o *GetAPI24AlertsEventsParams) SetContinuationToken(continuationToken *string)
SetContinuationToken adds the continuationToken to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) SetFilter ¶
func (o *GetAPI24AlertsEventsParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) SetFlagged ¶
func (o *GetAPI24AlertsEventsParams) SetFlagged(flagged *bool)
SetFlagged adds the flagged to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) SetHTTPClient ¶
func (o *GetAPI24AlertsEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) SetIds ¶
func (o *GetAPI24AlertsEventsParams) SetIds(ids []string)
SetIds adds the ids to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) SetLimit ¶
func (o *GetAPI24AlertsEventsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) SetNames ¶
func (o *GetAPI24AlertsEventsParams) SetNames(names []string)
SetNames adds the names to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) SetOffset ¶
func (o *GetAPI24AlertsEventsParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) SetSort ¶
func (o *GetAPI24AlertsEventsParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) SetTimeout ¶
func (o *GetAPI24AlertsEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) SetTotalItemCount ¶
func (o *GetAPI24AlertsEventsParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) SetXRequestID ¶
func (o *GetAPI24AlertsEventsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) WithAuthorization ¶
func (o *GetAPI24AlertsEventsParams) WithAuthorization(authorization *string) *GetAPI24AlertsEventsParams
WithAuthorization adds the authorization to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) WithContext ¶
func (o *GetAPI24AlertsEventsParams) WithContext(ctx context.Context) *GetAPI24AlertsEventsParams
WithContext adds the context to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) WithContinuationToken ¶
func (o *GetAPI24AlertsEventsParams) WithContinuationToken(continuationToken *string) *GetAPI24AlertsEventsParams
WithContinuationToken adds the continuationToken to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) WithFilter ¶
func (o *GetAPI24AlertsEventsParams) WithFilter(filter *string) *GetAPI24AlertsEventsParams
WithFilter adds the filter to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) WithFlagged ¶
func (o *GetAPI24AlertsEventsParams) WithFlagged(flagged *bool) *GetAPI24AlertsEventsParams
WithFlagged adds the flagged to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) WithHTTPClient ¶
func (o *GetAPI24AlertsEventsParams) WithHTTPClient(client *http.Client) *GetAPI24AlertsEventsParams
WithHTTPClient adds the HTTPClient to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) WithIds ¶
func (o *GetAPI24AlertsEventsParams) WithIds(ids []string) *GetAPI24AlertsEventsParams
WithIds adds the ids to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) WithLimit ¶
func (o *GetAPI24AlertsEventsParams) WithLimit(limit *int32) *GetAPI24AlertsEventsParams
WithLimit adds the limit to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) WithNames ¶
func (o *GetAPI24AlertsEventsParams) WithNames(names []string) *GetAPI24AlertsEventsParams
WithNames adds the names to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) WithOffset ¶
func (o *GetAPI24AlertsEventsParams) WithOffset(offset *int32) *GetAPI24AlertsEventsParams
WithOffset adds the offset to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) WithSort ¶
func (o *GetAPI24AlertsEventsParams) WithSort(sort []string) *GetAPI24AlertsEventsParams
WithSort adds the sort to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) WithTimeout ¶
func (o *GetAPI24AlertsEventsParams) WithTimeout(timeout time.Duration) *GetAPI24AlertsEventsParams
WithTimeout adds the timeout to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) WithTotalItemCount ¶
func (o *GetAPI24AlertsEventsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24AlertsEventsParams
WithTotalItemCount adds the totalItemCount to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) WithXRequestID ¶
func (o *GetAPI24AlertsEventsParams) WithXRequestID(xRequestID *string) *GetAPI24AlertsEventsParams
WithXRequestID adds the xRequestID to the get API 24 alerts events params
func (*GetAPI24AlertsEventsParams) WriteToRequest ¶
func (o *GetAPI24AlertsEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24AlertsEventsReader ¶
type GetAPI24AlertsEventsReader struct {
// contains filtered or unexported fields
}
GetAPI24AlertsEventsReader is a Reader for the GetAPI24AlertsEvents structure.
func (*GetAPI24AlertsEventsReader) ReadResponse ¶
func (o *GetAPI24AlertsEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPI24AlertsParams ¶
type GetAPI24AlertsParams struct { /*Authorization Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`) */ Authorization *string /*XRequestID Supplied by client during request or generated by server. */ XRequestID *string /*ContinuationToken A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set `continuation_token` to the system-generated token taken from the `x-next-token` header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the `limit` and `continuation_token` query parameters. */ ContinuationToken *string /*Filter Narrows down the results to only the response objects that satisfy the filter criteria. */ Filter *string /*Flagged If set to `true`, lists only flagged messages. If set to `false`, lists only unflagged messages. if not specified, lists all messages. */ Flagged *bool /*Ids Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The `ids` and `names` parameters cannot be provided together. */ Ids []string /*Limit Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size. */ Limit *int32 /*Names Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`. */ Names []string /*Offset The starting position based on the results of the query in relation to the full set of response objects returned. */ Offset *int32 /*Sort Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values. */ Sort []string /*TotalItemCount If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`. */ TotalItemCount *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPI24AlertsParams contains all the parameters to send to the API endpoint for the get API 24 alerts operation typically these are written to a http.Request
func NewGetAPI24AlertsParams ¶
func NewGetAPI24AlertsParams() *GetAPI24AlertsParams
NewGetAPI24AlertsParams creates a new GetAPI24AlertsParams object with the default values initialized.
func NewGetAPI24AlertsParamsWithContext ¶
func NewGetAPI24AlertsParamsWithContext(ctx context.Context) *GetAPI24AlertsParams
NewGetAPI24AlertsParamsWithContext creates a new GetAPI24AlertsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24AlertsParamsWithHTTPClient ¶
func NewGetAPI24AlertsParamsWithHTTPClient(client *http.Client) *GetAPI24AlertsParams
NewGetAPI24AlertsParamsWithHTTPClient creates a new GetAPI24AlertsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24AlertsParamsWithTimeout ¶
func NewGetAPI24AlertsParamsWithTimeout(timeout time.Duration) *GetAPI24AlertsParams
NewGetAPI24AlertsParamsWithTimeout creates a new GetAPI24AlertsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24AlertsParams) SetAuthorization ¶
func (o *GetAPI24AlertsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 alerts params
func (*GetAPI24AlertsParams) SetContext ¶
func (o *GetAPI24AlertsParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 alerts params
func (*GetAPI24AlertsParams) SetContinuationToken ¶
func (o *GetAPI24AlertsParams) SetContinuationToken(continuationToken *string)
SetContinuationToken adds the continuationToken to the get API 24 alerts params
func (*GetAPI24AlertsParams) SetFilter ¶
func (o *GetAPI24AlertsParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 alerts params
func (*GetAPI24AlertsParams) SetFlagged ¶
func (o *GetAPI24AlertsParams) SetFlagged(flagged *bool)
SetFlagged adds the flagged to the get API 24 alerts params
func (*GetAPI24AlertsParams) SetHTTPClient ¶
func (o *GetAPI24AlertsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 alerts params
func (*GetAPI24AlertsParams) SetIds ¶
func (o *GetAPI24AlertsParams) SetIds(ids []string)
SetIds adds the ids to the get API 24 alerts params
func (*GetAPI24AlertsParams) SetLimit ¶
func (o *GetAPI24AlertsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 alerts params
func (*GetAPI24AlertsParams) SetNames ¶
func (o *GetAPI24AlertsParams) SetNames(names []string)
SetNames adds the names to the get API 24 alerts params
func (*GetAPI24AlertsParams) SetOffset ¶
func (o *GetAPI24AlertsParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 alerts params
func (*GetAPI24AlertsParams) SetSort ¶
func (o *GetAPI24AlertsParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 alerts params
func (*GetAPI24AlertsParams) SetTimeout ¶
func (o *GetAPI24AlertsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 alerts params
func (*GetAPI24AlertsParams) SetTotalItemCount ¶
func (o *GetAPI24AlertsParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 alerts params
func (*GetAPI24AlertsParams) SetXRequestID ¶
func (o *GetAPI24AlertsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 alerts params
func (*GetAPI24AlertsParams) WithAuthorization ¶
func (o *GetAPI24AlertsParams) WithAuthorization(authorization *string) *GetAPI24AlertsParams
WithAuthorization adds the authorization to the get API 24 alerts params
func (*GetAPI24AlertsParams) WithContext ¶
func (o *GetAPI24AlertsParams) WithContext(ctx context.Context) *GetAPI24AlertsParams
WithContext adds the context to the get API 24 alerts params
func (*GetAPI24AlertsParams) WithContinuationToken ¶
func (o *GetAPI24AlertsParams) WithContinuationToken(continuationToken *string) *GetAPI24AlertsParams
WithContinuationToken adds the continuationToken to the get API 24 alerts params
func (*GetAPI24AlertsParams) WithFilter ¶
func (o *GetAPI24AlertsParams) WithFilter(filter *string) *GetAPI24AlertsParams
WithFilter adds the filter to the get API 24 alerts params
func (*GetAPI24AlertsParams) WithFlagged ¶
func (o *GetAPI24AlertsParams) WithFlagged(flagged *bool) *GetAPI24AlertsParams
WithFlagged adds the flagged to the get API 24 alerts params
func (*GetAPI24AlertsParams) WithHTTPClient ¶
func (o *GetAPI24AlertsParams) WithHTTPClient(client *http.Client) *GetAPI24AlertsParams
WithHTTPClient adds the HTTPClient to the get API 24 alerts params
func (*GetAPI24AlertsParams) WithIds ¶
func (o *GetAPI24AlertsParams) WithIds(ids []string) *GetAPI24AlertsParams
WithIds adds the ids to the get API 24 alerts params
func (*GetAPI24AlertsParams) WithLimit ¶
func (o *GetAPI24AlertsParams) WithLimit(limit *int32) *GetAPI24AlertsParams
WithLimit adds the limit to the get API 24 alerts params
func (*GetAPI24AlertsParams) WithNames ¶
func (o *GetAPI24AlertsParams) WithNames(names []string) *GetAPI24AlertsParams
WithNames adds the names to the get API 24 alerts params
func (*GetAPI24AlertsParams) WithOffset ¶
func (o *GetAPI24AlertsParams) WithOffset(offset *int32) *GetAPI24AlertsParams
WithOffset adds the offset to the get API 24 alerts params
func (*GetAPI24AlertsParams) WithSort ¶
func (o *GetAPI24AlertsParams) WithSort(sort []string) *GetAPI24AlertsParams
WithSort adds the sort to the get API 24 alerts params
func (*GetAPI24AlertsParams) WithTimeout ¶
func (o *GetAPI24AlertsParams) WithTimeout(timeout time.Duration) *GetAPI24AlertsParams
WithTimeout adds the timeout to the get API 24 alerts params
func (*GetAPI24AlertsParams) WithTotalItemCount ¶
func (o *GetAPI24AlertsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24AlertsParams
WithTotalItemCount adds the totalItemCount to the get API 24 alerts params
func (*GetAPI24AlertsParams) WithXRequestID ¶
func (o *GetAPI24AlertsParams) WithXRequestID(xRequestID *string) *GetAPI24AlertsParams
WithXRequestID adds the xRequestID to the get API 24 alerts params
func (*GetAPI24AlertsParams) WriteToRequest ¶
func (o *GetAPI24AlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24AlertsReader ¶
type GetAPI24AlertsReader struct {
// contains filtered or unexported fields
}
GetAPI24AlertsReader is a Reader for the GetAPI24Alerts structure.
func (*GetAPI24AlertsReader) ReadResponse ¶
func (o *GetAPI24AlertsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApi24AlertsBadRequest ¶
GetApi24AlertsBadRequest handles this case with default header values.
BadRequest
func NewGetApi24AlertsBadRequest ¶
func NewGetApi24AlertsBadRequest() *GetApi24AlertsBadRequest
NewGetApi24AlertsBadRequest creates a GetApi24AlertsBadRequest with default headers values
func (*GetApi24AlertsBadRequest) Error ¶
func (o *GetApi24AlertsBadRequest) Error() string
func (*GetApi24AlertsBadRequest) GetPayload ¶
func (o *GetApi24AlertsBadRequest) GetPayload() *models.Error
type GetApi24AlertsEventsBadRequest ¶
GetApi24AlertsEventsBadRequest handles this case with default header values.
BadRequest
func NewGetApi24AlertsEventsBadRequest ¶
func NewGetApi24AlertsEventsBadRequest() *GetApi24AlertsEventsBadRequest
NewGetApi24AlertsEventsBadRequest creates a GetApi24AlertsEventsBadRequest with default headers values
func (*GetApi24AlertsEventsBadRequest) Error ¶
func (o *GetApi24AlertsEventsBadRequest) Error() string
func (*GetApi24AlertsEventsBadRequest) GetPayload ¶
func (o *GetApi24AlertsEventsBadRequest) GetPayload() *models.Error
type GetApi24AlertsEventsOK ¶
type GetApi24AlertsEventsOK struct {
Payload *models.AlertEventGetResponse
}
GetApi24AlertsEventsOK handles this case with default header values.
OK
func NewGetApi24AlertsEventsOK ¶
func NewGetApi24AlertsEventsOK() *GetApi24AlertsEventsOK
NewGetApi24AlertsEventsOK creates a GetApi24AlertsEventsOK with default headers values
func (*GetApi24AlertsEventsOK) Error ¶
func (o *GetApi24AlertsEventsOK) Error() string
func (*GetApi24AlertsEventsOK) GetPayload ¶
func (o *GetApi24AlertsEventsOK) GetPayload() *models.AlertEventGetResponse
type GetApi24AlertsOK ¶
type GetApi24AlertsOK struct {
Payload *models.AlertGetResponse
}
GetApi24AlertsOK handles this case with default header values.
OK
func NewGetApi24AlertsOK ¶
func NewGetApi24AlertsOK() *GetApi24AlertsOK
NewGetApi24AlertsOK creates a GetApi24AlertsOK with default headers values
func (*GetApi24AlertsOK) Error ¶
func (o *GetApi24AlertsOK) Error() string
func (*GetApi24AlertsOK) GetPayload ¶
func (o *GetApi24AlertsOK) GetPayload() *models.AlertGetResponse
type PatchAPI24AlertsParams ¶
type PatchAPI24AlertsParams struct { /*Authorization Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`) */ Authorization *string /*XRequestID Supplied by client during request or generated by server. */ XRequestID *string /*Alert*/ Alert *models.Alert /*Ids Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The `ids` and `names` parameters cannot be provided together. */ Ids []string /*Names Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`. */ Names []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAPI24AlertsParams contains all the parameters to send to the API endpoint for the patch API 24 alerts operation typically these are written to a http.Request
func NewPatchAPI24AlertsParams ¶
func NewPatchAPI24AlertsParams() *PatchAPI24AlertsParams
NewPatchAPI24AlertsParams creates a new PatchAPI24AlertsParams object with the default values initialized.
func NewPatchAPI24AlertsParamsWithContext ¶
func NewPatchAPI24AlertsParamsWithContext(ctx context.Context) *PatchAPI24AlertsParams
NewPatchAPI24AlertsParamsWithContext creates a new PatchAPI24AlertsParams object with the default values initialized, and the ability to set a context for a request
func NewPatchAPI24AlertsParamsWithHTTPClient ¶
func NewPatchAPI24AlertsParamsWithHTTPClient(client *http.Client) *PatchAPI24AlertsParams
NewPatchAPI24AlertsParamsWithHTTPClient creates a new PatchAPI24AlertsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchAPI24AlertsParamsWithTimeout ¶
func NewPatchAPI24AlertsParamsWithTimeout(timeout time.Duration) *PatchAPI24AlertsParams
NewPatchAPI24AlertsParamsWithTimeout creates a new PatchAPI24AlertsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchAPI24AlertsParams) SetAlert ¶
func (o *PatchAPI24AlertsParams) SetAlert(alert *models.Alert)
SetAlert adds the alert to the patch API 24 alerts params
func (*PatchAPI24AlertsParams) SetAuthorization ¶
func (o *PatchAPI24AlertsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the patch API 24 alerts params
func (*PatchAPI24AlertsParams) SetContext ¶
func (o *PatchAPI24AlertsParams) SetContext(ctx context.Context)
SetContext adds the context to the patch API 24 alerts params
func (*PatchAPI24AlertsParams) SetHTTPClient ¶
func (o *PatchAPI24AlertsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch API 24 alerts params
func (*PatchAPI24AlertsParams) SetIds ¶
func (o *PatchAPI24AlertsParams) SetIds(ids []string)
SetIds adds the ids to the patch API 24 alerts params
func (*PatchAPI24AlertsParams) SetNames ¶
func (o *PatchAPI24AlertsParams) SetNames(names []string)
SetNames adds the names to the patch API 24 alerts params
func (*PatchAPI24AlertsParams) SetTimeout ¶
func (o *PatchAPI24AlertsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch API 24 alerts params
func (*PatchAPI24AlertsParams) SetXRequestID ¶
func (o *PatchAPI24AlertsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the patch API 24 alerts params
func (*PatchAPI24AlertsParams) WithAlert ¶
func (o *PatchAPI24AlertsParams) WithAlert(alert *models.Alert) *PatchAPI24AlertsParams
WithAlert adds the alert to the patch API 24 alerts params
func (*PatchAPI24AlertsParams) WithAuthorization ¶
func (o *PatchAPI24AlertsParams) WithAuthorization(authorization *string) *PatchAPI24AlertsParams
WithAuthorization adds the authorization to the patch API 24 alerts params
func (*PatchAPI24AlertsParams) WithContext ¶
func (o *PatchAPI24AlertsParams) WithContext(ctx context.Context) *PatchAPI24AlertsParams
WithContext adds the context to the patch API 24 alerts params
func (*PatchAPI24AlertsParams) WithHTTPClient ¶
func (o *PatchAPI24AlertsParams) WithHTTPClient(client *http.Client) *PatchAPI24AlertsParams
WithHTTPClient adds the HTTPClient to the patch API 24 alerts params
func (*PatchAPI24AlertsParams) WithIds ¶
func (o *PatchAPI24AlertsParams) WithIds(ids []string) *PatchAPI24AlertsParams
WithIds adds the ids to the patch API 24 alerts params
func (*PatchAPI24AlertsParams) WithNames ¶
func (o *PatchAPI24AlertsParams) WithNames(names []string) *PatchAPI24AlertsParams
WithNames adds the names to the patch API 24 alerts params
func (*PatchAPI24AlertsParams) WithTimeout ¶
func (o *PatchAPI24AlertsParams) WithTimeout(timeout time.Duration) *PatchAPI24AlertsParams
WithTimeout adds the timeout to the patch API 24 alerts params
func (*PatchAPI24AlertsParams) WithXRequestID ¶
func (o *PatchAPI24AlertsParams) WithXRequestID(xRequestID *string) *PatchAPI24AlertsParams
WithXRequestID adds the xRequestID to the patch API 24 alerts params
func (*PatchAPI24AlertsParams) WriteToRequest ¶
func (o *PatchAPI24AlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAPI24AlertsReader ¶
type PatchAPI24AlertsReader struct {
// contains filtered or unexported fields
}
PatchAPI24AlertsReader is a Reader for the PatchAPI24Alerts structure.
func (*PatchAPI24AlertsReader) ReadResponse ¶
func (o *PatchAPI24AlertsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchApi24AlertsBadRequest ¶
PatchApi24AlertsBadRequest handles this case with default header values.
BadRequest
func NewPatchApi24AlertsBadRequest ¶
func NewPatchApi24AlertsBadRequest() *PatchApi24AlertsBadRequest
NewPatchApi24AlertsBadRequest creates a PatchApi24AlertsBadRequest with default headers values
func (*PatchApi24AlertsBadRequest) Error ¶
func (o *PatchApi24AlertsBadRequest) Error() string
func (*PatchApi24AlertsBadRequest) GetPayload ¶
func (o *PatchApi24AlertsBadRequest) GetPayload() *models.Error
type PatchApi24AlertsOK ¶
type PatchApi24AlertsOK struct {
Payload *models.AlertResponse
}
PatchApi24AlertsOK handles this case with default header values.
OK
func NewPatchApi24AlertsOK ¶
func NewPatchApi24AlertsOK() *PatchApi24AlertsOK
NewPatchApi24AlertsOK creates a PatchApi24AlertsOK with default headers values
func (*PatchApi24AlertsOK) Error ¶
func (o *PatchApi24AlertsOK) Error() string
func (*PatchApi24AlertsOK) GetPayload ¶
func (o *PatchApi24AlertsOK) GetPayload() *models.AlertResponse