maintenance_windows

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

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

WithAuthorization adds the authorization to the delete API 24 maintenance windows params

func (*DeleteAPI24MaintenanceWindowsParams) WithContext

WithContext adds the context to the delete API 24 maintenance windows params

func (*DeleteAPI24MaintenanceWindowsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API 24 maintenance windows params

func (*DeleteAPI24MaintenanceWindowsParams) WithNames

WithNames adds the names to the delete API 24 maintenance windows params

func (*DeleteAPI24MaintenanceWindowsParams) WithTimeout

WithTimeout adds the timeout to the delete API 24 maintenance windows params

func (*DeleteAPI24MaintenanceWindowsParams) WithXRequestID

WithXRequestID adds the xRequestID to the delete API 24 maintenance windows params

func (*DeleteAPI24MaintenanceWindowsParams) WriteToRequest

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

type DeleteApi24MaintenanceWindowsBadRequest struct {
	Payload *models.Error
}

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 (*DeleteApi24MaintenanceWindowsBadRequest) GetPayload

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

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

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

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

WithFilter adds the filter to the get API 24 maintenance windows params

func (*GetAPI24MaintenanceWindowsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API 24 maintenance windows params

func (*GetAPI24MaintenanceWindowsParams) WithLimit

WithLimit adds the limit to the get API 24 maintenance windows params

func (*GetAPI24MaintenanceWindowsParams) WithNames

WithNames adds the names to the get API 24 maintenance windows params

func (*GetAPI24MaintenanceWindowsParams) WithOffset

WithOffset adds the offset to the get API 24 maintenance windows params

func (*GetAPI24MaintenanceWindowsParams) WithSort

WithSort adds the sort to the get API 24 maintenance windows params

func (*GetAPI24MaintenanceWindowsParams) WithTimeout

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

WithXRequestID adds the xRequestID to the get API 24 maintenance windows params

func (*GetAPI24MaintenanceWindowsParams) WriteToRequest

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

type GetApi24MaintenanceWindowsBadRequest struct {
	Payload *models.Error
}

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 (*GetApi24MaintenanceWindowsBadRequest) GetPayload

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 (*GetApi24MaintenanceWindowsOK) GetPayload

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

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

WithContext adds the context to the post API 24 maintenance windows params

func (*PostAPI24MaintenanceWindowsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API 24 maintenance windows params

func (*PostAPI24MaintenanceWindowsParams) WithMaintenanceWindow

WithMaintenanceWindow adds the maintenanceWindow to the post API 24 maintenance windows params

func (*PostAPI24MaintenanceWindowsParams) WithNames

WithNames adds the names to the post API 24 maintenance windows params

func (*PostAPI24MaintenanceWindowsParams) WithTimeout

WithTimeout adds the timeout to the post API 24 maintenance windows params

func (*PostAPI24MaintenanceWindowsParams) WithXRequestID

WithXRequestID adds the xRequestID to the post API 24 maintenance windows params

func (*PostAPI24MaintenanceWindowsParams) WriteToRequest

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

type PostApi24MaintenanceWindowsBadRequest struct {
	Payload *models.Error
}

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 (*PostApi24MaintenanceWindowsBadRequest) GetPayload

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 (*PostApi24MaintenanceWindowsOK) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL