Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateMaintenanceWindow(params *CreateMaintenanceWindowParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMaintenanceWindowCreated, error)
- func (a *Client) DeleteMaintenanceWindow(params *DeleteMaintenanceWindowParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMaintenanceWindowNoContent, error)
- func (a *Client) GetMaintenanceWindow(params *GetMaintenanceWindowParams, authInfo runtime.ClientAuthInfoWriter) (*GetMaintenanceWindowOK, error)
- func (a *Client) GetMaintenanceWindows(params *GetMaintenanceWindowsParams, authInfo runtime.ClientAuthInfoWriter) (*GetMaintenanceWindowsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateMaintenanceWindow(params *UpdateMaintenanceWindowParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMaintenanceWindowCreated, *UpdateMaintenanceWindowNoContent, error)
- func (a *Client) ValidateCreateMaintenanceWindow(params *ValidateCreateMaintenanceWindowParams, ...) (*ValidateCreateMaintenanceWindowNoContent, error)
- func (a *Client) ValidateUpdateMaintenanceWindow(params *ValidateUpdateMaintenanceWindowParams, ...) (*ValidateUpdateMaintenanceWindowNoContent, error)
- type ClientService
- type CreateMaintenanceWindowBadRequest
- type CreateMaintenanceWindowCreated
- type CreateMaintenanceWindowParams
- func NewCreateMaintenanceWindowParams() *CreateMaintenanceWindowParams
- func NewCreateMaintenanceWindowParamsWithContext(ctx context.Context) *CreateMaintenanceWindowParams
- func NewCreateMaintenanceWindowParamsWithHTTPClient(client *http.Client) *CreateMaintenanceWindowParams
- func NewCreateMaintenanceWindowParamsWithTimeout(timeout time.Duration) *CreateMaintenanceWindowParams
- func (o *CreateMaintenanceWindowParams) SetBody(body *dynatrace.MaintenanceWindow)
- func (o *CreateMaintenanceWindowParams) SetContext(ctx context.Context)
- func (o *CreateMaintenanceWindowParams) SetHTTPClient(client *http.Client)
- func (o *CreateMaintenanceWindowParams) SetTimeout(timeout time.Duration)
- func (o *CreateMaintenanceWindowParams) WithBody(body *dynatrace.MaintenanceWindow) *CreateMaintenanceWindowParams
- func (o *CreateMaintenanceWindowParams) WithContext(ctx context.Context) *CreateMaintenanceWindowParams
- func (o *CreateMaintenanceWindowParams) WithHTTPClient(client *http.Client) *CreateMaintenanceWindowParams
- func (o *CreateMaintenanceWindowParams) WithTimeout(timeout time.Duration) *CreateMaintenanceWindowParams
- func (o *CreateMaintenanceWindowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMaintenanceWindowReader
- type DeleteMaintenanceWindowNoContent
- type DeleteMaintenanceWindowParams
- func NewDeleteMaintenanceWindowParams() *DeleteMaintenanceWindowParams
- func NewDeleteMaintenanceWindowParamsWithContext(ctx context.Context) *DeleteMaintenanceWindowParams
- func NewDeleteMaintenanceWindowParamsWithHTTPClient(client *http.Client) *DeleteMaintenanceWindowParams
- func NewDeleteMaintenanceWindowParamsWithTimeout(timeout time.Duration) *DeleteMaintenanceWindowParams
- func (o *DeleteMaintenanceWindowParams) SetContext(ctx context.Context)
- func (o *DeleteMaintenanceWindowParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMaintenanceWindowParams) SetID(id strfmt.UUID)
- func (o *DeleteMaintenanceWindowParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMaintenanceWindowParams) WithContext(ctx context.Context) *DeleteMaintenanceWindowParams
- func (o *DeleteMaintenanceWindowParams) WithHTTPClient(client *http.Client) *DeleteMaintenanceWindowParams
- func (o *DeleteMaintenanceWindowParams) WithID(id strfmt.UUID) *DeleteMaintenanceWindowParams
- func (o *DeleteMaintenanceWindowParams) WithTimeout(timeout time.Duration) *DeleteMaintenanceWindowParams
- func (o *DeleteMaintenanceWindowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMaintenanceWindowReader
- type GetMaintenanceWindowOK
- type GetMaintenanceWindowParams
- func NewGetMaintenanceWindowParams() *GetMaintenanceWindowParams
- func NewGetMaintenanceWindowParamsWithContext(ctx context.Context) *GetMaintenanceWindowParams
- func NewGetMaintenanceWindowParamsWithHTTPClient(client *http.Client) *GetMaintenanceWindowParams
- func NewGetMaintenanceWindowParamsWithTimeout(timeout time.Duration) *GetMaintenanceWindowParams
- func (o *GetMaintenanceWindowParams) SetContext(ctx context.Context)
- func (o *GetMaintenanceWindowParams) SetHTTPClient(client *http.Client)
- func (o *GetMaintenanceWindowParams) SetID(id strfmt.UUID)
- func (o *GetMaintenanceWindowParams) SetTimeout(timeout time.Duration)
- func (o *GetMaintenanceWindowParams) WithContext(ctx context.Context) *GetMaintenanceWindowParams
- func (o *GetMaintenanceWindowParams) WithHTTPClient(client *http.Client) *GetMaintenanceWindowParams
- func (o *GetMaintenanceWindowParams) WithID(id strfmt.UUID) *GetMaintenanceWindowParams
- func (o *GetMaintenanceWindowParams) WithTimeout(timeout time.Duration) *GetMaintenanceWindowParams
- func (o *GetMaintenanceWindowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMaintenanceWindowReader
- type GetMaintenanceWindowsOK
- type GetMaintenanceWindowsParams
- func NewGetMaintenanceWindowsParams() *GetMaintenanceWindowsParams
- func NewGetMaintenanceWindowsParamsWithContext(ctx context.Context) *GetMaintenanceWindowsParams
- func NewGetMaintenanceWindowsParamsWithHTTPClient(client *http.Client) *GetMaintenanceWindowsParams
- func NewGetMaintenanceWindowsParamsWithTimeout(timeout time.Duration) *GetMaintenanceWindowsParams
- func (o *GetMaintenanceWindowsParams) SetContext(ctx context.Context)
- func (o *GetMaintenanceWindowsParams) SetHTTPClient(client *http.Client)
- func (o *GetMaintenanceWindowsParams) SetTimeout(timeout time.Duration)
- func (o *GetMaintenanceWindowsParams) WithContext(ctx context.Context) *GetMaintenanceWindowsParams
- func (o *GetMaintenanceWindowsParams) WithHTTPClient(client *http.Client) *GetMaintenanceWindowsParams
- func (o *GetMaintenanceWindowsParams) WithTimeout(timeout time.Duration) *GetMaintenanceWindowsParams
- func (o *GetMaintenanceWindowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMaintenanceWindowsReader
- type ReturnAllMaintenanceWindowsOK
- type ReturnAllMaintenanceWindowsParams
- func NewReturnAllMaintenanceWindowsParams() *ReturnAllMaintenanceWindowsParams
- func NewReturnAllMaintenanceWindowsParamsWithContext(ctx context.Context) *ReturnAllMaintenanceWindowsParams
- func NewReturnAllMaintenanceWindowsParamsWithHTTPClient(client *http.Client) *ReturnAllMaintenanceWindowsParams
- func NewReturnAllMaintenanceWindowsParamsWithTimeout(timeout time.Duration) *ReturnAllMaintenanceWindowsParams
- func (o *ReturnAllMaintenanceWindowsParams) SetContext(ctx context.Context)
- func (o *ReturnAllMaintenanceWindowsParams) SetHTTPClient(client *http.Client)
- func (o *ReturnAllMaintenanceWindowsParams) SetTimeout(timeout time.Duration)
- func (o *ReturnAllMaintenanceWindowsParams) WithContext(ctx context.Context) *ReturnAllMaintenanceWindowsParams
- func (o *ReturnAllMaintenanceWindowsParams) WithHTTPClient(client *http.Client) *ReturnAllMaintenanceWindowsParams
- func (o *ReturnAllMaintenanceWindowsParams) WithTimeout(timeout time.Duration) *ReturnAllMaintenanceWindowsParams
- func (o *ReturnAllMaintenanceWindowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReturnAllMaintenanceWindowsReader
- type UpdateMaintenanceWindowBadRequest
- type UpdateMaintenanceWindowCreated
- type UpdateMaintenanceWindowNoContent
- type UpdateMaintenanceWindowParams
- func NewUpdateMaintenanceWindowParams() *UpdateMaintenanceWindowParams
- func NewUpdateMaintenanceWindowParamsWithContext(ctx context.Context) *UpdateMaintenanceWindowParams
- func NewUpdateMaintenanceWindowParamsWithHTTPClient(client *http.Client) *UpdateMaintenanceWindowParams
- func NewUpdateMaintenanceWindowParamsWithTimeout(timeout time.Duration) *UpdateMaintenanceWindowParams
- func (o *UpdateMaintenanceWindowParams) SetBody(body *dynatrace.MaintenanceWindow)
- func (o *UpdateMaintenanceWindowParams) SetContext(ctx context.Context)
- func (o *UpdateMaintenanceWindowParams) SetHTTPClient(client *http.Client)
- func (o *UpdateMaintenanceWindowParams) SetID(id strfmt.UUID)
- func (o *UpdateMaintenanceWindowParams) SetTimeout(timeout time.Duration)
- func (o *UpdateMaintenanceWindowParams) WithBody(body *dynatrace.MaintenanceWindow) *UpdateMaintenanceWindowParams
- func (o *UpdateMaintenanceWindowParams) WithContext(ctx context.Context) *UpdateMaintenanceWindowParams
- func (o *UpdateMaintenanceWindowParams) WithHTTPClient(client *http.Client) *UpdateMaintenanceWindowParams
- func (o *UpdateMaintenanceWindowParams) WithID(id strfmt.UUID) *UpdateMaintenanceWindowParams
- func (o *UpdateMaintenanceWindowParams) WithTimeout(timeout time.Duration) *UpdateMaintenanceWindowParams
- func (o *UpdateMaintenanceWindowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateMaintenanceWindowReader
- type ValidateCreateConfigurationBadRequest
- type ValidateCreateConfigurationNoContent
- type ValidateCreateConfigurationParams
- func NewValidateCreateConfigurationParams() *ValidateCreateConfigurationParams
- func NewValidateCreateConfigurationParamsWithContext(ctx context.Context) *ValidateCreateConfigurationParams
- func NewValidateCreateConfigurationParamsWithHTTPClient(client *http.Client) *ValidateCreateConfigurationParams
- func NewValidateCreateConfigurationParamsWithTimeout(timeout time.Duration) *ValidateCreateConfigurationParams
- func (o *ValidateCreateConfigurationParams) SetBody(body *dynatrace.MaintenanceWindow)
- func (o *ValidateCreateConfigurationParams) SetContext(ctx context.Context)
- func (o *ValidateCreateConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *ValidateCreateConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *ValidateCreateConfigurationParams) WithBody(body *dynatrace.MaintenanceWindow) *ValidateCreateConfigurationParams
- func (o *ValidateCreateConfigurationParams) WithContext(ctx context.Context) *ValidateCreateConfigurationParams
- func (o *ValidateCreateConfigurationParams) WithHTTPClient(client *http.Client) *ValidateCreateConfigurationParams
- func (o *ValidateCreateConfigurationParams) WithTimeout(timeout time.Duration) *ValidateCreateConfigurationParams
- func (o *ValidateCreateConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateCreateConfigurationReader
- type ValidateCreateMaintenanceWindowBadRequest
- type ValidateCreateMaintenanceWindowNoContent
- type ValidateCreateMaintenanceWindowParams
- func NewValidateCreateMaintenanceWindowParams() *ValidateCreateMaintenanceWindowParams
- func NewValidateCreateMaintenanceWindowParamsWithContext(ctx context.Context) *ValidateCreateMaintenanceWindowParams
- func NewValidateCreateMaintenanceWindowParamsWithHTTPClient(client *http.Client) *ValidateCreateMaintenanceWindowParams
- func NewValidateCreateMaintenanceWindowParamsWithTimeout(timeout time.Duration) *ValidateCreateMaintenanceWindowParams
- func (o *ValidateCreateMaintenanceWindowParams) SetBody(body *dynatrace.MaintenanceWindow)
- func (o *ValidateCreateMaintenanceWindowParams) SetContext(ctx context.Context)
- func (o *ValidateCreateMaintenanceWindowParams) SetHTTPClient(client *http.Client)
- func (o *ValidateCreateMaintenanceWindowParams) SetTimeout(timeout time.Duration)
- func (o *ValidateCreateMaintenanceWindowParams) WithBody(body *dynatrace.MaintenanceWindow) *ValidateCreateMaintenanceWindowParams
- func (o *ValidateCreateMaintenanceWindowParams) WithContext(ctx context.Context) *ValidateCreateMaintenanceWindowParams
- func (o *ValidateCreateMaintenanceWindowParams) WithHTTPClient(client *http.Client) *ValidateCreateMaintenanceWindowParams
- func (o *ValidateCreateMaintenanceWindowParams) WithTimeout(timeout time.Duration) *ValidateCreateMaintenanceWindowParams
- func (o *ValidateCreateMaintenanceWindowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateCreateMaintenanceWindowReader
- type ValidateUpdateConfigurationBadRequest
- type ValidateUpdateConfigurationNoContent
- type ValidateUpdateConfigurationParams
- func NewValidateUpdateConfigurationParams() *ValidateUpdateConfigurationParams
- func NewValidateUpdateConfigurationParamsWithContext(ctx context.Context) *ValidateUpdateConfigurationParams
- func NewValidateUpdateConfigurationParamsWithHTTPClient(client *http.Client) *ValidateUpdateConfigurationParams
- func NewValidateUpdateConfigurationParamsWithTimeout(timeout time.Duration) *ValidateUpdateConfigurationParams
- func (o *ValidateUpdateConfigurationParams) SetBody(body *dynatrace.MaintenanceWindow)
- func (o *ValidateUpdateConfigurationParams) SetContext(ctx context.Context)
- func (o *ValidateUpdateConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *ValidateUpdateConfigurationParams) SetID(id strfmt.UUID)
- func (o *ValidateUpdateConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *ValidateUpdateConfigurationParams) WithBody(body *dynatrace.MaintenanceWindow) *ValidateUpdateConfigurationParams
- func (o *ValidateUpdateConfigurationParams) WithContext(ctx context.Context) *ValidateUpdateConfigurationParams
- func (o *ValidateUpdateConfigurationParams) WithHTTPClient(client *http.Client) *ValidateUpdateConfigurationParams
- func (o *ValidateUpdateConfigurationParams) WithID(id strfmt.UUID) *ValidateUpdateConfigurationParams
- func (o *ValidateUpdateConfigurationParams) WithTimeout(timeout time.Duration) *ValidateUpdateConfigurationParams
- func (o *ValidateUpdateConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateUpdateConfigurationReader
- type ValidateUpdateMaintenanceWindowBadRequest
- type ValidateUpdateMaintenanceWindowNoContent
- type ValidateUpdateMaintenanceWindowParams
- func NewValidateUpdateMaintenanceWindowParams() *ValidateUpdateMaintenanceWindowParams
- func NewValidateUpdateMaintenanceWindowParamsWithContext(ctx context.Context) *ValidateUpdateMaintenanceWindowParams
- func NewValidateUpdateMaintenanceWindowParamsWithHTTPClient(client *http.Client) *ValidateUpdateMaintenanceWindowParams
- func NewValidateUpdateMaintenanceWindowParamsWithTimeout(timeout time.Duration) *ValidateUpdateMaintenanceWindowParams
- func (o *ValidateUpdateMaintenanceWindowParams) SetBody(body *dynatrace.MaintenanceWindow)
- func (o *ValidateUpdateMaintenanceWindowParams) SetContext(ctx context.Context)
- func (o *ValidateUpdateMaintenanceWindowParams) SetHTTPClient(client *http.Client)
- func (o *ValidateUpdateMaintenanceWindowParams) SetID(id strfmt.UUID)
- func (o *ValidateUpdateMaintenanceWindowParams) SetTimeout(timeout time.Duration)
- func (o *ValidateUpdateMaintenanceWindowParams) WithBody(body *dynatrace.MaintenanceWindow) *ValidateUpdateMaintenanceWindowParams
- func (o *ValidateUpdateMaintenanceWindowParams) WithContext(ctx context.Context) *ValidateUpdateMaintenanceWindowParams
- func (o *ValidateUpdateMaintenanceWindowParams) WithHTTPClient(client *http.Client) *ValidateUpdateMaintenanceWindowParams
- func (o *ValidateUpdateMaintenanceWindowParams) WithID(id strfmt.UUID) *ValidateUpdateMaintenanceWindowParams
- func (o *ValidateUpdateMaintenanceWindowParams) WithTimeout(timeout time.Duration) *ValidateUpdateMaintenanceWindowParams
- func (o *ValidateUpdateMaintenanceWindowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateUpdateMaintenanceWindowReader
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) CreateMaintenanceWindow ¶
func (a *Client) CreateMaintenanceWindow(params *CreateMaintenanceWindowParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMaintenanceWindowCreated, error)
CreateMaintenanceWindow creates a new maintenance window
The body must not provide an ID. An ID is assigned automatically by the Dynatrace server.
func (*Client) DeleteMaintenanceWindow ¶
func (a *Client) DeleteMaintenanceWindow(params *DeleteMaintenanceWindowParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMaintenanceWindowNoContent, error)
DeleteMaintenanceWindow deletes the specified maintenance window
func (*Client) GetMaintenanceWindow ¶
func (a *Client) GetMaintenanceWindow(params *GetMaintenanceWindowParams, authInfo runtime.ClientAuthInfoWriter) (*GetMaintenanceWindowOK, error)
GetMaintenanceWindow gets the properties of the specified maintenance window
func (*Client) GetMaintenanceWindows ¶
func (a *Client) GetMaintenanceWindows(params *GetMaintenanceWindowsParams, authInfo runtime.ClientAuthInfoWriter) (*GetMaintenanceWindowsOK, error)
GetMaintenanceWindows lists all available maintenance windows
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateMaintenanceWindow ¶
func (a *Client) UpdateMaintenanceWindow(params *UpdateMaintenanceWindowParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMaintenanceWindowCreated, *UpdateMaintenanceWindowNoContent, error)
UpdateMaintenanceWindow updates an existing maintenance window
If a maintenance window with the specified ID doesn't exist, a new one is created.
func (*Client) ValidateCreateMaintenanceWindow ¶
func (a *Client) ValidateCreateMaintenanceWindow(params *ValidateCreateMaintenanceWindowParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateCreateMaintenanceWindowNoContent, error)
ValidateCreateMaintenanceWindow validates the payload for the p o s t maintenancewindow request
func (*Client) ValidateUpdateMaintenanceWindow ¶
func (a *Client) ValidateUpdateMaintenanceWindow(params *ValidateUpdateMaintenanceWindowParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateMaintenanceWindowNoContent, error)
ValidateUpdateMaintenanceWindow validates the payload for the p u t maintenancewindow id request
type ClientService ¶
type ClientService interface { CreateMaintenanceWindow(params *CreateMaintenanceWindowParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMaintenanceWindowCreated, error) DeleteMaintenanceWindow(params *DeleteMaintenanceWindowParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMaintenanceWindowNoContent, error) GetMaintenanceWindow(params *GetMaintenanceWindowParams, authInfo runtime.ClientAuthInfoWriter) (*GetMaintenanceWindowOK, error) GetMaintenanceWindows(params *GetMaintenanceWindowsParams, authInfo runtime.ClientAuthInfoWriter) (*GetMaintenanceWindowsOK, error) UpdateMaintenanceWindow(params *UpdateMaintenanceWindowParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateMaintenanceWindowCreated, *UpdateMaintenanceWindowNoContent, error) ValidateCreateMaintenanceWindow(params *ValidateCreateMaintenanceWindowParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateCreateMaintenanceWindowNoContent, error) ValidateUpdateMaintenanceWindow(params *ValidateUpdateMaintenanceWindowParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateMaintenanceWindowNoContent, 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 CreateMaintenanceWindowBadRequest ¶
type CreateMaintenanceWindowBadRequest struct {
Payload *dynatrace.ErrorEnvelope
}
CreateMaintenanceWindowBadRequest handles this case with default header values.
Failed. The input is invalid.
func NewCreateMaintenanceWindowBadRequest ¶
func NewCreateMaintenanceWindowBadRequest() *CreateMaintenanceWindowBadRequest
NewCreateMaintenanceWindowBadRequest creates a CreateMaintenanceWindowBadRequest with default headers values
func (*CreateMaintenanceWindowBadRequest) Error ¶
func (o *CreateMaintenanceWindowBadRequest) Error() string
func (*CreateMaintenanceWindowBadRequest) GetPayload ¶
func (o *CreateMaintenanceWindowBadRequest) GetPayload() *dynatrace.ErrorEnvelope
type CreateMaintenanceWindowCreated ¶
type CreateMaintenanceWindowCreated struct {
Payload *dynatrace.EntityShortRepresentation
}
CreateMaintenanceWindowCreated handles this case with default header values.
Success. The new maintenance window has been created. The response body contains its ID.
func NewCreateMaintenanceWindowCreated ¶
func NewCreateMaintenanceWindowCreated() *CreateMaintenanceWindowCreated
NewCreateMaintenanceWindowCreated creates a CreateMaintenanceWindowCreated with default headers values
func (*CreateMaintenanceWindowCreated) Error ¶
func (o *CreateMaintenanceWindowCreated) Error() string
func (*CreateMaintenanceWindowCreated) GetPayload ¶
func (o *CreateMaintenanceWindowCreated) GetPayload() *dynatrace.EntityShortRepresentation
type CreateMaintenanceWindowParams ¶
type CreateMaintenanceWindowParams struct { /*Body The JSON body of the request. Contains parameters of the new maintenance window. */ Body *dynatrace.MaintenanceWindow Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMaintenanceWindowParams contains all the parameters to send to the API endpoint for the create maintenance window operation typically these are written to a http.Request
func NewCreateMaintenanceWindowParams ¶
func NewCreateMaintenanceWindowParams() *CreateMaintenanceWindowParams
NewCreateMaintenanceWindowParams creates a new CreateMaintenanceWindowParams object with the default values initialized.
func NewCreateMaintenanceWindowParamsWithContext ¶
func NewCreateMaintenanceWindowParamsWithContext(ctx context.Context) *CreateMaintenanceWindowParams
NewCreateMaintenanceWindowParamsWithContext creates a new CreateMaintenanceWindowParams object with the default values initialized, and the ability to set a context for a request
func NewCreateMaintenanceWindowParamsWithHTTPClient ¶
func NewCreateMaintenanceWindowParamsWithHTTPClient(client *http.Client) *CreateMaintenanceWindowParams
NewCreateMaintenanceWindowParamsWithHTTPClient creates a new CreateMaintenanceWindowParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateMaintenanceWindowParamsWithTimeout ¶
func NewCreateMaintenanceWindowParamsWithTimeout(timeout time.Duration) *CreateMaintenanceWindowParams
NewCreateMaintenanceWindowParamsWithTimeout creates a new CreateMaintenanceWindowParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateMaintenanceWindowParams) SetBody ¶
func (o *CreateMaintenanceWindowParams) SetBody(body *dynatrace.MaintenanceWindow)
SetBody adds the body to the create maintenance window params
func (*CreateMaintenanceWindowParams) SetContext ¶
func (o *CreateMaintenanceWindowParams) SetContext(ctx context.Context)
SetContext adds the context to the create maintenance window params
func (*CreateMaintenanceWindowParams) SetHTTPClient ¶
func (o *CreateMaintenanceWindowParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create maintenance window params
func (*CreateMaintenanceWindowParams) SetTimeout ¶
func (o *CreateMaintenanceWindowParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create maintenance window params
func (*CreateMaintenanceWindowParams) WithBody ¶
func (o *CreateMaintenanceWindowParams) WithBody(body *dynatrace.MaintenanceWindow) *CreateMaintenanceWindowParams
WithBody adds the body to the create maintenance window params
func (*CreateMaintenanceWindowParams) WithContext ¶
func (o *CreateMaintenanceWindowParams) WithContext(ctx context.Context) *CreateMaintenanceWindowParams
WithContext adds the context to the create maintenance window params
func (*CreateMaintenanceWindowParams) WithHTTPClient ¶
func (o *CreateMaintenanceWindowParams) WithHTTPClient(client *http.Client) *CreateMaintenanceWindowParams
WithHTTPClient adds the HTTPClient to the create maintenance window params
func (*CreateMaintenanceWindowParams) WithTimeout ¶
func (o *CreateMaintenanceWindowParams) WithTimeout(timeout time.Duration) *CreateMaintenanceWindowParams
WithTimeout adds the timeout to the create maintenance window params
func (*CreateMaintenanceWindowParams) WriteToRequest ¶
func (o *CreateMaintenanceWindowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMaintenanceWindowReader ¶
type CreateMaintenanceWindowReader struct {
// contains filtered or unexported fields
}
CreateMaintenanceWindowReader is a Reader for the CreateMaintenanceWindow structure.
func (*CreateMaintenanceWindowReader) ReadResponse ¶
func (o *CreateMaintenanceWindowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMaintenanceWindowNoContent ¶
type DeleteMaintenanceWindowNoContent struct { }
DeleteMaintenanceWindowNoContent handles this case with default header values.
Success. The maintenance window has been deleted. Response doesn't have a body.
func NewDeleteMaintenanceWindowNoContent ¶
func NewDeleteMaintenanceWindowNoContent() *DeleteMaintenanceWindowNoContent
NewDeleteMaintenanceWindowNoContent creates a DeleteMaintenanceWindowNoContent with default headers values
func (*DeleteMaintenanceWindowNoContent) Error ¶
func (o *DeleteMaintenanceWindowNoContent) Error() string
type DeleteMaintenanceWindowParams ¶
type DeleteMaintenanceWindowParams struct { /*ID The ID of the maintenance window to be deleted. */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMaintenanceWindowParams contains all the parameters to send to the API endpoint for the delete maintenance window operation typically these are written to a http.Request
func NewDeleteMaintenanceWindowParams ¶
func NewDeleteMaintenanceWindowParams() *DeleteMaintenanceWindowParams
NewDeleteMaintenanceWindowParams creates a new DeleteMaintenanceWindowParams object with the default values initialized.
func NewDeleteMaintenanceWindowParamsWithContext ¶
func NewDeleteMaintenanceWindowParamsWithContext(ctx context.Context) *DeleteMaintenanceWindowParams
NewDeleteMaintenanceWindowParamsWithContext creates a new DeleteMaintenanceWindowParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteMaintenanceWindowParamsWithHTTPClient ¶
func NewDeleteMaintenanceWindowParamsWithHTTPClient(client *http.Client) *DeleteMaintenanceWindowParams
NewDeleteMaintenanceWindowParamsWithHTTPClient creates a new DeleteMaintenanceWindowParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteMaintenanceWindowParamsWithTimeout ¶
func NewDeleteMaintenanceWindowParamsWithTimeout(timeout time.Duration) *DeleteMaintenanceWindowParams
NewDeleteMaintenanceWindowParamsWithTimeout creates a new DeleteMaintenanceWindowParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteMaintenanceWindowParams) SetContext ¶
func (o *DeleteMaintenanceWindowParams) SetContext(ctx context.Context)
SetContext adds the context to the delete maintenance window params
func (*DeleteMaintenanceWindowParams) SetHTTPClient ¶
func (o *DeleteMaintenanceWindowParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete maintenance window params
func (*DeleteMaintenanceWindowParams) SetID ¶
func (o *DeleteMaintenanceWindowParams) SetID(id strfmt.UUID)
SetID adds the id to the delete maintenance window params
func (*DeleteMaintenanceWindowParams) SetTimeout ¶
func (o *DeleteMaintenanceWindowParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete maintenance window params
func (*DeleteMaintenanceWindowParams) WithContext ¶
func (o *DeleteMaintenanceWindowParams) WithContext(ctx context.Context) *DeleteMaintenanceWindowParams
WithContext adds the context to the delete maintenance window params
func (*DeleteMaintenanceWindowParams) WithHTTPClient ¶
func (o *DeleteMaintenanceWindowParams) WithHTTPClient(client *http.Client) *DeleteMaintenanceWindowParams
WithHTTPClient adds the HTTPClient to the delete maintenance window params
func (*DeleteMaintenanceWindowParams) WithID ¶
func (o *DeleteMaintenanceWindowParams) WithID(id strfmt.UUID) *DeleteMaintenanceWindowParams
WithID adds the id to the delete maintenance window params
func (*DeleteMaintenanceWindowParams) WithTimeout ¶
func (o *DeleteMaintenanceWindowParams) WithTimeout(timeout time.Duration) *DeleteMaintenanceWindowParams
WithTimeout adds the timeout to the delete maintenance window params
func (*DeleteMaintenanceWindowParams) WriteToRequest ¶
func (o *DeleteMaintenanceWindowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMaintenanceWindowReader ¶
type DeleteMaintenanceWindowReader struct {
// contains filtered or unexported fields
}
DeleteMaintenanceWindowReader is a Reader for the DeleteMaintenanceWindow structure.
func (*DeleteMaintenanceWindowReader) ReadResponse ¶
func (o *DeleteMaintenanceWindowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMaintenanceWindowOK ¶
type GetMaintenanceWindowOK struct {
Payload *dynatrace.MaintenanceWindow
}
GetMaintenanceWindowOK handles this case with default header values.
successful operation
func NewGetMaintenanceWindowOK ¶
func NewGetMaintenanceWindowOK() *GetMaintenanceWindowOK
NewGetMaintenanceWindowOK creates a GetMaintenanceWindowOK with default headers values
func (*GetMaintenanceWindowOK) Error ¶
func (o *GetMaintenanceWindowOK) Error() string
func (*GetMaintenanceWindowOK) GetPayload ¶
func (o *GetMaintenanceWindowOK) GetPayload() *dynatrace.MaintenanceWindow
type GetMaintenanceWindowParams ¶
type GetMaintenanceWindowParams struct { /*ID The ID of the required maintenance window. */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMaintenanceWindowParams contains all the parameters to send to the API endpoint for the get maintenance window operation typically these are written to a http.Request
func NewGetMaintenanceWindowParams ¶
func NewGetMaintenanceWindowParams() *GetMaintenanceWindowParams
NewGetMaintenanceWindowParams creates a new GetMaintenanceWindowParams object with the default values initialized.
func NewGetMaintenanceWindowParamsWithContext ¶
func NewGetMaintenanceWindowParamsWithContext(ctx context.Context) *GetMaintenanceWindowParams
NewGetMaintenanceWindowParamsWithContext creates a new GetMaintenanceWindowParams object with the default values initialized, and the ability to set a context for a request
func NewGetMaintenanceWindowParamsWithHTTPClient ¶
func NewGetMaintenanceWindowParamsWithHTTPClient(client *http.Client) *GetMaintenanceWindowParams
NewGetMaintenanceWindowParamsWithHTTPClient creates a new GetMaintenanceWindowParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMaintenanceWindowParamsWithTimeout ¶
func NewGetMaintenanceWindowParamsWithTimeout(timeout time.Duration) *GetMaintenanceWindowParams
NewGetMaintenanceWindowParamsWithTimeout creates a new GetMaintenanceWindowParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMaintenanceWindowParams) SetContext ¶
func (o *GetMaintenanceWindowParams) SetContext(ctx context.Context)
SetContext adds the context to the get maintenance window params
func (*GetMaintenanceWindowParams) SetHTTPClient ¶
func (o *GetMaintenanceWindowParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get maintenance window params
func (*GetMaintenanceWindowParams) SetID ¶
func (o *GetMaintenanceWindowParams) SetID(id strfmt.UUID)
SetID adds the id to the get maintenance window params
func (*GetMaintenanceWindowParams) SetTimeout ¶
func (o *GetMaintenanceWindowParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get maintenance window params
func (*GetMaintenanceWindowParams) WithContext ¶
func (o *GetMaintenanceWindowParams) WithContext(ctx context.Context) *GetMaintenanceWindowParams
WithContext adds the context to the get maintenance window params
func (*GetMaintenanceWindowParams) WithHTTPClient ¶
func (o *GetMaintenanceWindowParams) WithHTTPClient(client *http.Client) *GetMaintenanceWindowParams
WithHTTPClient adds the HTTPClient to the get maintenance window params
func (*GetMaintenanceWindowParams) WithID ¶
func (o *GetMaintenanceWindowParams) WithID(id strfmt.UUID) *GetMaintenanceWindowParams
WithID adds the id to the get maintenance window params
func (*GetMaintenanceWindowParams) WithTimeout ¶
func (o *GetMaintenanceWindowParams) WithTimeout(timeout time.Duration) *GetMaintenanceWindowParams
WithTimeout adds the timeout to the get maintenance window params
func (*GetMaintenanceWindowParams) WriteToRequest ¶
func (o *GetMaintenanceWindowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMaintenanceWindowReader ¶
type GetMaintenanceWindowReader struct {
// contains filtered or unexported fields
}
GetMaintenanceWindowReader is a Reader for the GetMaintenanceWindow structure.
func (*GetMaintenanceWindowReader) ReadResponse ¶
func (o *GetMaintenanceWindowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMaintenanceWindowsOK ¶
GetMaintenanceWindowsOK handles this case with default header values.
successful operation
func NewGetMaintenanceWindowsOK ¶
func NewGetMaintenanceWindowsOK() *GetMaintenanceWindowsOK
NewGetMaintenanceWindowsOK creates a GetMaintenanceWindowsOK with default headers values
func (*GetMaintenanceWindowsOK) Error ¶
func (o *GetMaintenanceWindowsOK) Error() string
func (*GetMaintenanceWindowsOK) GetPayload ¶
func (o *GetMaintenanceWindowsOK) GetPayload() *dynatrace.StubList
type GetMaintenanceWindowsParams ¶
type GetMaintenanceWindowsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMaintenanceWindowsParams contains all the parameters to send to the API endpoint for the get maintenance windows operation typically these are written to a http.Request
func NewGetMaintenanceWindowsParams ¶
func NewGetMaintenanceWindowsParams() *GetMaintenanceWindowsParams
NewGetMaintenanceWindowsParams creates a new GetMaintenanceWindowsParams object with the default values initialized.
func NewGetMaintenanceWindowsParamsWithContext ¶
func NewGetMaintenanceWindowsParamsWithContext(ctx context.Context) *GetMaintenanceWindowsParams
NewGetMaintenanceWindowsParamsWithContext creates a new GetMaintenanceWindowsParams object with the default values initialized, and the ability to set a context for a request
func NewGetMaintenanceWindowsParamsWithHTTPClient ¶
func NewGetMaintenanceWindowsParamsWithHTTPClient(client *http.Client) *GetMaintenanceWindowsParams
NewGetMaintenanceWindowsParamsWithHTTPClient creates a new GetMaintenanceWindowsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMaintenanceWindowsParamsWithTimeout ¶
func NewGetMaintenanceWindowsParamsWithTimeout(timeout time.Duration) *GetMaintenanceWindowsParams
NewGetMaintenanceWindowsParamsWithTimeout creates a new GetMaintenanceWindowsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMaintenanceWindowsParams) SetContext ¶
func (o *GetMaintenanceWindowsParams) SetContext(ctx context.Context)
SetContext adds the context to the get maintenance windows params
func (*GetMaintenanceWindowsParams) SetHTTPClient ¶
func (o *GetMaintenanceWindowsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get maintenance windows params
func (*GetMaintenanceWindowsParams) SetTimeout ¶
func (o *GetMaintenanceWindowsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get maintenance windows params
func (*GetMaintenanceWindowsParams) WithContext ¶
func (o *GetMaintenanceWindowsParams) WithContext(ctx context.Context) *GetMaintenanceWindowsParams
WithContext adds the context to the get maintenance windows params
func (*GetMaintenanceWindowsParams) WithHTTPClient ¶
func (o *GetMaintenanceWindowsParams) WithHTTPClient(client *http.Client) *GetMaintenanceWindowsParams
WithHTTPClient adds the HTTPClient to the get maintenance windows params
func (*GetMaintenanceWindowsParams) WithTimeout ¶
func (o *GetMaintenanceWindowsParams) WithTimeout(timeout time.Duration) *GetMaintenanceWindowsParams
WithTimeout adds the timeout to the get maintenance windows params
func (*GetMaintenanceWindowsParams) WriteToRequest ¶
func (o *GetMaintenanceWindowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMaintenanceWindowsReader ¶
type GetMaintenanceWindowsReader struct {
// contains filtered or unexported fields
}
GetMaintenanceWindowsReader is a Reader for the GetMaintenanceWindows structure.
func (*GetMaintenanceWindowsReader) ReadResponse ¶
func (o *GetMaintenanceWindowsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReturnAllMaintenanceWindowsOK ¶
ReturnAllMaintenanceWindowsOK handles this case with default header values.
successful operation
func NewReturnAllMaintenanceWindowsOK ¶
func NewReturnAllMaintenanceWindowsOK() *ReturnAllMaintenanceWindowsOK
NewReturnAllMaintenanceWindowsOK creates a ReturnAllMaintenanceWindowsOK with default headers values
func (*ReturnAllMaintenanceWindowsOK) Error ¶
func (o *ReturnAllMaintenanceWindowsOK) Error() string
func (*ReturnAllMaintenanceWindowsOK) GetPayload ¶
func (o *ReturnAllMaintenanceWindowsOK) GetPayload() *dynatrace.StubList
type ReturnAllMaintenanceWindowsParams ¶
type ReturnAllMaintenanceWindowsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReturnAllMaintenanceWindowsParams contains all the parameters to send to the API endpoint for the return all maintenance windows operation typically these are written to a http.Request
func NewReturnAllMaintenanceWindowsParams ¶
func NewReturnAllMaintenanceWindowsParams() *ReturnAllMaintenanceWindowsParams
NewReturnAllMaintenanceWindowsParams creates a new ReturnAllMaintenanceWindowsParams object with the default values initialized.
func NewReturnAllMaintenanceWindowsParamsWithContext ¶
func NewReturnAllMaintenanceWindowsParamsWithContext(ctx context.Context) *ReturnAllMaintenanceWindowsParams
NewReturnAllMaintenanceWindowsParamsWithContext creates a new ReturnAllMaintenanceWindowsParams object with the default values initialized, and the ability to set a context for a request
func NewReturnAllMaintenanceWindowsParamsWithHTTPClient ¶
func NewReturnAllMaintenanceWindowsParamsWithHTTPClient(client *http.Client) *ReturnAllMaintenanceWindowsParams
NewReturnAllMaintenanceWindowsParamsWithHTTPClient creates a new ReturnAllMaintenanceWindowsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReturnAllMaintenanceWindowsParamsWithTimeout ¶
func NewReturnAllMaintenanceWindowsParamsWithTimeout(timeout time.Duration) *ReturnAllMaintenanceWindowsParams
NewReturnAllMaintenanceWindowsParamsWithTimeout creates a new ReturnAllMaintenanceWindowsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReturnAllMaintenanceWindowsParams) SetContext ¶
func (o *ReturnAllMaintenanceWindowsParams) SetContext(ctx context.Context)
SetContext adds the context to the return all maintenance windows params
func (*ReturnAllMaintenanceWindowsParams) SetHTTPClient ¶
func (o *ReturnAllMaintenanceWindowsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the return all maintenance windows params
func (*ReturnAllMaintenanceWindowsParams) SetTimeout ¶
func (o *ReturnAllMaintenanceWindowsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the return all maintenance windows params
func (*ReturnAllMaintenanceWindowsParams) WithContext ¶
func (o *ReturnAllMaintenanceWindowsParams) WithContext(ctx context.Context) *ReturnAllMaintenanceWindowsParams
WithContext adds the context to the return all maintenance windows params
func (*ReturnAllMaintenanceWindowsParams) WithHTTPClient ¶
func (o *ReturnAllMaintenanceWindowsParams) WithHTTPClient(client *http.Client) *ReturnAllMaintenanceWindowsParams
WithHTTPClient adds the HTTPClient to the return all maintenance windows params
func (*ReturnAllMaintenanceWindowsParams) WithTimeout ¶
func (o *ReturnAllMaintenanceWindowsParams) WithTimeout(timeout time.Duration) *ReturnAllMaintenanceWindowsParams
WithTimeout adds the timeout to the return all maintenance windows params
func (*ReturnAllMaintenanceWindowsParams) WriteToRequest ¶
func (o *ReturnAllMaintenanceWindowsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReturnAllMaintenanceWindowsReader ¶
type ReturnAllMaintenanceWindowsReader struct {
// contains filtered or unexported fields
}
ReturnAllMaintenanceWindowsReader is a Reader for the ReturnAllMaintenanceWindows structure.
func (*ReturnAllMaintenanceWindowsReader) ReadResponse ¶
func (o *ReturnAllMaintenanceWindowsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateMaintenanceWindowBadRequest ¶
type UpdateMaintenanceWindowBadRequest struct {
Payload *dynatrace.ErrorEnvelope
}
UpdateMaintenanceWindowBadRequest handles this case with default header values.
Failed. The input is invalid.
func NewUpdateMaintenanceWindowBadRequest ¶
func NewUpdateMaintenanceWindowBadRequest() *UpdateMaintenanceWindowBadRequest
NewUpdateMaintenanceWindowBadRequest creates a UpdateMaintenanceWindowBadRequest with default headers values
func (*UpdateMaintenanceWindowBadRequest) Error ¶
func (o *UpdateMaintenanceWindowBadRequest) Error() string
func (*UpdateMaintenanceWindowBadRequest) GetPayload ¶
func (o *UpdateMaintenanceWindowBadRequest) GetPayload() *dynatrace.ErrorEnvelope
type UpdateMaintenanceWindowCreated ¶
type UpdateMaintenanceWindowCreated struct {
Payload *dynatrace.EntityShortRepresentation
}
UpdateMaintenanceWindowCreated handles this case with default header values.
Success. The new maintenance window has been created. The response body contains its ID.
func NewUpdateMaintenanceWindowCreated ¶
func NewUpdateMaintenanceWindowCreated() *UpdateMaintenanceWindowCreated
NewUpdateMaintenanceWindowCreated creates a UpdateMaintenanceWindowCreated with default headers values
func (*UpdateMaintenanceWindowCreated) Error ¶
func (o *UpdateMaintenanceWindowCreated) Error() string
func (*UpdateMaintenanceWindowCreated) GetPayload ¶
func (o *UpdateMaintenanceWindowCreated) GetPayload() *dynatrace.EntityShortRepresentation
type UpdateMaintenanceWindowNoContent ¶
type UpdateMaintenanceWindowNoContent struct { }
UpdateMaintenanceWindowNoContent handles this case with default header values.
Success. The maintenance window has been updated. The response doesn't have a body.
func NewUpdateMaintenanceWindowNoContent ¶
func NewUpdateMaintenanceWindowNoContent() *UpdateMaintenanceWindowNoContent
NewUpdateMaintenanceWindowNoContent creates a UpdateMaintenanceWindowNoContent with default headers values
func (*UpdateMaintenanceWindowNoContent) Error ¶
func (o *UpdateMaintenanceWindowNoContent) Error() string
type UpdateMaintenanceWindowParams ¶
type UpdateMaintenanceWindowParams struct { /*Body The JSON body of the request. Contains updated parameters of the maintenance window. */ Body *dynatrace.MaintenanceWindow /*ID The ID of the maintenance window to be updated. */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateMaintenanceWindowParams contains all the parameters to send to the API endpoint for the update maintenance window operation typically these are written to a http.Request
func NewUpdateMaintenanceWindowParams ¶
func NewUpdateMaintenanceWindowParams() *UpdateMaintenanceWindowParams
NewUpdateMaintenanceWindowParams creates a new UpdateMaintenanceWindowParams object with the default values initialized.
func NewUpdateMaintenanceWindowParamsWithContext ¶
func NewUpdateMaintenanceWindowParamsWithContext(ctx context.Context) *UpdateMaintenanceWindowParams
NewUpdateMaintenanceWindowParamsWithContext creates a new UpdateMaintenanceWindowParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateMaintenanceWindowParamsWithHTTPClient ¶
func NewUpdateMaintenanceWindowParamsWithHTTPClient(client *http.Client) *UpdateMaintenanceWindowParams
NewUpdateMaintenanceWindowParamsWithHTTPClient creates a new UpdateMaintenanceWindowParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateMaintenanceWindowParamsWithTimeout ¶
func NewUpdateMaintenanceWindowParamsWithTimeout(timeout time.Duration) *UpdateMaintenanceWindowParams
NewUpdateMaintenanceWindowParamsWithTimeout creates a new UpdateMaintenanceWindowParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateMaintenanceWindowParams) SetBody ¶
func (o *UpdateMaintenanceWindowParams) SetBody(body *dynatrace.MaintenanceWindow)
SetBody adds the body to the update maintenance window params
func (*UpdateMaintenanceWindowParams) SetContext ¶
func (o *UpdateMaintenanceWindowParams) SetContext(ctx context.Context)
SetContext adds the context to the update maintenance window params
func (*UpdateMaintenanceWindowParams) SetHTTPClient ¶
func (o *UpdateMaintenanceWindowParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update maintenance window params
func (*UpdateMaintenanceWindowParams) SetID ¶
func (o *UpdateMaintenanceWindowParams) SetID(id strfmt.UUID)
SetID adds the id to the update maintenance window params
func (*UpdateMaintenanceWindowParams) SetTimeout ¶
func (o *UpdateMaintenanceWindowParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update maintenance window params
func (*UpdateMaintenanceWindowParams) WithBody ¶
func (o *UpdateMaintenanceWindowParams) WithBody(body *dynatrace.MaintenanceWindow) *UpdateMaintenanceWindowParams
WithBody adds the body to the update maintenance window params
func (*UpdateMaintenanceWindowParams) WithContext ¶
func (o *UpdateMaintenanceWindowParams) WithContext(ctx context.Context) *UpdateMaintenanceWindowParams
WithContext adds the context to the update maintenance window params
func (*UpdateMaintenanceWindowParams) WithHTTPClient ¶
func (o *UpdateMaintenanceWindowParams) WithHTTPClient(client *http.Client) *UpdateMaintenanceWindowParams
WithHTTPClient adds the HTTPClient to the update maintenance window params
func (*UpdateMaintenanceWindowParams) WithID ¶
func (o *UpdateMaintenanceWindowParams) WithID(id strfmt.UUID) *UpdateMaintenanceWindowParams
WithID adds the id to the update maintenance window params
func (*UpdateMaintenanceWindowParams) WithTimeout ¶
func (o *UpdateMaintenanceWindowParams) WithTimeout(timeout time.Duration) *UpdateMaintenanceWindowParams
WithTimeout adds the timeout to the update maintenance window params
func (*UpdateMaintenanceWindowParams) WriteToRequest ¶
func (o *UpdateMaintenanceWindowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateMaintenanceWindowReader ¶
type UpdateMaintenanceWindowReader struct {
// contains filtered or unexported fields
}
UpdateMaintenanceWindowReader is a Reader for the UpdateMaintenanceWindow structure.
func (*UpdateMaintenanceWindowReader) ReadResponse ¶
func (o *UpdateMaintenanceWindowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ValidateCreateConfigurationBadRequest ¶
type ValidateCreateConfigurationBadRequest struct {
Payload *dynatrace.ErrorEnvelope
}
ValidateCreateConfigurationBadRequest handles this case with default header values.
Failed. The input is invalid.
func NewValidateCreateConfigurationBadRequest ¶
func NewValidateCreateConfigurationBadRequest() *ValidateCreateConfigurationBadRequest
NewValidateCreateConfigurationBadRequest creates a ValidateCreateConfigurationBadRequest with default headers values
func (*ValidateCreateConfigurationBadRequest) Error ¶
func (o *ValidateCreateConfigurationBadRequest) Error() string
func (*ValidateCreateConfigurationBadRequest) GetPayload ¶
func (o *ValidateCreateConfigurationBadRequest) GetPayload() *dynatrace.ErrorEnvelope
type ValidateCreateConfigurationNoContent ¶
type ValidateCreateConfigurationNoContent struct { }
ValidateCreateConfigurationNoContent handles this case with default header values.
Validated. The submitted configuration is valid. Response doesn't have a body.
func NewValidateCreateConfigurationNoContent ¶
func NewValidateCreateConfigurationNoContent() *ValidateCreateConfigurationNoContent
NewValidateCreateConfigurationNoContent creates a ValidateCreateConfigurationNoContent with default headers values
func (*ValidateCreateConfigurationNoContent) Error ¶
func (o *ValidateCreateConfigurationNoContent) Error() string
type ValidateCreateConfigurationParams ¶
type ValidateCreateConfigurationParams struct { /*Body The JSON body of the request. Contains parameters of the maintenance window be validated. */ Body *dynatrace.MaintenanceWindow Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ValidateCreateConfigurationParams contains all the parameters to send to the API endpoint for the validate create configuration operation typically these are written to a http.Request
func NewValidateCreateConfigurationParams ¶
func NewValidateCreateConfigurationParams() *ValidateCreateConfigurationParams
NewValidateCreateConfigurationParams creates a new ValidateCreateConfigurationParams object with the default values initialized.
func NewValidateCreateConfigurationParamsWithContext ¶
func NewValidateCreateConfigurationParamsWithContext(ctx context.Context) *ValidateCreateConfigurationParams
NewValidateCreateConfigurationParamsWithContext creates a new ValidateCreateConfigurationParams object with the default values initialized, and the ability to set a context for a request
func NewValidateCreateConfigurationParamsWithHTTPClient ¶
func NewValidateCreateConfigurationParamsWithHTTPClient(client *http.Client) *ValidateCreateConfigurationParams
NewValidateCreateConfigurationParamsWithHTTPClient creates a new ValidateCreateConfigurationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewValidateCreateConfigurationParamsWithTimeout ¶
func NewValidateCreateConfigurationParamsWithTimeout(timeout time.Duration) *ValidateCreateConfigurationParams
NewValidateCreateConfigurationParamsWithTimeout creates a new ValidateCreateConfigurationParams object with the default values initialized, and the ability to set a timeout on a request
func (*ValidateCreateConfigurationParams) SetBody ¶
func (o *ValidateCreateConfigurationParams) SetBody(body *dynatrace.MaintenanceWindow)
SetBody adds the body to the validate create configuration params
func (*ValidateCreateConfigurationParams) SetContext ¶
func (o *ValidateCreateConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the validate create configuration params
func (*ValidateCreateConfigurationParams) SetHTTPClient ¶
func (o *ValidateCreateConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the validate create configuration params
func (*ValidateCreateConfigurationParams) SetTimeout ¶
func (o *ValidateCreateConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the validate create configuration params
func (*ValidateCreateConfigurationParams) WithBody ¶
func (o *ValidateCreateConfigurationParams) WithBody(body *dynatrace.MaintenanceWindow) *ValidateCreateConfigurationParams
WithBody adds the body to the validate create configuration params
func (*ValidateCreateConfigurationParams) WithContext ¶
func (o *ValidateCreateConfigurationParams) WithContext(ctx context.Context) *ValidateCreateConfigurationParams
WithContext adds the context to the validate create configuration params
func (*ValidateCreateConfigurationParams) WithHTTPClient ¶
func (o *ValidateCreateConfigurationParams) WithHTTPClient(client *http.Client) *ValidateCreateConfigurationParams
WithHTTPClient adds the HTTPClient to the validate create configuration params
func (*ValidateCreateConfigurationParams) WithTimeout ¶
func (o *ValidateCreateConfigurationParams) WithTimeout(timeout time.Duration) *ValidateCreateConfigurationParams
WithTimeout adds the timeout to the validate create configuration params
func (*ValidateCreateConfigurationParams) WriteToRequest ¶
func (o *ValidateCreateConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ValidateCreateConfigurationReader ¶
type ValidateCreateConfigurationReader struct {
// contains filtered or unexported fields
}
ValidateCreateConfigurationReader is a Reader for the ValidateCreateConfiguration structure.
func (*ValidateCreateConfigurationReader) ReadResponse ¶
func (o *ValidateCreateConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ValidateCreateMaintenanceWindowBadRequest ¶
type ValidateCreateMaintenanceWindowBadRequest struct {
Payload *dynatrace.ErrorEnvelope
}
ValidateCreateMaintenanceWindowBadRequest handles this case with default header values.
Failed. The input is invalid.
func NewValidateCreateMaintenanceWindowBadRequest ¶
func NewValidateCreateMaintenanceWindowBadRequest() *ValidateCreateMaintenanceWindowBadRequest
NewValidateCreateMaintenanceWindowBadRequest creates a ValidateCreateMaintenanceWindowBadRequest with default headers values
func (*ValidateCreateMaintenanceWindowBadRequest) Error ¶
func (o *ValidateCreateMaintenanceWindowBadRequest) Error() string
func (*ValidateCreateMaintenanceWindowBadRequest) GetPayload ¶
func (o *ValidateCreateMaintenanceWindowBadRequest) GetPayload() *dynatrace.ErrorEnvelope
type ValidateCreateMaintenanceWindowNoContent ¶
type ValidateCreateMaintenanceWindowNoContent struct { }
ValidateCreateMaintenanceWindowNoContent handles this case with default header values.
Validated. The submitted configuration is valid. Response doesn't have a body.
func NewValidateCreateMaintenanceWindowNoContent ¶
func NewValidateCreateMaintenanceWindowNoContent() *ValidateCreateMaintenanceWindowNoContent
NewValidateCreateMaintenanceWindowNoContent creates a ValidateCreateMaintenanceWindowNoContent with default headers values
func (*ValidateCreateMaintenanceWindowNoContent) Error ¶
func (o *ValidateCreateMaintenanceWindowNoContent) Error() string
type ValidateCreateMaintenanceWindowParams ¶
type ValidateCreateMaintenanceWindowParams struct { /*Body The JSON body of the request. Contains parameters of the maintenance window be validated. */ Body *dynatrace.MaintenanceWindow Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ValidateCreateMaintenanceWindowParams contains all the parameters to send to the API endpoint for the validate create maintenance window operation typically these are written to a http.Request
func NewValidateCreateMaintenanceWindowParams ¶
func NewValidateCreateMaintenanceWindowParams() *ValidateCreateMaintenanceWindowParams
NewValidateCreateMaintenanceWindowParams creates a new ValidateCreateMaintenanceWindowParams object with the default values initialized.
func NewValidateCreateMaintenanceWindowParamsWithContext ¶
func NewValidateCreateMaintenanceWindowParamsWithContext(ctx context.Context) *ValidateCreateMaintenanceWindowParams
NewValidateCreateMaintenanceWindowParamsWithContext creates a new ValidateCreateMaintenanceWindowParams object with the default values initialized, and the ability to set a context for a request
func NewValidateCreateMaintenanceWindowParamsWithHTTPClient ¶
func NewValidateCreateMaintenanceWindowParamsWithHTTPClient(client *http.Client) *ValidateCreateMaintenanceWindowParams
NewValidateCreateMaintenanceWindowParamsWithHTTPClient creates a new ValidateCreateMaintenanceWindowParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewValidateCreateMaintenanceWindowParamsWithTimeout ¶
func NewValidateCreateMaintenanceWindowParamsWithTimeout(timeout time.Duration) *ValidateCreateMaintenanceWindowParams
NewValidateCreateMaintenanceWindowParamsWithTimeout creates a new ValidateCreateMaintenanceWindowParams object with the default values initialized, and the ability to set a timeout on a request
func (*ValidateCreateMaintenanceWindowParams) SetBody ¶
func (o *ValidateCreateMaintenanceWindowParams) SetBody(body *dynatrace.MaintenanceWindow)
SetBody adds the body to the validate create maintenance window params
func (*ValidateCreateMaintenanceWindowParams) SetContext ¶
func (o *ValidateCreateMaintenanceWindowParams) SetContext(ctx context.Context)
SetContext adds the context to the validate create maintenance window params
func (*ValidateCreateMaintenanceWindowParams) SetHTTPClient ¶
func (o *ValidateCreateMaintenanceWindowParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the validate create maintenance window params
func (*ValidateCreateMaintenanceWindowParams) SetTimeout ¶
func (o *ValidateCreateMaintenanceWindowParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the validate create maintenance window params
func (*ValidateCreateMaintenanceWindowParams) WithBody ¶
func (o *ValidateCreateMaintenanceWindowParams) WithBody(body *dynatrace.MaintenanceWindow) *ValidateCreateMaintenanceWindowParams
WithBody adds the body to the validate create maintenance window params
func (*ValidateCreateMaintenanceWindowParams) WithContext ¶
func (o *ValidateCreateMaintenanceWindowParams) WithContext(ctx context.Context) *ValidateCreateMaintenanceWindowParams
WithContext adds the context to the validate create maintenance window params
func (*ValidateCreateMaintenanceWindowParams) WithHTTPClient ¶
func (o *ValidateCreateMaintenanceWindowParams) WithHTTPClient(client *http.Client) *ValidateCreateMaintenanceWindowParams
WithHTTPClient adds the HTTPClient to the validate create maintenance window params
func (*ValidateCreateMaintenanceWindowParams) WithTimeout ¶
func (o *ValidateCreateMaintenanceWindowParams) WithTimeout(timeout time.Duration) *ValidateCreateMaintenanceWindowParams
WithTimeout adds the timeout to the validate create maintenance window params
func (*ValidateCreateMaintenanceWindowParams) WriteToRequest ¶
func (o *ValidateCreateMaintenanceWindowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ValidateCreateMaintenanceWindowReader ¶
type ValidateCreateMaintenanceWindowReader struct {
// contains filtered or unexported fields
}
ValidateCreateMaintenanceWindowReader is a Reader for the ValidateCreateMaintenanceWindow structure.
func (*ValidateCreateMaintenanceWindowReader) ReadResponse ¶
func (o *ValidateCreateMaintenanceWindowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ValidateUpdateConfigurationBadRequest ¶
type ValidateUpdateConfigurationBadRequest struct {
Payload *dynatrace.ErrorEnvelope
}
ValidateUpdateConfigurationBadRequest handles this case with default header values.
Failed. The input is invalid.
func NewValidateUpdateConfigurationBadRequest ¶
func NewValidateUpdateConfigurationBadRequest() *ValidateUpdateConfigurationBadRequest
NewValidateUpdateConfigurationBadRequest creates a ValidateUpdateConfigurationBadRequest with default headers values
func (*ValidateUpdateConfigurationBadRequest) Error ¶
func (o *ValidateUpdateConfigurationBadRequest) Error() string
func (*ValidateUpdateConfigurationBadRequest) GetPayload ¶
func (o *ValidateUpdateConfigurationBadRequest) GetPayload() *dynatrace.ErrorEnvelope
type ValidateUpdateConfigurationNoContent ¶
type ValidateUpdateConfigurationNoContent struct { }
ValidateUpdateConfigurationNoContent handles this case with default header values.
Validated. The submitted configuration is valid. Response doesn't have a body
func NewValidateUpdateConfigurationNoContent ¶
func NewValidateUpdateConfigurationNoContent() *ValidateUpdateConfigurationNoContent
NewValidateUpdateConfigurationNoContent creates a ValidateUpdateConfigurationNoContent with default headers values
func (*ValidateUpdateConfigurationNoContent) Error ¶
func (o *ValidateUpdateConfigurationNoContent) Error() string
type ValidateUpdateConfigurationParams ¶
type ValidateUpdateConfigurationParams struct { /*Body The JSON body of the request. Contains parameters of the maintenance window to be validated. */ Body *dynatrace.MaintenanceWindow /*ID The ID of the maintenance window to be validated. */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ValidateUpdateConfigurationParams contains all the parameters to send to the API endpoint for the validate update configuration operation typically these are written to a http.Request
func NewValidateUpdateConfigurationParams ¶
func NewValidateUpdateConfigurationParams() *ValidateUpdateConfigurationParams
NewValidateUpdateConfigurationParams creates a new ValidateUpdateConfigurationParams object with the default values initialized.
func NewValidateUpdateConfigurationParamsWithContext ¶
func NewValidateUpdateConfigurationParamsWithContext(ctx context.Context) *ValidateUpdateConfigurationParams
NewValidateUpdateConfigurationParamsWithContext creates a new ValidateUpdateConfigurationParams object with the default values initialized, and the ability to set a context for a request
func NewValidateUpdateConfigurationParamsWithHTTPClient ¶
func NewValidateUpdateConfigurationParamsWithHTTPClient(client *http.Client) *ValidateUpdateConfigurationParams
NewValidateUpdateConfigurationParamsWithHTTPClient creates a new ValidateUpdateConfigurationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewValidateUpdateConfigurationParamsWithTimeout ¶
func NewValidateUpdateConfigurationParamsWithTimeout(timeout time.Duration) *ValidateUpdateConfigurationParams
NewValidateUpdateConfigurationParamsWithTimeout creates a new ValidateUpdateConfigurationParams object with the default values initialized, and the ability to set a timeout on a request
func (*ValidateUpdateConfigurationParams) SetBody ¶
func (o *ValidateUpdateConfigurationParams) SetBody(body *dynatrace.MaintenanceWindow)
SetBody adds the body to the validate update configuration params
func (*ValidateUpdateConfigurationParams) SetContext ¶
func (o *ValidateUpdateConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the validate update configuration params
func (*ValidateUpdateConfigurationParams) SetHTTPClient ¶
func (o *ValidateUpdateConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the validate update configuration params
func (*ValidateUpdateConfigurationParams) SetID ¶
func (o *ValidateUpdateConfigurationParams) SetID(id strfmt.UUID)
SetID adds the id to the validate update configuration params
func (*ValidateUpdateConfigurationParams) SetTimeout ¶
func (o *ValidateUpdateConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the validate update configuration params
func (*ValidateUpdateConfigurationParams) WithBody ¶
func (o *ValidateUpdateConfigurationParams) WithBody(body *dynatrace.MaintenanceWindow) *ValidateUpdateConfigurationParams
WithBody adds the body to the validate update configuration params
func (*ValidateUpdateConfigurationParams) WithContext ¶
func (o *ValidateUpdateConfigurationParams) WithContext(ctx context.Context) *ValidateUpdateConfigurationParams
WithContext adds the context to the validate update configuration params
func (*ValidateUpdateConfigurationParams) WithHTTPClient ¶
func (o *ValidateUpdateConfigurationParams) WithHTTPClient(client *http.Client) *ValidateUpdateConfigurationParams
WithHTTPClient adds the HTTPClient to the validate update configuration params
func (*ValidateUpdateConfigurationParams) WithID ¶
func (o *ValidateUpdateConfigurationParams) WithID(id strfmt.UUID) *ValidateUpdateConfigurationParams
WithID adds the id to the validate update configuration params
func (*ValidateUpdateConfigurationParams) WithTimeout ¶
func (o *ValidateUpdateConfigurationParams) WithTimeout(timeout time.Duration) *ValidateUpdateConfigurationParams
WithTimeout adds the timeout to the validate update configuration params
func (*ValidateUpdateConfigurationParams) WriteToRequest ¶
func (o *ValidateUpdateConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ValidateUpdateConfigurationReader ¶
type ValidateUpdateConfigurationReader struct {
// contains filtered or unexported fields
}
ValidateUpdateConfigurationReader is a Reader for the ValidateUpdateConfiguration structure.
func (*ValidateUpdateConfigurationReader) ReadResponse ¶
func (o *ValidateUpdateConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ValidateUpdateMaintenanceWindowBadRequest ¶
type ValidateUpdateMaintenanceWindowBadRequest struct {
Payload *dynatrace.ErrorEnvelope
}
ValidateUpdateMaintenanceWindowBadRequest handles this case with default header values.
Failed. The input is invalid.
func NewValidateUpdateMaintenanceWindowBadRequest ¶
func NewValidateUpdateMaintenanceWindowBadRequest() *ValidateUpdateMaintenanceWindowBadRequest
NewValidateUpdateMaintenanceWindowBadRequest creates a ValidateUpdateMaintenanceWindowBadRequest with default headers values
func (*ValidateUpdateMaintenanceWindowBadRequest) Error ¶
func (o *ValidateUpdateMaintenanceWindowBadRequest) Error() string
func (*ValidateUpdateMaintenanceWindowBadRequest) GetPayload ¶
func (o *ValidateUpdateMaintenanceWindowBadRequest) GetPayload() *dynatrace.ErrorEnvelope
type ValidateUpdateMaintenanceWindowNoContent ¶
type ValidateUpdateMaintenanceWindowNoContent struct { }
ValidateUpdateMaintenanceWindowNoContent handles this case with default header values.
Validated. The submitted configuration is valid. Response doesn't have a body
func NewValidateUpdateMaintenanceWindowNoContent ¶
func NewValidateUpdateMaintenanceWindowNoContent() *ValidateUpdateMaintenanceWindowNoContent
NewValidateUpdateMaintenanceWindowNoContent creates a ValidateUpdateMaintenanceWindowNoContent with default headers values
func (*ValidateUpdateMaintenanceWindowNoContent) Error ¶
func (o *ValidateUpdateMaintenanceWindowNoContent) Error() string
type ValidateUpdateMaintenanceWindowParams ¶
type ValidateUpdateMaintenanceWindowParams struct { /*Body The JSON body of the request. Contains parameters of the maintenance window to be validated. */ Body *dynatrace.MaintenanceWindow /*ID The ID of the maintenance window to be validated. */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ValidateUpdateMaintenanceWindowParams contains all the parameters to send to the API endpoint for the validate update maintenance window operation typically these are written to a http.Request
func NewValidateUpdateMaintenanceWindowParams ¶
func NewValidateUpdateMaintenanceWindowParams() *ValidateUpdateMaintenanceWindowParams
NewValidateUpdateMaintenanceWindowParams creates a new ValidateUpdateMaintenanceWindowParams object with the default values initialized.
func NewValidateUpdateMaintenanceWindowParamsWithContext ¶
func NewValidateUpdateMaintenanceWindowParamsWithContext(ctx context.Context) *ValidateUpdateMaintenanceWindowParams
NewValidateUpdateMaintenanceWindowParamsWithContext creates a new ValidateUpdateMaintenanceWindowParams object with the default values initialized, and the ability to set a context for a request
func NewValidateUpdateMaintenanceWindowParamsWithHTTPClient ¶
func NewValidateUpdateMaintenanceWindowParamsWithHTTPClient(client *http.Client) *ValidateUpdateMaintenanceWindowParams
NewValidateUpdateMaintenanceWindowParamsWithHTTPClient creates a new ValidateUpdateMaintenanceWindowParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewValidateUpdateMaintenanceWindowParamsWithTimeout ¶
func NewValidateUpdateMaintenanceWindowParamsWithTimeout(timeout time.Duration) *ValidateUpdateMaintenanceWindowParams
NewValidateUpdateMaintenanceWindowParamsWithTimeout creates a new ValidateUpdateMaintenanceWindowParams object with the default values initialized, and the ability to set a timeout on a request
func (*ValidateUpdateMaintenanceWindowParams) SetBody ¶
func (o *ValidateUpdateMaintenanceWindowParams) SetBody(body *dynatrace.MaintenanceWindow)
SetBody adds the body to the validate update maintenance window params
func (*ValidateUpdateMaintenanceWindowParams) SetContext ¶
func (o *ValidateUpdateMaintenanceWindowParams) SetContext(ctx context.Context)
SetContext adds the context to the validate update maintenance window params
func (*ValidateUpdateMaintenanceWindowParams) SetHTTPClient ¶
func (o *ValidateUpdateMaintenanceWindowParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the validate update maintenance window params
func (*ValidateUpdateMaintenanceWindowParams) SetID ¶
func (o *ValidateUpdateMaintenanceWindowParams) SetID(id strfmt.UUID)
SetID adds the id to the validate update maintenance window params
func (*ValidateUpdateMaintenanceWindowParams) SetTimeout ¶
func (o *ValidateUpdateMaintenanceWindowParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the validate update maintenance window params
func (*ValidateUpdateMaintenanceWindowParams) WithBody ¶
func (o *ValidateUpdateMaintenanceWindowParams) WithBody(body *dynatrace.MaintenanceWindow) *ValidateUpdateMaintenanceWindowParams
WithBody adds the body to the validate update maintenance window params
func (*ValidateUpdateMaintenanceWindowParams) WithContext ¶
func (o *ValidateUpdateMaintenanceWindowParams) WithContext(ctx context.Context) *ValidateUpdateMaintenanceWindowParams
WithContext adds the context to the validate update maintenance window params
func (*ValidateUpdateMaintenanceWindowParams) WithHTTPClient ¶
func (o *ValidateUpdateMaintenanceWindowParams) WithHTTPClient(client *http.Client) *ValidateUpdateMaintenanceWindowParams
WithHTTPClient adds the HTTPClient to the validate update maintenance window params
func (*ValidateUpdateMaintenanceWindowParams) WithID ¶
func (o *ValidateUpdateMaintenanceWindowParams) WithID(id strfmt.UUID) *ValidateUpdateMaintenanceWindowParams
WithID adds the id to the validate update maintenance window params
func (*ValidateUpdateMaintenanceWindowParams) WithTimeout ¶
func (o *ValidateUpdateMaintenanceWindowParams) WithTimeout(timeout time.Duration) *ValidateUpdateMaintenanceWindowParams
WithTimeout adds the timeout to the validate update maintenance window params
func (*ValidateUpdateMaintenanceWindowParams) WriteToRequest ¶
func (o *ValidateUpdateMaintenanceWindowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ValidateUpdateMaintenanceWindowReader ¶
type ValidateUpdateMaintenanceWindowReader struct {
// contains filtered or unexported fields
}
ValidateUpdateMaintenanceWindowReader is a Reader for the ValidateUpdateMaintenanceWindow structure.
func (*ValidateUpdateMaintenanceWindowReader) ReadResponse ¶
func (o *ValidateUpdateMaintenanceWindowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_maintenance_window_parameters.go
- create_maintenance_window_responses.go
- delete_maintenance_window_parameters.go
- delete_maintenance_window_responses.go
- get_maintenance_window_parameters.go
- get_maintenance_window_responses.go
- get_maintenance_windows_swagger_parameters.go
- get_maintenance_windows_swagger_responses.go
- maintenance_windows_swagger_client.go
- return_all_maintenance_windows_swagger_parameters.go
- return_all_maintenance_windows_swagger_responses.go
- update_maintenance_window_parameters.go
- update_maintenance_window_responses.go
- validate_create_configuration_parameters.go
- validate_create_configuration_responses.go
- validate_create_maintenance_window_parameters.go
- validate_create_maintenance_window_responses.go
- validate_update_configuration_parameters.go
- validate_update_configuration_responses.go
- validate_update_maintenance_window_parameters.go
- validate_update_maintenance_window_responses.go