data_privacy_and_security

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 data privacy and security API

func (*Client) GetDataPrivacy

func (a *Client) GetDataPrivacy(params *GetDataPrivacyParams, authInfo runtime.ClientAuthInfoWriter) (*GetDataPrivacyOK, error)

GetDataPrivacy lists the global data privacy and security settings

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateDataPrivacy

func (a *Client) UpdateDataPrivacy(params *UpdateDataPrivacyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDataPrivacyNoContent, error)

UpdateDataPrivacy updates the global data privacy and security settings

This request updates global settings, affecting all your applications. To update application-specific data privacy settings, use the `PUT /applications/web/{id}/dataPrivacy` request.

func (*Client) ValidateUpdateDataPrivacy

ValidateUpdateDataPrivacy validates new data privacy and security settings for the p u t data privacy request

type ClientService

type ClientService interface {
	GetDataPrivacy(params *GetDataPrivacyParams, authInfo runtime.ClientAuthInfoWriter) (*GetDataPrivacyOK, error)

	UpdateDataPrivacy(params *UpdateDataPrivacyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDataPrivacyNoContent, error)

	ValidateUpdateDataPrivacy(params *ValidateUpdateDataPrivacyParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateDataPrivacyNoContent, 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 data privacy and security API client.

type GetDataPrivacyOK

type GetDataPrivacyOK struct {
	Payload *dynatrace.DataPrivacyAndSecurity
}

GetDataPrivacyOK handles this case with default header values.

successful operation

func NewGetDataPrivacyOK

func NewGetDataPrivacyOK() *GetDataPrivacyOK

NewGetDataPrivacyOK creates a GetDataPrivacyOK with default headers values

func (*GetDataPrivacyOK) Error

func (o *GetDataPrivacyOK) Error() string

func (*GetDataPrivacyOK) GetPayload

type GetDataPrivacyParams

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

GetDataPrivacyParams contains all the parameters to send to the API endpoint for the get data privacy operation typically these are written to a http.Request

func NewGetDataPrivacyParams

func NewGetDataPrivacyParams() *GetDataPrivacyParams

NewGetDataPrivacyParams creates a new GetDataPrivacyParams object with the default values initialized.

func NewGetDataPrivacyParamsWithContext

func NewGetDataPrivacyParamsWithContext(ctx context.Context) *GetDataPrivacyParams

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

func NewGetDataPrivacyParamsWithHTTPClient

func NewGetDataPrivacyParamsWithHTTPClient(client *http.Client) *GetDataPrivacyParams

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

func NewGetDataPrivacyParamsWithTimeout

func NewGetDataPrivacyParamsWithTimeout(timeout time.Duration) *GetDataPrivacyParams

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

func (*GetDataPrivacyParams) SetContext

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

SetContext adds the context to the get data privacy params

func (*GetDataPrivacyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data privacy params

func (*GetDataPrivacyParams) SetTimeout

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

SetTimeout adds the timeout to the get data privacy params

func (*GetDataPrivacyParams) WithContext

WithContext adds the context to the get data privacy params

func (*GetDataPrivacyParams) WithHTTPClient

func (o *GetDataPrivacyParams) WithHTTPClient(client *http.Client) *GetDataPrivacyParams

WithHTTPClient adds the HTTPClient to the get data privacy params

func (*GetDataPrivacyParams) WithTimeout

func (o *GetDataPrivacyParams) WithTimeout(timeout time.Duration) *GetDataPrivacyParams

WithTimeout adds the timeout to the get data privacy params

func (*GetDataPrivacyParams) WriteToRequest

func (o *GetDataPrivacyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetDataPrivacyReader

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

GetDataPrivacyReader is a Reader for the GetDataPrivacy structure.

func (*GetDataPrivacyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDataPrivacyBadRequest

type UpdateDataPrivacyBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UpdateDataPrivacyBadRequest handles this case with default header values.

Failed. The input is invalid. See the response body for details.

func NewUpdateDataPrivacyBadRequest

func NewUpdateDataPrivacyBadRequest() *UpdateDataPrivacyBadRequest

NewUpdateDataPrivacyBadRequest creates a UpdateDataPrivacyBadRequest with default headers values

func (*UpdateDataPrivacyBadRequest) Error

func (*UpdateDataPrivacyBadRequest) GetPayload

type UpdateDataPrivacyNoContent

type UpdateDataPrivacyNoContent struct {
}

UpdateDataPrivacyNoContent handles this case with default header values.

Success. The configuration is updated. Response does not have a body.

func NewUpdateDataPrivacyNoContent

func NewUpdateDataPrivacyNoContent() *UpdateDataPrivacyNoContent

NewUpdateDataPrivacyNoContent creates a UpdateDataPrivacyNoContent with default headers values

func (*UpdateDataPrivacyNoContent) Error

type UpdateDataPrivacyParams

type UpdateDataPrivacyParams struct {

	/*Body*/
	Body *dynatrace.DataPrivacyAndSecurity

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

UpdateDataPrivacyParams contains all the parameters to send to the API endpoint for the update data privacy operation typically these are written to a http.Request

func NewUpdateDataPrivacyParams

func NewUpdateDataPrivacyParams() *UpdateDataPrivacyParams

NewUpdateDataPrivacyParams creates a new UpdateDataPrivacyParams object with the default values initialized.

func NewUpdateDataPrivacyParamsWithContext

func NewUpdateDataPrivacyParamsWithContext(ctx context.Context) *UpdateDataPrivacyParams

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

func NewUpdateDataPrivacyParamsWithHTTPClient

func NewUpdateDataPrivacyParamsWithHTTPClient(client *http.Client) *UpdateDataPrivacyParams

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

func NewUpdateDataPrivacyParamsWithTimeout

func NewUpdateDataPrivacyParamsWithTimeout(timeout time.Duration) *UpdateDataPrivacyParams

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

func (*UpdateDataPrivacyParams) SetBody

SetBody adds the body to the update data privacy params

func (*UpdateDataPrivacyParams) SetContext

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

SetContext adds the context to the update data privacy params

func (*UpdateDataPrivacyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update data privacy params

func (*UpdateDataPrivacyParams) SetTimeout

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

SetTimeout adds the timeout to the update data privacy params

func (*UpdateDataPrivacyParams) WithBody

WithBody adds the body to the update data privacy params

func (*UpdateDataPrivacyParams) WithContext

WithContext adds the context to the update data privacy params

func (*UpdateDataPrivacyParams) WithHTTPClient

func (o *UpdateDataPrivacyParams) WithHTTPClient(client *http.Client) *UpdateDataPrivacyParams

WithHTTPClient adds the HTTPClient to the update data privacy params

func (*UpdateDataPrivacyParams) WithTimeout

WithTimeout adds the timeout to the update data privacy params

func (*UpdateDataPrivacyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDataPrivacyReader

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

UpdateDataPrivacyReader is a Reader for the UpdateDataPrivacy structure.

func (*UpdateDataPrivacyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateUpdateDataPrivacyBadRequest

type ValidateUpdateDataPrivacyBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateUpdateDataPrivacyBadRequest handles this case with default header values.

Failed. The input is invalid. See the response body for details.

func NewValidateUpdateDataPrivacyBadRequest

func NewValidateUpdateDataPrivacyBadRequest() *ValidateUpdateDataPrivacyBadRequest

NewValidateUpdateDataPrivacyBadRequest creates a ValidateUpdateDataPrivacyBadRequest with default headers values

func (*ValidateUpdateDataPrivacyBadRequest) Error

func (*ValidateUpdateDataPrivacyBadRequest) GetPayload

type ValidateUpdateDataPrivacyNoContent

type ValidateUpdateDataPrivacyNoContent struct {
}

ValidateUpdateDataPrivacyNoContent handles this case with default header values.

Validated. The submitted configuration is valid. Response does not have a body.

func NewValidateUpdateDataPrivacyNoContent

func NewValidateUpdateDataPrivacyNoContent() *ValidateUpdateDataPrivacyNoContent

NewValidateUpdateDataPrivacyNoContent creates a ValidateUpdateDataPrivacyNoContent with default headers values

func (*ValidateUpdateDataPrivacyNoContent) Error

type ValidateUpdateDataPrivacyParams

type ValidateUpdateDataPrivacyParams struct {

	/*Body*/
	Body *dynatrace.DataPrivacyAndSecurity

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

ValidateUpdateDataPrivacyParams contains all the parameters to send to the API endpoint for the validate update data privacy operation typically these are written to a http.Request

func NewValidateUpdateDataPrivacyParams

func NewValidateUpdateDataPrivacyParams() *ValidateUpdateDataPrivacyParams

NewValidateUpdateDataPrivacyParams creates a new ValidateUpdateDataPrivacyParams object with the default values initialized.

func NewValidateUpdateDataPrivacyParamsWithContext

func NewValidateUpdateDataPrivacyParamsWithContext(ctx context.Context) *ValidateUpdateDataPrivacyParams

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

func NewValidateUpdateDataPrivacyParamsWithHTTPClient

func NewValidateUpdateDataPrivacyParamsWithHTTPClient(client *http.Client) *ValidateUpdateDataPrivacyParams

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

func NewValidateUpdateDataPrivacyParamsWithTimeout

func NewValidateUpdateDataPrivacyParamsWithTimeout(timeout time.Duration) *ValidateUpdateDataPrivacyParams

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

func (*ValidateUpdateDataPrivacyParams) SetBody

SetBody adds the body to the validate update data privacy params

func (*ValidateUpdateDataPrivacyParams) SetContext

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

SetContext adds the context to the validate update data privacy params

func (*ValidateUpdateDataPrivacyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate update data privacy params

func (*ValidateUpdateDataPrivacyParams) SetTimeout

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

SetTimeout adds the timeout to the validate update data privacy params

func (*ValidateUpdateDataPrivacyParams) WithBody

WithBody adds the body to the validate update data privacy params

func (*ValidateUpdateDataPrivacyParams) WithContext

WithContext adds the context to the validate update data privacy params

func (*ValidateUpdateDataPrivacyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate update data privacy params

func (*ValidateUpdateDataPrivacyParams) WithTimeout

WithTimeout adds the timeout to the validate update data privacy params

func (*ValidateUpdateDataPrivacyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateUpdateDataPrivacyReader

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

ValidateUpdateDataPrivacyReader is a Reader for the ValidateUpdateDataPrivacy structure.

func (*ValidateUpdateDataPrivacyReader) ReadResponse

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