service_custom_services

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for service custom services API

func (*Client) CreateServiceCustomService

CreateServiceCustomService creates a custom service

In the body of the request, neither custom service nor its rules can have the ID. All IDs will be generated automatically by Dynatrace.

func (*Client) DeleteServiceCustomService

DeleteServiceCustomService deletes the specified custom service

func (*Client) GetServiceCustomService

func (a *Client) GetServiceCustomService(params *GetServiceCustomServiceParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceCustomServiceOK, error)

GetServiceCustomService gets the definition of the specified custom service

func (*Client) GetServiceCustomServices

func (a *Client) GetServiceCustomServices(params *GetServiceCustomServicesParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceCustomServicesOK, error)

GetServiceCustomServices lists all custom services of the specified technology

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateServiceCustomService

UpdateServiceCustomService updates the specified custom service or create a new one

Will use the config's ´order´ attribute if supplied, otherwise keeps the order of the existing config or appends if no existing config with the supplied ID was found.

func (*Client) UpdateServiceCustomServicesOrder

UpdateServiceCustomServicesOrder reorders the custom services of the specified technology

This request reorders the custom services of the specified technology according to the given list of IDs. Custom services not present in the body of the request will retain their relative ordering but will be ordered *after* all those present in the request.

func (*Client) ValidateCreateServiceCustomService

ValidateCreateServiceCustomService validates the new custom service for the p o s t custom services technology request

func (*Client) ValidateUpdateServiceCustomService

ValidateUpdateServiceCustomService validates the new custom service for the p u t custom services technology 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 service custom services API client.

type CreateServiceCustomServiceBadRequest

type CreateServiceCustomServiceBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

CreateServiceCustomServiceBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewCreateServiceCustomServiceBadRequest

func NewCreateServiceCustomServiceBadRequest() *CreateServiceCustomServiceBadRequest

NewCreateServiceCustomServiceBadRequest creates a CreateServiceCustomServiceBadRequest with default headers values

func (*CreateServiceCustomServiceBadRequest) Error

func (*CreateServiceCustomServiceBadRequest) GetPayload

type CreateServiceCustomServiceCreated

type CreateServiceCustomServiceCreated struct {
	Payload *dynatrace.EntityShortRepresentation
}

CreateServiceCustomServiceCreated handles this case with default header values.

Success. The custom service has been created. Response contains the new service's ID and name.

func NewCreateServiceCustomServiceCreated

func NewCreateServiceCustomServiceCreated() *CreateServiceCustomServiceCreated

NewCreateServiceCustomServiceCreated creates a CreateServiceCustomServiceCreated with default headers values

func (*CreateServiceCustomServiceCreated) Error

func (*CreateServiceCustomServiceCreated) GetPayload

type CreateServiceCustomServiceParams

type CreateServiceCustomServiceParams struct {

	/*Body
	  JSON body of the request containing definition of the new custom service.

	You must not specify the IDs for the custom service or any of its rules. The *order* field is not allowed either.

	*/
	Body *dynatrace.CustomService
	/*Position
	  Order of the new custom service. Set to `PREPEND` to prepend it to the list, `APPEND` to append it. Defaults to `APPEND`.

	*/
	Position *string
	/*Technology
	  Technology of the new custom service.

	*/
	Technology string

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

CreateServiceCustomServiceParams contains all the parameters to send to the API endpoint for the create service custom service operation typically these are written to a http.Request

func NewCreateServiceCustomServiceParams

func NewCreateServiceCustomServiceParams() *CreateServiceCustomServiceParams

NewCreateServiceCustomServiceParams creates a new CreateServiceCustomServiceParams object with the default values initialized.

func NewCreateServiceCustomServiceParamsWithContext

func NewCreateServiceCustomServiceParamsWithContext(ctx context.Context) *CreateServiceCustomServiceParams

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

func NewCreateServiceCustomServiceParamsWithHTTPClient

func NewCreateServiceCustomServiceParamsWithHTTPClient(client *http.Client) *CreateServiceCustomServiceParams

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

func NewCreateServiceCustomServiceParamsWithTimeout

func NewCreateServiceCustomServiceParamsWithTimeout(timeout time.Duration) *CreateServiceCustomServiceParams

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

func (*CreateServiceCustomServiceParams) SetBody

SetBody adds the body to the create service custom service params

func (*CreateServiceCustomServiceParams) SetContext

SetContext adds the context to the create service custom service params

func (*CreateServiceCustomServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create service custom service params

func (*CreateServiceCustomServiceParams) SetPosition

func (o *CreateServiceCustomServiceParams) SetPosition(position *string)

SetPosition adds the position to the create service custom service params

func (*CreateServiceCustomServiceParams) SetTechnology

func (o *CreateServiceCustomServiceParams) SetTechnology(technology string)

SetTechnology adds the technology to the create service custom service params

func (*CreateServiceCustomServiceParams) SetTimeout

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

SetTimeout adds the timeout to the create service custom service params

func (*CreateServiceCustomServiceParams) WithBody

WithBody adds the body to the create service custom service params

func (*CreateServiceCustomServiceParams) WithContext

WithContext adds the context to the create service custom service params

func (*CreateServiceCustomServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create service custom service params

func (*CreateServiceCustomServiceParams) WithPosition

WithPosition adds the position to the create service custom service params

func (*CreateServiceCustomServiceParams) WithTechnology

WithTechnology adds the technology to the create service custom service params

func (*CreateServiceCustomServiceParams) WithTimeout

WithTimeout adds the timeout to the create service custom service params

func (*CreateServiceCustomServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateServiceCustomServiceReader

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

CreateServiceCustomServiceReader is a Reader for the CreateServiceCustomService structure.

func (*CreateServiceCustomServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteServiceCustomServiceNoContent

type DeleteServiceCustomServiceNoContent struct {
}

DeleteServiceCustomServiceNoContent handles this case with default header values.

Deleted. Response does not have a body.

func NewDeleteServiceCustomServiceNoContent

func NewDeleteServiceCustomServiceNoContent() *DeleteServiceCustomServiceNoContent

NewDeleteServiceCustomServiceNoContent creates a DeleteServiceCustomServiceNoContent with default headers values

func (*DeleteServiceCustomServiceNoContent) Error

type DeleteServiceCustomServiceParams

type DeleteServiceCustomServiceParams struct {

	/*ID
	  The ID of the custom service to delete.

	*/
	ID strfmt.UUID
	/*Technology
	  Technology of the custom service to delete.

	*/
	Technology string

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

DeleteServiceCustomServiceParams contains all the parameters to send to the API endpoint for the delete service custom service operation typically these are written to a http.Request

func NewDeleteServiceCustomServiceParams

func NewDeleteServiceCustomServiceParams() *DeleteServiceCustomServiceParams

NewDeleteServiceCustomServiceParams creates a new DeleteServiceCustomServiceParams object with the default values initialized.

func NewDeleteServiceCustomServiceParamsWithContext

func NewDeleteServiceCustomServiceParamsWithContext(ctx context.Context) *DeleteServiceCustomServiceParams

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

func NewDeleteServiceCustomServiceParamsWithHTTPClient

func NewDeleteServiceCustomServiceParamsWithHTTPClient(client *http.Client) *DeleteServiceCustomServiceParams

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

func NewDeleteServiceCustomServiceParamsWithTimeout

func NewDeleteServiceCustomServiceParamsWithTimeout(timeout time.Duration) *DeleteServiceCustomServiceParams

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

func (*DeleteServiceCustomServiceParams) SetContext

SetContext adds the context to the delete service custom service params

func (*DeleteServiceCustomServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete service custom service params

func (*DeleteServiceCustomServiceParams) SetID

SetID adds the id to the delete service custom service params

func (*DeleteServiceCustomServiceParams) SetTechnology

func (o *DeleteServiceCustomServiceParams) SetTechnology(technology string)

SetTechnology adds the technology to the delete service custom service params

func (*DeleteServiceCustomServiceParams) SetTimeout

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

SetTimeout adds the timeout to the delete service custom service params

func (*DeleteServiceCustomServiceParams) WithContext

WithContext adds the context to the delete service custom service params

func (*DeleteServiceCustomServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete service custom service params

func (*DeleteServiceCustomServiceParams) WithID

WithID adds the id to the delete service custom service params

func (*DeleteServiceCustomServiceParams) WithTechnology

WithTechnology adds the technology to the delete service custom service params

func (*DeleteServiceCustomServiceParams) WithTimeout

WithTimeout adds the timeout to the delete service custom service params

func (*DeleteServiceCustomServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteServiceCustomServiceReader

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

DeleteServiceCustomServiceReader is a Reader for the DeleteServiceCustomService structure.

func (*DeleteServiceCustomServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServiceCustomServiceOK

type GetServiceCustomServiceOK struct {
	Payload *dynatrace.CustomService
}

GetServiceCustomServiceOK handles this case with default header values.

successful operation

func NewGetServiceCustomServiceOK

func NewGetServiceCustomServiceOK() *GetServiceCustomServiceOK

NewGetServiceCustomServiceOK creates a GetServiceCustomServiceOK with default headers values

func (*GetServiceCustomServiceOK) Error

func (o *GetServiceCustomServiceOK) Error() string

func (*GetServiceCustomServiceOK) GetPayload

type GetServiceCustomServiceParams

type GetServiceCustomServiceParams struct {

	/*ID
	  The ID of the custom service you're inquiring.

	*/
	ID strfmt.UUID
	/*IncludeProcessGroupReferences
	  Flag to include process group references to the response.

	 Process group references aren't compatible across environments.

	`false` is used if the value is not set.

	*/
	IncludeProcessGroupReferences *bool
	/*Technology
	  Technology of the custom service you're inquiring.

	*/
	Technology string

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

GetServiceCustomServiceParams contains all the parameters to send to the API endpoint for the get service custom service operation typically these are written to a http.Request

func NewGetServiceCustomServiceParams

func NewGetServiceCustomServiceParams() *GetServiceCustomServiceParams

NewGetServiceCustomServiceParams creates a new GetServiceCustomServiceParams object with the default values initialized.

func NewGetServiceCustomServiceParamsWithContext

func NewGetServiceCustomServiceParamsWithContext(ctx context.Context) *GetServiceCustomServiceParams

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

func NewGetServiceCustomServiceParamsWithHTTPClient

func NewGetServiceCustomServiceParamsWithHTTPClient(client *http.Client) *GetServiceCustomServiceParams

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

func NewGetServiceCustomServiceParamsWithTimeout

func NewGetServiceCustomServiceParamsWithTimeout(timeout time.Duration) *GetServiceCustomServiceParams

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

func (*GetServiceCustomServiceParams) SetContext

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

SetContext adds the context to the get service custom service params

func (*GetServiceCustomServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get service custom service params

func (*GetServiceCustomServiceParams) SetID

SetID adds the id to the get service custom service params

func (*GetServiceCustomServiceParams) SetIncludeProcessGroupReferences

func (o *GetServiceCustomServiceParams) SetIncludeProcessGroupReferences(includeProcessGroupReferences *bool)

SetIncludeProcessGroupReferences adds the includeProcessGroupReferences to the get service custom service params

func (*GetServiceCustomServiceParams) SetTechnology

func (o *GetServiceCustomServiceParams) SetTechnology(technology string)

SetTechnology adds the technology to the get service custom service params

func (*GetServiceCustomServiceParams) SetTimeout

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

SetTimeout adds the timeout to the get service custom service params

func (*GetServiceCustomServiceParams) WithContext

WithContext adds the context to the get service custom service params

func (*GetServiceCustomServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get service custom service params

func (*GetServiceCustomServiceParams) WithID

WithID adds the id to the get service custom service params

func (*GetServiceCustomServiceParams) WithIncludeProcessGroupReferences

func (o *GetServiceCustomServiceParams) WithIncludeProcessGroupReferences(includeProcessGroupReferences *bool) *GetServiceCustomServiceParams

WithIncludeProcessGroupReferences adds the includeProcessGroupReferences to the get service custom service params

func (*GetServiceCustomServiceParams) WithTechnology

WithTechnology adds the technology to the get service custom service params

func (*GetServiceCustomServiceParams) WithTimeout

WithTimeout adds the timeout to the get service custom service params

func (*GetServiceCustomServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetServiceCustomServiceReader

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

GetServiceCustomServiceReader is a Reader for the GetServiceCustomService structure.

func (*GetServiceCustomServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServiceCustomServicesOK

type GetServiceCustomServicesOK struct {
	Payload *dynatrace.StubList
}

GetServiceCustomServicesOK handles this case with default header values.

successful operation

func NewGetServiceCustomServicesOK

func NewGetServiceCustomServicesOK() *GetServiceCustomServicesOK

NewGetServiceCustomServicesOK creates a GetServiceCustomServicesOK with default headers values

func (*GetServiceCustomServicesOK) Error

func (*GetServiceCustomServicesOK) GetPayload

type GetServiceCustomServicesParams

type GetServiceCustomServicesParams struct {

	/*Technology
	  Technology of the required custom services.

	*/
	Technology string

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

GetServiceCustomServicesParams contains all the parameters to send to the API endpoint for the get service custom services operation typically these are written to a http.Request

func NewGetServiceCustomServicesParams

func NewGetServiceCustomServicesParams() *GetServiceCustomServicesParams

NewGetServiceCustomServicesParams creates a new GetServiceCustomServicesParams object with the default values initialized.

func NewGetServiceCustomServicesParamsWithContext

func NewGetServiceCustomServicesParamsWithContext(ctx context.Context) *GetServiceCustomServicesParams

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

func NewGetServiceCustomServicesParamsWithHTTPClient

func NewGetServiceCustomServicesParamsWithHTTPClient(client *http.Client) *GetServiceCustomServicesParams

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

func NewGetServiceCustomServicesParamsWithTimeout

func NewGetServiceCustomServicesParamsWithTimeout(timeout time.Duration) *GetServiceCustomServicesParams

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

func (*GetServiceCustomServicesParams) SetContext

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

SetContext adds the context to the get service custom services params

func (*GetServiceCustomServicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get service custom services params

func (*GetServiceCustomServicesParams) SetTechnology

func (o *GetServiceCustomServicesParams) SetTechnology(technology string)

SetTechnology adds the technology to the get service custom services params

func (*GetServiceCustomServicesParams) SetTimeout

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

SetTimeout adds the timeout to the get service custom services params

func (*GetServiceCustomServicesParams) WithContext

WithContext adds the context to the get service custom services params

func (*GetServiceCustomServicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get service custom services params

func (*GetServiceCustomServicesParams) WithTechnology

WithTechnology adds the technology to the get service custom services params

func (*GetServiceCustomServicesParams) WithTimeout

WithTimeout adds the timeout to the get service custom services params

func (*GetServiceCustomServicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetServiceCustomServicesReader

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

GetServiceCustomServicesReader is a Reader for the GetServiceCustomServices structure.

func (*GetServiceCustomServicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateServiceCustomServiceBadRequest

type UpdateServiceCustomServiceBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UpdateServiceCustomServiceBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewUpdateServiceCustomServiceBadRequest

func NewUpdateServiceCustomServiceBadRequest() *UpdateServiceCustomServiceBadRequest

NewUpdateServiceCustomServiceBadRequest creates a UpdateServiceCustomServiceBadRequest with default headers values

func (*UpdateServiceCustomServiceBadRequest) Error

func (*UpdateServiceCustomServiceBadRequest) GetPayload

type UpdateServiceCustomServiceCreated

type UpdateServiceCustomServiceCreated struct {
	Payload *dynatrace.EntityShortRepresentation
}

UpdateServiceCustomServiceCreated handles this case with default header values.

Success. Custom service has been created. Response contains the new service's ID and name.

func NewUpdateServiceCustomServiceCreated

func NewUpdateServiceCustomServiceCreated() *UpdateServiceCustomServiceCreated

NewUpdateServiceCustomServiceCreated creates a UpdateServiceCustomServiceCreated with default headers values

func (*UpdateServiceCustomServiceCreated) Error

func (*UpdateServiceCustomServiceCreated) GetPayload

type UpdateServiceCustomServiceNoContent

type UpdateServiceCustomServiceNoContent struct {
}

UpdateServiceCustomServiceNoContent handles this case with default header values.

Success. Custom service has been updated. Response doesn't have a body.

func NewUpdateServiceCustomServiceNoContent

func NewUpdateServiceCustomServiceNoContent() *UpdateServiceCustomServiceNoContent

NewUpdateServiceCustomServiceNoContent creates a UpdateServiceCustomServiceNoContent with default headers values

func (*UpdateServiceCustomServiceNoContent) Error

type UpdateServiceCustomServiceParams

type UpdateServiceCustomServiceParams struct {

	/*Body
	  JSON body of the request containing updated definition of the custom service. If *order* is present, it will be used.

	*/
	Body *dynatrace.CustomService
	/*ID
	 The ID of the custom service to update.

	The ID of the custom service in the body of the request must match this ID.

	*/
	ID strfmt.UUID
	/*Technology
	  Technology of the custom service to update.

	*/
	Technology string

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

UpdateServiceCustomServiceParams contains all the parameters to send to the API endpoint for the update service custom service operation typically these are written to a http.Request

func NewUpdateServiceCustomServiceParams

func NewUpdateServiceCustomServiceParams() *UpdateServiceCustomServiceParams

NewUpdateServiceCustomServiceParams creates a new UpdateServiceCustomServiceParams object with the default values initialized.

func NewUpdateServiceCustomServiceParamsWithContext

func NewUpdateServiceCustomServiceParamsWithContext(ctx context.Context) *UpdateServiceCustomServiceParams

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

func NewUpdateServiceCustomServiceParamsWithHTTPClient

func NewUpdateServiceCustomServiceParamsWithHTTPClient(client *http.Client) *UpdateServiceCustomServiceParams

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

func NewUpdateServiceCustomServiceParamsWithTimeout

func NewUpdateServiceCustomServiceParamsWithTimeout(timeout time.Duration) *UpdateServiceCustomServiceParams

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

func (*UpdateServiceCustomServiceParams) SetBody

SetBody adds the body to the update service custom service params

func (*UpdateServiceCustomServiceParams) SetContext

SetContext adds the context to the update service custom service params

func (*UpdateServiceCustomServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update service custom service params

func (*UpdateServiceCustomServiceParams) SetID

SetID adds the id to the update service custom service params

func (*UpdateServiceCustomServiceParams) SetTechnology

func (o *UpdateServiceCustomServiceParams) SetTechnology(technology string)

SetTechnology adds the technology to the update service custom service params

func (*UpdateServiceCustomServiceParams) SetTimeout

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

SetTimeout adds the timeout to the update service custom service params

func (*UpdateServiceCustomServiceParams) WithBody

WithBody adds the body to the update service custom service params

func (*UpdateServiceCustomServiceParams) WithContext

WithContext adds the context to the update service custom service params

func (*UpdateServiceCustomServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update service custom service params

func (*UpdateServiceCustomServiceParams) WithID

WithID adds the id to the update service custom service params

func (*UpdateServiceCustomServiceParams) WithTechnology

WithTechnology adds the technology to the update service custom service params

func (*UpdateServiceCustomServiceParams) WithTimeout

WithTimeout adds the timeout to the update service custom service params

func (*UpdateServiceCustomServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateServiceCustomServiceReader

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

UpdateServiceCustomServiceReader is a Reader for the UpdateServiceCustomService structure.

func (*UpdateServiceCustomServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateServiceCustomServicesOrderBadRequest

type UpdateServiceCustomServicesOrderBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UpdateServiceCustomServicesOrderBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewUpdateServiceCustomServicesOrderBadRequest

func NewUpdateServiceCustomServicesOrderBadRequest() *UpdateServiceCustomServicesOrderBadRequest

NewUpdateServiceCustomServicesOrderBadRequest creates a UpdateServiceCustomServicesOrderBadRequest with default headers values

func (*UpdateServiceCustomServicesOrderBadRequest) Error

func (*UpdateServiceCustomServicesOrderBadRequest) GetPayload

type UpdateServiceCustomServicesOrderNoContent

type UpdateServiceCustomServicesOrderNoContent struct {
}

UpdateServiceCustomServicesOrderNoContent handles this case with default header values.

Success. Custom services have been updated. Response doesn't have a body.

func NewUpdateServiceCustomServicesOrderNoContent

func NewUpdateServiceCustomServicesOrderNoContent() *UpdateServiceCustomServicesOrderNoContent

NewUpdateServiceCustomServicesOrderNoContent creates a UpdateServiceCustomServicesOrderNoContent with default headers values

func (*UpdateServiceCustomServicesOrderNoContent) Error

type UpdateServiceCustomServicesOrderParams

type UpdateServiceCustomServicesOrderParams struct {

	/*Body
	  JSON body of the request containing the IDs of the custom services in the desired order. Any further properties (*name*, *description*) will be ignored.

	*/
	Body *dynatrace.StubList
	/*Technology
	  Technology of custom services to update.

	*/
	Technology string

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

UpdateServiceCustomServicesOrderParams contains all the parameters to send to the API endpoint for the update service custom services order operation typically these are written to a http.Request

func NewUpdateServiceCustomServicesOrderParams

func NewUpdateServiceCustomServicesOrderParams() *UpdateServiceCustomServicesOrderParams

NewUpdateServiceCustomServicesOrderParams creates a new UpdateServiceCustomServicesOrderParams object with the default values initialized.

func NewUpdateServiceCustomServicesOrderParamsWithContext

func NewUpdateServiceCustomServicesOrderParamsWithContext(ctx context.Context) *UpdateServiceCustomServicesOrderParams

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

func NewUpdateServiceCustomServicesOrderParamsWithHTTPClient

func NewUpdateServiceCustomServicesOrderParamsWithHTTPClient(client *http.Client) *UpdateServiceCustomServicesOrderParams

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

func NewUpdateServiceCustomServicesOrderParamsWithTimeout

func NewUpdateServiceCustomServicesOrderParamsWithTimeout(timeout time.Duration) *UpdateServiceCustomServicesOrderParams

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

func (*UpdateServiceCustomServicesOrderParams) SetBody

SetBody adds the body to the update service custom services order params

func (*UpdateServiceCustomServicesOrderParams) SetContext

SetContext adds the context to the update service custom services order params

func (*UpdateServiceCustomServicesOrderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update service custom services order params

func (*UpdateServiceCustomServicesOrderParams) SetTechnology

func (o *UpdateServiceCustomServicesOrderParams) SetTechnology(technology string)

SetTechnology adds the technology to the update service custom services order params

func (*UpdateServiceCustomServicesOrderParams) SetTimeout

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

SetTimeout adds the timeout to the update service custom services order params

func (*UpdateServiceCustomServicesOrderParams) WithBody

WithBody adds the body to the update service custom services order params

func (*UpdateServiceCustomServicesOrderParams) WithContext

WithContext adds the context to the update service custom services order params

func (*UpdateServiceCustomServicesOrderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update service custom services order params

func (*UpdateServiceCustomServicesOrderParams) WithTechnology

WithTechnology adds the technology to the update service custom services order params

func (*UpdateServiceCustomServicesOrderParams) WithTimeout

WithTimeout adds the timeout to the update service custom services order params

func (*UpdateServiceCustomServicesOrderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateServiceCustomServicesOrderReader

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

UpdateServiceCustomServicesOrderReader is a Reader for the UpdateServiceCustomServicesOrder structure.

func (*UpdateServiceCustomServicesOrderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateCreateServiceCustomServiceBadRequest

type ValidateCreateServiceCustomServiceBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateCreateServiceCustomServiceBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateCreateServiceCustomServiceBadRequest

func NewValidateCreateServiceCustomServiceBadRequest() *ValidateCreateServiceCustomServiceBadRequest

NewValidateCreateServiceCustomServiceBadRequest creates a ValidateCreateServiceCustomServiceBadRequest with default headers values

func (*ValidateCreateServiceCustomServiceBadRequest) Error

func (*ValidateCreateServiceCustomServiceBadRequest) GetPayload

type ValidateCreateServiceCustomServiceNoContent

type ValidateCreateServiceCustomServiceNoContent struct {
}

ValidateCreateServiceCustomServiceNoContent handles this case with default header values.

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

func NewValidateCreateServiceCustomServiceNoContent

func NewValidateCreateServiceCustomServiceNoContent() *ValidateCreateServiceCustomServiceNoContent

NewValidateCreateServiceCustomServiceNoContent creates a ValidateCreateServiceCustomServiceNoContent with default headers values

func (*ValidateCreateServiceCustomServiceNoContent) Error

type ValidateCreateServiceCustomServiceParams

type ValidateCreateServiceCustomServiceParams struct {

	/*Body
	  JSON body of the request containing definition of the custom service to validate.

	*/
	Body *dynatrace.CustomService
	/*Technology
	  Technology of the custom service to validate.

	*/
	Technology string

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

ValidateCreateServiceCustomServiceParams contains all the parameters to send to the API endpoint for the validate create service custom service operation typically these are written to a http.Request

func NewValidateCreateServiceCustomServiceParams

func NewValidateCreateServiceCustomServiceParams() *ValidateCreateServiceCustomServiceParams

NewValidateCreateServiceCustomServiceParams creates a new ValidateCreateServiceCustomServiceParams object with the default values initialized.

func NewValidateCreateServiceCustomServiceParamsWithContext

func NewValidateCreateServiceCustomServiceParamsWithContext(ctx context.Context) *ValidateCreateServiceCustomServiceParams

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

func NewValidateCreateServiceCustomServiceParamsWithHTTPClient

func NewValidateCreateServiceCustomServiceParamsWithHTTPClient(client *http.Client) *ValidateCreateServiceCustomServiceParams

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

func NewValidateCreateServiceCustomServiceParamsWithTimeout

func NewValidateCreateServiceCustomServiceParamsWithTimeout(timeout time.Duration) *ValidateCreateServiceCustomServiceParams

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

func (*ValidateCreateServiceCustomServiceParams) SetBody

SetBody adds the body to the validate create service custom service params

func (*ValidateCreateServiceCustomServiceParams) SetContext

SetContext adds the context to the validate create service custom service params

func (*ValidateCreateServiceCustomServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate create service custom service params

func (*ValidateCreateServiceCustomServiceParams) SetTechnology

func (o *ValidateCreateServiceCustomServiceParams) SetTechnology(technology string)

SetTechnology adds the technology to the validate create service custom service params

func (*ValidateCreateServiceCustomServiceParams) SetTimeout

SetTimeout adds the timeout to the validate create service custom service params

func (*ValidateCreateServiceCustomServiceParams) WithBody

WithBody adds the body to the validate create service custom service params

func (*ValidateCreateServiceCustomServiceParams) WithContext

WithContext adds the context to the validate create service custom service params

func (*ValidateCreateServiceCustomServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate create service custom service params

func (*ValidateCreateServiceCustomServiceParams) WithTechnology

WithTechnology adds the technology to the validate create service custom service params

func (*ValidateCreateServiceCustomServiceParams) WithTimeout

WithTimeout adds the timeout to the validate create service custom service params

func (*ValidateCreateServiceCustomServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateCreateServiceCustomServiceReader

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

ValidateCreateServiceCustomServiceReader is a Reader for the ValidateCreateServiceCustomService structure.

func (*ValidateCreateServiceCustomServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateUpdateServiceCustomServiceBadRequest

type ValidateUpdateServiceCustomServiceBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateUpdateServiceCustomServiceBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateUpdateServiceCustomServiceBadRequest

func NewValidateUpdateServiceCustomServiceBadRequest() *ValidateUpdateServiceCustomServiceBadRequest

NewValidateUpdateServiceCustomServiceBadRequest creates a ValidateUpdateServiceCustomServiceBadRequest with default headers values

func (*ValidateUpdateServiceCustomServiceBadRequest) Error

func (*ValidateUpdateServiceCustomServiceBadRequest) GetPayload

type ValidateUpdateServiceCustomServiceNoContent

type ValidateUpdateServiceCustomServiceNoContent struct {
}

ValidateUpdateServiceCustomServiceNoContent handles this case with default header values.

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

func NewValidateUpdateServiceCustomServiceNoContent

func NewValidateUpdateServiceCustomServiceNoContent() *ValidateUpdateServiceCustomServiceNoContent

NewValidateUpdateServiceCustomServiceNoContent creates a ValidateUpdateServiceCustomServiceNoContent with default headers values

func (*ValidateUpdateServiceCustomServiceNoContent) Error

type ValidateUpdateServiceCustomServiceParams

type ValidateUpdateServiceCustomServiceParams struct {

	/*Body
	  JSON body of the request containing definition of the custom service to validate.

	*/
	Body *dynatrace.CustomService
	/*ID
	  The ID of the custom service to validate.

	*/
	ID strfmt.UUID
	/*Technology
	  Technology of the custom service to validate.

	*/
	Technology string

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

ValidateUpdateServiceCustomServiceParams contains all the parameters to send to the API endpoint for the validate update service custom service operation typically these are written to a http.Request

func NewValidateUpdateServiceCustomServiceParams

func NewValidateUpdateServiceCustomServiceParams() *ValidateUpdateServiceCustomServiceParams

NewValidateUpdateServiceCustomServiceParams creates a new ValidateUpdateServiceCustomServiceParams object with the default values initialized.

func NewValidateUpdateServiceCustomServiceParamsWithContext

func NewValidateUpdateServiceCustomServiceParamsWithContext(ctx context.Context) *ValidateUpdateServiceCustomServiceParams

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

func NewValidateUpdateServiceCustomServiceParamsWithHTTPClient

func NewValidateUpdateServiceCustomServiceParamsWithHTTPClient(client *http.Client) *ValidateUpdateServiceCustomServiceParams

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

func NewValidateUpdateServiceCustomServiceParamsWithTimeout

func NewValidateUpdateServiceCustomServiceParamsWithTimeout(timeout time.Duration) *ValidateUpdateServiceCustomServiceParams

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

func (*ValidateUpdateServiceCustomServiceParams) SetBody

SetBody adds the body to the validate update service custom service params

func (*ValidateUpdateServiceCustomServiceParams) SetContext

SetContext adds the context to the validate update service custom service params

func (*ValidateUpdateServiceCustomServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate update service custom service params

func (*ValidateUpdateServiceCustomServiceParams) SetID

SetID adds the id to the validate update service custom service params

func (*ValidateUpdateServiceCustomServiceParams) SetTechnology

func (o *ValidateUpdateServiceCustomServiceParams) SetTechnology(technology string)

SetTechnology adds the technology to the validate update service custom service params

func (*ValidateUpdateServiceCustomServiceParams) SetTimeout

SetTimeout adds the timeout to the validate update service custom service params

func (*ValidateUpdateServiceCustomServiceParams) WithBody

WithBody adds the body to the validate update service custom service params

func (*ValidateUpdateServiceCustomServiceParams) WithContext

WithContext adds the context to the validate update service custom service params

func (*ValidateUpdateServiceCustomServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate update service custom service params

func (*ValidateUpdateServiceCustomServiceParams) WithID

WithID adds the id to the validate update service custom service params

func (*ValidateUpdateServiceCustomServiceParams) WithTechnology

WithTechnology adds the technology to the validate update service custom service params

func (*ValidateUpdateServiceCustomServiceParams) WithTimeout

WithTimeout adds the timeout to the validate update service custom service params

func (*ValidateUpdateServiceCustomServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateUpdateServiceCustomServiceReader

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

ValidateUpdateServiceCustomServiceReader is a Reader for the ValidateUpdateServiceCustomService structure.

func (*ValidateUpdateServiceCustomServiceReader) ReadResponse

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