remote_environments

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 remote environments API

func (*Client) CreateRemoteEnvironment

CreateRemoteEnvironment creates a new remote environment configuration pipe maturity e a r l y a d o p t e r

The body must not provide an ID. An ID is assigned automatically by the Dynatrace server.

Be sure to prepare a token with the **Fetch data from a remote environment** (`RestRequestForwarding`) scope. You can create such a token via [Tokens API](https://www.dynatrace.com/support/help/shortlink/api-tokens-post-new).

func (*Client) DeleteRemoteEnvironment

DeleteRemoteEnvironment deletes the specified remote environment configuration pipe maturity e a r l y a d o p t e r

func (*Client) GetRemoteEnvironment

func (a *Client) GetRemoteEnvironment(params *GetRemoteEnvironmentParams, authInfo runtime.ClientAuthInfoWriter) (*GetRemoteEnvironmentOK, error)

GetRemoteEnvironment gets the properties of the specified remote environment configuration pipe maturity e a r l y a d o p t e r

func (*Client) GetRemoteEnvironments

func (a *Client) GetRemoteEnvironments(params *GetRemoteEnvironmentsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRemoteEnvironmentsOK, error)

GetRemoteEnvironments lists all remote environment configurations pipe maturity e a r l y a d o p t e r

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateRemoteEnvironment

UpdateRemoteEnvironment updates an existing remote environment configuration or creates a new one pipe maturity e a r l y a d o p t e r

If a remote environment configuration with the specified ID doesn't exist, a new configuration is created.

func (*Client) ValidateCreateRemoteEnvironment

ValidateCreateRemoteEnvironment validates the payload for the p o s t remote environments request pipe maturity e a r l y a d o p t e r

func (*Client) ValidateUpdateRemoteEnvironment

ValidateUpdateRemoteEnvironment validates the payload for the p u t remote environments id request pipe maturity e a r l y a d o p t e r

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new remote environments API client.

type CreateRemoteEnvironmentBadRequest

type CreateRemoteEnvironmentBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

CreateRemoteEnvironmentBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewCreateRemoteEnvironmentBadRequest

func NewCreateRemoteEnvironmentBadRequest() *CreateRemoteEnvironmentBadRequest

NewCreateRemoteEnvironmentBadRequest creates a CreateRemoteEnvironmentBadRequest with default headers values

func (*CreateRemoteEnvironmentBadRequest) Error

func (*CreateRemoteEnvironmentBadRequest) GetPayload

type CreateRemoteEnvironmentCreated

type CreateRemoteEnvironmentCreated struct {
	Payload *dynatrace.RemoteEnvironmentConfigStubDto
}

CreateRemoteEnvironmentCreated handles this case with default header values.

Success. A new remote environment configuration has been created. The response contains the ID of the new configuration.

func NewCreateRemoteEnvironmentCreated

func NewCreateRemoteEnvironmentCreated() *CreateRemoteEnvironmentCreated

NewCreateRemoteEnvironmentCreated creates a CreateRemoteEnvironmentCreated with default headers values

func (*CreateRemoteEnvironmentCreated) Error

func (*CreateRemoteEnvironmentCreated) GetPayload

type CreateRemoteEnvironmentParams

type CreateRemoteEnvironmentParams struct {

	/*Body
	  The JSON body of the request. Contains parameters of the new remote environment configuration.

	*/
	Body *dynatrace.RemoteEnvironmentConfigDto

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateRemoteEnvironmentParams contains all the parameters to send to the API endpoint for the create remote environment operation typically these are written to a http.Request

func NewCreateRemoteEnvironmentParams

func NewCreateRemoteEnvironmentParams() *CreateRemoteEnvironmentParams

NewCreateRemoteEnvironmentParams creates a new CreateRemoteEnvironmentParams object with the default values initialized.

func NewCreateRemoteEnvironmentParamsWithContext

func NewCreateRemoteEnvironmentParamsWithContext(ctx context.Context) *CreateRemoteEnvironmentParams

NewCreateRemoteEnvironmentParamsWithContext creates a new CreateRemoteEnvironmentParams object with the default values initialized, and the ability to set a context for a request

func NewCreateRemoteEnvironmentParamsWithHTTPClient

func NewCreateRemoteEnvironmentParamsWithHTTPClient(client *http.Client) *CreateRemoteEnvironmentParams

NewCreateRemoteEnvironmentParamsWithHTTPClient creates a new CreateRemoteEnvironmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateRemoteEnvironmentParamsWithTimeout

func NewCreateRemoteEnvironmentParamsWithTimeout(timeout time.Duration) *CreateRemoteEnvironmentParams

NewCreateRemoteEnvironmentParamsWithTimeout creates a new CreateRemoteEnvironmentParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateRemoteEnvironmentParams) SetBody

SetBody adds the body to the create remote environment params

func (*CreateRemoteEnvironmentParams) SetContext

func (o *CreateRemoteEnvironmentParams) SetContext(ctx context.Context)

SetContext adds the context to the create remote environment params

func (*CreateRemoteEnvironmentParams) SetHTTPClient

func (o *CreateRemoteEnvironmentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create remote environment params

func (*CreateRemoteEnvironmentParams) SetTimeout

func (o *CreateRemoteEnvironmentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create remote environment params

func (*CreateRemoteEnvironmentParams) WithBody

WithBody adds the body to the create remote environment params

func (*CreateRemoteEnvironmentParams) WithContext

WithContext adds the context to the create remote environment params

func (*CreateRemoteEnvironmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create remote environment params

func (*CreateRemoteEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the create remote environment params

func (*CreateRemoteEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateRemoteEnvironmentReader

type CreateRemoteEnvironmentReader struct {
	// contains filtered or unexported fields
}

CreateRemoteEnvironmentReader is a Reader for the CreateRemoteEnvironment structure.

func (*CreateRemoteEnvironmentReader) ReadResponse

func (o *CreateRemoteEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteRemoteEnvironmentNoContent

type DeleteRemoteEnvironmentNoContent struct {
}

DeleteRemoteEnvironmentNoContent handles this case with default header values.

Success. The configuration has been deleted. The response doesn't have a body.

func NewDeleteRemoteEnvironmentNoContent

func NewDeleteRemoteEnvironmentNoContent() *DeleteRemoteEnvironmentNoContent

NewDeleteRemoteEnvironmentNoContent creates a DeleteRemoteEnvironmentNoContent with default headers values

func (*DeleteRemoteEnvironmentNoContent) Error

type DeleteRemoteEnvironmentParams

type DeleteRemoteEnvironmentParams struct {

	/*ID
	  The ID of the configuration to be deleted.

	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteRemoteEnvironmentParams contains all the parameters to send to the API endpoint for the delete remote environment operation typically these are written to a http.Request

func NewDeleteRemoteEnvironmentParams

func NewDeleteRemoteEnvironmentParams() *DeleteRemoteEnvironmentParams

NewDeleteRemoteEnvironmentParams creates a new DeleteRemoteEnvironmentParams object with the default values initialized.

func NewDeleteRemoteEnvironmentParamsWithContext

func NewDeleteRemoteEnvironmentParamsWithContext(ctx context.Context) *DeleteRemoteEnvironmentParams

NewDeleteRemoteEnvironmentParamsWithContext creates a new DeleteRemoteEnvironmentParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteRemoteEnvironmentParamsWithHTTPClient

func NewDeleteRemoteEnvironmentParamsWithHTTPClient(client *http.Client) *DeleteRemoteEnvironmentParams

NewDeleteRemoteEnvironmentParamsWithHTTPClient creates a new DeleteRemoteEnvironmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteRemoteEnvironmentParamsWithTimeout

func NewDeleteRemoteEnvironmentParamsWithTimeout(timeout time.Duration) *DeleteRemoteEnvironmentParams

NewDeleteRemoteEnvironmentParamsWithTimeout creates a new DeleteRemoteEnvironmentParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteRemoteEnvironmentParams) SetContext

func (o *DeleteRemoteEnvironmentParams) SetContext(ctx context.Context)

SetContext adds the context to the delete remote environment params

func (*DeleteRemoteEnvironmentParams) SetHTTPClient

func (o *DeleteRemoteEnvironmentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete remote environment params

func (*DeleteRemoteEnvironmentParams) SetID

SetID adds the id to the delete remote environment params

func (*DeleteRemoteEnvironmentParams) SetTimeout

func (o *DeleteRemoteEnvironmentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete remote environment params

func (*DeleteRemoteEnvironmentParams) WithContext

WithContext adds the context to the delete remote environment params

func (*DeleteRemoteEnvironmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete remote environment params

func (*DeleteRemoteEnvironmentParams) WithID

WithID adds the id to the delete remote environment params

func (*DeleteRemoteEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the delete remote environment params

func (*DeleteRemoteEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRemoteEnvironmentReader

type DeleteRemoteEnvironmentReader struct {
	// contains filtered or unexported fields
}

DeleteRemoteEnvironmentReader is a Reader for the DeleteRemoteEnvironment structure.

func (*DeleteRemoteEnvironmentReader) ReadResponse

func (o *DeleteRemoteEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRemoteEnvironmentOK

type GetRemoteEnvironmentOK struct {
	Payload *dynatrace.RemoteEnvironmentConfigDto
}

GetRemoteEnvironmentOK handles this case with default header values.

successful operation

func NewGetRemoteEnvironmentOK

func NewGetRemoteEnvironmentOK() *GetRemoteEnvironmentOK

NewGetRemoteEnvironmentOK creates a GetRemoteEnvironmentOK with default headers values

func (*GetRemoteEnvironmentOK) Error

func (o *GetRemoteEnvironmentOK) Error() string

func (*GetRemoteEnvironmentOK) GetPayload

type GetRemoteEnvironmentParams

type GetRemoteEnvironmentParams struct {

	/*ID
	  The ID of the required configuration.

	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRemoteEnvironmentParams contains all the parameters to send to the API endpoint for the get remote environment operation typically these are written to a http.Request

func NewGetRemoteEnvironmentParams

func NewGetRemoteEnvironmentParams() *GetRemoteEnvironmentParams

NewGetRemoteEnvironmentParams creates a new GetRemoteEnvironmentParams object with the default values initialized.

func NewGetRemoteEnvironmentParamsWithContext

func NewGetRemoteEnvironmentParamsWithContext(ctx context.Context) *GetRemoteEnvironmentParams

NewGetRemoteEnvironmentParamsWithContext creates a new GetRemoteEnvironmentParams object with the default values initialized, and the ability to set a context for a request

func NewGetRemoteEnvironmentParamsWithHTTPClient

func NewGetRemoteEnvironmentParamsWithHTTPClient(client *http.Client) *GetRemoteEnvironmentParams

NewGetRemoteEnvironmentParamsWithHTTPClient creates a new GetRemoteEnvironmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRemoteEnvironmentParamsWithTimeout

func NewGetRemoteEnvironmentParamsWithTimeout(timeout time.Duration) *GetRemoteEnvironmentParams

NewGetRemoteEnvironmentParamsWithTimeout creates a new GetRemoteEnvironmentParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRemoteEnvironmentParams) SetContext

func (o *GetRemoteEnvironmentParams) SetContext(ctx context.Context)

SetContext adds the context to the get remote environment params

func (*GetRemoteEnvironmentParams) SetHTTPClient

func (o *GetRemoteEnvironmentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get remote environment params

func (*GetRemoteEnvironmentParams) SetID

func (o *GetRemoteEnvironmentParams) SetID(id string)

SetID adds the id to the get remote environment params

func (*GetRemoteEnvironmentParams) SetTimeout

func (o *GetRemoteEnvironmentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get remote environment params

func (*GetRemoteEnvironmentParams) WithContext

WithContext adds the context to the get remote environment params

func (*GetRemoteEnvironmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get remote environment params

func (*GetRemoteEnvironmentParams) WithID

WithID adds the id to the get remote environment params

func (*GetRemoteEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the get remote environment params

func (*GetRemoteEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRemoteEnvironmentReader

type GetRemoteEnvironmentReader struct {
	// contains filtered or unexported fields
}

GetRemoteEnvironmentReader is a Reader for the GetRemoteEnvironment structure.

func (*GetRemoteEnvironmentReader) ReadResponse

func (o *GetRemoteEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRemoteEnvironmentsOK

type GetRemoteEnvironmentsOK struct {
	Payload *dynatrace.RemoteEnvironmentConfigListDto
}

GetRemoteEnvironmentsOK handles this case with default header values.

successful operation

func NewGetRemoteEnvironmentsOK

func NewGetRemoteEnvironmentsOK() *GetRemoteEnvironmentsOK

NewGetRemoteEnvironmentsOK creates a GetRemoteEnvironmentsOK with default headers values

func (*GetRemoteEnvironmentsOK) Error

func (o *GetRemoteEnvironmentsOK) Error() string

func (*GetRemoteEnvironmentsOK) GetPayload

type GetRemoteEnvironmentsParams

type GetRemoteEnvironmentsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRemoteEnvironmentsParams contains all the parameters to send to the API endpoint for the get remote environments operation typically these are written to a http.Request

func NewGetRemoteEnvironmentsParams

func NewGetRemoteEnvironmentsParams() *GetRemoteEnvironmentsParams

NewGetRemoteEnvironmentsParams creates a new GetRemoteEnvironmentsParams object with the default values initialized.

func NewGetRemoteEnvironmentsParamsWithContext

func NewGetRemoteEnvironmentsParamsWithContext(ctx context.Context) *GetRemoteEnvironmentsParams

NewGetRemoteEnvironmentsParamsWithContext creates a new GetRemoteEnvironmentsParams object with the default values initialized, and the ability to set a context for a request

func NewGetRemoteEnvironmentsParamsWithHTTPClient

func NewGetRemoteEnvironmentsParamsWithHTTPClient(client *http.Client) *GetRemoteEnvironmentsParams

NewGetRemoteEnvironmentsParamsWithHTTPClient creates a new GetRemoteEnvironmentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRemoteEnvironmentsParamsWithTimeout

func NewGetRemoteEnvironmentsParamsWithTimeout(timeout time.Duration) *GetRemoteEnvironmentsParams

NewGetRemoteEnvironmentsParamsWithTimeout creates a new GetRemoteEnvironmentsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRemoteEnvironmentsParams) SetContext

func (o *GetRemoteEnvironmentsParams) SetContext(ctx context.Context)

SetContext adds the context to the get remote environments params

func (*GetRemoteEnvironmentsParams) SetHTTPClient

func (o *GetRemoteEnvironmentsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get remote environments params

func (*GetRemoteEnvironmentsParams) SetTimeout

func (o *GetRemoteEnvironmentsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get remote environments params

func (*GetRemoteEnvironmentsParams) WithContext

WithContext adds the context to the get remote environments params

func (*GetRemoteEnvironmentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get remote environments params

func (*GetRemoteEnvironmentsParams) WithTimeout

WithTimeout adds the timeout to the get remote environments params

func (*GetRemoteEnvironmentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRemoteEnvironmentsReader

type GetRemoteEnvironmentsReader struct {
	// contains filtered or unexported fields
}

GetRemoteEnvironmentsReader is a Reader for the GetRemoteEnvironments structure.

func (*GetRemoteEnvironmentsReader) ReadResponse

func (o *GetRemoteEnvironmentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateRemoteEnvironmentBadRequest

type UpdateRemoteEnvironmentBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UpdateRemoteEnvironmentBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewUpdateRemoteEnvironmentBadRequest

func NewUpdateRemoteEnvironmentBadRequest() *UpdateRemoteEnvironmentBadRequest

NewUpdateRemoteEnvironmentBadRequest creates a UpdateRemoteEnvironmentBadRequest with default headers values

func (*UpdateRemoteEnvironmentBadRequest) Error

func (*UpdateRemoteEnvironmentBadRequest) GetPayload

type UpdateRemoteEnvironmentCreated

type UpdateRemoteEnvironmentCreated struct {
	Payload *dynatrace.RemoteEnvironmentConfigStubDto
}

UpdateRemoteEnvironmentCreated handles this case with default header values.

Success. A new remote environment configuration has been created. The response contains the ID of the new configuration.

func NewUpdateRemoteEnvironmentCreated

func NewUpdateRemoteEnvironmentCreated() *UpdateRemoteEnvironmentCreated

NewUpdateRemoteEnvironmentCreated creates a UpdateRemoteEnvironmentCreated with default headers values

func (*UpdateRemoteEnvironmentCreated) Error

func (*UpdateRemoteEnvironmentCreated) GetPayload

type UpdateRemoteEnvironmentNoContent

type UpdateRemoteEnvironmentNoContent struct {
}

UpdateRemoteEnvironmentNoContent handles this case with default header values.

Success. The configuration has been updated. The response doesn't have a body.

func NewUpdateRemoteEnvironmentNoContent

func NewUpdateRemoteEnvironmentNoContent() *UpdateRemoteEnvironmentNoContent

NewUpdateRemoteEnvironmentNoContent creates a UpdateRemoteEnvironmentNoContent with default headers values

func (*UpdateRemoteEnvironmentNoContent) Error

type UpdateRemoteEnvironmentParams

type UpdateRemoteEnvironmentParams struct {

	/*Body
	  The JSON body of the request. Contains updated parameters of the remote environment configuration.

	*/
	Body *dynatrace.RemoteEnvironmentConfigDto
	/*ID
	 The ID of the configuration to be updated.

	If you set the ID in the body as well, it must match this ID.

	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateRemoteEnvironmentParams contains all the parameters to send to the API endpoint for the update remote environment operation typically these are written to a http.Request

func NewUpdateRemoteEnvironmentParams

func NewUpdateRemoteEnvironmentParams() *UpdateRemoteEnvironmentParams

NewUpdateRemoteEnvironmentParams creates a new UpdateRemoteEnvironmentParams object with the default values initialized.

func NewUpdateRemoteEnvironmentParamsWithContext

func NewUpdateRemoteEnvironmentParamsWithContext(ctx context.Context) *UpdateRemoteEnvironmentParams

NewUpdateRemoteEnvironmentParamsWithContext creates a new UpdateRemoteEnvironmentParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateRemoteEnvironmentParamsWithHTTPClient

func NewUpdateRemoteEnvironmentParamsWithHTTPClient(client *http.Client) *UpdateRemoteEnvironmentParams

NewUpdateRemoteEnvironmentParamsWithHTTPClient creates a new UpdateRemoteEnvironmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateRemoteEnvironmentParamsWithTimeout

func NewUpdateRemoteEnvironmentParamsWithTimeout(timeout time.Duration) *UpdateRemoteEnvironmentParams

NewUpdateRemoteEnvironmentParamsWithTimeout creates a new UpdateRemoteEnvironmentParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateRemoteEnvironmentParams) SetBody

SetBody adds the body to the update remote environment params

func (*UpdateRemoteEnvironmentParams) SetContext

func (o *UpdateRemoteEnvironmentParams) SetContext(ctx context.Context)

SetContext adds the context to the update remote environment params

func (*UpdateRemoteEnvironmentParams) SetHTTPClient

func (o *UpdateRemoteEnvironmentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update remote environment params

func (*UpdateRemoteEnvironmentParams) SetID

SetID adds the id to the update remote environment params

func (*UpdateRemoteEnvironmentParams) SetTimeout

func (o *UpdateRemoteEnvironmentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update remote environment params

func (*UpdateRemoteEnvironmentParams) WithBody

WithBody adds the body to the update remote environment params

func (*UpdateRemoteEnvironmentParams) WithContext

WithContext adds the context to the update remote environment params

func (*UpdateRemoteEnvironmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update remote environment params

func (*UpdateRemoteEnvironmentParams) WithID

WithID adds the id to the update remote environment params

func (*UpdateRemoteEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the update remote environment params

func (*UpdateRemoteEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateRemoteEnvironmentReader

type UpdateRemoteEnvironmentReader struct {
	// contains filtered or unexported fields
}

UpdateRemoteEnvironmentReader is a Reader for the UpdateRemoteEnvironment structure.

func (*UpdateRemoteEnvironmentReader) ReadResponse

func (o *UpdateRemoteEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ValidateCreateRemoteEnvironmentBadRequest

type ValidateCreateRemoteEnvironmentBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateCreateRemoteEnvironmentBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateCreateRemoteEnvironmentBadRequest

func NewValidateCreateRemoteEnvironmentBadRequest() *ValidateCreateRemoteEnvironmentBadRequest

NewValidateCreateRemoteEnvironmentBadRequest creates a ValidateCreateRemoteEnvironmentBadRequest with default headers values

func (*ValidateCreateRemoteEnvironmentBadRequest) Error

func (*ValidateCreateRemoteEnvironmentBadRequest) GetPayload

type ValidateCreateRemoteEnvironmentNoContent

type ValidateCreateRemoteEnvironmentNoContent struct {
}

ValidateCreateRemoteEnvironmentNoContent handles this case with default header values.

Validated. The submitted configuration is valid. Response doesn't have a body

func NewValidateCreateRemoteEnvironmentNoContent

func NewValidateCreateRemoteEnvironmentNoContent() *ValidateCreateRemoteEnvironmentNoContent

NewValidateCreateRemoteEnvironmentNoContent creates a ValidateCreateRemoteEnvironmentNoContent with default headers values

func (*ValidateCreateRemoteEnvironmentNoContent) Error

type ValidateCreateRemoteEnvironmentParams

type ValidateCreateRemoteEnvironmentParams struct {

	/*Body
	  The JSON body of the request. Contains the remote environment configuration to be validated.

	*/
	Body *dynatrace.RemoteEnvironmentConfigDto

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ValidateCreateRemoteEnvironmentParams contains all the parameters to send to the API endpoint for the validate create remote environment operation typically these are written to a http.Request

func NewValidateCreateRemoteEnvironmentParams

func NewValidateCreateRemoteEnvironmentParams() *ValidateCreateRemoteEnvironmentParams

NewValidateCreateRemoteEnvironmentParams creates a new ValidateCreateRemoteEnvironmentParams object with the default values initialized.

func NewValidateCreateRemoteEnvironmentParamsWithContext

func NewValidateCreateRemoteEnvironmentParamsWithContext(ctx context.Context) *ValidateCreateRemoteEnvironmentParams

NewValidateCreateRemoteEnvironmentParamsWithContext creates a new ValidateCreateRemoteEnvironmentParams object with the default values initialized, and the ability to set a context for a request

func NewValidateCreateRemoteEnvironmentParamsWithHTTPClient

func NewValidateCreateRemoteEnvironmentParamsWithHTTPClient(client *http.Client) *ValidateCreateRemoteEnvironmentParams

NewValidateCreateRemoteEnvironmentParamsWithHTTPClient creates a new ValidateCreateRemoteEnvironmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewValidateCreateRemoteEnvironmentParamsWithTimeout

func NewValidateCreateRemoteEnvironmentParamsWithTimeout(timeout time.Duration) *ValidateCreateRemoteEnvironmentParams

NewValidateCreateRemoteEnvironmentParamsWithTimeout creates a new ValidateCreateRemoteEnvironmentParams object with the default values initialized, and the ability to set a timeout on a request

func (*ValidateCreateRemoteEnvironmentParams) SetBody

SetBody adds the body to the validate create remote environment params

func (*ValidateCreateRemoteEnvironmentParams) SetContext

SetContext adds the context to the validate create remote environment params

func (*ValidateCreateRemoteEnvironmentParams) SetHTTPClient

func (o *ValidateCreateRemoteEnvironmentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the validate create remote environment params

func (*ValidateCreateRemoteEnvironmentParams) SetTimeout

func (o *ValidateCreateRemoteEnvironmentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the validate create remote environment params

func (*ValidateCreateRemoteEnvironmentParams) WithBody

WithBody adds the body to the validate create remote environment params

func (*ValidateCreateRemoteEnvironmentParams) WithContext

WithContext adds the context to the validate create remote environment params

func (*ValidateCreateRemoteEnvironmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate create remote environment params

func (*ValidateCreateRemoteEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the validate create remote environment params

func (*ValidateCreateRemoteEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateCreateRemoteEnvironmentReader

type ValidateCreateRemoteEnvironmentReader struct {
	// contains filtered or unexported fields
}

ValidateCreateRemoteEnvironmentReader is a Reader for the ValidateCreateRemoteEnvironment structure.

func (*ValidateCreateRemoteEnvironmentReader) ReadResponse

func (o *ValidateCreateRemoteEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ValidateUpdateRemoteEnvironmentBadRequest

type ValidateUpdateRemoteEnvironmentBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateUpdateRemoteEnvironmentBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateUpdateRemoteEnvironmentBadRequest

func NewValidateUpdateRemoteEnvironmentBadRequest() *ValidateUpdateRemoteEnvironmentBadRequest

NewValidateUpdateRemoteEnvironmentBadRequest creates a ValidateUpdateRemoteEnvironmentBadRequest with default headers values

func (*ValidateUpdateRemoteEnvironmentBadRequest) Error

func (*ValidateUpdateRemoteEnvironmentBadRequest) GetPayload

type ValidateUpdateRemoteEnvironmentNoContent

type ValidateUpdateRemoteEnvironmentNoContent struct {
}

ValidateUpdateRemoteEnvironmentNoContent handles this case with default header values.

Validated. The submitted configuration is valid. Response doesn't have a body

func NewValidateUpdateRemoteEnvironmentNoContent

func NewValidateUpdateRemoteEnvironmentNoContent() *ValidateUpdateRemoteEnvironmentNoContent

NewValidateUpdateRemoteEnvironmentNoContent creates a ValidateUpdateRemoteEnvironmentNoContent with default headers values

func (*ValidateUpdateRemoteEnvironmentNoContent) Error

type ValidateUpdateRemoteEnvironmentParams

type ValidateUpdateRemoteEnvironmentParams struct {

	/*Body
	  The JSON body of the request. Contains the remote environment configuration to be validated.

	*/
	Body *dynatrace.RemoteEnvironmentConfigDto
	/*ID
	  The ID of the remote environment configuration to be validated.

	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ValidateUpdateRemoteEnvironmentParams contains all the parameters to send to the API endpoint for the validate update remote environment operation typically these are written to a http.Request

func NewValidateUpdateRemoteEnvironmentParams

func NewValidateUpdateRemoteEnvironmentParams() *ValidateUpdateRemoteEnvironmentParams

NewValidateUpdateRemoteEnvironmentParams creates a new ValidateUpdateRemoteEnvironmentParams object with the default values initialized.

func NewValidateUpdateRemoteEnvironmentParamsWithContext

func NewValidateUpdateRemoteEnvironmentParamsWithContext(ctx context.Context) *ValidateUpdateRemoteEnvironmentParams

NewValidateUpdateRemoteEnvironmentParamsWithContext creates a new ValidateUpdateRemoteEnvironmentParams object with the default values initialized, and the ability to set a context for a request

func NewValidateUpdateRemoteEnvironmentParamsWithHTTPClient

func NewValidateUpdateRemoteEnvironmentParamsWithHTTPClient(client *http.Client) *ValidateUpdateRemoteEnvironmentParams

NewValidateUpdateRemoteEnvironmentParamsWithHTTPClient creates a new ValidateUpdateRemoteEnvironmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewValidateUpdateRemoteEnvironmentParamsWithTimeout

func NewValidateUpdateRemoteEnvironmentParamsWithTimeout(timeout time.Duration) *ValidateUpdateRemoteEnvironmentParams

NewValidateUpdateRemoteEnvironmentParamsWithTimeout creates a new ValidateUpdateRemoteEnvironmentParams object with the default values initialized, and the ability to set a timeout on a request

func (*ValidateUpdateRemoteEnvironmentParams) SetBody

SetBody adds the body to the validate update remote environment params

func (*ValidateUpdateRemoteEnvironmentParams) SetContext

SetContext adds the context to the validate update remote environment params

func (*ValidateUpdateRemoteEnvironmentParams) SetHTTPClient

func (o *ValidateUpdateRemoteEnvironmentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the validate update remote environment params

func (*ValidateUpdateRemoteEnvironmentParams) SetID

SetID adds the id to the validate update remote environment params

func (*ValidateUpdateRemoteEnvironmentParams) SetTimeout

func (o *ValidateUpdateRemoteEnvironmentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the validate update remote environment params

func (*ValidateUpdateRemoteEnvironmentParams) WithBody

WithBody adds the body to the validate update remote environment params

func (*ValidateUpdateRemoteEnvironmentParams) WithContext

WithContext adds the context to the validate update remote environment params

func (*ValidateUpdateRemoteEnvironmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate update remote environment params

func (*ValidateUpdateRemoteEnvironmentParams) WithID

WithID adds the id to the validate update remote environment params

func (*ValidateUpdateRemoteEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the validate update remote environment params

func (*ValidateUpdateRemoteEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateUpdateRemoteEnvironmentReader

type ValidateUpdateRemoteEnvironmentReader struct {
	// contains filtered or unexported fields
}

ValidateUpdateRemoteEnvironmentReader is a Reader for the ValidateUpdateRemoteEnvironment structure.

func (*ValidateUpdateRemoteEnvironmentReader) ReadResponse

func (o *ValidateUpdateRemoteEnvironmentReader) 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