maintenance_windows

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 10 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) CreateMaintenanceWindow

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

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

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

ValidateCreateMaintenanceWindow validates the payload for the p o s t maintenancewindow request

func (*Client) ValidateUpdateMaintenanceWindow

ValidateUpdateMaintenanceWindow validates the payload for the p u t maintenancewindow id request

type ClientService

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

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

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

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

WithBody adds the body to the create maintenance window params

func (*CreateMaintenanceWindowParams) WithContext

WithContext adds the context to the create maintenance window params

func (*CreateMaintenanceWindowParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create maintenance window params

func (*CreateMaintenanceWindowParams) WithTimeout

WithTimeout adds the timeout to the create maintenance window params

func (*CreateMaintenanceWindowParams) WriteToRequest

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

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

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

WithContext adds the context to the delete maintenance window params

func (*DeleteMaintenanceWindowParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete maintenance window params

func (*DeleteMaintenanceWindowParams) WithID

WithID adds the id to the delete maintenance window params

func (*DeleteMaintenanceWindowParams) WithTimeout

WithTimeout adds the timeout to the delete maintenance window params

func (*DeleteMaintenanceWindowParams) WriteToRequest

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

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

WithContext adds the context to the get maintenance window params

func (*GetMaintenanceWindowParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get maintenance window params

func (*GetMaintenanceWindowParams) WithID

WithID adds the id to the get maintenance window params

func (*GetMaintenanceWindowParams) WithTimeout

WithTimeout adds the timeout to the get maintenance window params

func (*GetMaintenanceWindowParams) WriteToRequest

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

type GetMaintenanceWindowsOK struct {
	Payload *dynatrace.StubList
}

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

WithContext adds the context to the get maintenance windows params

func (*GetMaintenanceWindowsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get maintenance windows params

func (*GetMaintenanceWindowsParams) WithTimeout

WithTimeout adds the timeout to the get maintenance windows params

func (*GetMaintenanceWindowsParams) WriteToRequest

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

type ReturnAllMaintenanceWindowsOK struct {
	Payload *dynatrace.StubList
}

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

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

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

WithContext adds the context to the return all maintenance windows params

func (*ReturnAllMaintenanceWindowsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the return all maintenance windows params

func (*ReturnAllMaintenanceWindowsParams) WithTimeout

WithTimeout adds the timeout to the return all maintenance windows params

func (*ReturnAllMaintenanceWindowsParams) WriteToRequest

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

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

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

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

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

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

WithBody adds the body to the update maintenance window params

func (*UpdateMaintenanceWindowParams) WithContext

WithContext adds the context to the update maintenance window params

func (*UpdateMaintenanceWindowParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update maintenance window params

func (*UpdateMaintenanceWindowParams) WithID

WithID adds the id to the update maintenance window params

func (*UpdateMaintenanceWindowParams) WithTimeout

WithTimeout adds the timeout to the update maintenance window params

func (*UpdateMaintenanceWindowParams) WriteToRequest

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

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

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

SetBody adds the body to the validate create configuration params

func (*ValidateCreateConfigurationParams) SetContext

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

WithBody adds the body to the validate create configuration params

func (*ValidateCreateConfigurationParams) WithContext

WithContext adds the context to the validate create configuration params

func (*ValidateCreateConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate create configuration params

func (*ValidateCreateConfigurationParams) WithTimeout

WithTimeout adds the timeout to the validate create configuration params

func (*ValidateCreateConfigurationParams) WriteToRequest

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

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

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

SetBody adds the body to the validate create maintenance window params

func (*ValidateCreateMaintenanceWindowParams) SetContext

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

WithBody adds the body to the validate create maintenance window params

func (*ValidateCreateMaintenanceWindowParams) WithContext

WithContext adds the context to the validate create maintenance window params

func (*ValidateCreateMaintenanceWindowParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate create maintenance window params

func (*ValidateCreateMaintenanceWindowParams) WithTimeout

WithTimeout adds the timeout to the validate create maintenance window params

func (*ValidateCreateMaintenanceWindowParams) WriteToRequest

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

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

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

SetBody adds the body to the validate update configuration params

func (*ValidateUpdateConfigurationParams) SetContext

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

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

WithBody adds the body to the validate update configuration params

func (*ValidateUpdateConfigurationParams) WithContext

WithContext adds the context to the validate update configuration params

func (*ValidateUpdateConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate update configuration params

func (*ValidateUpdateConfigurationParams) WithID

WithID adds the id to the validate update configuration params

func (*ValidateUpdateConfigurationParams) WithTimeout

WithTimeout adds the timeout to the validate update configuration params

func (*ValidateUpdateConfigurationParams) WriteToRequest

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

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

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

SetBody adds the body to the validate update maintenance window params

func (*ValidateUpdateMaintenanceWindowParams) SetContext

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

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

WithBody adds the body to the validate update maintenance window params

func (*ValidateUpdateMaintenanceWindowParams) WithContext

WithContext adds the context to the validate update maintenance window params

func (*ValidateUpdateMaintenanceWindowParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate update maintenance window params

func (*ValidateUpdateMaintenanceWindowParams) WithID

WithID adds the id to the validate update maintenance window params

func (*ValidateUpdateMaintenanceWindowParams) WithTimeout

WithTimeout adds the timeout to the validate update maintenance window params

func (*ValidateUpdateMaintenanceWindowParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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