diagnostic_activations

package
v0.0.0-...-208ba13 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MulanPSL-2.0 Imports: 12 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 diagnostic activations API

func (*Client) DeleteDiagnosticActivationsID

DeleteDiagnosticActivationsID deletes a diagnostic activation

Delete a diagnostic activation. Agents are allowed to delete their own activation. Users with sufficient scopes are allowed to delete any activation in the same tenant as in the token.

func (*Client) GetDiagnosticActivations

func (a *Client) GetDiagnosticActivations(params *GetDiagnosticActivationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDiagnosticActivationsOK, error)

GetDiagnosticActivations gets diagnostic activations

Get diagnostic activations. Agents are allowed to get their own activation. Users with sufficient scopes are allowed to get all activations in the same tenant as in the token.

func (*Client) GetDiagnosticActivationsID

func (a *Client) GetDiagnosticActivationsID(params *GetDiagnosticActivationsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDiagnosticActivationsIDOK, error)

GetDiagnosticActivationsID gets a diagnostic activation

Get a diagnostic activation with given id. Agents are allowed to get their own activation. Users with sufficient scopes are allowed to get any activation in the same tenant as in the token.

func (*Client) GetDiagnosticActivationsIDMessages

func (a *Client) GetDiagnosticActivationsIDMessages(params *GetDiagnosticActivationsIDMessagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDiagnosticActivationsIDMessagesOK, error)

GetDiagnosticActivationsIDMessages gets a diagnostic messages of specific activation resource

Get a diagnostic messages of specific activation resource. Agents are allowed to get their own activations' messages. Users with sufficient scopes are allowed to get any activations messages in the same tenant as in the token.

func (*Client) PostDiagnosticActivations

func (a *Client) PostDiagnosticActivations(params *PostDiagnosticActivationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostDiagnosticActivationsCreated, error)
PostDiagnosticActivations creates a new diagnostic activation

Create a new diagnostic activation.

Agents are allowed to create activation for itself only. Users with sufficient scopes are allowed to create activations of the agents in the same tenant as in the token.

func (*Client) PutDiagnosticActivationsID

func (a *Client) PutDiagnosticActivationsID(params *PutDiagnosticActivationsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutDiagnosticActivationsIDOK, error)

PutDiagnosticActivationsID updates status of diagnostic activation

Updates status of Diagnostic Activation.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	DeleteDiagnosticActivationsID(params *DeleteDiagnosticActivationsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDiagnosticActivationsIDNoContent, error)

	GetDiagnosticActivations(params *GetDiagnosticActivationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDiagnosticActivationsOK, error)

	GetDiagnosticActivationsID(params *GetDiagnosticActivationsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDiagnosticActivationsIDOK, error)

	GetDiagnosticActivationsIDMessages(params *GetDiagnosticActivationsIDMessagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDiagnosticActivationsIDMessagesOK, error)

	PostDiagnosticActivations(params *PostDiagnosticActivationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostDiagnosticActivationsCreated, error)

	PutDiagnosticActivationsID(params *PutDiagnosticActivationsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutDiagnosticActivationsIDOK, 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 diagnostic activations API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new diagnostic activations API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new diagnostic activations API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type DeleteDiagnosticActivationsIDBadRequest

type DeleteDiagnosticActivationsIDBadRequest struct {
	Payload *models.Badrequest
}

DeleteDiagnosticActivationsIDBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteDiagnosticActivationsIDBadRequest

func NewDeleteDiagnosticActivationsIDBadRequest() *DeleteDiagnosticActivationsIDBadRequest

NewDeleteDiagnosticActivationsIDBadRequest creates a DeleteDiagnosticActivationsIDBadRequest with default headers values

func (*DeleteDiagnosticActivationsIDBadRequest) Code

Code gets the status code for the delete diagnostic activations Id bad request response

func (*DeleteDiagnosticActivationsIDBadRequest) Error

func (*DeleteDiagnosticActivationsIDBadRequest) GetPayload

func (*DeleteDiagnosticActivationsIDBadRequest) IsClientError

func (o *DeleteDiagnosticActivationsIDBadRequest) IsClientError() bool

IsClientError returns true when this delete diagnostic activations Id bad request response has a 4xx status code

func (*DeleteDiagnosticActivationsIDBadRequest) IsCode

IsCode returns true when this delete diagnostic activations Id bad request response a status code equal to that given

func (*DeleteDiagnosticActivationsIDBadRequest) IsRedirect

IsRedirect returns true when this delete diagnostic activations Id bad request response has a 3xx status code

func (*DeleteDiagnosticActivationsIDBadRequest) IsServerError

func (o *DeleteDiagnosticActivationsIDBadRequest) IsServerError() bool

IsServerError returns true when this delete diagnostic activations Id bad request response has a 5xx status code

func (*DeleteDiagnosticActivationsIDBadRequest) IsSuccess

IsSuccess returns true when this delete diagnostic activations Id bad request response has a 2xx status code

func (*DeleteDiagnosticActivationsIDBadRequest) String

type DeleteDiagnosticActivationsIDDefault

type DeleteDiagnosticActivationsIDDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteDiagnosticActivationsIDDefault describes a response with status code -1, with default header values.

unexpected error

func NewDeleteDiagnosticActivationsIDDefault

func NewDeleteDiagnosticActivationsIDDefault(code int) *DeleteDiagnosticActivationsIDDefault

NewDeleteDiagnosticActivationsIDDefault creates a DeleteDiagnosticActivationsIDDefault with default headers values

func (*DeleteDiagnosticActivationsIDDefault) Code

Code gets the status code for the delete diagnostic activations ID default response

func (*DeleteDiagnosticActivationsIDDefault) Error

func (*DeleteDiagnosticActivationsIDDefault) GetPayload

func (*DeleteDiagnosticActivationsIDDefault) IsClientError

func (o *DeleteDiagnosticActivationsIDDefault) IsClientError() bool

IsClientError returns true when this delete diagnostic activations ID default response has a 4xx status code

func (*DeleteDiagnosticActivationsIDDefault) IsCode

IsCode returns true when this delete diagnostic activations ID default response a status code equal to that given

func (*DeleteDiagnosticActivationsIDDefault) IsRedirect

IsRedirect returns true when this delete diagnostic activations ID default response has a 3xx status code

func (*DeleteDiagnosticActivationsIDDefault) IsServerError

func (o *DeleteDiagnosticActivationsIDDefault) IsServerError() bool

IsServerError returns true when this delete diagnostic activations ID default response has a 5xx status code

func (*DeleteDiagnosticActivationsIDDefault) IsSuccess

IsSuccess returns true when this delete diagnostic activations ID default response has a 2xx status code

func (*DeleteDiagnosticActivationsIDDefault) String

type DeleteDiagnosticActivationsIDForbidden

type DeleteDiagnosticActivationsIDForbidden struct {
	Payload *models.Forbidden
}

DeleteDiagnosticActivationsIDForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteDiagnosticActivationsIDForbidden

func NewDeleteDiagnosticActivationsIDForbidden() *DeleteDiagnosticActivationsIDForbidden

NewDeleteDiagnosticActivationsIDForbidden creates a DeleteDiagnosticActivationsIDForbidden with default headers values

func (*DeleteDiagnosticActivationsIDForbidden) Code

Code gets the status code for the delete diagnostic activations Id forbidden response

func (*DeleteDiagnosticActivationsIDForbidden) Error

func (*DeleteDiagnosticActivationsIDForbidden) GetPayload

func (*DeleteDiagnosticActivationsIDForbidden) IsClientError

func (o *DeleteDiagnosticActivationsIDForbidden) IsClientError() bool

IsClientError returns true when this delete diagnostic activations Id forbidden response has a 4xx status code

func (*DeleteDiagnosticActivationsIDForbidden) IsCode

IsCode returns true when this delete diagnostic activations Id forbidden response a status code equal to that given

func (*DeleteDiagnosticActivationsIDForbidden) IsRedirect

IsRedirect returns true when this delete diagnostic activations Id forbidden response has a 3xx status code

func (*DeleteDiagnosticActivationsIDForbidden) IsServerError

func (o *DeleteDiagnosticActivationsIDForbidden) IsServerError() bool

IsServerError returns true when this delete diagnostic activations Id forbidden response has a 5xx status code

func (*DeleteDiagnosticActivationsIDForbidden) IsSuccess

IsSuccess returns true when this delete diagnostic activations Id forbidden response has a 2xx status code

func (*DeleteDiagnosticActivationsIDForbidden) String

type DeleteDiagnosticActivationsIDNoContent

type DeleteDiagnosticActivationsIDNoContent struct {
}

DeleteDiagnosticActivationsIDNoContent describes a response with status code 204, with default header values.

No Content

func NewDeleteDiagnosticActivationsIDNoContent

func NewDeleteDiagnosticActivationsIDNoContent() *DeleteDiagnosticActivationsIDNoContent

NewDeleteDiagnosticActivationsIDNoContent creates a DeleteDiagnosticActivationsIDNoContent with default headers values

func (*DeleteDiagnosticActivationsIDNoContent) Code

Code gets the status code for the delete diagnostic activations Id no content response

func (*DeleteDiagnosticActivationsIDNoContent) Error

func (*DeleteDiagnosticActivationsIDNoContent) IsClientError

func (o *DeleteDiagnosticActivationsIDNoContent) IsClientError() bool

IsClientError returns true when this delete diagnostic activations Id no content response has a 4xx status code

func (*DeleteDiagnosticActivationsIDNoContent) IsCode

IsCode returns true when this delete diagnostic activations Id no content response a status code equal to that given

func (*DeleteDiagnosticActivationsIDNoContent) IsRedirect

IsRedirect returns true when this delete diagnostic activations Id no content response has a 3xx status code

func (*DeleteDiagnosticActivationsIDNoContent) IsServerError

func (o *DeleteDiagnosticActivationsIDNoContent) IsServerError() bool

IsServerError returns true when this delete diagnostic activations Id no content response has a 5xx status code

func (*DeleteDiagnosticActivationsIDNoContent) IsSuccess

IsSuccess returns true when this delete diagnostic activations Id no content response has a 2xx status code

func (*DeleteDiagnosticActivationsIDNoContent) String

type DeleteDiagnosticActivationsIDNotFound

type DeleteDiagnosticActivationsIDNotFound struct {
	Payload *models.Notfound
}

DeleteDiagnosticActivationsIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteDiagnosticActivationsIDNotFound

func NewDeleteDiagnosticActivationsIDNotFound() *DeleteDiagnosticActivationsIDNotFound

NewDeleteDiagnosticActivationsIDNotFound creates a DeleteDiagnosticActivationsIDNotFound with default headers values

func (*DeleteDiagnosticActivationsIDNotFound) Code

Code gets the status code for the delete diagnostic activations Id not found response

func (*DeleteDiagnosticActivationsIDNotFound) Error

func (*DeleteDiagnosticActivationsIDNotFound) GetPayload

func (*DeleteDiagnosticActivationsIDNotFound) IsClientError

func (o *DeleteDiagnosticActivationsIDNotFound) IsClientError() bool

IsClientError returns true when this delete diagnostic activations Id not found response has a 4xx status code

func (*DeleteDiagnosticActivationsIDNotFound) IsCode

IsCode returns true when this delete diagnostic activations Id not found response a status code equal to that given

func (*DeleteDiagnosticActivationsIDNotFound) IsRedirect

IsRedirect returns true when this delete diagnostic activations Id not found response has a 3xx status code

func (*DeleteDiagnosticActivationsIDNotFound) IsServerError

func (o *DeleteDiagnosticActivationsIDNotFound) IsServerError() bool

IsServerError returns true when this delete diagnostic activations Id not found response has a 5xx status code

func (*DeleteDiagnosticActivationsIDNotFound) IsSuccess

IsSuccess returns true when this delete diagnostic activations Id not found response has a 2xx status code

func (*DeleteDiagnosticActivationsIDNotFound) String

type DeleteDiagnosticActivationsIDParams

type DeleteDiagnosticActivationsIDParams struct {

	/* ID.

	   Unique identifier of diagnostic activation resource.
	*/
	ID string

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

DeleteDiagnosticActivationsIDParams contains all the parameters to send to the API endpoint

for the delete diagnostic activations ID operation.

Typically these are written to a http.Request.

func NewDeleteDiagnosticActivationsIDParams

func NewDeleteDiagnosticActivationsIDParams() *DeleteDiagnosticActivationsIDParams

NewDeleteDiagnosticActivationsIDParams creates a new DeleteDiagnosticActivationsIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteDiagnosticActivationsIDParamsWithContext

func NewDeleteDiagnosticActivationsIDParamsWithContext(ctx context.Context) *DeleteDiagnosticActivationsIDParams

NewDeleteDiagnosticActivationsIDParamsWithContext creates a new DeleteDiagnosticActivationsIDParams object with the ability to set a context for a request.

func NewDeleteDiagnosticActivationsIDParamsWithHTTPClient

func NewDeleteDiagnosticActivationsIDParamsWithHTTPClient(client *http.Client) *DeleteDiagnosticActivationsIDParams

NewDeleteDiagnosticActivationsIDParamsWithHTTPClient creates a new DeleteDiagnosticActivationsIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDiagnosticActivationsIDParamsWithTimeout

func NewDeleteDiagnosticActivationsIDParamsWithTimeout(timeout time.Duration) *DeleteDiagnosticActivationsIDParams

NewDeleteDiagnosticActivationsIDParamsWithTimeout creates a new DeleteDiagnosticActivationsIDParams object with the ability to set a timeout on a request.

func (*DeleteDiagnosticActivationsIDParams) SetContext

SetContext adds the context to the delete diagnostic activations ID params

func (*DeleteDiagnosticActivationsIDParams) SetDefaults

func (o *DeleteDiagnosticActivationsIDParams) SetDefaults()

SetDefaults hydrates default values in the delete diagnostic activations ID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDiagnosticActivationsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete diagnostic activations ID params

func (*DeleteDiagnosticActivationsIDParams) SetID

SetID adds the id to the delete diagnostic activations ID params

func (*DeleteDiagnosticActivationsIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete diagnostic activations ID params

func (*DeleteDiagnosticActivationsIDParams) WithContext

WithContext adds the context to the delete diagnostic activations ID params

func (*DeleteDiagnosticActivationsIDParams) WithDefaults

WithDefaults hydrates default values in the delete diagnostic activations ID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDiagnosticActivationsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete diagnostic activations ID params

func (*DeleteDiagnosticActivationsIDParams) WithID

WithID adds the id to the delete diagnostic activations ID params

func (*DeleteDiagnosticActivationsIDParams) WithTimeout

WithTimeout adds the timeout to the delete diagnostic activations ID params

func (*DeleteDiagnosticActivationsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDiagnosticActivationsIDReader

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

DeleteDiagnosticActivationsIDReader is a Reader for the DeleteDiagnosticActivationsID structure.

func (*DeleteDiagnosticActivationsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDiagnosticActivationsIDUnauthorized

type DeleteDiagnosticActivationsIDUnauthorized struct {
	Payload *models.Unauthorized
}

DeleteDiagnosticActivationsIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteDiagnosticActivationsIDUnauthorized

func NewDeleteDiagnosticActivationsIDUnauthorized() *DeleteDiagnosticActivationsIDUnauthorized

NewDeleteDiagnosticActivationsIDUnauthorized creates a DeleteDiagnosticActivationsIDUnauthorized with default headers values

func (*DeleteDiagnosticActivationsIDUnauthorized) Code

Code gets the status code for the delete diagnostic activations Id unauthorized response

func (*DeleteDiagnosticActivationsIDUnauthorized) Error

func (*DeleteDiagnosticActivationsIDUnauthorized) GetPayload

func (*DeleteDiagnosticActivationsIDUnauthorized) IsClientError

IsClientError returns true when this delete diagnostic activations Id unauthorized response has a 4xx status code

func (*DeleteDiagnosticActivationsIDUnauthorized) IsCode

IsCode returns true when this delete diagnostic activations Id unauthorized response a status code equal to that given

func (*DeleteDiagnosticActivationsIDUnauthorized) IsRedirect

IsRedirect returns true when this delete diagnostic activations Id unauthorized response has a 3xx status code

func (*DeleteDiagnosticActivationsIDUnauthorized) IsServerError

IsServerError returns true when this delete diagnostic activations Id unauthorized response has a 5xx status code

func (*DeleteDiagnosticActivationsIDUnauthorized) IsSuccess

IsSuccess returns true when this delete diagnostic activations Id unauthorized response has a 2xx status code

func (*DeleteDiagnosticActivationsIDUnauthorized) String

type GetDiagnosticActivationsBadRequest

type GetDiagnosticActivationsBadRequest struct {
	Payload *models.Badrequest
}

GetDiagnosticActivationsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetDiagnosticActivationsBadRequest

func NewGetDiagnosticActivationsBadRequest() *GetDiagnosticActivationsBadRequest

NewGetDiagnosticActivationsBadRequest creates a GetDiagnosticActivationsBadRequest with default headers values

func (*GetDiagnosticActivationsBadRequest) Code

Code gets the status code for the get diagnostic activations bad request response

func (*GetDiagnosticActivationsBadRequest) Error

func (*GetDiagnosticActivationsBadRequest) GetPayload

func (*GetDiagnosticActivationsBadRequest) IsClientError

func (o *GetDiagnosticActivationsBadRequest) IsClientError() bool

IsClientError returns true when this get diagnostic activations bad request response has a 4xx status code

func (*GetDiagnosticActivationsBadRequest) IsCode

IsCode returns true when this get diagnostic activations bad request response a status code equal to that given

func (*GetDiagnosticActivationsBadRequest) IsRedirect

func (o *GetDiagnosticActivationsBadRequest) IsRedirect() bool

IsRedirect returns true when this get diagnostic activations bad request response has a 3xx status code

func (*GetDiagnosticActivationsBadRequest) IsServerError

func (o *GetDiagnosticActivationsBadRequest) IsServerError() bool

IsServerError returns true when this get diagnostic activations bad request response has a 5xx status code

func (*GetDiagnosticActivationsBadRequest) IsSuccess

IsSuccess returns true when this get diagnostic activations bad request response has a 2xx status code

func (*GetDiagnosticActivationsBadRequest) String

type GetDiagnosticActivationsDefault

type GetDiagnosticActivationsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetDiagnosticActivationsDefault describes a response with status code -1, with default header values.

unexpected error

func NewGetDiagnosticActivationsDefault

func NewGetDiagnosticActivationsDefault(code int) *GetDiagnosticActivationsDefault

NewGetDiagnosticActivationsDefault creates a GetDiagnosticActivationsDefault with default headers values

func (*GetDiagnosticActivationsDefault) Code

Code gets the status code for the get diagnostic activations default response

func (*GetDiagnosticActivationsDefault) Error

func (*GetDiagnosticActivationsDefault) GetPayload

func (o *GetDiagnosticActivationsDefault) GetPayload() *models.Error

func (*GetDiagnosticActivationsDefault) IsClientError

func (o *GetDiagnosticActivationsDefault) IsClientError() bool

IsClientError returns true when this get diagnostic activations default response has a 4xx status code

func (*GetDiagnosticActivationsDefault) IsCode

func (o *GetDiagnosticActivationsDefault) IsCode(code int) bool

IsCode returns true when this get diagnostic activations default response a status code equal to that given

func (*GetDiagnosticActivationsDefault) IsRedirect

func (o *GetDiagnosticActivationsDefault) IsRedirect() bool

IsRedirect returns true when this get diagnostic activations default response has a 3xx status code

func (*GetDiagnosticActivationsDefault) IsServerError

func (o *GetDiagnosticActivationsDefault) IsServerError() bool

IsServerError returns true when this get diagnostic activations default response has a 5xx status code

func (*GetDiagnosticActivationsDefault) IsSuccess

func (o *GetDiagnosticActivationsDefault) IsSuccess() bool

IsSuccess returns true when this get diagnostic activations default response has a 2xx status code

func (*GetDiagnosticActivationsDefault) String

type GetDiagnosticActivationsForbidden

type GetDiagnosticActivationsForbidden struct {
	Payload *models.Forbidden
}

GetDiagnosticActivationsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDiagnosticActivationsForbidden

func NewGetDiagnosticActivationsForbidden() *GetDiagnosticActivationsForbidden

NewGetDiagnosticActivationsForbidden creates a GetDiagnosticActivationsForbidden with default headers values

func (*GetDiagnosticActivationsForbidden) Code

Code gets the status code for the get diagnostic activations forbidden response

func (*GetDiagnosticActivationsForbidden) Error

func (*GetDiagnosticActivationsForbidden) GetPayload

func (*GetDiagnosticActivationsForbidden) IsClientError

func (o *GetDiagnosticActivationsForbidden) IsClientError() bool

IsClientError returns true when this get diagnostic activations forbidden response has a 4xx status code

func (*GetDiagnosticActivationsForbidden) IsCode

func (o *GetDiagnosticActivationsForbidden) IsCode(code int) bool

IsCode returns true when this get diagnostic activations forbidden response a status code equal to that given

func (*GetDiagnosticActivationsForbidden) IsRedirect

func (o *GetDiagnosticActivationsForbidden) IsRedirect() bool

IsRedirect returns true when this get diagnostic activations forbidden response has a 3xx status code

func (*GetDiagnosticActivationsForbidden) IsServerError

func (o *GetDiagnosticActivationsForbidden) IsServerError() bool

IsServerError returns true when this get diagnostic activations forbidden response has a 5xx status code

func (*GetDiagnosticActivationsForbidden) IsSuccess

func (o *GetDiagnosticActivationsForbidden) IsSuccess() bool

IsSuccess returns true when this get diagnostic activations forbidden response has a 2xx status code

func (*GetDiagnosticActivationsForbidden) String

type GetDiagnosticActivationsIDBadRequest

type GetDiagnosticActivationsIDBadRequest struct {
	Payload *models.Badrequest
}

GetDiagnosticActivationsIDBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetDiagnosticActivationsIDBadRequest

func NewGetDiagnosticActivationsIDBadRequest() *GetDiagnosticActivationsIDBadRequest

NewGetDiagnosticActivationsIDBadRequest creates a GetDiagnosticActivationsIDBadRequest with default headers values

func (*GetDiagnosticActivationsIDBadRequest) Code

Code gets the status code for the get diagnostic activations Id bad request response

func (*GetDiagnosticActivationsIDBadRequest) Error

func (*GetDiagnosticActivationsIDBadRequest) GetPayload

func (*GetDiagnosticActivationsIDBadRequest) IsClientError

func (o *GetDiagnosticActivationsIDBadRequest) IsClientError() bool

IsClientError returns true when this get diagnostic activations Id bad request response has a 4xx status code

func (*GetDiagnosticActivationsIDBadRequest) IsCode

IsCode returns true when this get diagnostic activations Id bad request response a status code equal to that given

func (*GetDiagnosticActivationsIDBadRequest) IsRedirect

IsRedirect returns true when this get diagnostic activations Id bad request response has a 3xx status code

func (*GetDiagnosticActivationsIDBadRequest) IsServerError

func (o *GetDiagnosticActivationsIDBadRequest) IsServerError() bool

IsServerError returns true when this get diagnostic activations Id bad request response has a 5xx status code

func (*GetDiagnosticActivationsIDBadRequest) IsSuccess

IsSuccess returns true when this get diagnostic activations Id bad request response has a 2xx status code

func (*GetDiagnosticActivationsIDBadRequest) String

type GetDiagnosticActivationsIDDefault

type GetDiagnosticActivationsIDDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetDiagnosticActivationsIDDefault describes a response with status code -1, with default header values.

unexpected error

func NewGetDiagnosticActivationsIDDefault

func NewGetDiagnosticActivationsIDDefault(code int) *GetDiagnosticActivationsIDDefault

NewGetDiagnosticActivationsIDDefault creates a GetDiagnosticActivationsIDDefault with default headers values

func (*GetDiagnosticActivationsIDDefault) Code

Code gets the status code for the get diagnostic activations ID default response

func (*GetDiagnosticActivationsIDDefault) Error

func (*GetDiagnosticActivationsIDDefault) GetPayload

func (*GetDiagnosticActivationsIDDefault) IsClientError

func (o *GetDiagnosticActivationsIDDefault) IsClientError() bool

IsClientError returns true when this get diagnostic activations ID default response has a 4xx status code

func (*GetDiagnosticActivationsIDDefault) IsCode

func (o *GetDiagnosticActivationsIDDefault) IsCode(code int) bool

IsCode returns true when this get diagnostic activations ID default response a status code equal to that given

func (*GetDiagnosticActivationsIDDefault) IsRedirect

func (o *GetDiagnosticActivationsIDDefault) IsRedirect() bool

IsRedirect returns true when this get diagnostic activations ID default response has a 3xx status code

func (*GetDiagnosticActivationsIDDefault) IsServerError

func (o *GetDiagnosticActivationsIDDefault) IsServerError() bool

IsServerError returns true when this get diagnostic activations ID default response has a 5xx status code

func (*GetDiagnosticActivationsIDDefault) IsSuccess

func (o *GetDiagnosticActivationsIDDefault) IsSuccess() bool

IsSuccess returns true when this get diagnostic activations ID default response has a 2xx status code

func (*GetDiagnosticActivationsIDDefault) String

type GetDiagnosticActivationsIDForbidden

type GetDiagnosticActivationsIDForbidden struct {
	Payload *models.Forbidden
}

GetDiagnosticActivationsIDForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDiagnosticActivationsIDForbidden

func NewGetDiagnosticActivationsIDForbidden() *GetDiagnosticActivationsIDForbidden

NewGetDiagnosticActivationsIDForbidden creates a GetDiagnosticActivationsIDForbidden with default headers values

func (*GetDiagnosticActivationsIDForbidden) Code

Code gets the status code for the get diagnostic activations Id forbidden response

func (*GetDiagnosticActivationsIDForbidden) Error

func (*GetDiagnosticActivationsIDForbidden) GetPayload

func (*GetDiagnosticActivationsIDForbidden) IsClientError

func (o *GetDiagnosticActivationsIDForbidden) IsClientError() bool

IsClientError returns true when this get diagnostic activations Id forbidden response has a 4xx status code

func (*GetDiagnosticActivationsIDForbidden) IsCode

IsCode returns true when this get diagnostic activations Id forbidden response a status code equal to that given

func (*GetDiagnosticActivationsIDForbidden) IsRedirect

func (o *GetDiagnosticActivationsIDForbidden) IsRedirect() bool

IsRedirect returns true when this get diagnostic activations Id forbidden response has a 3xx status code

func (*GetDiagnosticActivationsIDForbidden) IsServerError

func (o *GetDiagnosticActivationsIDForbidden) IsServerError() bool

IsServerError returns true when this get diagnostic activations Id forbidden response has a 5xx status code

func (*GetDiagnosticActivationsIDForbidden) IsSuccess

IsSuccess returns true when this get diagnostic activations Id forbidden response has a 2xx status code

func (*GetDiagnosticActivationsIDForbidden) String

type GetDiagnosticActivationsIDMessagesBadRequest

type GetDiagnosticActivationsIDMessagesBadRequest struct {
	Payload *models.Badrequest
}

GetDiagnosticActivationsIDMessagesBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetDiagnosticActivationsIDMessagesBadRequest

func NewGetDiagnosticActivationsIDMessagesBadRequest() *GetDiagnosticActivationsIDMessagesBadRequest

NewGetDiagnosticActivationsIDMessagesBadRequest creates a GetDiagnosticActivationsIDMessagesBadRequest with default headers values

func (*GetDiagnosticActivationsIDMessagesBadRequest) Code

Code gets the status code for the get diagnostic activations Id messages bad request response

func (*GetDiagnosticActivationsIDMessagesBadRequest) Error

func (*GetDiagnosticActivationsIDMessagesBadRequest) GetPayload

func (*GetDiagnosticActivationsIDMessagesBadRequest) IsClientError

IsClientError returns true when this get diagnostic activations Id messages bad request response has a 4xx status code

func (*GetDiagnosticActivationsIDMessagesBadRequest) IsCode

IsCode returns true when this get diagnostic activations Id messages bad request response a status code equal to that given

func (*GetDiagnosticActivationsIDMessagesBadRequest) IsRedirect

IsRedirect returns true when this get diagnostic activations Id messages bad request response has a 3xx status code

func (*GetDiagnosticActivationsIDMessagesBadRequest) IsServerError

IsServerError returns true when this get diagnostic activations Id messages bad request response has a 5xx status code

func (*GetDiagnosticActivationsIDMessagesBadRequest) IsSuccess

IsSuccess returns true when this get diagnostic activations Id messages bad request response has a 2xx status code

func (*GetDiagnosticActivationsIDMessagesBadRequest) String

type GetDiagnosticActivationsIDMessagesDefault

type GetDiagnosticActivationsIDMessagesDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetDiagnosticActivationsIDMessagesDefault describes a response with status code -1, with default header values.

unexpected error

func NewGetDiagnosticActivationsIDMessagesDefault

func NewGetDiagnosticActivationsIDMessagesDefault(code int) *GetDiagnosticActivationsIDMessagesDefault

NewGetDiagnosticActivationsIDMessagesDefault creates a GetDiagnosticActivationsIDMessagesDefault with default headers values

func (*GetDiagnosticActivationsIDMessagesDefault) Code

Code gets the status code for the get diagnostic activations ID messages default response

func (*GetDiagnosticActivationsIDMessagesDefault) Error

func (*GetDiagnosticActivationsIDMessagesDefault) GetPayload

func (*GetDiagnosticActivationsIDMessagesDefault) IsClientError

IsClientError returns true when this get diagnostic activations ID messages default response has a 4xx status code

func (*GetDiagnosticActivationsIDMessagesDefault) IsCode

IsCode returns true when this get diagnostic activations ID messages default response a status code equal to that given

func (*GetDiagnosticActivationsIDMessagesDefault) IsRedirect

IsRedirect returns true when this get diagnostic activations ID messages default response has a 3xx status code

func (*GetDiagnosticActivationsIDMessagesDefault) IsServerError

IsServerError returns true when this get diagnostic activations ID messages default response has a 5xx status code

func (*GetDiagnosticActivationsIDMessagesDefault) IsSuccess

IsSuccess returns true when this get diagnostic activations ID messages default response has a 2xx status code

func (*GetDiagnosticActivationsIDMessagesDefault) String

type GetDiagnosticActivationsIDMessagesForbidden

type GetDiagnosticActivationsIDMessagesForbidden struct {
	Payload *models.Forbidden
}

GetDiagnosticActivationsIDMessagesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDiagnosticActivationsIDMessagesForbidden

func NewGetDiagnosticActivationsIDMessagesForbidden() *GetDiagnosticActivationsIDMessagesForbidden

NewGetDiagnosticActivationsIDMessagesForbidden creates a GetDiagnosticActivationsIDMessagesForbidden with default headers values

func (*GetDiagnosticActivationsIDMessagesForbidden) Code

Code gets the status code for the get diagnostic activations Id messages forbidden response

func (*GetDiagnosticActivationsIDMessagesForbidden) Error

func (*GetDiagnosticActivationsIDMessagesForbidden) GetPayload

func (*GetDiagnosticActivationsIDMessagesForbidden) IsClientError

IsClientError returns true when this get diagnostic activations Id messages forbidden response has a 4xx status code

func (*GetDiagnosticActivationsIDMessagesForbidden) IsCode

IsCode returns true when this get diagnostic activations Id messages forbidden response a status code equal to that given

func (*GetDiagnosticActivationsIDMessagesForbidden) IsRedirect

IsRedirect returns true when this get diagnostic activations Id messages forbidden response has a 3xx status code

func (*GetDiagnosticActivationsIDMessagesForbidden) IsServerError

IsServerError returns true when this get diagnostic activations Id messages forbidden response has a 5xx status code

func (*GetDiagnosticActivationsIDMessagesForbidden) IsSuccess

IsSuccess returns true when this get diagnostic activations Id messages forbidden response has a 2xx status code

func (*GetDiagnosticActivationsIDMessagesForbidden) String

type GetDiagnosticActivationsIDMessagesNotFound

type GetDiagnosticActivationsIDMessagesNotFound struct {
	Payload *models.Notfound
}

GetDiagnosticActivationsIDMessagesNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetDiagnosticActivationsIDMessagesNotFound

func NewGetDiagnosticActivationsIDMessagesNotFound() *GetDiagnosticActivationsIDMessagesNotFound

NewGetDiagnosticActivationsIDMessagesNotFound creates a GetDiagnosticActivationsIDMessagesNotFound with default headers values

func (*GetDiagnosticActivationsIDMessagesNotFound) Code

Code gets the status code for the get diagnostic activations Id messages not found response

func (*GetDiagnosticActivationsIDMessagesNotFound) Error

func (*GetDiagnosticActivationsIDMessagesNotFound) GetPayload

func (*GetDiagnosticActivationsIDMessagesNotFound) IsClientError

IsClientError returns true when this get diagnostic activations Id messages not found response has a 4xx status code

func (*GetDiagnosticActivationsIDMessagesNotFound) IsCode

IsCode returns true when this get diagnostic activations Id messages not found response a status code equal to that given

func (*GetDiagnosticActivationsIDMessagesNotFound) IsRedirect

IsRedirect returns true when this get diagnostic activations Id messages not found response has a 3xx status code

func (*GetDiagnosticActivationsIDMessagesNotFound) IsServerError

IsServerError returns true when this get diagnostic activations Id messages not found response has a 5xx status code

func (*GetDiagnosticActivationsIDMessagesNotFound) IsSuccess

IsSuccess returns true when this get diagnostic activations Id messages not found response has a 2xx status code

func (*GetDiagnosticActivationsIDMessagesNotFound) String

type GetDiagnosticActivationsIDMessagesOK

type GetDiagnosticActivationsIDMessagesOK struct {
	Payload *models.PagedDiagnosticInformationMessages
}

GetDiagnosticActivationsIDMessagesOK describes a response with status code 200, with default header values.

OK

func NewGetDiagnosticActivationsIDMessagesOK

func NewGetDiagnosticActivationsIDMessagesOK() *GetDiagnosticActivationsIDMessagesOK

NewGetDiagnosticActivationsIDMessagesOK creates a GetDiagnosticActivationsIDMessagesOK with default headers values

func (*GetDiagnosticActivationsIDMessagesOK) Code

Code gets the status code for the get diagnostic activations Id messages o k response

func (*GetDiagnosticActivationsIDMessagesOK) Error

func (*GetDiagnosticActivationsIDMessagesOK) GetPayload

func (*GetDiagnosticActivationsIDMessagesOK) IsClientError

func (o *GetDiagnosticActivationsIDMessagesOK) IsClientError() bool

IsClientError returns true when this get diagnostic activations Id messages o k response has a 4xx status code

func (*GetDiagnosticActivationsIDMessagesOK) IsCode

IsCode returns true when this get diagnostic activations Id messages o k response a status code equal to that given

func (*GetDiagnosticActivationsIDMessagesOK) IsRedirect

IsRedirect returns true when this get diagnostic activations Id messages o k response has a 3xx status code

func (*GetDiagnosticActivationsIDMessagesOK) IsServerError

func (o *GetDiagnosticActivationsIDMessagesOK) IsServerError() bool

IsServerError returns true when this get diagnostic activations Id messages o k response has a 5xx status code

func (*GetDiagnosticActivationsIDMessagesOK) IsSuccess

IsSuccess returns true when this get diagnostic activations Id messages o k response has a 2xx status code

func (*GetDiagnosticActivationsIDMessagesOK) String

type GetDiagnosticActivationsIDMessagesParams

type GetDiagnosticActivationsIDMessagesParams struct {

	/* Filter.

	    JSON based filter. Diagnostic messages can be filtered by the following fields
	- `correlationId`
	- `message`
	- `source`
	- `timestamp`
	- `severity`

	*/
	Filter *string

	/* ID.

	   Unique identifier of diagnostic activation resource.
	*/
	ID string

	/* Page.

	   The (0-based) index of page.

	   Format: int32
	*/
	Page *int32

	/* Size.

	   The maximum number of elements in a page.

	   Format: int32
	   Default: 20
	*/
	Size *int32

	/* Sort.

	     The order of returned elements.
	Multiple fields could be used separated by commas (e.g. ”field1,field2”).
	Descending order could be requested by appending ”,desc” at the end of parameter.(e.g. ”field1,field2,desc”)'

	*/
	Sort *string

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

GetDiagnosticActivationsIDMessagesParams contains all the parameters to send to the API endpoint

for the get diagnostic activations ID messages operation.

Typically these are written to a http.Request.

func NewGetDiagnosticActivationsIDMessagesParams

func NewGetDiagnosticActivationsIDMessagesParams() *GetDiagnosticActivationsIDMessagesParams

NewGetDiagnosticActivationsIDMessagesParams creates a new GetDiagnosticActivationsIDMessagesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDiagnosticActivationsIDMessagesParamsWithContext

func NewGetDiagnosticActivationsIDMessagesParamsWithContext(ctx context.Context) *GetDiagnosticActivationsIDMessagesParams

NewGetDiagnosticActivationsIDMessagesParamsWithContext creates a new GetDiagnosticActivationsIDMessagesParams object with the ability to set a context for a request.

func NewGetDiagnosticActivationsIDMessagesParamsWithHTTPClient

func NewGetDiagnosticActivationsIDMessagesParamsWithHTTPClient(client *http.Client) *GetDiagnosticActivationsIDMessagesParams

NewGetDiagnosticActivationsIDMessagesParamsWithHTTPClient creates a new GetDiagnosticActivationsIDMessagesParams object with the ability to set a custom HTTPClient for a request.

func NewGetDiagnosticActivationsIDMessagesParamsWithTimeout

func NewGetDiagnosticActivationsIDMessagesParamsWithTimeout(timeout time.Duration) *GetDiagnosticActivationsIDMessagesParams

NewGetDiagnosticActivationsIDMessagesParamsWithTimeout creates a new GetDiagnosticActivationsIDMessagesParams object with the ability to set a timeout on a request.

func (*GetDiagnosticActivationsIDMessagesParams) SetContext

SetContext adds the context to the get diagnostic activations ID messages params

func (*GetDiagnosticActivationsIDMessagesParams) SetDefaults

SetDefaults hydrates default values in the get diagnostic activations ID messages params (not the query body).

All values with no default are reset to their zero value.

func (*GetDiagnosticActivationsIDMessagesParams) SetFilter

func (o *GetDiagnosticActivationsIDMessagesParams) SetFilter(filter *string)

SetFilter adds the filter to the get diagnostic activations ID messages params

func (*GetDiagnosticActivationsIDMessagesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get diagnostic activations ID messages params

func (*GetDiagnosticActivationsIDMessagesParams) SetID

SetID adds the id to the get diagnostic activations ID messages params

func (*GetDiagnosticActivationsIDMessagesParams) SetPage

SetPage adds the page to the get diagnostic activations ID messages params

func (*GetDiagnosticActivationsIDMessagesParams) SetSize

SetSize adds the size to the get diagnostic activations ID messages params

func (*GetDiagnosticActivationsIDMessagesParams) SetSort

SetSort adds the sort to the get diagnostic activations ID messages params

func (*GetDiagnosticActivationsIDMessagesParams) SetTimeout

SetTimeout adds the timeout to the get diagnostic activations ID messages params

func (*GetDiagnosticActivationsIDMessagesParams) WithContext

WithContext adds the context to the get diagnostic activations ID messages params

func (*GetDiagnosticActivationsIDMessagesParams) WithDefaults

WithDefaults hydrates default values in the get diagnostic activations ID messages params (not the query body).

All values with no default are reset to their zero value.

func (*GetDiagnosticActivationsIDMessagesParams) WithFilter

WithFilter adds the filter to the get diagnostic activations ID messages params

func (*GetDiagnosticActivationsIDMessagesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get diagnostic activations ID messages params

func (*GetDiagnosticActivationsIDMessagesParams) WithID

WithID adds the id to the get diagnostic activations ID messages params

func (*GetDiagnosticActivationsIDMessagesParams) WithPage

WithPage adds the page to the get diagnostic activations ID messages params

func (*GetDiagnosticActivationsIDMessagesParams) WithSize

WithSize adds the size to the get diagnostic activations ID messages params

func (*GetDiagnosticActivationsIDMessagesParams) WithSort

WithSort adds the sort to the get diagnostic activations ID messages params

func (*GetDiagnosticActivationsIDMessagesParams) WithTimeout

WithTimeout adds the timeout to the get diagnostic activations ID messages params

func (*GetDiagnosticActivationsIDMessagesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDiagnosticActivationsIDMessagesReader

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

GetDiagnosticActivationsIDMessagesReader is a Reader for the GetDiagnosticActivationsIDMessages structure.

func (*GetDiagnosticActivationsIDMessagesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDiagnosticActivationsIDMessagesUnauthorized

type GetDiagnosticActivationsIDMessagesUnauthorized struct {
	Payload *models.Unauthorized
}

GetDiagnosticActivationsIDMessagesUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetDiagnosticActivationsIDMessagesUnauthorized

func NewGetDiagnosticActivationsIDMessagesUnauthorized() *GetDiagnosticActivationsIDMessagesUnauthorized

NewGetDiagnosticActivationsIDMessagesUnauthorized creates a GetDiagnosticActivationsIDMessagesUnauthorized with default headers values

func (*GetDiagnosticActivationsIDMessagesUnauthorized) Code

Code gets the status code for the get diagnostic activations Id messages unauthorized response

func (*GetDiagnosticActivationsIDMessagesUnauthorized) Error

func (*GetDiagnosticActivationsIDMessagesUnauthorized) GetPayload

func (*GetDiagnosticActivationsIDMessagesUnauthorized) IsClientError

IsClientError returns true when this get diagnostic activations Id messages unauthorized response has a 4xx status code

func (*GetDiagnosticActivationsIDMessagesUnauthorized) IsCode

IsCode returns true when this get diagnostic activations Id messages unauthorized response a status code equal to that given

func (*GetDiagnosticActivationsIDMessagesUnauthorized) IsRedirect

IsRedirect returns true when this get diagnostic activations Id messages unauthorized response has a 3xx status code

func (*GetDiagnosticActivationsIDMessagesUnauthorized) IsServerError

IsServerError returns true when this get diagnostic activations Id messages unauthorized response has a 5xx status code

func (*GetDiagnosticActivationsIDMessagesUnauthorized) IsSuccess

IsSuccess returns true when this get diagnostic activations Id messages unauthorized response has a 2xx status code

func (*GetDiagnosticActivationsIDMessagesUnauthorized) String

type GetDiagnosticActivationsIDNotFound

type GetDiagnosticActivationsIDNotFound struct {
	Payload *models.Notfound
}

GetDiagnosticActivationsIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetDiagnosticActivationsIDNotFound

func NewGetDiagnosticActivationsIDNotFound() *GetDiagnosticActivationsIDNotFound

NewGetDiagnosticActivationsIDNotFound creates a GetDiagnosticActivationsIDNotFound with default headers values

func (*GetDiagnosticActivationsIDNotFound) Code

Code gets the status code for the get diagnostic activations Id not found response

func (*GetDiagnosticActivationsIDNotFound) Error

func (*GetDiagnosticActivationsIDNotFound) GetPayload

func (*GetDiagnosticActivationsIDNotFound) IsClientError

func (o *GetDiagnosticActivationsIDNotFound) IsClientError() bool

IsClientError returns true when this get diagnostic activations Id not found response has a 4xx status code

func (*GetDiagnosticActivationsIDNotFound) IsCode

IsCode returns true when this get diagnostic activations Id not found response a status code equal to that given

func (*GetDiagnosticActivationsIDNotFound) IsRedirect

func (o *GetDiagnosticActivationsIDNotFound) IsRedirect() bool

IsRedirect returns true when this get diagnostic activations Id not found response has a 3xx status code

func (*GetDiagnosticActivationsIDNotFound) IsServerError

func (o *GetDiagnosticActivationsIDNotFound) IsServerError() bool

IsServerError returns true when this get diagnostic activations Id not found response has a 5xx status code

func (*GetDiagnosticActivationsIDNotFound) IsSuccess

IsSuccess returns true when this get diagnostic activations Id not found response has a 2xx status code

func (*GetDiagnosticActivationsIDNotFound) String

type GetDiagnosticActivationsIDOK

type GetDiagnosticActivationsIDOK struct {
	Payload *models.DiagnosticActivation
}

GetDiagnosticActivationsIDOK describes a response with status code 200, with default header values.

OK

func NewGetDiagnosticActivationsIDOK

func NewGetDiagnosticActivationsIDOK() *GetDiagnosticActivationsIDOK

NewGetDiagnosticActivationsIDOK creates a GetDiagnosticActivationsIDOK with default headers values

func (*GetDiagnosticActivationsIDOK) Code

Code gets the status code for the get diagnostic activations Id o k response

func (*GetDiagnosticActivationsIDOK) Error

func (*GetDiagnosticActivationsIDOK) GetPayload

func (*GetDiagnosticActivationsIDOK) IsClientError

func (o *GetDiagnosticActivationsIDOK) IsClientError() bool

IsClientError returns true when this get diagnostic activations Id o k response has a 4xx status code

func (*GetDiagnosticActivationsIDOK) IsCode

func (o *GetDiagnosticActivationsIDOK) IsCode(code int) bool

IsCode returns true when this get diagnostic activations Id o k response a status code equal to that given

func (*GetDiagnosticActivationsIDOK) IsRedirect

func (o *GetDiagnosticActivationsIDOK) IsRedirect() bool

IsRedirect returns true when this get diagnostic activations Id o k response has a 3xx status code

func (*GetDiagnosticActivationsIDOK) IsServerError

func (o *GetDiagnosticActivationsIDOK) IsServerError() bool

IsServerError returns true when this get diagnostic activations Id o k response has a 5xx status code

func (*GetDiagnosticActivationsIDOK) IsSuccess

func (o *GetDiagnosticActivationsIDOK) IsSuccess() bool

IsSuccess returns true when this get diagnostic activations Id o k response has a 2xx status code

func (*GetDiagnosticActivationsIDOK) String

type GetDiagnosticActivationsIDParams

type GetDiagnosticActivationsIDParams struct {

	/* ID.

	   Unique identifier of diagnostic activation resource.
	*/
	ID string

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

GetDiagnosticActivationsIDParams contains all the parameters to send to the API endpoint

for the get diagnostic activations ID operation.

Typically these are written to a http.Request.

func NewGetDiagnosticActivationsIDParams

func NewGetDiagnosticActivationsIDParams() *GetDiagnosticActivationsIDParams

NewGetDiagnosticActivationsIDParams creates a new GetDiagnosticActivationsIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDiagnosticActivationsIDParamsWithContext

func NewGetDiagnosticActivationsIDParamsWithContext(ctx context.Context) *GetDiagnosticActivationsIDParams

NewGetDiagnosticActivationsIDParamsWithContext creates a new GetDiagnosticActivationsIDParams object with the ability to set a context for a request.

func NewGetDiagnosticActivationsIDParamsWithHTTPClient

func NewGetDiagnosticActivationsIDParamsWithHTTPClient(client *http.Client) *GetDiagnosticActivationsIDParams

NewGetDiagnosticActivationsIDParamsWithHTTPClient creates a new GetDiagnosticActivationsIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetDiagnosticActivationsIDParamsWithTimeout

func NewGetDiagnosticActivationsIDParamsWithTimeout(timeout time.Duration) *GetDiagnosticActivationsIDParams

NewGetDiagnosticActivationsIDParamsWithTimeout creates a new GetDiagnosticActivationsIDParams object with the ability to set a timeout on a request.

func (*GetDiagnosticActivationsIDParams) SetContext

SetContext adds the context to the get diagnostic activations ID params

func (*GetDiagnosticActivationsIDParams) SetDefaults

func (o *GetDiagnosticActivationsIDParams) SetDefaults()

SetDefaults hydrates default values in the get diagnostic activations ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetDiagnosticActivationsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get diagnostic activations ID params

func (*GetDiagnosticActivationsIDParams) SetID

SetID adds the id to the get diagnostic activations ID params

func (*GetDiagnosticActivationsIDParams) SetTimeout

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

SetTimeout adds the timeout to the get diagnostic activations ID params

func (*GetDiagnosticActivationsIDParams) WithContext

WithContext adds the context to the get diagnostic activations ID params

func (*GetDiagnosticActivationsIDParams) WithDefaults

WithDefaults hydrates default values in the get diagnostic activations ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetDiagnosticActivationsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get diagnostic activations ID params

func (*GetDiagnosticActivationsIDParams) WithID

WithID adds the id to the get diagnostic activations ID params

func (*GetDiagnosticActivationsIDParams) WithTimeout

WithTimeout adds the timeout to the get diagnostic activations ID params

func (*GetDiagnosticActivationsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDiagnosticActivationsIDReader

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

GetDiagnosticActivationsIDReader is a Reader for the GetDiagnosticActivationsID structure.

func (*GetDiagnosticActivationsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDiagnosticActivationsIDUnauthorized

type GetDiagnosticActivationsIDUnauthorized struct {
	Payload *models.Unauthorized
}

GetDiagnosticActivationsIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetDiagnosticActivationsIDUnauthorized

func NewGetDiagnosticActivationsIDUnauthorized() *GetDiagnosticActivationsIDUnauthorized

NewGetDiagnosticActivationsIDUnauthorized creates a GetDiagnosticActivationsIDUnauthorized with default headers values

func (*GetDiagnosticActivationsIDUnauthorized) Code

Code gets the status code for the get diagnostic activations Id unauthorized response

func (*GetDiagnosticActivationsIDUnauthorized) Error

func (*GetDiagnosticActivationsIDUnauthorized) GetPayload

func (*GetDiagnosticActivationsIDUnauthorized) IsClientError

func (o *GetDiagnosticActivationsIDUnauthorized) IsClientError() bool

IsClientError returns true when this get diagnostic activations Id unauthorized response has a 4xx status code

func (*GetDiagnosticActivationsIDUnauthorized) IsCode

IsCode returns true when this get diagnostic activations Id unauthorized response a status code equal to that given

func (*GetDiagnosticActivationsIDUnauthorized) IsRedirect

IsRedirect returns true when this get diagnostic activations Id unauthorized response has a 3xx status code

func (*GetDiagnosticActivationsIDUnauthorized) IsServerError

func (o *GetDiagnosticActivationsIDUnauthorized) IsServerError() bool

IsServerError returns true when this get diagnostic activations Id unauthorized response has a 5xx status code

func (*GetDiagnosticActivationsIDUnauthorized) IsSuccess

IsSuccess returns true when this get diagnostic activations Id unauthorized response has a 2xx status code

func (*GetDiagnosticActivationsIDUnauthorized) String

type GetDiagnosticActivationsOK

type GetDiagnosticActivationsOK struct {
	Payload *models.PagedDiagnosticActivation
}

GetDiagnosticActivationsOK describes a response with status code 200, with default header values.

OK

func NewGetDiagnosticActivationsOK

func NewGetDiagnosticActivationsOK() *GetDiagnosticActivationsOK

NewGetDiagnosticActivationsOK creates a GetDiagnosticActivationsOK with default headers values

func (*GetDiagnosticActivationsOK) Code

func (o *GetDiagnosticActivationsOK) Code() int

Code gets the status code for the get diagnostic activations o k response

func (*GetDiagnosticActivationsOK) Error

func (*GetDiagnosticActivationsOK) GetPayload

func (*GetDiagnosticActivationsOK) IsClientError

func (o *GetDiagnosticActivationsOK) IsClientError() bool

IsClientError returns true when this get diagnostic activations o k response has a 4xx status code

func (*GetDiagnosticActivationsOK) IsCode

func (o *GetDiagnosticActivationsOK) IsCode(code int) bool

IsCode returns true when this get diagnostic activations o k response a status code equal to that given

func (*GetDiagnosticActivationsOK) IsRedirect

func (o *GetDiagnosticActivationsOK) IsRedirect() bool

IsRedirect returns true when this get diagnostic activations o k response has a 3xx status code

func (*GetDiagnosticActivationsOK) IsServerError

func (o *GetDiagnosticActivationsOK) IsServerError() bool

IsServerError returns true when this get diagnostic activations o k response has a 5xx status code

func (*GetDiagnosticActivationsOK) IsSuccess

func (o *GetDiagnosticActivationsOK) IsSuccess() bool

IsSuccess returns true when this get diagnostic activations o k response has a 2xx status code

func (*GetDiagnosticActivationsOK) String

func (o *GetDiagnosticActivationsOK) String() string

type GetDiagnosticActivationsParams

type GetDiagnosticActivationsParams struct {

	/* Page.

	   The (0-based) index of page.

	   Format: int32
	*/
	Page *int32

	/* Size.

	   The maximum number of elements in a page.

	   Format: int32
	   Default: 20
	*/
	Size *int32

	/* Sort.

	     The order of returned elements.
	Multiple fields could be used separated by commas (e.g. ”field1,field2”).
	Descending order could be requested by appending ”,desc” at the end of parameter.(e.g. ”field1,field2,desc”)'

	*/
	Sort *string

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

GetDiagnosticActivationsParams contains all the parameters to send to the API endpoint

for the get diagnostic activations operation.

Typically these are written to a http.Request.

func NewGetDiagnosticActivationsParams

func NewGetDiagnosticActivationsParams() *GetDiagnosticActivationsParams

NewGetDiagnosticActivationsParams creates a new GetDiagnosticActivationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDiagnosticActivationsParamsWithContext

func NewGetDiagnosticActivationsParamsWithContext(ctx context.Context) *GetDiagnosticActivationsParams

NewGetDiagnosticActivationsParamsWithContext creates a new GetDiagnosticActivationsParams object with the ability to set a context for a request.

func NewGetDiagnosticActivationsParamsWithHTTPClient

func NewGetDiagnosticActivationsParamsWithHTTPClient(client *http.Client) *GetDiagnosticActivationsParams

NewGetDiagnosticActivationsParamsWithHTTPClient creates a new GetDiagnosticActivationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetDiagnosticActivationsParamsWithTimeout

func NewGetDiagnosticActivationsParamsWithTimeout(timeout time.Duration) *GetDiagnosticActivationsParams

NewGetDiagnosticActivationsParamsWithTimeout creates a new GetDiagnosticActivationsParams object with the ability to set a timeout on a request.

func (*GetDiagnosticActivationsParams) SetContext

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

SetContext adds the context to the get diagnostic activations params

func (*GetDiagnosticActivationsParams) SetDefaults

func (o *GetDiagnosticActivationsParams) SetDefaults()

SetDefaults hydrates default values in the get diagnostic activations params (not the query body).

All values with no default are reset to their zero value.

func (*GetDiagnosticActivationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get diagnostic activations params

func (*GetDiagnosticActivationsParams) SetPage

func (o *GetDiagnosticActivationsParams) SetPage(page *int32)

SetPage adds the page to the get diagnostic activations params

func (*GetDiagnosticActivationsParams) SetSize

func (o *GetDiagnosticActivationsParams) SetSize(size *int32)

SetSize adds the size to the get diagnostic activations params

func (*GetDiagnosticActivationsParams) SetSort

func (o *GetDiagnosticActivationsParams) SetSort(sort *string)

SetSort adds the sort to the get diagnostic activations params

func (*GetDiagnosticActivationsParams) SetTimeout

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

SetTimeout adds the timeout to the get diagnostic activations params

func (*GetDiagnosticActivationsParams) WithContext

WithContext adds the context to the get diagnostic activations params

func (*GetDiagnosticActivationsParams) WithDefaults

WithDefaults hydrates default values in the get diagnostic activations params (not the query body).

All values with no default are reset to their zero value.

func (*GetDiagnosticActivationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get diagnostic activations params

func (*GetDiagnosticActivationsParams) WithPage

WithPage adds the page to the get diagnostic activations params

func (*GetDiagnosticActivationsParams) WithSize

WithSize adds the size to the get diagnostic activations params

func (*GetDiagnosticActivationsParams) WithSort

WithSort adds the sort to the get diagnostic activations params

func (*GetDiagnosticActivationsParams) WithTimeout

WithTimeout adds the timeout to the get diagnostic activations params

func (*GetDiagnosticActivationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDiagnosticActivationsReader

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

GetDiagnosticActivationsReader is a Reader for the GetDiagnosticActivations structure.

func (*GetDiagnosticActivationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDiagnosticActivationsUnauthorized

type GetDiagnosticActivationsUnauthorized struct {
	Payload *models.Unauthorized
}

GetDiagnosticActivationsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetDiagnosticActivationsUnauthorized

func NewGetDiagnosticActivationsUnauthorized() *GetDiagnosticActivationsUnauthorized

NewGetDiagnosticActivationsUnauthorized creates a GetDiagnosticActivationsUnauthorized with default headers values

func (*GetDiagnosticActivationsUnauthorized) Code

Code gets the status code for the get diagnostic activations unauthorized response

func (*GetDiagnosticActivationsUnauthorized) Error

func (*GetDiagnosticActivationsUnauthorized) GetPayload

func (*GetDiagnosticActivationsUnauthorized) IsClientError

func (o *GetDiagnosticActivationsUnauthorized) IsClientError() bool

IsClientError returns true when this get diagnostic activations unauthorized response has a 4xx status code

func (*GetDiagnosticActivationsUnauthorized) IsCode

IsCode returns true when this get diagnostic activations unauthorized response a status code equal to that given

func (*GetDiagnosticActivationsUnauthorized) IsRedirect

IsRedirect returns true when this get diagnostic activations unauthorized response has a 3xx status code

func (*GetDiagnosticActivationsUnauthorized) IsServerError

func (o *GetDiagnosticActivationsUnauthorized) IsServerError() bool

IsServerError returns true when this get diagnostic activations unauthorized response has a 5xx status code

func (*GetDiagnosticActivationsUnauthorized) IsSuccess

IsSuccess returns true when this get diagnostic activations unauthorized response has a 2xx status code

func (*GetDiagnosticActivationsUnauthorized) String

type PostDiagnosticActivationsBadRequest

type PostDiagnosticActivationsBadRequest struct {
	Payload *models.Badrequest
}

PostDiagnosticActivationsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostDiagnosticActivationsBadRequest

func NewPostDiagnosticActivationsBadRequest() *PostDiagnosticActivationsBadRequest

NewPostDiagnosticActivationsBadRequest creates a PostDiagnosticActivationsBadRequest with default headers values

func (*PostDiagnosticActivationsBadRequest) Code

Code gets the status code for the post diagnostic activations bad request response

func (*PostDiagnosticActivationsBadRequest) Error

func (*PostDiagnosticActivationsBadRequest) GetPayload

func (*PostDiagnosticActivationsBadRequest) IsClientError

func (o *PostDiagnosticActivationsBadRequest) IsClientError() bool

IsClientError returns true when this post diagnostic activations bad request response has a 4xx status code

func (*PostDiagnosticActivationsBadRequest) IsCode

IsCode returns true when this post diagnostic activations bad request response a status code equal to that given

func (*PostDiagnosticActivationsBadRequest) IsRedirect

func (o *PostDiagnosticActivationsBadRequest) IsRedirect() bool

IsRedirect returns true when this post diagnostic activations bad request response has a 3xx status code

func (*PostDiagnosticActivationsBadRequest) IsServerError

func (o *PostDiagnosticActivationsBadRequest) IsServerError() bool

IsServerError returns true when this post diagnostic activations bad request response has a 5xx status code

func (*PostDiagnosticActivationsBadRequest) IsSuccess

IsSuccess returns true when this post diagnostic activations bad request response has a 2xx status code

func (*PostDiagnosticActivationsBadRequest) String

type PostDiagnosticActivationsConflict

type PostDiagnosticActivationsConflict struct {
	Payload *models.Conflict
}

PostDiagnosticActivationsConflict describes a response with status code 409, with default header values.

Resource is already available.

func NewPostDiagnosticActivationsConflict

func NewPostDiagnosticActivationsConflict() *PostDiagnosticActivationsConflict

NewPostDiagnosticActivationsConflict creates a PostDiagnosticActivationsConflict with default headers values

func (*PostDiagnosticActivationsConflict) Code

Code gets the status code for the post diagnostic activations conflict response

func (*PostDiagnosticActivationsConflict) Error

func (*PostDiagnosticActivationsConflict) GetPayload

func (*PostDiagnosticActivationsConflict) IsClientError

func (o *PostDiagnosticActivationsConflict) IsClientError() bool

IsClientError returns true when this post diagnostic activations conflict response has a 4xx status code

func (*PostDiagnosticActivationsConflict) IsCode

func (o *PostDiagnosticActivationsConflict) IsCode(code int) bool

IsCode returns true when this post diagnostic activations conflict response a status code equal to that given

func (*PostDiagnosticActivationsConflict) IsRedirect

func (o *PostDiagnosticActivationsConflict) IsRedirect() bool

IsRedirect returns true when this post diagnostic activations conflict response has a 3xx status code

func (*PostDiagnosticActivationsConflict) IsServerError

func (o *PostDiagnosticActivationsConflict) IsServerError() bool

IsServerError returns true when this post diagnostic activations conflict response has a 5xx status code

func (*PostDiagnosticActivationsConflict) IsSuccess

func (o *PostDiagnosticActivationsConflict) IsSuccess() bool

IsSuccess returns true when this post diagnostic activations conflict response has a 2xx status code

func (*PostDiagnosticActivationsConflict) String

type PostDiagnosticActivationsCreated

type PostDiagnosticActivationsCreated struct {
	Payload *models.DiagnosticActivation
}

PostDiagnosticActivationsCreated describes a response with status code 201, with default header values.

Created

func NewPostDiagnosticActivationsCreated

func NewPostDiagnosticActivationsCreated() *PostDiagnosticActivationsCreated

NewPostDiagnosticActivationsCreated creates a PostDiagnosticActivationsCreated with default headers values

func (*PostDiagnosticActivationsCreated) Code

Code gets the status code for the post diagnostic activations created response

func (*PostDiagnosticActivationsCreated) Error

func (*PostDiagnosticActivationsCreated) GetPayload

func (*PostDiagnosticActivationsCreated) IsClientError

func (o *PostDiagnosticActivationsCreated) IsClientError() bool

IsClientError returns true when this post diagnostic activations created response has a 4xx status code

func (*PostDiagnosticActivationsCreated) IsCode

func (o *PostDiagnosticActivationsCreated) IsCode(code int) bool

IsCode returns true when this post diagnostic activations created response a status code equal to that given

func (*PostDiagnosticActivationsCreated) IsRedirect

func (o *PostDiagnosticActivationsCreated) IsRedirect() bool

IsRedirect returns true when this post diagnostic activations created response has a 3xx status code

func (*PostDiagnosticActivationsCreated) IsServerError

func (o *PostDiagnosticActivationsCreated) IsServerError() bool

IsServerError returns true when this post diagnostic activations created response has a 5xx status code

func (*PostDiagnosticActivationsCreated) IsSuccess

func (o *PostDiagnosticActivationsCreated) IsSuccess() bool

IsSuccess returns true when this post diagnostic activations created response has a 2xx status code

func (*PostDiagnosticActivationsCreated) String

type PostDiagnosticActivationsDefault

type PostDiagnosticActivationsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PostDiagnosticActivationsDefault describes a response with status code -1, with default header values.

unexpected error

func NewPostDiagnosticActivationsDefault

func NewPostDiagnosticActivationsDefault(code int) *PostDiagnosticActivationsDefault

NewPostDiagnosticActivationsDefault creates a PostDiagnosticActivationsDefault with default headers values

func (*PostDiagnosticActivationsDefault) Code

Code gets the status code for the post diagnostic activations default response

func (*PostDiagnosticActivationsDefault) Error

func (*PostDiagnosticActivationsDefault) GetPayload

func (*PostDiagnosticActivationsDefault) IsClientError

func (o *PostDiagnosticActivationsDefault) IsClientError() bool

IsClientError returns true when this post diagnostic activations default response has a 4xx status code

func (*PostDiagnosticActivationsDefault) IsCode

func (o *PostDiagnosticActivationsDefault) IsCode(code int) bool

IsCode returns true when this post diagnostic activations default response a status code equal to that given

func (*PostDiagnosticActivationsDefault) IsRedirect

func (o *PostDiagnosticActivationsDefault) IsRedirect() bool

IsRedirect returns true when this post diagnostic activations default response has a 3xx status code

func (*PostDiagnosticActivationsDefault) IsServerError

func (o *PostDiagnosticActivationsDefault) IsServerError() bool

IsServerError returns true when this post diagnostic activations default response has a 5xx status code

func (*PostDiagnosticActivationsDefault) IsSuccess

func (o *PostDiagnosticActivationsDefault) IsSuccess() bool

IsSuccess returns true when this post diagnostic activations default response has a 2xx status code

func (*PostDiagnosticActivationsDefault) String

type PostDiagnosticActivationsForbidden

type PostDiagnosticActivationsForbidden struct {
	Payload *models.Forbidden
}

PostDiagnosticActivationsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostDiagnosticActivationsForbidden

func NewPostDiagnosticActivationsForbidden() *PostDiagnosticActivationsForbidden

NewPostDiagnosticActivationsForbidden creates a PostDiagnosticActivationsForbidden with default headers values

func (*PostDiagnosticActivationsForbidden) Code

Code gets the status code for the post diagnostic activations forbidden response

func (*PostDiagnosticActivationsForbidden) Error

func (*PostDiagnosticActivationsForbidden) GetPayload

func (*PostDiagnosticActivationsForbidden) IsClientError

func (o *PostDiagnosticActivationsForbidden) IsClientError() bool

IsClientError returns true when this post diagnostic activations forbidden response has a 4xx status code

func (*PostDiagnosticActivationsForbidden) IsCode

IsCode returns true when this post diagnostic activations forbidden response a status code equal to that given

func (*PostDiagnosticActivationsForbidden) IsRedirect

func (o *PostDiagnosticActivationsForbidden) IsRedirect() bool

IsRedirect returns true when this post diagnostic activations forbidden response has a 3xx status code

func (*PostDiagnosticActivationsForbidden) IsServerError

func (o *PostDiagnosticActivationsForbidden) IsServerError() bool

IsServerError returns true when this post diagnostic activations forbidden response has a 5xx status code

func (*PostDiagnosticActivationsForbidden) IsSuccess

IsSuccess returns true when this post diagnostic activations forbidden response has a 2xx status code

func (*PostDiagnosticActivationsForbidden) String

type PostDiagnosticActivationsParams

type PostDiagnosticActivationsParams struct {

	/* DiagnosticActivation.

	   Object describing new diagnostic activation resource.
	*/
	DiagnosticActivation *models.DiagnosticActivation

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

PostDiagnosticActivationsParams contains all the parameters to send to the API endpoint

for the post diagnostic activations operation.

Typically these are written to a http.Request.

func NewPostDiagnosticActivationsParams

func NewPostDiagnosticActivationsParams() *PostDiagnosticActivationsParams

NewPostDiagnosticActivationsParams creates a new PostDiagnosticActivationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostDiagnosticActivationsParamsWithContext

func NewPostDiagnosticActivationsParamsWithContext(ctx context.Context) *PostDiagnosticActivationsParams

NewPostDiagnosticActivationsParamsWithContext creates a new PostDiagnosticActivationsParams object with the ability to set a context for a request.

func NewPostDiagnosticActivationsParamsWithHTTPClient

func NewPostDiagnosticActivationsParamsWithHTTPClient(client *http.Client) *PostDiagnosticActivationsParams

NewPostDiagnosticActivationsParamsWithHTTPClient creates a new PostDiagnosticActivationsParams object with the ability to set a custom HTTPClient for a request.

func NewPostDiagnosticActivationsParamsWithTimeout

func NewPostDiagnosticActivationsParamsWithTimeout(timeout time.Duration) *PostDiagnosticActivationsParams

NewPostDiagnosticActivationsParamsWithTimeout creates a new PostDiagnosticActivationsParams object with the ability to set a timeout on a request.

func (*PostDiagnosticActivationsParams) SetContext

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

SetContext adds the context to the post diagnostic activations params

func (*PostDiagnosticActivationsParams) SetDefaults

func (o *PostDiagnosticActivationsParams) SetDefaults()

SetDefaults hydrates default values in the post diagnostic activations params (not the query body).

All values with no default are reset to their zero value.

func (*PostDiagnosticActivationsParams) SetDiagnosticActivation

func (o *PostDiagnosticActivationsParams) SetDiagnosticActivation(diagnosticActivation *models.DiagnosticActivation)

SetDiagnosticActivation adds the diagnosticActivation to the post diagnostic activations params

func (*PostDiagnosticActivationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post diagnostic activations params

func (*PostDiagnosticActivationsParams) SetTimeout

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

SetTimeout adds the timeout to the post diagnostic activations params

func (*PostDiagnosticActivationsParams) WithContext

WithContext adds the context to the post diagnostic activations params

func (*PostDiagnosticActivationsParams) WithDefaults

WithDefaults hydrates default values in the post diagnostic activations params (not the query body).

All values with no default are reset to their zero value.

func (*PostDiagnosticActivationsParams) WithDiagnosticActivation

func (o *PostDiagnosticActivationsParams) WithDiagnosticActivation(diagnosticActivation *models.DiagnosticActivation) *PostDiagnosticActivationsParams

WithDiagnosticActivation adds the diagnosticActivation to the post diagnostic activations params

func (*PostDiagnosticActivationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post diagnostic activations params

func (*PostDiagnosticActivationsParams) WithTimeout

WithTimeout adds the timeout to the post diagnostic activations params

func (*PostDiagnosticActivationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostDiagnosticActivationsReader

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

PostDiagnosticActivationsReader is a Reader for the PostDiagnosticActivations structure.

func (*PostDiagnosticActivationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostDiagnosticActivationsUnauthorized

type PostDiagnosticActivationsUnauthorized struct {
	Payload *models.Unauthorized
}

PostDiagnosticActivationsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostDiagnosticActivationsUnauthorized

func NewPostDiagnosticActivationsUnauthorized() *PostDiagnosticActivationsUnauthorized

NewPostDiagnosticActivationsUnauthorized creates a PostDiagnosticActivationsUnauthorized with default headers values

func (*PostDiagnosticActivationsUnauthorized) Code

Code gets the status code for the post diagnostic activations unauthorized response

func (*PostDiagnosticActivationsUnauthorized) Error

func (*PostDiagnosticActivationsUnauthorized) GetPayload

func (*PostDiagnosticActivationsUnauthorized) IsClientError

func (o *PostDiagnosticActivationsUnauthorized) IsClientError() bool

IsClientError returns true when this post diagnostic activations unauthorized response has a 4xx status code

func (*PostDiagnosticActivationsUnauthorized) IsCode

IsCode returns true when this post diagnostic activations unauthorized response a status code equal to that given

func (*PostDiagnosticActivationsUnauthorized) IsRedirect

IsRedirect returns true when this post diagnostic activations unauthorized response has a 3xx status code

func (*PostDiagnosticActivationsUnauthorized) IsServerError

func (o *PostDiagnosticActivationsUnauthorized) IsServerError() bool

IsServerError returns true when this post diagnostic activations unauthorized response has a 5xx status code

func (*PostDiagnosticActivationsUnauthorized) IsSuccess

IsSuccess returns true when this post diagnostic activations unauthorized response has a 2xx status code

func (*PostDiagnosticActivationsUnauthorized) String

type PutDiagnosticActivationsIDBadRequest

type PutDiagnosticActivationsIDBadRequest struct {
	Payload *models.Badrequest
}

PutDiagnosticActivationsIDBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPutDiagnosticActivationsIDBadRequest

func NewPutDiagnosticActivationsIDBadRequest() *PutDiagnosticActivationsIDBadRequest

NewPutDiagnosticActivationsIDBadRequest creates a PutDiagnosticActivationsIDBadRequest with default headers values

func (*PutDiagnosticActivationsIDBadRequest) Code

Code gets the status code for the put diagnostic activations Id bad request response

func (*PutDiagnosticActivationsIDBadRequest) Error

func (*PutDiagnosticActivationsIDBadRequest) GetPayload

func (*PutDiagnosticActivationsIDBadRequest) IsClientError

func (o *PutDiagnosticActivationsIDBadRequest) IsClientError() bool

IsClientError returns true when this put diagnostic activations Id bad request response has a 4xx status code

func (*PutDiagnosticActivationsIDBadRequest) IsCode

IsCode returns true when this put diagnostic activations Id bad request response a status code equal to that given

func (*PutDiagnosticActivationsIDBadRequest) IsRedirect

IsRedirect returns true when this put diagnostic activations Id bad request response has a 3xx status code

func (*PutDiagnosticActivationsIDBadRequest) IsServerError

func (o *PutDiagnosticActivationsIDBadRequest) IsServerError() bool

IsServerError returns true when this put diagnostic activations Id bad request response has a 5xx status code

func (*PutDiagnosticActivationsIDBadRequest) IsSuccess

IsSuccess returns true when this put diagnostic activations Id bad request response has a 2xx status code

func (*PutDiagnosticActivationsIDBadRequest) String

type PutDiagnosticActivationsIDDefault

type PutDiagnosticActivationsIDDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutDiagnosticActivationsIDDefault describes a response with status code -1, with default header values.

unexpected error

func NewPutDiagnosticActivationsIDDefault

func NewPutDiagnosticActivationsIDDefault(code int) *PutDiagnosticActivationsIDDefault

NewPutDiagnosticActivationsIDDefault creates a PutDiagnosticActivationsIDDefault with default headers values

func (*PutDiagnosticActivationsIDDefault) Code

Code gets the status code for the put diagnostic activations ID default response

func (*PutDiagnosticActivationsIDDefault) Error

func (*PutDiagnosticActivationsIDDefault) GetPayload

func (*PutDiagnosticActivationsIDDefault) IsClientError

func (o *PutDiagnosticActivationsIDDefault) IsClientError() bool

IsClientError returns true when this put diagnostic activations ID default response has a 4xx status code

func (*PutDiagnosticActivationsIDDefault) IsCode

func (o *PutDiagnosticActivationsIDDefault) IsCode(code int) bool

IsCode returns true when this put diagnostic activations ID default response a status code equal to that given

func (*PutDiagnosticActivationsIDDefault) IsRedirect

func (o *PutDiagnosticActivationsIDDefault) IsRedirect() bool

IsRedirect returns true when this put diagnostic activations ID default response has a 3xx status code

func (*PutDiagnosticActivationsIDDefault) IsServerError

func (o *PutDiagnosticActivationsIDDefault) IsServerError() bool

IsServerError returns true when this put diagnostic activations ID default response has a 5xx status code

func (*PutDiagnosticActivationsIDDefault) IsSuccess

func (o *PutDiagnosticActivationsIDDefault) IsSuccess() bool

IsSuccess returns true when this put diagnostic activations ID default response has a 2xx status code

func (*PutDiagnosticActivationsIDDefault) String

type PutDiagnosticActivationsIDForbidden

type PutDiagnosticActivationsIDForbidden struct {
	Payload *models.Forbidden
}

PutDiagnosticActivationsIDForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPutDiagnosticActivationsIDForbidden

func NewPutDiagnosticActivationsIDForbidden() *PutDiagnosticActivationsIDForbidden

NewPutDiagnosticActivationsIDForbidden creates a PutDiagnosticActivationsIDForbidden with default headers values

func (*PutDiagnosticActivationsIDForbidden) Code

Code gets the status code for the put diagnostic activations Id forbidden response

func (*PutDiagnosticActivationsIDForbidden) Error

func (*PutDiagnosticActivationsIDForbidden) GetPayload

func (*PutDiagnosticActivationsIDForbidden) IsClientError

func (o *PutDiagnosticActivationsIDForbidden) IsClientError() bool

IsClientError returns true when this put diagnostic activations Id forbidden response has a 4xx status code

func (*PutDiagnosticActivationsIDForbidden) IsCode

IsCode returns true when this put diagnostic activations Id forbidden response a status code equal to that given

func (*PutDiagnosticActivationsIDForbidden) IsRedirect

func (o *PutDiagnosticActivationsIDForbidden) IsRedirect() bool

IsRedirect returns true when this put diagnostic activations Id forbidden response has a 3xx status code

func (*PutDiagnosticActivationsIDForbidden) IsServerError

func (o *PutDiagnosticActivationsIDForbidden) IsServerError() bool

IsServerError returns true when this put diagnostic activations Id forbidden response has a 5xx status code

func (*PutDiagnosticActivationsIDForbidden) IsSuccess

IsSuccess returns true when this put diagnostic activations Id forbidden response has a 2xx status code

func (*PutDiagnosticActivationsIDForbidden) String

type PutDiagnosticActivationsIDNotFound

type PutDiagnosticActivationsIDNotFound struct {
	Payload *models.Notfound
}

PutDiagnosticActivationsIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewPutDiagnosticActivationsIDNotFound

func NewPutDiagnosticActivationsIDNotFound() *PutDiagnosticActivationsIDNotFound

NewPutDiagnosticActivationsIDNotFound creates a PutDiagnosticActivationsIDNotFound with default headers values

func (*PutDiagnosticActivationsIDNotFound) Code

Code gets the status code for the put diagnostic activations Id not found response

func (*PutDiagnosticActivationsIDNotFound) Error

func (*PutDiagnosticActivationsIDNotFound) GetPayload

func (*PutDiagnosticActivationsIDNotFound) IsClientError

func (o *PutDiagnosticActivationsIDNotFound) IsClientError() bool

IsClientError returns true when this put diagnostic activations Id not found response has a 4xx status code

func (*PutDiagnosticActivationsIDNotFound) IsCode

IsCode returns true when this put diagnostic activations Id not found response a status code equal to that given

func (*PutDiagnosticActivationsIDNotFound) IsRedirect

func (o *PutDiagnosticActivationsIDNotFound) IsRedirect() bool

IsRedirect returns true when this put diagnostic activations Id not found response has a 3xx status code

func (*PutDiagnosticActivationsIDNotFound) IsServerError

func (o *PutDiagnosticActivationsIDNotFound) IsServerError() bool

IsServerError returns true when this put diagnostic activations Id not found response has a 5xx status code

func (*PutDiagnosticActivationsIDNotFound) IsSuccess

IsSuccess returns true when this put diagnostic activations Id not found response has a 2xx status code

func (*PutDiagnosticActivationsIDNotFound) String

type PutDiagnosticActivationsIDOK

type PutDiagnosticActivationsIDOK struct {
	Payload *models.DiagnosticActivation
}

PutDiagnosticActivationsIDOK describes a response with status code 200, with default header values.

OK

func NewPutDiagnosticActivationsIDOK

func NewPutDiagnosticActivationsIDOK() *PutDiagnosticActivationsIDOK

NewPutDiagnosticActivationsIDOK creates a PutDiagnosticActivationsIDOK with default headers values

func (*PutDiagnosticActivationsIDOK) Code

Code gets the status code for the put diagnostic activations Id o k response

func (*PutDiagnosticActivationsIDOK) Error

func (*PutDiagnosticActivationsIDOK) GetPayload

func (*PutDiagnosticActivationsIDOK) IsClientError

func (o *PutDiagnosticActivationsIDOK) IsClientError() bool

IsClientError returns true when this put diagnostic activations Id o k response has a 4xx status code

func (*PutDiagnosticActivationsIDOK) IsCode

func (o *PutDiagnosticActivationsIDOK) IsCode(code int) bool

IsCode returns true when this put diagnostic activations Id o k response a status code equal to that given

func (*PutDiagnosticActivationsIDOK) IsRedirect

func (o *PutDiagnosticActivationsIDOK) IsRedirect() bool

IsRedirect returns true when this put diagnostic activations Id o k response has a 3xx status code

func (*PutDiagnosticActivationsIDOK) IsServerError

func (o *PutDiagnosticActivationsIDOK) IsServerError() bool

IsServerError returns true when this put diagnostic activations Id o k response has a 5xx status code

func (*PutDiagnosticActivationsIDOK) IsSuccess

func (o *PutDiagnosticActivationsIDOK) IsSuccess() bool

IsSuccess returns true when this put diagnostic activations Id o k response has a 2xx status code

func (*PutDiagnosticActivationsIDOK) String

type PutDiagnosticActivationsIDParams

type PutDiagnosticActivationsIDParams struct {

	/* DiagnosticActivationStatus.

	   Object describing updated diagnostic activation status.
	*/
	DiagnosticActivationStatus *models.DiagnosticActivationStatus

	/* ID.

	   Unique identifier of diagnostic activation resource.

	   Format: uuid
	*/
	ID strfmt.UUID

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

PutDiagnosticActivationsIDParams contains all the parameters to send to the API endpoint

for the put diagnostic activations ID operation.

Typically these are written to a http.Request.

func NewPutDiagnosticActivationsIDParams

func NewPutDiagnosticActivationsIDParams() *PutDiagnosticActivationsIDParams

NewPutDiagnosticActivationsIDParams creates a new PutDiagnosticActivationsIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutDiagnosticActivationsIDParamsWithContext

func NewPutDiagnosticActivationsIDParamsWithContext(ctx context.Context) *PutDiagnosticActivationsIDParams

NewPutDiagnosticActivationsIDParamsWithContext creates a new PutDiagnosticActivationsIDParams object with the ability to set a context for a request.

func NewPutDiagnosticActivationsIDParamsWithHTTPClient

func NewPutDiagnosticActivationsIDParamsWithHTTPClient(client *http.Client) *PutDiagnosticActivationsIDParams

NewPutDiagnosticActivationsIDParamsWithHTTPClient creates a new PutDiagnosticActivationsIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutDiagnosticActivationsIDParamsWithTimeout

func NewPutDiagnosticActivationsIDParamsWithTimeout(timeout time.Duration) *PutDiagnosticActivationsIDParams

NewPutDiagnosticActivationsIDParamsWithTimeout creates a new PutDiagnosticActivationsIDParams object with the ability to set a timeout on a request.

func (*PutDiagnosticActivationsIDParams) SetContext

SetContext adds the context to the put diagnostic activations ID params

func (*PutDiagnosticActivationsIDParams) SetDefaults

func (o *PutDiagnosticActivationsIDParams) SetDefaults()

SetDefaults hydrates default values in the put diagnostic activations ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutDiagnosticActivationsIDParams) SetDiagnosticActivationStatus

func (o *PutDiagnosticActivationsIDParams) SetDiagnosticActivationStatus(diagnosticActivationStatus *models.DiagnosticActivationStatus)

SetDiagnosticActivationStatus adds the diagnosticActivationStatus to the put diagnostic activations ID params

func (*PutDiagnosticActivationsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put diagnostic activations ID params

func (*PutDiagnosticActivationsIDParams) SetID

SetID adds the id to the put diagnostic activations ID params

func (*PutDiagnosticActivationsIDParams) SetTimeout

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

SetTimeout adds the timeout to the put diagnostic activations ID params

func (*PutDiagnosticActivationsIDParams) WithContext

WithContext adds the context to the put diagnostic activations ID params

func (*PutDiagnosticActivationsIDParams) WithDefaults

WithDefaults hydrates default values in the put diagnostic activations ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutDiagnosticActivationsIDParams) WithDiagnosticActivationStatus

func (o *PutDiagnosticActivationsIDParams) WithDiagnosticActivationStatus(diagnosticActivationStatus *models.DiagnosticActivationStatus) *PutDiagnosticActivationsIDParams

WithDiagnosticActivationStatus adds the diagnosticActivationStatus to the put diagnostic activations ID params

func (*PutDiagnosticActivationsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put diagnostic activations ID params

func (*PutDiagnosticActivationsIDParams) WithID

WithID adds the id to the put diagnostic activations ID params

func (*PutDiagnosticActivationsIDParams) WithTimeout

WithTimeout adds the timeout to the put diagnostic activations ID params

func (*PutDiagnosticActivationsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutDiagnosticActivationsIDReader

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

PutDiagnosticActivationsIDReader is a Reader for the PutDiagnosticActivationsID structure.

func (*PutDiagnosticActivationsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutDiagnosticActivationsIDUnauthorized

type PutDiagnosticActivationsIDUnauthorized struct {
	Payload *models.Unauthorized
}

PutDiagnosticActivationsIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPutDiagnosticActivationsIDUnauthorized

func NewPutDiagnosticActivationsIDUnauthorized() *PutDiagnosticActivationsIDUnauthorized

NewPutDiagnosticActivationsIDUnauthorized creates a PutDiagnosticActivationsIDUnauthorized with default headers values

func (*PutDiagnosticActivationsIDUnauthorized) Code

Code gets the status code for the put diagnostic activations Id unauthorized response

func (*PutDiagnosticActivationsIDUnauthorized) Error

func (*PutDiagnosticActivationsIDUnauthorized) GetPayload

func (*PutDiagnosticActivationsIDUnauthorized) IsClientError

func (o *PutDiagnosticActivationsIDUnauthorized) IsClientError() bool

IsClientError returns true when this put diagnostic activations Id unauthorized response has a 4xx status code

func (*PutDiagnosticActivationsIDUnauthorized) IsCode

IsCode returns true when this put diagnostic activations Id unauthorized response a status code equal to that given

func (*PutDiagnosticActivationsIDUnauthorized) IsRedirect

IsRedirect returns true when this put diagnostic activations Id unauthorized response has a 3xx status code

func (*PutDiagnosticActivationsIDUnauthorized) IsServerError

func (o *PutDiagnosticActivationsIDUnauthorized) IsServerError() bool

IsServerError returns true when this put diagnostic activations Id unauthorized response has a 5xx status code

func (*PutDiagnosticActivationsIDUnauthorized) IsSuccess

IsSuccess returns true when this put diagnostic activations Id unauthorized response has a 2xx status code

func (*PutDiagnosticActivationsIDUnauthorized) String

Jump to

Keyboard shortcuts

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