Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteAPI24MaintenanceWindows(params *DeleteAPI24MaintenanceWindowsParams) (*DeleteApi24MaintenanceWindowsOK, error)
- func (a *Client) GetAPI24MaintenanceWindows(params *GetAPI24MaintenanceWindowsParams) (*GetApi24MaintenanceWindowsOK, error)
- func (a *Client) PostAPI24MaintenanceWindows(params *PostAPI24MaintenanceWindowsParams) (*PostApi24MaintenanceWindowsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteAPI24MaintenanceWindowsParams
- func NewDeleteAPI24MaintenanceWindowsParams() *DeleteAPI24MaintenanceWindowsParams
- func NewDeleteAPI24MaintenanceWindowsParamsWithContext(ctx context.Context) *DeleteAPI24MaintenanceWindowsParams
- func NewDeleteAPI24MaintenanceWindowsParamsWithHTTPClient(client *http.Client) *DeleteAPI24MaintenanceWindowsParams
- func NewDeleteAPI24MaintenanceWindowsParamsWithTimeout(timeout time.Duration) *DeleteAPI24MaintenanceWindowsParams
- func (o *DeleteAPI24MaintenanceWindowsParams) SetAuthorization(authorization *string)
- func (o *DeleteAPI24MaintenanceWindowsParams) SetContext(ctx context.Context)
- func (o *DeleteAPI24MaintenanceWindowsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPI24MaintenanceWindowsParams) SetNames(names []string)
- func (o *DeleteAPI24MaintenanceWindowsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPI24MaintenanceWindowsParams) SetXRequestID(xRequestID *string)
- func (o *DeleteAPI24MaintenanceWindowsParams) WithAuthorization(authorization *string) *DeleteAPI24MaintenanceWindowsParams
- func (o *DeleteAPI24MaintenanceWindowsParams) WithContext(ctx context.Context) *DeleteAPI24MaintenanceWindowsParams
- func (o *DeleteAPI24MaintenanceWindowsParams) WithHTTPClient(client *http.Client) *DeleteAPI24MaintenanceWindowsParams
- func (o *DeleteAPI24MaintenanceWindowsParams) WithNames(names []string) *DeleteAPI24MaintenanceWindowsParams
- func (o *DeleteAPI24MaintenanceWindowsParams) WithTimeout(timeout time.Duration) *DeleteAPI24MaintenanceWindowsParams
- func (o *DeleteAPI24MaintenanceWindowsParams) WithXRequestID(xRequestID *string) *DeleteAPI24MaintenanceWindowsParams
- func (o *DeleteAPI24MaintenanceWindowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPI24MaintenanceWindowsReader
- type DeleteApi24MaintenanceWindowsBadRequest
- type DeleteApi24MaintenanceWindowsOK
- type GetAPI24MaintenanceWindowsParams
- func NewGetAPI24MaintenanceWindowsParams() *GetAPI24MaintenanceWindowsParams
- func NewGetAPI24MaintenanceWindowsParamsWithContext(ctx context.Context) *GetAPI24MaintenanceWindowsParams
- func NewGetAPI24MaintenanceWindowsParamsWithHTTPClient(client *http.Client) *GetAPI24MaintenanceWindowsParams
- func NewGetAPI24MaintenanceWindowsParamsWithTimeout(timeout time.Duration) *GetAPI24MaintenanceWindowsParams
- func (o *GetAPI24MaintenanceWindowsParams) SetAuthorization(authorization *string)
- func (o *GetAPI24MaintenanceWindowsParams) SetContext(ctx context.Context)
- func (o *GetAPI24MaintenanceWindowsParams) SetContinuationToken(continuationToken *string)
- func (o *GetAPI24MaintenanceWindowsParams) SetFilter(filter *string)
- func (o *GetAPI24MaintenanceWindowsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24MaintenanceWindowsParams) SetLimit(limit *int32)
- func (o *GetAPI24MaintenanceWindowsParams) SetNames(names []string)
- func (o *GetAPI24MaintenanceWindowsParams) SetOffset(offset *int32)
- func (o *GetAPI24MaintenanceWindowsParams) SetSort(sort []string)
- func (o *GetAPI24MaintenanceWindowsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24MaintenanceWindowsParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24MaintenanceWindowsParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24MaintenanceWindowsParams) WithAuthorization(authorization *string) *GetAPI24MaintenanceWindowsParams
- func (o *GetAPI24MaintenanceWindowsParams) WithContext(ctx context.Context) *GetAPI24MaintenanceWindowsParams
- func (o *GetAPI24MaintenanceWindowsParams) WithContinuationToken(continuationToken *string) *GetAPI24MaintenanceWindowsParams
- func (o *GetAPI24MaintenanceWindowsParams) WithFilter(filter *string) *GetAPI24MaintenanceWindowsParams
- func (o *GetAPI24MaintenanceWindowsParams) WithHTTPClient(client *http.Client) *GetAPI24MaintenanceWindowsParams
- func (o *GetAPI24MaintenanceWindowsParams) WithLimit(limit *int32) *GetAPI24MaintenanceWindowsParams
- func (o *GetAPI24MaintenanceWindowsParams) WithNames(names []string) *GetAPI24MaintenanceWindowsParams
- func (o *GetAPI24MaintenanceWindowsParams) WithOffset(offset *int32) *GetAPI24MaintenanceWindowsParams
- func (o *GetAPI24MaintenanceWindowsParams) WithSort(sort []string) *GetAPI24MaintenanceWindowsParams
- func (o *GetAPI24MaintenanceWindowsParams) WithTimeout(timeout time.Duration) *GetAPI24MaintenanceWindowsParams
- func (o *GetAPI24MaintenanceWindowsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24MaintenanceWindowsParams
- func (o *GetAPI24MaintenanceWindowsParams) WithXRequestID(xRequestID *string) *GetAPI24MaintenanceWindowsParams
- func (o *GetAPI24MaintenanceWindowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24MaintenanceWindowsReader
- type GetApi24MaintenanceWindowsBadRequest
- type GetApi24MaintenanceWindowsOK
- type PostAPI24MaintenanceWindowsParams
- func NewPostAPI24MaintenanceWindowsParams() *PostAPI24MaintenanceWindowsParams
- func NewPostAPI24MaintenanceWindowsParamsWithContext(ctx context.Context) *PostAPI24MaintenanceWindowsParams
- func NewPostAPI24MaintenanceWindowsParamsWithHTTPClient(client *http.Client) *PostAPI24MaintenanceWindowsParams
- func NewPostAPI24MaintenanceWindowsParamsWithTimeout(timeout time.Duration) *PostAPI24MaintenanceWindowsParams
- func (o *PostAPI24MaintenanceWindowsParams) SetAuthorization(authorization *string)
- func (o *PostAPI24MaintenanceWindowsParams) SetContext(ctx context.Context)
- func (o *PostAPI24MaintenanceWindowsParams) SetHTTPClient(client *http.Client)
- func (o *PostAPI24MaintenanceWindowsParams) SetMaintenanceWindow(maintenanceWindow *models.MaintenanceWindowPost)
- func (o *PostAPI24MaintenanceWindowsParams) SetNames(names []string)
- func (o *PostAPI24MaintenanceWindowsParams) SetTimeout(timeout time.Duration)
- func (o *PostAPI24MaintenanceWindowsParams) SetXRequestID(xRequestID *string)
- func (o *PostAPI24MaintenanceWindowsParams) WithAuthorization(authorization *string) *PostAPI24MaintenanceWindowsParams
- func (o *PostAPI24MaintenanceWindowsParams) WithContext(ctx context.Context) *PostAPI24MaintenanceWindowsParams
- func (o *PostAPI24MaintenanceWindowsParams) WithHTTPClient(client *http.Client) *PostAPI24MaintenanceWindowsParams
- func (o *PostAPI24MaintenanceWindowsParams) WithMaintenanceWindow(maintenanceWindow *models.MaintenanceWindowPost) *PostAPI24MaintenanceWindowsParams
- func (o *PostAPI24MaintenanceWindowsParams) WithNames(names []string) *PostAPI24MaintenanceWindowsParams
- func (o *PostAPI24MaintenanceWindowsParams) WithTimeout(timeout time.Duration) *PostAPI24MaintenanceWindowsParams
- func (o *PostAPI24MaintenanceWindowsParams) WithXRequestID(xRequestID *string) *PostAPI24MaintenanceWindowsParams
- func (o *PostAPI24MaintenanceWindowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPI24MaintenanceWindowsReader
- type PostApi24MaintenanceWindowsBadRequest
- type PostApi24MaintenanceWindowsOK
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 maintenance windows API
func (*Client) DeleteAPI24MaintenanceWindows ¶
func (a *Client) DeleteAPI24MaintenanceWindows(params *DeleteAPI24MaintenanceWindowsParams) (*DeleteApi24MaintenanceWindowsOK, error)
DeleteAPI24MaintenanceWindows deletes maintenance window
Deletes an open maintenance window before its scheduled end (`expire`) time. The `names` parameter is required and must be set to `environment`.
func (*Client) GetAPI24MaintenanceWindows ¶
func (a *Client) GetAPI24MaintenanceWindows(params *GetAPI24MaintenanceWindowsParams) (*GetApi24MaintenanceWindowsOK, error)
GetAPI24MaintenanceWindows lists maintenance window details
Displays maintenance window details, including start time, end time, and maintenance type.
func (*Client) PostAPI24MaintenanceWindows ¶
func (a *Client) PostAPI24MaintenanceWindows(params *PostAPI24MaintenanceWindowsParams) (*PostApi24MaintenanceWindowsOK, error)
PostAPI24MaintenanceWindows creates a maintenance window
Creates a maintenance window that suppresses alerts for a specified period of time. A maintenance window can be manually closed at any time. The `names` and `timeout` parameters are required. Set the `names` parameter to `environment`.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteAPI24MaintenanceWindows(params *DeleteAPI24MaintenanceWindowsParams) (*DeleteApi24MaintenanceWindowsOK, error) GetAPI24MaintenanceWindows(params *GetAPI24MaintenanceWindowsParams) (*GetApi24MaintenanceWindowsOK, error) PostAPI24MaintenanceWindows(params *PostAPI24MaintenanceWindowsParams) (*PostApi24MaintenanceWindowsOK, 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 maintenance windows API client.
type DeleteAPI24MaintenanceWindowsParams ¶
type DeleteAPI24MaintenanceWindowsParams 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 /*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 }
DeleteAPI24MaintenanceWindowsParams contains all the parameters to send to the API endpoint for the delete API 24 maintenance windows operation typically these are written to a http.Request
func NewDeleteAPI24MaintenanceWindowsParams ¶
func NewDeleteAPI24MaintenanceWindowsParams() *DeleteAPI24MaintenanceWindowsParams
NewDeleteAPI24MaintenanceWindowsParams creates a new DeleteAPI24MaintenanceWindowsParams object with the default values initialized.
func NewDeleteAPI24MaintenanceWindowsParamsWithContext ¶
func NewDeleteAPI24MaintenanceWindowsParamsWithContext(ctx context.Context) *DeleteAPI24MaintenanceWindowsParams
NewDeleteAPI24MaintenanceWindowsParamsWithContext creates a new DeleteAPI24MaintenanceWindowsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAPI24MaintenanceWindowsParamsWithHTTPClient ¶
func NewDeleteAPI24MaintenanceWindowsParamsWithHTTPClient(client *http.Client) *DeleteAPI24MaintenanceWindowsParams
NewDeleteAPI24MaintenanceWindowsParamsWithHTTPClient creates a new DeleteAPI24MaintenanceWindowsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAPI24MaintenanceWindowsParamsWithTimeout ¶
func NewDeleteAPI24MaintenanceWindowsParamsWithTimeout(timeout time.Duration) *DeleteAPI24MaintenanceWindowsParams
NewDeleteAPI24MaintenanceWindowsParamsWithTimeout creates a new DeleteAPI24MaintenanceWindowsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAPI24MaintenanceWindowsParams) SetAuthorization ¶
func (o *DeleteAPI24MaintenanceWindowsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the delete API 24 maintenance windows params
func (*DeleteAPI24MaintenanceWindowsParams) SetContext ¶
func (o *DeleteAPI24MaintenanceWindowsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API 24 maintenance windows params
func (*DeleteAPI24MaintenanceWindowsParams) SetHTTPClient ¶
func (o *DeleteAPI24MaintenanceWindowsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API 24 maintenance windows params
func (*DeleteAPI24MaintenanceWindowsParams) SetNames ¶
func (o *DeleteAPI24MaintenanceWindowsParams) SetNames(names []string)
SetNames adds the names to the delete API 24 maintenance windows params
func (*DeleteAPI24MaintenanceWindowsParams) SetTimeout ¶
func (o *DeleteAPI24MaintenanceWindowsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API 24 maintenance windows params
func (*DeleteAPI24MaintenanceWindowsParams) SetXRequestID ¶
func (o *DeleteAPI24MaintenanceWindowsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete API 24 maintenance windows params
func (*DeleteAPI24MaintenanceWindowsParams) WithAuthorization ¶
func (o *DeleteAPI24MaintenanceWindowsParams) WithAuthorization(authorization *string) *DeleteAPI24MaintenanceWindowsParams
WithAuthorization adds the authorization to the delete API 24 maintenance windows params
func (*DeleteAPI24MaintenanceWindowsParams) WithContext ¶
func (o *DeleteAPI24MaintenanceWindowsParams) WithContext(ctx context.Context) *DeleteAPI24MaintenanceWindowsParams
WithContext adds the context to the delete API 24 maintenance windows params
func (*DeleteAPI24MaintenanceWindowsParams) WithHTTPClient ¶
func (o *DeleteAPI24MaintenanceWindowsParams) WithHTTPClient(client *http.Client) *DeleteAPI24MaintenanceWindowsParams
WithHTTPClient adds the HTTPClient to the delete API 24 maintenance windows params
func (*DeleteAPI24MaintenanceWindowsParams) WithNames ¶
func (o *DeleteAPI24MaintenanceWindowsParams) WithNames(names []string) *DeleteAPI24MaintenanceWindowsParams
WithNames adds the names to the delete API 24 maintenance windows params
func (*DeleteAPI24MaintenanceWindowsParams) WithTimeout ¶
func (o *DeleteAPI24MaintenanceWindowsParams) WithTimeout(timeout time.Duration) *DeleteAPI24MaintenanceWindowsParams
WithTimeout adds the timeout to the delete API 24 maintenance windows params
func (*DeleteAPI24MaintenanceWindowsParams) WithXRequestID ¶
func (o *DeleteAPI24MaintenanceWindowsParams) WithXRequestID(xRequestID *string) *DeleteAPI24MaintenanceWindowsParams
WithXRequestID adds the xRequestID to the delete API 24 maintenance windows params
func (*DeleteAPI24MaintenanceWindowsParams) WriteToRequest ¶
func (o *DeleteAPI24MaintenanceWindowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPI24MaintenanceWindowsReader ¶
type DeleteAPI24MaintenanceWindowsReader struct {
// contains filtered or unexported fields
}
DeleteAPI24MaintenanceWindowsReader is a Reader for the DeleteAPI24MaintenanceWindows structure.
func (*DeleteAPI24MaintenanceWindowsReader) ReadResponse ¶
func (o *DeleteAPI24MaintenanceWindowsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteApi24MaintenanceWindowsBadRequest ¶
DeleteApi24MaintenanceWindowsBadRequest handles this case with default header values.
BadRequest
func NewDeleteApi24MaintenanceWindowsBadRequest ¶
func NewDeleteApi24MaintenanceWindowsBadRequest() *DeleteApi24MaintenanceWindowsBadRequest
NewDeleteApi24MaintenanceWindowsBadRequest creates a DeleteApi24MaintenanceWindowsBadRequest with default headers values
func (*DeleteApi24MaintenanceWindowsBadRequest) Error ¶
func (o *DeleteApi24MaintenanceWindowsBadRequest) Error() string
func (*DeleteApi24MaintenanceWindowsBadRequest) GetPayload ¶
func (o *DeleteApi24MaintenanceWindowsBadRequest) GetPayload() *models.Error
type DeleteApi24MaintenanceWindowsOK ¶
type DeleteApi24MaintenanceWindowsOK struct { }
DeleteApi24MaintenanceWindowsOK handles this case with default header values.
OK
func NewDeleteApi24MaintenanceWindowsOK ¶
func NewDeleteApi24MaintenanceWindowsOK() *DeleteApi24MaintenanceWindowsOK
NewDeleteApi24MaintenanceWindowsOK creates a DeleteApi24MaintenanceWindowsOK with default headers values
func (*DeleteApi24MaintenanceWindowsOK) Error ¶
func (o *DeleteApi24MaintenanceWindowsOK) Error() string
type GetAPI24MaintenanceWindowsParams ¶
type GetAPI24MaintenanceWindowsParams 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 /*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 }
GetAPI24MaintenanceWindowsParams contains all the parameters to send to the API endpoint for the get API 24 maintenance windows operation typically these are written to a http.Request
func NewGetAPI24MaintenanceWindowsParams ¶
func NewGetAPI24MaintenanceWindowsParams() *GetAPI24MaintenanceWindowsParams
NewGetAPI24MaintenanceWindowsParams creates a new GetAPI24MaintenanceWindowsParams object with the default values initialized.
func NewGetAPI24MaintenanceWindowsParamsWithContext ¶
func NewGetAPI24MaintenanceWindowsParamsWithContext(ctx context.Context) *GetAPI24MaintenanceWindowsParams
NewGetAPI24MaintenanceWindowsParamsWithContext creates a new GetAPI24MaintenanceWindowsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24MaintenanceWindowsParamsWithHTTPClient ¶
func NewGetAPI24MaintenanceWindowsParamsWithHTTPClient(client *http.Client) *GetAPI24MaintenanceWindowsParams
NewGetAPI24MaintenanceWindowsParamsWithHTTPClient creates a new GetAPI24MaintenanceWindowsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24MaintenanceWindowsParamsWithTimeout ¶
func NewGetAPI24MaintenanceWindowsParamsWithTimeout(timeout time.Duration) *GetAPI24MaintenanceWindowsParams
NewGetAPI24MaintenanceWindowsParamsWithTimeout creates a new GetAPI24MaintenanceWindowsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24MaintenanceWindowsParams) SetAuthorization ¶
func (o *GetAPI24MaintenanceWindowsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) SetContext ¶
func (o *GetAPI24MaintenanceWindowsParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) SetContinuationToken ¶
func (o *GetAPI24MaintenanceWindowsParams) SetContinuationToken(continuationToken *string)
SetContinuationToken adds the continuationToken to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) SetFilter ¶
func (o *GetAPI24MaintenanceWindowsParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) SetHTTPClient ¶
func (o *GetAPI24MaintenanceWindowsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) SetLimit ¶
func (o *GetAPI24MaintenanceWindowsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) SetNames ¶
func (o *GetAPI24MaintenanceWindowsParams) SetNames(names []string)
SetNames adds the names to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) SetOffset ¶
func (o *GetAPI24MaintenanceWindowsParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) SetSort ¶
func (o *GetAPI24MaintenanceWindowsParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) SetTimeout ¶
func (o *GetAPI24MaintenanceWindowsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) SetTotalItemCount ¶
func (o *GetAPI24MaintenanceWindowsParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) SetXRequestID ¶
func (o *GetAPI24MaintenanceWindowsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) WithAuthorization ¶
func (o *GetAPI24MaintenanceWindowsParams) WithAuthorization(authorization *string) *GetAPI24MaintenanceWindowsParams
WithAuthorization adds the authorization to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) WithContext ¶
func (o *GetAPI24MaintenanceWindowsParams) WithContext(ctx context.Context) *GetAPI24MaintenanceWindowsParams
WithContext adds the context to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) WithContinuationToken ¶
func (o *GetAPI24MaintenanceWindowsParams) WithContinuationToken(continuationToken *string) *GetAPI24MaintenanceWindowsParams
WithContinuationToken adds the continuationToken to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) WithFilter ¶
func (o *GetAPI24MaintenanceWindowsParams) WithFilter(filter *string) *GetAPI24MaintenanceWindowsParams
WithFilter adds the filter to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) WithHTTPClient ¶
func (o *GetAPI24MaintenanceWindowsParams) WithHTTPClient(client *http.Client) *GetAPI24MaintenanceWindowsParams
WithHTTPClient adds the HTTPClient to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) WithLimit ¶
func (o *GetAPI24MaintenanceWindowsParams) WithLimit(limit *int32) *GetAPI24MaintenanceWindowsParams
WithLimit adds the limit to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) WithNames ¶
func (o *GetAPI24MaintenanceWindowsParams) WithNames(names []string) *GetAPI24MaintenanceWindowsParams
WithNames adds the names to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) WithOffset ¶
func (o *GetAPI24MaintenanceWindowsParams) WithOffset(offset *int32) *GetAPI24MaintenanceWindowsParams
WithOffset adds the offset to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) WithSort ¶
func (o *GetAPI24MaintenanceWindowsParams) WithSort(sort []string) *GetAPI24MaintenanceWindowsParams
WithSort adds the sort to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) WithTimeout ¶
func (o *GetAPI24MaintenanceWindowsParams) WithTimeout(timeout time.Duration) *GetAPI24MaintenanceWindowsParams
WithTimeout adds the timeout to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) WithTotalItemCount ¶
func (o *GetAPI24MaintenanceWindowsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24MaintenanceWindowsParams
WithTotalItemCount adds the totalItemCount to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) WithXRequestID ¶
func (o *GetAPI24MaintenanceWindowsParams) WithXRequestID(xRequestID *string) *GetAPI24MaintenanceWindowsParams
WithXRequestID adds the xRequestID to the get API 24 maintenance windows params
func (*GetAPI24MaintenanceWindowsParams) WriteToRequest ¶
func (o *GetAPI24MaintenanceWindowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24MaintenanceWindowsReader ¶
type GetAPI24MaintenanceWindowsReader struct {
// contains filtered or unexported fields
}
GetAPI24MaintenanceWindowsReader is a Reader for the GetAPI24MaintenanceWindows structure.
func (*GetAPI24MaintenanceWindowsReader) ReadResponse ¶
func (o *GetAPI24MaintenanceWindowsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApi24MaintenanceWindowsBadRequest ¶
GetApi24MaintenanceWindowsBadRequest handles this case with default header values.
BadRequest
func NewGetApi24MaintenanceWindowsBadRequest ¶
func NewGetApi24MaintenanceWindowsBadRequest() *GetApi24MaintenanceWindowsBadRequest
NewGetApi24MaintenanceWindowsBadRequest creates a GetApi24MaintenanceWindowsBadRequest with default headers values
func (*GetApi24MaintenanceWindowsBadRequest) Error ¶
func (o *GetApi24MaintenanceWindowsBadRequest) Error() string
func (*GetApi24MaintenanceWindowsBadRequest) GetPayload ¶
func (o *GetApi24MaintenanceWindowsBadRequest) GetPayload() *models.Error
type GetApi24MaintenanceWindowsOK ¶
type GetApi24MaintenanceWindowsOK struct {
Payload *models.MaintenanceWindowsGetResponse
}
GetApi24MaintenanceWindowsOK handles this case with default header values.
OK
func NewGetApi24MaintenanceWindowsOK ¶
func NewGetApi24MaintenanceWindowsOK() *GetApi24MaintenanceWindowsOK
NewGetApi24MaintenanceWindowsOK creates a GetApi24MaintenanceWindowsOK with default headers values
func (*GetApi24MaintenanceWindowsOK) Error ¶
func (o *GetApi24MaintenanceWindowsOK) Error() string
func (*GetApi24MaintenanceWindowsOK) GetPayload ¶
func (o *GetApi24MaintenanceWindowsOK) GetPayload() *models.MaintenanceWindowsGetResponse
type PostAPI24MaintenanceWindowsParams ¶
type PostAPI24MaintenanceWindowsParams 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 /*MaintenanceWindow*/ MaintenanceWindow *models.MaintenanceWindowPost /*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 }
PostAPI24MaintenanceWindowsParams contains all the parameters to send to the API endpoint for the post API 24 maintenance windows operation typically these are written to a http.Request
func NewPostAPI24MaintenanceWindowsParams ¶
func NewPostAPI24MaintenanceWindowsParams() *PostAPI24MaintenanceWindowsParams
NewPostAPI24MaintenanceWindowsParams creates a new PostAPI24MaintenanceWindowsParams object with the default values initialized.
func NewPostAPI24MaintenanceWindowsParamsWithContext ¶
func NewPostAPI24MaintenanceWindowsParamsWithContext(ctx context.Context) *PostAPI24MaintenanceWindowsParams
NewPostAPI24MaintenanceWindowsParamsWithContext creates a new PostAPI24MaintenanceWindowsParams object with the default values initialized, and the ability to set a context for a request
func NewPostAPI24MaintenanceWindowsParamsWithHTTPClient ¶
func NewPostAPI24MaintenanceWindowsParamsWithHTTPClient(client *http.Client) *PostAPI24MaintenanceWindowsParams
NewPostAPI24MaintenanceWindowsParamsWithHTTPClient creates a new PostAPI24MaintenanceWindowsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAPI24MaintenanceWindowsParamsWithTimeout ¶
func NewPostAPI24MaintenanceWindowsParamsWithTimeout(timeout time.Duration) *PostAPI24MaintenanceWindowsParams
NewPostAPI24MaintenanceWindowsParamsWithTimeout creates a new PostAPI24MaintenanceWindowsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAPI24MaintenanceWindowsParams) SetAuthorization ¶
func (o *PostAPI24MaintenanceWindowsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the post API 24 maintenance windows params
func (*PostAPI24MaintenanceWindowsParams) SetContext ¶
func (o *PostAPI24MaintenanceWindowsParams) SetContext(ctx context.Context)
SetContext adds the context to the post API 24 maintenance windows params
func (*PostAPI24MaintenanceWindowsParams) SetHTTPClient ¶
func (o *PostAPI24MaintenanceWindowsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API 24 maintenance windows params
func (*PostAPI24MaintenanceWindowsParams) SetMaintenanceWindow ¶
func (o *PostAPI24MaintenanceWindowsParams) SetMaintenanceWindow(maintenanceWindow *models.MaintenanceWindowPost)
SetMaintenanceWindow adds the maintenanceWindow to the post API 24 maintenance windows params
func (*PostAPI24MaintenanceWindowsParams) SetNames ¶
func (o *PostAPI24MaintenanceWindowsParams) SetNames(names []string)
SetNames adds the names to the post API 24 maintenance windows params
func (*PostAPI24MaintenanceWindowsParams) SetTimeout ¶
func (o *PostAPI24MaintenanceWindowsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API 24 maintenance windows params
func (*PostAPI24MaintenanceWindowsParams) SetXRequestID ¶
func (o *PostAPI24MaintenanceWindowsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the post API 24 maintenance windows params
func (*PostAPI24MaintenanceWindowsParams) WithAuthorization ¶
func (o *PostAPI24MaintenanceWindowsParams) WithAuthorization(authorization *string) *PostAPI24MaintenanceWindowsParams
WithAuthorization adds the authorization to the post API 24 maintenance windows params
func (*PostAPI24MaintenanceWindowsParams) WithContext ¶
func (o *PostAPI24MaintenanceWindowsParams) WithContext(ctx context.Context) *PostAPI24MaintenanceWindowsParams
WithContext adds the context to the post API 24 maintenance windows params
func (*PostAPI24MaintenanceWindowsParams) WithHTTPClient ¶
func (o *PostAPI24MaintenanceWindowsParams) WithHTTPClient(client *http.Client) *PostAPI24MaintenanceWindowsParams
WithHTTPClient adds the HTTPClient to the post API 24 maintenance windows params
func (*PostAPI24MaintenanceWindowsParams) WithMaintenanceWindow ¶
func (o *PostAPI24MaintenanceWindowsParams) WithMaintenanceWindow(maintenanceWindow *models.MaintenanceWindowPost) *PostAPI24MaintenanceWindowsParams
WithMaintenanceWindow adds the maintenanceWindow to the post API 24 maintenance windows params
func (*PostAPI24MaintenanceWindowsParams) WithNames ¶
func (o *PostAPI24MaintenanceWindowsParams) WithNames(names []string) *PostAPI24MaintenanceWindowsParams
WithNames adds the names to the post API 24 maintenance windows params
func (*PostAPI24MaintenanceWindowsParams) WithTimeout ¶
func (o *PostAPI24MaintenanceWindowsParams) WithTimeout(timeout time.Duration) *PostAPI24MaintenanceWindowsParams
WithTimeout adds the timeout to the post API 24 maintenance windows params
func (*PostAPI24MaintenanceWindowsParams) WithXRequestID ¶
func (o *PostAPI24MaintenanceWindowsParams) WithXRequestID(xRequestID *string) *PostAPI24MaintenanceWindowsParams
WithXRequestID adds the xRequestID to the post API 24 maintenance windows params
func (*PostAPI24MaintenanceWindowsParams) WriteToRequest ¶
func (o *PostAPI24MaintenanceWindowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPI24MaintenanceWindowsReader ¶
type PostAPI24MaintenanceWindowsReader struct {
// contains filtered or unexported fields
}
PostAPI24MaintenanceWindowsReader is a Reader for the PostAPI24MaintenanceWindows structure.
func (*PostAPI24MaintenanceWindowsReader) ReadResponse ¶
func (o *PostAPI24MaintenanceWindowsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostApi24MaintenanceWindowsBadRequest ¶
PostApi24MaintenanceWindowsBadRequest handles this case with default header values.
BadRequest
func NewPostApi24MaintenanceWindowsBadRequest ¶
func NewPostApi24MaintenanceWindowsBadRequest() *PostApi24MaintenanceWindowsBadRequest
NewPostApi24MaintenanceWindowsBadRequest creates a PostApi24MaintenanceWindowsBadRequest with default headers values
func (*PostApi24MaintenanceWindowsBadRequest) Error ¶
func (o *PostApi24MaintenanceWindowsBadRequest) Error() string
func (*PostApi24MaintenanceWindowsBadRequest) GetPayload ¶
func (o *PostApi24MaintenanceWindowsBadRequest) GetPayload() *models.Error
type PostApi24MaintenanceWindowsOK ¶
type PostApi24MaintenanceWindowsOK struct {
Payload *models.MaintenanceWindowsResponse
}
PostApi24MaintenanceWindowsOK handles this case with default header values.
OK
func NewPostApi24MaintenanceWindowsOK ¶
func NewPostApi24MaintenanceWindowsOK() *PostApi24MaintenanceWindowsOK
NewPostApi24MaintenanceWindowsOK creates a PostApi24MaintenanceWindowsOK with default headers values
func (*PostApi24MaintenanceWindowsOK) Error ¶
func (o *PostApi24MaintenanceWindowsOK) Error() string
func (*PostApi24MaintenanceWindowsOK) GetPayload ¶
func (o *PostApi24MaintenanceWindowsOK) GetPayload() *models.MaintenanceWindowsResponse
Source Files ¶
- delete_api_24_maintenance_windows_swagger_parameters.go
- delete_api_24_maintenance_windows_swagger_responses.go
- get_api_24_maintenance_windows_swagger_parameters.go
- get_api_24_maintenance_windows_swagger_responses.go
- maintenance_windows_swagger_client.go
- post_api_24_maintenance_windows_swagger_parameters.go
- post_api_24_maintenance_windows_swagger_responses.go