Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteDiagnosticActivationsID(params *DeleteDiagnosticActivationsIDParams, ...) (*DeleteDiagnosticActivationsIDNoContent, error)
- func (a *Client) GetDiagnosticActivations(params *GetDiagnosticActivationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDiagnosticActivationsOK, error)
- func (a *Client) GetDiagnosticActivationsID(params *GetDiagnosticActivationsIDParams, ...) (*GetDiagnosticActivationsIDOK, error)
- func (a *Client) GetDiagnosticActivationsIDMessages(params *GetDiagnosticActivationsIDMessagesParams, ...) (*GetDiagnosticActivationsIDMessagesOK, error)
- func (a *Client) PostDiagnosticActivations(params *PostDiagnosticActivationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostDiagnosticActivationsCreated, error)
- func (a *Client) PutDiagnosticActivationsID(params *PutDiagnosticActivationsIDParams, ...) (*PutDiagnosticActivationsIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteDiagnosticActivationsIDBadRequest
- func (o *DeleteDiagnosticActivationsIDBadRequest) Code() int
- func (o *DeleteDiagnosticActivationsIDBadRequest) Error() string
- func (o *DeleteDiagnosticActivationsIDBadRequest) GetPayload() *models.Badrequest
- func (o *DeleteDiagnosticActivationsIDBadRequest) IsClientError() bool
- func (o *DeleteDiagnosticActivationsIDBadRequest) IsCode(code int) bool
- func (o *DeleteDiagnosticActivationsIDBadRequest) IsRedirect() bool
- func (o *DeleteDiagnosticActivationsIDBadRequest) IsServerError() bool
- func (o *DeleteDiagnosticActivationsIDBadRequest) IsSuccess() bool
- func (o *DeleteDiagnosticActivationsIDBadRequest) String() string
- type DeleteDiagnosticActivationsIDDefault
- func (o *DeleteDiagnosticActivationsIDDefault) Code() int
- func (o *DeleteDiagnosticActivationsIDDefault) Error() string
- func (o *DeleteDiagnosticActivationsIDDefault) GetPayload() *models.Error
- func (o *DeleteDiagnosticActivationsIDDefault) IsClientError() bool
- func (o *DeleteDiagnosticActivationsIDDefault) IsCode(code int) bool
- func (o *DeleteDiagnosticActivationsIDDefault) IsRedirect() bool
- func (o *DeleteDiagnosticActivationsIDDefault) IsServerError() bool
- func (o *DeleteDiagnosticActivationsIDDefault) IsSuccess() bool
- func (o *DeleteDiagnosticActivationsIDDefault) String() string
- type DeleteDiagnosticActivationsIDForbidden
- func (o *DeleteDiagnosticActivationsIDForbidden) Code() int
- func (o *DeleteDiagnosticActivationsIDForbidden) Error() string
- func (o *DeleteDiagnosticActivationsIDForbidden) GetPayload() *models.Forbidden
- func (o *DeleteDiagnosticActivationsIDForbidden) IsClientError() bool
- func (o *DeleteDiagnosticActivationsIDForbidden) IsCode(code int) bool
- func (o *DeleteDiagnosticActivationsIDForbidden) IsRedirect() bool
- func (o *DeleteDiagnosticActivationsIDForbidden) IsServerError() bool
- func (o *DeleteDiagnosticActivationsIDForbidden) IsSuccess() bool
- func (o *DeleteDiagnosticActivationsIDForbidden) String() string
- type DeleteDiagnosticActivationsIDNoContent
- func (o *DeleteDiagnosticActivationsIDNoContent) Code() int
- func (o *DeleteDiagnosticActivationsIDNoContent) Error() string
- func (o *DeleteDiagnosticActivationsIDNoContent) IsClientError() bool
- func (o *DeleteDiagnosticActivationsIDNoContent) IsCode(code int) bool
- func (o *DeleteDiagnosticActivationsIDNoContent) IsRedirect() bool
- func (o *DeleteDiagnosticActivationsIDNoContent) IsServerError() bool
- func (o *DeleteDiagnosticActivationsIDNoContent) IsSuccess() bool
- func (o *DeleteDiagnosticActivationsIDNoContent) String() string
- type DeleteDiagnosticActivationsIDNotFound
- func (o *DeleteDiagnosticActivationsIDNotFound) Code() int
- func (o *DeleteDiagnosticActivationsIDNotFound) Error() string
- func (o *DeleteDiagnosticActivationsIDNotFound) GetPayload() *models.Notfound
- func (o *DeleteDiagnosticActivationsIDNotFound) IsClientError() bool
- func (o *DeleteDiagnosticActivationsIDNotFound) IsCode(code int) bool
- func (o *DeleteDiagnosticActivationsIDNotFound) IsRedirect() bool
- func (o *DeleteDiagnosticActivationsIDNotFound) IsServerError() bool
- func (o *DeleteDiagnosticActivationsIDNotFound) IsSuccess() bool
- func (o *DeleteDiagnosticActivationsIDNotFound) String() string
- type DeleteDiagnosticActivationsIDParams
- func NewDeleteDiagnosticActivationsIDParams() *DeleteDiagnosticActivationsIDParams
- func NewDeleteDiagnosticActivationsIDParamsWithContext(ctx context.Context) *DeleteDiagnosticActivationsIDParams
- func NewDeleteDiagnosticActivationsIDParamsWithHTTPClient(client *http.Client) *DeleteDiagnosticActivationsIDParams
- func NewDeleteDiagnosticActivationsIDParamsWithTimeout(timeout time.Duration) *DeleteDiagnosticActivationsIDParams
- func (o *DeleteDiagnosticActivationsIDParams) SetContext(ctx context.Context)
- func (o *DeleteDiagnosticActivationsIDParams) SetDefaults()
- func (o *DeleteDiagnosticActivationsIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDiagnosticActivationsIDParams) SetID(id string)
- func (o *DeleteDiagnosticActivationsIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDiagnosticActivationsIDParams) WithContext(ctx context.Context) *DeleteDiagnosticActivationsIDParams
- func (o *DeleteDiagnosticActivationsIDParams) WithDefaults() *DeleteDiagnosticActivationsIDParams
- func (o *DeleteDiagnosticActivationsIDParams) WithHTTPClient(client *http.Client) *DeleteDiagnosticActivationsIDParams
- func (o *DeleteDiagnosticActivationsIDParams) WithID(id string) *DeleteDiagnosticActivationsIDParams
- func (o *DeleteDiagnosticActivationsIDParams) WithTimeout(timeout time.Duration) *DeleteDiagnosticActivationsIDParams
- func (o *DeleteDiagnosticActivationsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDiagnosticActivationsIDReader
- type DeleteDiagnosticActivationsIDUnauthorized
- func (o *DeleteDiagnosticActivationsIDUnauthorized) Code() int
- func (o *DeleteDiagnosticActivationsIDUnauthorized) Error() string
- func (o *DeleteDiagnosticActivationsIDUnauthorized) GetPayload() *models.Unauthorized
- func (o *DeleteDiagnosticActivationsIDUnauthorized) IsClientError() bool
- func (o *DeleteDiagnosticActivationsIDUnauthorized) IsCode(code int) bool
- func (o *DeleteDiagnosticActivationsIDUnauthorized) IsRedirect() bool
- func (o *DeleteDiagnosticActivationsIDUnauthorized) IsServerError() bool
- func (o *DeleteDiagnosticActivationsIDUnauthorized) IsSuccess() bool
- func (o *DeleteDiagnosticActivationsIDUnauthorized) String() string
- type GetDiagnosticActivationsBadRequest
- func (o *GetDiagnosticActivationsBadRequest) Code() int
- func (o *GetDiagnosticActivationsBadRequest) Error() string
- func (o *GetDiagnosticActivationsBadRequest) GetPayload() *models.Badrequest
- func (o *GetDiagnosticActivationsBadRequest) IsClientError() bool
- func (o *GetDiagnosticActivationsBadRequest) IsCode(code int) bool
- func (o *GetDiagnosticActivationsBadRequest) IsRedirect() bool
- func (o *GetDiagnosticActivationsBadRequest) IsServerError() bool
- func (o *GetDiagnosticActivationsBadRequest) IsSuccess() bool
- func (o *GetDiagnosticActivationsBadRequest) String() string
- type GetDiagnosticActivationsDefault
- func (o *GetDiagnosticActivationsDefault) Code() int
- func (o *GetDiagnosticActivationsDefault) Error() string
- func (o *GetDiagnosticActivationsDefault) GetPayload() *models.Error
- func (o *GetDiagnosticActivationsDefault) IsClientError() bool
- func (o *GetDiagnosticActivationsDefault) IsCode(code int) bool
- func (o *GetDiagnosticActivationsDefault) IsRedirect() bool
- func (o *GetDiagnosticActivationsDefault) IsServerError() bool
- func (o *GetDiagnosticActivationsDefault) IsSuccess() bool
- func (o *GetDiagnosticActivationsDefault) String() string
- type GetDiagnosticActivationsForbidden
- func (o *GetDiagnosticActivationsForbidden) Code() int
- func (o *GetDiagnosticActivationsForbidden) Error() string
- func (o *GetDiagnosticActivationsForbidden) GetPayload() *models.Forbidden
- func (o *GetDiagnosticActivationsForbidden) IsClientError() bool
- func (o *GetDiagnosticActivationsForbidden) IsCode(code int) bool
- func (o *GetDiagnosticActivationsForbidden) IsRedirect() bool
- func (o *GetDiagnosticActivationsForbidden) IsServerError() bool
- func (o *GetDiagnosticActivationsForbidden) IsSuccess() bool
- func (o *GetDiagnosticActivationsForbidden) String() string
- type GetDiagnosticActivationsIDBadRequest
- func (o *GetDiagnosticActivationsIDBadRequest) Code() int
- func (o *GetDiagnosticActivationsIDBadRequest) Error() string
- func (o *GetDiagnosticActivationsIDBadRequest) GetPayload() *models.Badrequest
- func (o *GetDiagnosticActivationsIDBadRequest) IsClientError() bool
- func (o *GetDiagnosticActivationsIDBadRequest) IsCode(code int) bool
- func (o *GetDiagnosticActivationsIDBadRequest) IsRedirect() bool
- func (o *GetDiagnosticActivationsIDBadRequest) IsServerError() bool
- func (o *GetDiagnosticActivationsIDBadRequest) IsSuccess() bool
- func (o *GetDiagnosticActivationsIDBadRequest) String() string
- type GetDiagnosticActivationsIDDefault
- func (o *GetDiagnosticActivationsIDDefault) Code() int
- func (o *GetDiagnosticActivationsIDDefault) Error() string
- func (o *GetDiagnosticActivationsIDDefault) GetPayload() *models.Error
- func (o *GetDiagnosticActivationsIDDefault) IsClientError() bool
- func (o *GetDiagnosticActivationsIDDefault) IsCode(code int) bool
- func (o *GetDiagnosticActivationsIDDefault) IsRedirect() bool
- func (o *GetDiagnosticActivationsIDDefault) IsServerError() bool
- func (o *GetDiagnosticActivationsIDDefault) IsSuccess() bool
- func (o *GetDiagnosticActivationsIDDefault) String() string
- type GetDiagnosticActivationsIDForbidden
- func (o *GetDiagnosticActivationsIDForbidden) Code() int
- func (o *GetDiagnosticActivationsIDForbidden) Error() string
- func (o *GetDiagnosticActivationsIDForbidden) GetPayload() *models.Forbidden
- func (o *GetDiagnosticActivationsIDForbidden) IsClientError() bool
- func (o *GetDiagnosticActivationsIDForbidden) IsCode(code int) bool
- func (o *GetDiagnosticActivationsIDForbidden) IsRedirect() bool
- func (o *GetDiagnosticActivationsIDForbidden) IsServerError() bool
- func (o *GetDiagnosticActivationsIDForbidden) IsSuccess() bool
- func (o *GetDiagnosticActivationsIDForbidden) String() string
- type GetDiagnosticActivationsIDMessagesBadRequest
- func (o *GetDiagnosticActivationsIDMessagesBadRequest) Code() int
- func (o *GetDiagnosticActivationsIDMessagesBadRequest) Error() string
- func (o *GetDiagnosticActivationsIDMessagesBadRequest) GetPayload() *models.Badrequest
- func (o *GetDiagnosticActivationsIDMessagesBadRequest) IsClientError() bool
- func (o *GetDiagnosticActivationsIDMessagesBadRequest) IsCode(code int) bool
- func (o *GetDiagnosticActivationsIDMessagesBadRequest) IsRedirect() bool
- func (o *GetDiagnosticActivationsIDMessagesBadRequest) IsServerError() bool
- func (o *GetDiagnosticActivationsIDMessagesBadRequest) IsSuccess() bool
- func (o *GetDiagnosticActivationsIDMessagesBadRequest) String() string
- type GetDiagnosticActivationsIDMessagesDefault
- func (o *GetDiagnosticActivationsIDMessagesDefault) Code() int
- func (o *GetDiagnosticActivationsIDMessagesDefault) Error() string
- func (o *GetDiagnosticActivationsIDMessagesDefault) GetPayload() *models.Error
- func (o *GetDiagnosticActivationsIDMessagesDefault) IsClientError() bool
- func (o *GetDiagnosticActivationsIDMessagesDefault) IsCode(code int) bool
- func (o *GetDiagnosticActivationsIDMessagesDefault) IsRedirect() bool
- func (o *GetDiagnosticActivationsIDMessagesDefault) IsServerError() bool
- func (o *GetDiagnosticActivationsIDMessagesDefault) IsSuccess() bool
- func (o *GetDiagnosticActivationsIDMessagesDefault) String() string
- type GetDiagnosticActivationsIDMessagesForbidden
- func (o *GetDiagnosticActivationsIDMessagesForbidden) Code() int
- func (o *GetDiagnosticActivationsIDMessagesForbidden) Error() string
- func (o *GetDiagnosticActivationsIDMessagesForbidden) GetPayload() *models.Forbidden
- func (o *GetDiagnosticActivationsIDMessagesForbidden) IsClientError() bool
- func (o *GetDiagnosticActivationsIDMessagesForbidden) IsCode(code int) bool
- func (o *GetDiagnosticActivationsIDMessagesForbidden) IsRedirect() bool
- func (o *GetDiagnosticActivationsIDMessagesForbidden) IsServerError() bool
- func (o *GetDiagnosticActivationsIDMessagesForbidden) IsSuccess() bool
- func (o *GetDiagnosticActivationsIDMessagesForbidden) String() string
- type GetDiagnosticActivationsIDMessagesNotFound
- func (o *GetDiagnosticActivationsIDMessagesNotFound) Code() int
- func (o *GetDiagnosticActivationsIDMessagesNotFound) Error() string
- func (o *GetDiagnosticActivationsIDMessagesNotFound) GetPayload() *models.Notfound
- func (o *GetDiagnosticActivationsIDMessagesNotFound) IsClientError() bool
- func (o *GetDiagnosticActivationsIDMessagesNotFound) IsCode(code int) bool
- func (o *GetDiagnosticActivationsIDMessagesNotFound) IsRedirect() bool
- func (o *GetDiagnosticActivationsIDMessagesNotFound) IsServerError() bool
- func (o *GetDiagnosticActivationsIDMessagesNotFound) IsSuccess() bool
- func (o *GetDiagnosticActivationsIDMessagesNotFound) String() string
- type GetDiagnosticActivationsIDMessagesOK
- func (o *GetDiagnosticActivationsIDMessagesOK) Code() int
- func (o *GetDiagnosticActivationsIDMessagesOK) Error() string
- func (o *GetDiagnosticActivationsIDMessagesOK) GetPayload() *models.PagedDiagnosticInformationMessages
- func (o *GetDiagnosticActivationsIDMessagesOK) IsClientError() bool
- func (o *GetDiagnosticActivationsIDMessagesOK) IsCode(code int) bool
- func (o *GetDiagnosticActivationsIDMessagesOK) IsRedirect() bool
- func (o *GetDiagnosticActivationsIDMessagesOK) IsServerError() bool
- func (o *GetDiagnosticActivationsIDMessagesOK) IsSuccess() bool
- func (o *GetDiagnosticActivationsIDMessagesOK) String() string
- type GetDiagnosticActivationsIDMessagesParams
- func NewGetDiagnosticActivationsIDMessagesParams() *GetDiagnosticActivationsIDMessagesParams
- func NewGetDiagnosticActivationsIDMessagesParamsWithContext(ctx context.Context) *GetDiagnosticActivationsIDMessagesParams
- func NewGetDiagnosticActivationsIDMessagesParamsWithHTTPClient(client *http.Client) *GetDiagnosticActivationsIDMessagesParams
- func NewGetDiagnosticActivationsIDMessagesParamsWithTimeout(timeout time.Duration) *GetDiagnosticActivationsIDMessagesParams
- func (o *GetDiagnosticActivationsIDMessagesParams) SetContext(ctx context.Context)
- func (o *GetDiagnosticActivationsIDMessagesParams) SetDefaults()
- func (o *GetDiagnosticActivationsIDMessagesParams) SetFilter(filter *string)
- func (o *GetDiagnosticActivationsIDMessagesParams) SetHTTPClient(client *http.Client)
- func (o *GetDiagnosticActivationsIDMessagesParams) SetID(id string)
- func (o *GetDiagnosticActivationsIDMessagesParams) SetPage(page *int32)
- func (o *GetDiagnosticActivationsIDMessagesParams) SetSize(size *int32)
- func (o *GetDiagnosticActivationsIDMessagesParams) SetSort(sort *string)
- func (o *GetDiagnosticActivationsIDMessagesParams) SetTimeout(timeout time.Duration)
- func (o *GetDiagnosticActivationsIDMessagesParams) WithContext(ctx context.Context) *GetDiagnosticActivationsIDMessagesParams
- func (o *GetDiagnosticActivationsIDMessagesParams) WithDefaults() *GetDiagnosticActivationsIDMessagesParams
- func (o *GetDiagnosticActivationsIDMessagesParams) WithFilter(filter *string) *GetDiagnosticActivationsIDMessagesParams
- func (o *GetDiagnosticActivationsIDMessagesParams) WithHTTPClient(client *http.Client) *GetDiagnosticActivationsIDMessagesParams
- func (o *GetDiagnosticActivationsIDMessagesParams) WithID(id string) *GetDiagnosticActivationsIDMessagesParams
- func (o *GetDiagnosticActivationsIDMessagesParams) WithPage(page *int32) *GetDiagnosticActivationsIDMessagesParams
- func (o *GetDiagnosticActivationsIDMessagesParams) WithSize(size *int32) *GetDiagnosticActivationsIDMessagesParams
- func (o *GetDiagnosticActivationsIDMessagesParams) WithSort(sort *string) *GetDiagnosticActivationsIDMessagesParams
- func (o *GetDiagnosticActivationsIDMessagesParams) WithTimeout(timeout time.Duration) *GetDiagnosticActivationsIDMessagesParams
- func (o *GetDiagnosticActivationsIDMessagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDiagnosticActivationsIDMessagesReader
- type GetDiagnosticActivationsIDMessagesUnauthorized
- func (o *GetDiagnosticActivationsIDMessagesUnauthorized) Code() int
- func (o *GetDiagnosticActivationsIDMessagesUnauthorized) Error() string
- func (o *GetDiagnosticActivationsIDMessagesUnauthorized) GetPayload() *models.Unauthorized
- func (o *GetDiagnosticActivationsIDMessagesUnauthorized) IsClientError() bool
- func (o *GetDiagnosticActivationsIDMessagesUnauthorized) IsCode(code int) bool
- func (o *GetDiagnosticActivationsIDMessagesUnauthorized) IsRedirect() bool
- func (o *GetDiagnosticActivationsIDMessagesUnauthorized) IsServerError() bool
- func (o *GetDiagnosticActivationsIDMessagesUnauthorized) IsSuccess() bool
- func (o *GetDiagnosticActivationsIDMessagesUnauthorized) String() string
- type GetDiagnosticActivationsIDNotFound
- func (o *GetDiagnosticActivationsIDNotFound) Code() int
- func (o *GetDiagnosticActivationsIDNotFound) Error() string
- func (o *GetDiagnosticActivationsIDNotFound) GetPayload() *models.Notfound
- func (o *GetDiagnosticActivationsIDNotFound) IsClientError() bool
- func (o *GetDiagnosticActivationsIDNotFound) IsCode(code int) bool
- func (o *GetDiagnosticActivationsIDNotFound) IsRedirect() bool
- func (o *GetDiagnosticActivationsIDNotFound) IsServerError() bool
- func (o *GetDiagnosticActivationsIDNotFound) IsSuccess() bool
- func (o *GetDiagnosticActivationsIDNotFound) String() string
- type GetDiagnosticActivationsIDOK
- func (o *GetDiagnosticActivationsIDOK) Code() int
- func (o *GetDiagnosticActivationsIDOK) Error() string
- func (o *GetDiagnosticActivationsIDOK) GetPayload() *models.DiagnosticActivation
- func (o *GetDiagnosticActivationsIDOK) IsClientError() bool
- func (o *GetDiagnosticActivationsIDOK) IsCode(code int) bool
- func (o *GetDiagnosticActivationsIDOK) IsRedirect() bool
- func (o *GetDiagnosticActivationsIDOK) IsServerError() bool
- func (o *GetDiagnosticActivationsIDOK) IsSuccess() bool
- func (o *GetDiagnosticActivationsIDOK) String() string
- type GetDiagnosticActivationsIDParams
- func NewGetDiagnosticActivationsIDParams() *GetDiagnosticActivationsIDParams
- func NewGetDiagnosticActivationsIDParamsWithContext(ctx context.Context) *GetDiagnosticActivationsIDParams
- func NewGetDiagnosticActivationsIDParamsWithHTTPClient(client *http.Client) *GetDiagnosticActivationsIDParams
- func NewGetDiagnosticActivationsIDParamsWithTimeout(timeout time.Duration) *GetDiagnosticActivationsIDParams
- func (o *GetDiagnosticActivationsIDParams) SetContext(ctx context.Context)
- func (o *GetDiagnosticActivationsIDParams) SetDefaults()
- func (o *GetDiagnosticActivationsIDParams) SetHTTPClient(client *http.Client)
- func (o *GetDiagnosticActivationsIDParams) SetID(id string)
- func (o *GetDiagnosticActivationsIDParams) SetTimeout(timeout time.Duration)
- func (o *GetDiagnosticActivationsIDParams) WithContext(ctx context.Context) *GetDiagnosticActivationsIDParams
- func (o *GetDiagnosticActivationsIDParams) WithDefaults() *GetDiagnosticActivationsIDParams
- func (o *GetDiagnosticActivationsIDParams) WithHTTPClient(client *http.Client) *GetDiagnosticActivationsIDParams
- func (o *GetDiagnosticActivationsIDParams) WithID(id string) *GetDiagnosticActivationsIDParams
- func (o *GetDiagnosticActivationsIDParams) WithTimeout(timeout time.Duration) *GetDiagnosticActivationsIDParams
- func (o *GetDiagnosticActivationsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDiagnosticActivationsIDReader
- type GetDiagnosticActivationsIDUnauthorized
- func (o *GetDiagnosticActivationsIDUnauthorized) Code() int
- func (o *GetDiagnosticActivationsIDUnauthorized) Error() string
- func (o *GetDiagnosticActivationsIDUnauthorized) GetPayload() *models.Unauthorized
- func (o *GetDiagnosticActivationsIDUnauthorized) IsClientError() bool
- func (o *GetDiagnosticActivationsIDUnauthorized) IsCode(code int) bool
- func (o *GetDiagnosticActivationsIDUnauthorized) IsRedirect() bool
- func (o *GetDiagnosticActivationsIDUnauthorized) IsServerError() bool
- func (o *GetDiagnosticActivationsIDUnauthorized) IsSuccess() bool
- func (o *GetDiagnosticActivationsIDUnauthorized) String() string
- type GetDiagnosticActivationsOK
- func (o *GetDiagnosticActivationsOK) Code() int
- func (o *GetDiagnosticActivationsOK) Error() string
- func (o *GetDiagnosticActivationsOK) GetPayload() *models.PagedDiagnosticActivation
- func (o *GetDiagnosticActivationsOK) IsClientError() bool
- func (o *GetDiagnosticActivationsOK) IsCode(code int) bool
- func (o *GetDiagnosticActivationsOK) IsRedirect() bool
- func (o *GetDiagnosticActivationsOK) IsServerError() bool
- func (o *GetDiagnosticActivationsOK) IsSuccess() bool
- func (o *GetDiagnosticActivationsOK) String() string
- type GetDiagnosticActivationsParams
- func NewGetDiagnosticActivationsParams() *GetDiagnosticActivationsParams
- func NewGetDiagnosticActivationsParamsWithContext(ctx context.Context) *GetDiagnosticActivationsParams
- func NewGetDiagnosticActivationsParamsWithHTTPClient(client *http.Client) *GetDiagnosticActivationsParams
- func NewGetDiagnosticActivationsParamsWithTimeout(timeout time.Duration) *GetDiagnosticActivationsParams
- func (o *GetDiagnosticActivationsParams) SetContext(ctx context.Context)
- func (o *GetDiagnosticActivationsParams) SetDefaults()
- func (o *GetDiagnosticActivationsParams) SetHTTPClient(client *http.Client)
- func (o *GetDiagnosticActivationsParams) SetPage(page *int32)
- func (o *GetDiagnosticActivationsParams) SetSize(size *int32)
- func (o *GetDiagnosticActivationsParams) SetSort(sort *string)
- func (o *GetDiagnosticActivationsParams) SetTimeout(timeout time.Duration)
- func (o *GetDiagnosticActivationsParams) WithContext(ctx context.Context) *GetDiagnosticActivationsParams
- func (o *GetDiagnosticActivationsParams) WithDefaults() *GetDiagnosticActivationsParams
- func (o *GetDiagnosticActivationsParams) WithHTTPClient(client *http.Client) *GetDiagnosticActivationsParams
- func (o *GetDiagnosticActivationsParams) WithPage(page *int32) *GetDiagnosticActivationsParams
- func (o *GetDiagnosticActivationsParams) WithSize(size *int32) *GetDiagnosticActivationsParams
- func (o *GetDiagnosticActivationsParams) WithSort(sort *string) *GetDiagnosticActivationsParams
- func (o *GetDiagnosticActivationsParams) WithTimeout(timeout time.Duration) *GetDiagnosticActivationsParams
- func (o *GetDiagnosticActivationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDiagnosticActivationsReader
- type GetDiagnosticActivationsUnauthorized
- func (o *GetDiagnosticActivationsUnauthorized) Code() int
- func (o *GetDiagnosticActivationsUnauthorized) Error() string
- func (o *GetDiagnosticActivationsUnauthorized) GetPayload() *models.Unauthorized
- func (o *GetDiagnosticActivationsUnauthorized) IsClientError() bool
- func (o *GetDiagnosticActivationsUnauthorized) IsCode(code int) bool
- func (o *GetDiagnosticActivationsUnauthorized) IsRedirect() bool
- func (o *GetDiagnosticActivationsUnauthorized) IsServerError() bool
- func (o *GetDiagnosticActivationsUnauthorized) IsSuccess() bool
- func (o *GetDiagnosticActivationsUnauthorized) String() string
- type PostDiagnosticActivationsBadRequest
- func (o *PostDiagnosticActivationsBadRequest) Code() int
- func (o *PostDiagnosticActivationsBadRequest) Error() string
- func (o *PostDiagnosticActivationsBadRequest) GetPayload() *models.Badrequest
- func (o *PostDiagnosticActivationsBadRequest) IsClientError() bool
- func (o *PostDiagnosticActivationsBadRequest) IsCode(code int) bool
- func (o *PostDiagnosticActivationsBadRequest) IsRedirect() bool
- func (o *PostDiagnosticActivationsBadRequest) IsServerError() bool
- func (o *PostDiagnosticActivationsBadRequest) IsSuccess() bool
- func (o *PostDiagnosticActivationsBadRequest) String() string
- type PostDiagnosticActivationsConflict
- func (o *PostDiagnosticActivationsConflict) Code() int
- func (o *PostDiagnosticActivationsConflict) Error() string
- func (o *PostDiagnosticActivationsConflict) GetPayload() *models.Conflict
- func (o *PostDiagnosticActivationsConflict) IsClientError() bool
- func (o *PostDiagnosticActivationsConflict) IsCode(code int) bool
- func (o *PostDiagnosticActivationsConflict) IsRedirect() bool
- func (o *PostDiagnosticActivationsConflict) IsServerError() bool
- func (o *PostDiagnosticActivationsConflict) IsSuccess() bool
- func (o *PostDiagnosticActivationsConflict) String() string
- type PostDiagnosticActivationsCreated
- func (o *PostDiagnosticActivationsCreated) Code() int
- func (o *PostDiagnosticActivationsCreated) Error() string
- func (o *PostDiagnosticActivationsCreated) GetPayload() *models.DiagnosticActivation
- func (o *PostDiagnosticActivationsCreated) IsClientError() bool
- func (o *PostDiagnosticActivationsCreated) IsCode(code int) bool
- func (o *PostDiagnosticActivationsCreated) IsRedirect() bool
- func (o *PostDiagnosticActivationsCreated) IsServerError() bool
- func (o *PostDiagnosticActivationsCreated) IsSuccess() bool
- func (o *PostDiagnosticActivationsCreated) String() string
- type PostDiagnosticActivationsDefault
- func (o *PostDiagnosticActivationsDefault) Code() int
- func (o *PostDiagnosticActivationsDefault) Error() string
- func (o *PostDiagnosticActivationsDefault) GetPayload() *models.Error
- func (o *PostDiagnosticActivationsDefault) IsClientError() bool
- func (o *PostDiagnosticActivationsDefault) IsCode(code int) bool
- func (o *PostDiagnosticActivationsDefault) IsRedirect() bool
- func (o *PostDiagnosticActivationsDefault) IsServerError() bool
- func (o *PostDiagnosticActivationsDefault) IsSuccess() bool
- func (o *PostDiagnosticActivationsDefault) String() string
- type PostDiagnosticActivationsForbidden
- func (o *PostDiagnosticActivationsForbidden) Code() int
- func (o *PostDiagnosticActivationsForbidden) Error() string
- func (o *PostDiagnosticActivationsForbidden) GetPayload() *models.Forbidden
- func (o *PostDiagnosticActivationsForbidden) IsClientError() bool
- func (o *PostDiagnosticActivationsForbidden) IsCode(code int) bool
- func (o *PostDiagnosticActivationsForbidden) IsRedirect() bool
- func (o *PostDiagnosticActivationsForbidden) IsServerError() bool
- func (o *PostDiagnosticActivationsForbidden) IsSuccess() bool
- func (o *PostDiagnosticActivationsForbidden) String() string
- type PostDiagnosticActivationsParams
- func NewPostDiagnosticActivationsParams() *PostDiagnosticActivationsParams
- func NewPostDiagnosticActivationsParamsWithContext(ctx context.Context) *PostDiagnosticActivationsParams
- func NewPostDiagnosticActivationsParamsWithHTTPClient(client *http.Client) *PostDiagnosticActivationsParams
- func NewPostDiagnosticActivationsParamsWithTimeout(timeout time.Duration) *PostDiagnosticActivationsParams
- func (o *PostDiagnosticActivationsParams) SetContext(ctx context.Context)
- func (o *PostDiagnosticActivationsParams) SetDefaults()
- func (o *PostDiagnosticActivationsParams) SetDiagnosticActivation(diagnosticActivation *models.DiagnosticActivation)
- func (o *PostDiagnosticActivationsParams) SetHTTPClient(client *http.Client)
- func (o *PostDiagnosticActivationsParams) SetTimeout(timeout time.Duration)
- func (o *PostDiagnosticActivationsParams) WithContext(ctx context.Context) *PostDiagnosticActivationsParams
- func (o *PostDiagnosticActivationsParams) WithDefaults() *PostDiagnosticActivationsParams
- func (o *PostDiagnosticActivationsParams) WithDiagnosticActivation(diagnosticActivation *models.DiagnosticActivation) *PostDiagnosticActivationsParams
- func (o *PostDiagnosticActivationsParams) WithHTTPClient(client *http.Client) *PostDiagnosticActivationsParams
- func (o *PostDiagnosticActivationsParams) WithTimeout(timeout time.Duration) *PostDiagnosticActivationsParams
- func (o *PostDiagnosticActivationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostDiagnosticActivationsReader
- type PostDiagnosticActivationsUnauthorized
- func (o *PostDiagnosticActivationsUnauthorized) Code() int
- func (o *PostDiagnosticActivationsUnauthorized) Error() string
- func (o *PostDiagnosticActivationsUnauthorized) GetPayload() *models.Unauthorized
- func (o *PostDiagnosticActivationsUnauthorized) IsClientError() bool
- func (o *PostDiagnosticActivationsUnauthorized) IsCode(code int) bool
- func (o *PostDiagnosticActivationsUnauthorized) IsRedirect() bool
- func (o *PostDiagnosticActivationsUnauthorized) IsServerError() bool
- func (o *PostDiagnosticActivationsUnauthorized) IsSuccess() bool
- func (o *PostDiagnosticActivationsUnauthorized) String() string
- type PutDiagnosticActivationsIDBadRequest
- func (o *PutDiagnosticActivationsIDBadRequest) Code() int
- func (o *PutDiagnosticActivationsIDBadRequest) Error() string
- func (o *PutDiagnosticActivationsIDBadRequest) GetPayload() *models.Badrequest
- func (o *PutDiagnosticActivationsIDBadRequest) IsClientError() bool
- func (o *PutDiagnosticActivationsIDBadRequest) IsCode(code int) bool
- func (o *PutDiagnosticActivationsIDBadRequest) IsRedirect() bool
- func (o *PutDiagnosticActivationsIDBadRequest) IsServerError() bool
- func (o *PutDiagnosticActivationsIDBadRequest) IsSuccess() bool
- func (o *PutDiagnosticActivationsIDBadRequest) String() string
- type PutDiagnosticActivationsIDDefault
- func (o *PutDiagnosticActivationsIDDefault) Code() int
- func (o *PutDiagnosticActivationsIDDefault) Error() string
- func (o *PutDiagnosticActivationsIDDefault) GetPayload() *models.Error
- func (o *PutDiagnosticActivationsIDDefault) IsClientError() bool
- func (o *PutDiagnosticActivationsIDDefault) IsCode(code int) bool
- func (o *PutDiagnosticActivationsIDDefault) IsRedirect() bool
- func (o *PutDiagnosticActivationsIDDefault) IsServerError() bool
- func (o *PutDiagnosticActivationsIDDefault) IsSuccess() bool
- func (o *PutDiagnosticActivationsIDDefault) String() string
- type PutDiagnosticActivationsIDForbidden
- func (o *PutDiagnosticActivationsIDForbidden) Code() int
- func (o *PutDiagnosticActivationsIDForbidden) Error() string
- func (o *PutDiagnosticActivationsIDForbidden) GetPayload() *models.Forbidden
- func (o *PutDiagnosticActivationsIDForbidden) IsClientError() bool
- func (o *PutDiagnosticActivationsIDForbidden) IsCode(code int) bool
- func (o *PutDiagnosticActivationsIDForbidden) IsRedirect() bool
- func (o *PutDiagnosticActivationsIDForbidden) IsServerError() bool
- func (o *PutDiagnosticActivationsIDForbidden) IsSuccess() bool
- func (o *PutDiagnosticActivationsIDForbidden) String() string
- type PutDiagnosticActivationsIDNotFound
- func (o *PutDiagnosticActivationsIDNotFound) Code() int
- func (o *PutDiagnosticActivationsIDNotFound) Error() string
- func (o *PutDiagnosticActivationsIDNotFound) GetPayload() *models.Notfound
- func (o *PutDiagnosticActivationsIDNotFound) IsClientError() bool
- func (o *PutDiagnosticActivationsIDNotFound) IsCode(code int) bool
- func (o *PutDiagnosticActivationsIDNotFound) IsRedirect() bool
- func (o *PutDiagnosticActivationsIDNotFound) IsServerError() bool
- func (o *PutDiagnosticActivationsIDNotFound) IsSuccess() bool
- func (o *PutDiagnosticActivationsIDNotFound) String() string
- type PutDiagnosticActivationsIDOK
- func (o *PutDiagnosticActivationsIDOK) Code() int
- func (o *PutDiagnosticActivationsIDOK) Error() string
- func (o *PutDiagnosticActivationsIDOK) GetPayload() *models.DiagnosticActivation
- func (o *PutDiagnosticActivationsIDOK) IsClientError() bool
- func (o *PutDiagnosticActivationsIDOK) IsCode(code int) bool
- func (o *PutDiagnosticActivationsIDOK) IsRedirect() bool
- func (o *PutDiagnosticActivationsIDOK) IsServerError() bool
- func (o *PutDiagnosticActivationsIDOK) IsSuccess() bool
- func (o *PutDiagnosticActivationsIDOK) String() string
- type PutDiagnosticActivationsIDParams
- func NewPutDiagnosticActivationsIDParams() *PutDiagnosticActivationsIDParams
- func NewPutDiagnosticActivationsIDParamsWithContext(ctx context.Context) *PutDiagnosticActivationsIDParams
- func NewPutDiagnosticActivationsIDParamsWithHTTPClient(client *http.Client) *PutDiagnosticActivationsIDParams
- func NewPutDiagnosticActivationsIDParamsWithTimeout(timeout time.Duration) *PutDiagnosticActivationsIDParams
- func (o *PutDiagnosticActivationsIDParams) SetContext(ctx context.Context)
- func (o *PutDiagnosticActivationsIDParams) SetDefaults()
- func (o *PutDiagnosticActivationsIDParams) SetDiagnosticActivationStatus(diagnosticActivationStatus *models.DiagnosticActivationStatus)
- func (o *PutDiagnosticActivationsIDParams) SetHTTPClient(client *http.Client)
- func (o *PutDiagnosticActivationsIDParams) SetID(id strfmt.UUID)
- func (o *PutDiagnosticActivationsIDParams) SetTimeout(timeout time.Duration)
- func (o *PutDiagnosticActivationsIDParams) WithContext(ctx context.Context) *PutDiagnosticActivationsIDParams
- func (o *PutDiagnosticActivationsIDParams) WithDefaults() *PutDiagnosticActivationsIDParams
- func (o *PutDiagnosticActivationsIDParams) WithDiagnosticActivationStatus(diagnosticActivationStatus *models.DiagnosticActivationStatus) *PutDiagnosticActivationsIDParams
- func (o *PutDiagnosticActivationsIDParams) WithHTTPClient(client *http.Client) *PutDiagnosticActivationsIDParams
- func (o *PutDiagnosticActivationsIDParams) WithID(id strfmt.UUID) *PutDiagnosticActivationsIDParams
- func (o *PutDiagnosticActivationsIDParams) WithTimeout(timeout time.Duration) *PutDiagnosticActivationsIDParams
- func (o *PutDiagnosticActivationsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutDiagnosticActivationsIDReader
- type PutDiagnosticActivationsIDUnauthorized
- func (o *PutDiagnosticActivationsIDUnauthorized) Code() int
- func (o *PutDiagnosticActivationsIDUnauthorized) Error() string
- func (o *PutDiagnosticActivationsIDUnauthorized) GetPayload() *models.Unauthorized
- func (o *PutDiagnosticActivationsIDUnauthorized) IsClientError() bool
- func (o *PutDiagnosticActivationsIDUnauthorized) IsCode(code int) bool
- func (o *PutDiagnosticActivationsIDUnauthorized) IsRedirect() bool
- func (o *PutDiagnosticActivationsIDUnauthorized) IsServerError() bool
- func (o *PutDiagnosticActivationsIDUnauthorized) IsSuccess() bool
- func (o *PutDiagnosticActivationsIDUnauthorized) String() string
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 ¶
func (a *Client) DeleteDiagnosticActivationsID(params *DeleteDiagnosticActivationsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDiagnosticActivationsIDNoContent, error)
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 ¶
func (o *DeleteDiagnosticActivationsIDBadRequest) Code() int
Code gets the status code for the delete diagnostic activations Id bad request response
func (*DeleteDiagnosticActivationsIDBadRequest) Error ¶
func (o *DeleteDiagnosticActivationsIDBadRequest) Error() string
func (*DeleteDiagnosticActivationsIDBadRequest) GetPayload ¶
func (o *DeleteDiagnosticActivationsIDBadRequest) GetPayload() *models.Badrequest
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 ¶
func (o *DeleteDiagnosticActivationsIDBadRequest) IsCode(code int) bool
IsCode returns true when this delete diagnostic activations Id bad request response a status code equal to that given
func (*DeleteDiagnosticActivationsIDBadRequest) IsRedirect ¶
func (o *DeleteDiagnosticActivationsIDBadRequest) IsRedirect() bool
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 ¶
func (o *DeleteDiagnosticActivationsIDBadRequest) IsSuccess() bool
IsSuccess returns true when this delete diagnostic activations Id bad request response has a 2xx status code
func (*DeleteDiagnosticActivationsIDBadRequest) String ¶
func (o *DeleteDiagnosticActivationsIDBadRequest) String() 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 ¶
func (o *DeleteDiagnosticActivationsIDDefault) Code() int
Code gets the status code for the delete diagnostic activations ID default response
func (*DeleteDiagnosticActivationsIDDefault) Error ¶
func (o *DeleteDiagnosticActivationsIDDefault) Error() string
func (*DeleteDiagnosticActivationsIDDefault) GetPayload ¶
func (o *DeleteDiagnosticActivationsIDDefault) GetPayload() *models.Error
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 ¶
func (o *DeleteDiagnosticActivationsIDDefault) IsCode(code int) bool
IsCode returns true when this delete diagnostic activations ID default response a status code equal to that given
func (*DeleteDiagnosticActivationsIDDefault) IsRedirect ¶
func (o *DeleteDiagnosticActivationsIDDefault) IsRedirect() bool
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 ¶
func (o *DeleteDiagnosticActivationsIDDefault) IsSuccess() bool
IsSuccess returns true when this delete diagnostic activations ID default response has a 2xx status code
func (*DeleteDiagnosticActivationsIDDefault) String ¶
func (o *DeleteDiagnosticActivationsIDDefault) String() string
type DeleteDiagnosticActivationsIDForbidden ¶
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 ¶
func (o *DeleteDiagnosticActivationsIDForbidden) Code() int
Code gets the status code for the delete diagnostic activations Id forbidden response
func (*DeleteDiagnosticActivationsIDForbidden) Error ¶
func (o *DeleteDiagnosticActivationsIDForbidden) Error() string
func (*DeleteDiagnosticActivationsIDForbidden) GetPayload ¶
func (o *DeleteDiagnosticActivationsIDForbidden) GetPayload() *models.Forbidden
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 ¶
func (o *DeleteDiagnosticActivationsIDForbidden) IsCode(code int) bool
IsCode returns true when this delete diagnostic activations Id forbidden response a status code equal to that given
func (*DeleteDiagnosticActivationsIDForbidden) IsRedirect ¶
func (o *DeleteDiagnosticActivationsIDForbidden) IsRedirect() bool
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 ¶
func (o *DeleteDiagnosticActivationsIDForbidden) IsSuccess() bool
IsSuccess returns true when this delete diagnostic activations Id forbidden response has a 2xx status code
func (*DeleteDiagnosticActivationsIDForbidden) String ¶
func (o *DeleteDiagnosticActivationsIDForbidden) String() 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 ¶
func (o *DeleteDiagnosticActivationsIDNoContent) Code() int
Code gets the status code for the delete diagnostic activations Id no content response
func (*DeleteDiagnosticActivationsIDNoContent) Error ¶
func (o *DeleteDiagnosticActivationsIDNoContent) Error() string
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 ¶
func (o *DeleteDiagnosticActivationsIDNoContent) IsCode(code int) bool
IsCode returns true when this delete diagnostic activations Id no content response a status code equal to that given
func (*DeleteDiagnosticActivationsIDNoContent) IsRedirect ¶
func (o *DeleteDiagnosticActivationsIDNoContent) IsRedirect() bool
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 ¶
func (o *DeleteDiagnosticActivationsIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete diagnostic activations Id no content response has a 2xx status code
func (*DeleteDiagnosticActivationsIDNoContent) String ¶
func (o *DeleteDiagnosticActivationsIDNoContent) String() string
type DeleteDiagnosticActivationsIDNotFound ¶
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 ¶
func (o *DeleteDiagnosticActivationsIDNotFound) Code() int
Code gets the status code for the delete diagnostic activations Id not found response
func (*DeleteDiagnosticActivationsIDNotFound) Error ¶
func (o *DeleteDiagnosticActivationsIDNotFound) Error() string
func (*DeleteDiagnosticActivationsIDNotFound) GetPayload ¶
func (o *DeleteDiagnosticActivationsIDNotFound) GetPayload() *models.Notfound
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 ¶
func (o *DeleteDiagnosticActivationsIDNotFound) IsCode(code int) bool
IsCode returns true when this delete diagnostic activations Id not found response a status code equal to that given
func (*DeleteDiagnosticActivationsIDNotFound) IsRedirect ¶
func (o *DeleteDiagnosticActivationsIDNotFound) IsRedirect() bool
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 ¶
func (o *DeleteDiagnosticActivationsIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete diagnostic activations Id not found response has a 2xx status code
func (*DeleteDiagnosticActivationsIDNotFound) String ¶
func (o *DeleteDiagnosticActivationsIDNotFound) String() 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 ¶
func (o *DeleteDiagnosticActivationsIDParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteDiagnosticActivationsIDParams) SetID(id string)
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 ¶
func (o *DeleteDiagnosticActivationsIDParams) WithContext(ctx context.Context) *DeleteDiagnosticActivationsIDParams
WithContext adds the context to the delete diagnostic activations ID params
func (*DeleteDiagnosticActivationsIDParams) WithDefaults ¶
func (o *DeleteDiagnosticActivationsIDParams) WithDefaults() *DeleteDiagnosticActivationsIDParams
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 ¶
func (o *DeleteDiagnosticActivationsIDParams) WithHTTPClient(client *http.Client) *DeleteDiagnosticActivationsIDParams
WithHTTPClient adds the HTTPClient to the delete diagnostic activations ID params
func (*DeleteDiagnosticActivationsIDParams) WithID ¶
func (o *DeleteDiagnosticActivationsIDParams) WithID(id string) *DeleteDiagnosticActivationsIDParams
WithID adds the id to the delete diagnostic activations ID params
func (*DeleteDiagnosticActivationsIDParams) WithTimeout ¶
func (o *DeleteDiagnosticActivationsIDParams) WithTimeout(timeout time.Duration) *DeleteDiagnosticActivationsIDParams
WithTimeout adds the timeout to the delete diagnostic activations ID params
func (*DeleteDiagnosticActivationsIDParams) WriteToRequest ¶
func (o *DeleteDiagnosticActivationsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *DeleteDiagnosticActivationsIDUnauthorized) Code() int
Code gets the status code for the delete diagnostic activations Id unauthorized response
func (*DeleteDiagnosticActivationsIDUnauthorized) Error ¶
func (o *DeleteDiagnosticActivationsIDUnauthorized) Error() string
func (*DeleteDiagnosticActivationsIDUnauthorized) GetPayload ¶
func (o *DeleteDiagnosticActivationsIDUnauthorized) GetPayload() *models.Unauthorized
func (*DeleteDiagnosticActivationsIDUnauthorized) IsClientError ¶
func (o *DeleteDiagnosticActivationsIDUnauthorized) IsClientError() bool
IsClientError returns true when this delete diagnostic activations Id unauthorized response has a 4xx status code
func (*DeleteDiagnosticActivationsIDUnauthorized) IsCode ¶
func (o *DeleteDiagnosticActivationsIDUnauthorized) IsCode(code int) bool
IsCode returns true when this delete diagnostic activations Id unauthorized response a status code equal to that given
func (*DeleteDiagnosticActivationsIDUnauthorized) IsRedirect ¶
func (o *DeleteDiagnosticActivationsIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete diagnostic activations Id unauthorized response has a 3xx status code
func (*DeleteDiagnosticActivationsIDUnauthorized) IsServerError ¶
func (o *DeleteDiagnosticActivationsIDUnauthorized) IsServerError() bool
IsServerError returns true when this delete diagnostic activations Id unauthorized response has a 5xx status code
func (*DeleteDiagnosticActivationsIDUnauthorized) IsSuccess ¶
func (o *DeleteDiagnosticActivationsIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete diagnostic activations Id unauthorized response has a 2xx status code
func (*DeleteDiagnosticActivationsIDUnauthorized) String ¶
func (o *DeleteDiagnosticActivationsIDUnauthorized) String() 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 ¶
func (o *GetDiagnosticActivationsBadRequest) Code() int
Code gets the status code for the get diagnostic activations bad request response
func (*GetDiagnosticActivationsBadRequest) Error ¶
func (o *GetDiagnosticActivationsBadRequest) Error() string
func (*GetDiagnosticActivationsBadRequest) GetPayload ¶
func (o *GetDiagnosticActivationsBadRequest) GetPayload() *models.Badrequest
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 ¶
func (o *GetDiagnosticActivationsBadRequest) IsCode(code int) bool
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 ¶
func (o *GetDiagnosticActivationsBadRequest) IsSuccess() bool
IsSuccess returns true when this get diagnostic activations bad request response has a 2xx status code
func (*GetDiagnosticActivationsBadRequest) String ¶
func (o *GetDiagnosticActivationsBadRequest) String() 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 ¶
func (o *GetDiagnosticActivationsDefault) Code() int
Code gets the status code for the get diagnostic activations default response
func (*GetDiagnosticActivationsDefault) Error ¶
func (o *GetDiagnosticActivationsDefault) Error() string
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 ¶
func (o *GetDiagnosticActivationsDefault) String() string
type GetDiagnosticActivationsForbidden ¶
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 ¶
func (o *GetDiagnosticActivationsForbidden) Code() int
Code gets the status code for the get diagnostic activations forbidden response
func (*GetDiagnosticActivationsForbidden) Error ¶
func (o *GetDiagnosticActivationsForbidden) Error() string
func (*GetDiagnosticActivationsForbidden) GetPayload ¶
func (o *GetDiagnosticActivationsForbidden) GetPayload() *models.Forbidden
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 ¶
func (o *GetDiagnosticActivationsForbidden) String() 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 ¶
func (o *GetDiagnosticActivationsIDBadRequest) Code() int
Code gets the status code for the get diagnostic activations Id bad request response
func (*GetDiagnosticActivationsIDBadRequest) Error ¶
func (o *GetDiagnosticActivationsIDBadRequest) Error() string
func (*GetDiagnosticActivationsIDBadRequest) GetPayload ¶
func (o *GetDiagnosticActivationsIDBadRequest) GetPayload() *models.Badrequest
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 ¶
func (o *GetDiagnosticActivationsIDBadRequest) IsCode(code int) bool
IsCode returns true when this get diagnostic activations Id bad request response a status code equal to that given
func (*GetDiagnosticActivationsIDBadRequest) IsRedirect ¶
func (o *GetDiagnosticActivationsIDBadRequest) IsRedirect() bool
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 ¶
func (o *GetDiagnosticActivationsIDBadRequest) IsSuccess() bool
IsSuccess returns true when this get diagnostic activations Id bad request response has a 2xx status code
func (*GetDiagnosticActivationsIDBadRequest) String ¶
func (o *GetDiagnosticActivationsIDBadRequest) String() 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 ¶
func (o *GetDiagnosticActivationsIDDefault) Code() int
Code gets the status code for the get diagnostic activations ID default response
func (*GetDiagnosticActivationsIDDefault) Error ¶
func (o *GetDiagnosticActivationsIDDefault) Error() string
func (*GetDiagnosticActivationsIDDefault) GetPayload ¶
func (o *GetDiagnosticActivationsIDDefault) GetPayload() *models.Error
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 ¶
func (o *GetDiagnosticActivationsIDDefault) String() string
type GetDiagnosticActivationsIDForbidden ¶
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 ¶
func (o *GetDiagnosticActivationsIDForbidden) Code() int
Code gets the status code for the get diagnostic activations Id forbidden response
func (*GetDiagnosticActivationsIDForbidden) Error ¶
func (o *GetDiagnosticActivationsIDForbidden) Error() string
func (*GetDiagnosticActivationsIDForbidden) GetPayload ¶
func (o *GetDiagnosticActivationsIDForbidden) GetPayload() *models.Forbidden
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 ¶
func (o *GetDiagnosticActivationsIDForbidden) IsCode(code int) bool
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 ¶
func (o *GetDiagnosticActivationsIDForbidden) IsSuccess() bool
IsSuccess returns true when this get diagnostic activations Id forbidden response has a 2xx status code
func (*GetDiagnosticActivationsIDForbidden) String ¶
func (o *GetDiagnosticActivationsIDForbidden) String() 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 ¶
func (o *GetDiagnosticActivationsIDMessagesBadRequest) Code() int
Code gets the status code for the get diagnostic activations Id messages bad request response
func (*GetDiagnosticActivationsIDMessagesBadRequest) Error ¶
func (o *GetDiagnosticActivationsIDMessagesBadRequest) Error() string
func (*GetDiagnosticActivationsIDMessagesBadRequest) GetPayload ¶
func (o *GetDiagnosticActivationsIDMessagesBadRequest) GetPayload() *models.Badrequest
func (*GetDiagnosticActivationsIDMessagesBadRequest) IsClientError ¶
func (o *GetDiagnosticActivationsIDMessagesBadRequest) IsClientError() bool
IsClientError returns true when this get diagnostic activations Id messages bad request response has a 4xx status code
func (*GetDiagnosticActivationsIDMessagesBadRequest) IsCode ¶
func (o *GetDiagnosticActivationsIDMessagesBadRequest) IsCode(code int) bool
IsCode returns true when this get diagnostic activations Id messages bad request response a status code equal to that given
func (*GetDiagnosticActivationsIDMessagesBadRequest) IsRedirect ¶
func (o *GetDiagnosticActivationsIDMessagesBadRequest) IsRedirect() bool
IsRedirect returns true when this get diagnostic activations Id messages bad request response has a 3xx status code
func (*GetDiagnosticActivationsIDMessagesBadRequest) IsServerError ¶
func (o *GetDiagnosticActivationsIDMessagesBadRequest) IsServerError() bool
IsServerError returns true when this get diagnostic activations Id messages bad request response has a 5xx status code
func (*GetDiagnosticActivationsIDMessagesBadRequest) IsSuccess ¶
func (o *GetDiagnosticActivationsIDMessagesBadRequest) IsSuccess() bool
IsSuccess returns true when this get diagnostic activations Id messages bad request response has a 2xx status code
func (*GetDiagnosticActivationsIDMessagesBadRequest) String ¶
func (o *GetDiagnosticActivationsIDMessagesBadRequest) String() 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 ¶
func (o *GetDiagnosticActivationsIDMessagesDefault) Code() int
Code gets the status code for the get diagnostic activations ID messages default response
func (*GetDiagnosticActivationsIDMessagesDefault) Error ¶
func (o *GetDiagnosticActivationsIDMessagesDefault) Error() string
func (*GetDiagnosticActivationsIDMessagesDefault) GetPayload ¶
func (o *GetDiagnosticActivationsIDMessagesDefault) GetPayload() *models.Error
func (*GetDiagnosticActivationsIDMessagesDefault) IsClientError ¶
func (o *GetDiagnosticActivationsIDMessagesDefault) IsClientError() bool
IsClientError returns true when this get diagnostic activations ID messages default response has a 4xx status code
func (*GetDiagnosticActivationsIDMessagesDefault) IsCode ¶
func (o *GetDiagnosticActivationsIDMessagesDefault) IsCode(code int) bool
IsCode returns true when this get diagnostic activations ID messages default response a status code equal to that given
func (*GetDiagnosticActivationsIDMessagesDefault) IsRedirect ¶
func (o *GetDiagnosticActivationsIDMessagesDefault) IsRedirect() bool
IsRedirect returns true when this get diagnostic activations ID messages default response has a 3xx status code
func (*GetDiagnosticActivationsIDMessagesDefault) IsServerError ¶
func (o *GetDiagnosticActivationsIDMessagesDefault) IsServerError() bool
IsServerError returns true when this get diagnostic activations ID messages default response has a 5xx status code
func (*GetDiagnosticActivationsIDMessagesDefault) IsSuccess ¶
func (o *GetDiagnosticActivationsIDMessagesDefault) IsSuccess() bool
IsSuccess returns true when this get diagnostic activations ID messages default response has a 2xx status code
func (*GetDiagnosticActivationsIDMessagesDefault) String ¶
func (o *GetDiagnosticActivationsIDMessagesDefault) String() string
type GetDiagnosticActivationsIDMessagesForbidden ¶
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 ¶
func (o *GetDiagnosticActivationsIDMessagesForbidden) Code() int
Code gets the status code for the get diagnostic activations Id messages forbidden response
func (*GetDiagnosticActivationsIDMessagesForbidden) Error ¶
func (o *GetDiagnosticActivationsIDMessagesForbidden) Error() string
func (*GetDiagnosticActivationsIDMessagesForbidden) GetPayload ¶
func (o *GetDiagnosticActivationsIDMessagesForbidden) GetPayload() *models.Forbidden
func (*GetDiagnosticActivationsIDMessagesForbidden) IsClientError ¶
func (o *GetDiagnosticActivationsIDMessagesForbidden) IsClientError() bool
IsClientError returns true when this get diagnostic activations Id messages forbidden response has a 4xx status code
func (*GetDiagnosticActivationsIDMessagesForbidden) IsCode ¶
func (o *GetDiagnosticActivationsIDMessagesForbidden) IsCode(code int) bool
IsCode returns true when this get diagnostic activations Id messages forbidden response a status code equal to that given
func (*GetDiagnosticActivationsIDMessagesForbidden) IsRedirect ¶
func (o *GetDiagnosticActivationsIDMessagesForbidden) IsRedirect() bool
IsRedirect returns true when this get diagnostic activations Id messages forbidden response has a 3xx status code
func (*GetDiagnosticActivationsIDMessagesForbidden) IsServerError ¶
func (o *GetDiagnosticActivationsIDMessagesForbidden) IsServerError() bool
IsServerError returns true when this get diagnostic activations Id messages forbidden response has a 5xx status code
func (*GetDiagnosticActivationsIDMessagesForbidden) IsSuccess ¶
func (o *GetDiagnosticActivationsIDMessagesForbidden) IsSuccess() bool
IsSuccess returns true when this get diagnostic activations Id messages forbidden response has a 2xx status code
func (*GetDiagnosticActivationsIDMessagesForbidden) String ¶
func (o *GetDiagnosticActivationsIDMessagesForbidden) String() string
type GetDiagnosticActivationsIDMessagesNotFound ¶
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 ¶
func (o *GetDiagnosticActivationsIDMessagesNotFound) Code() int
Code gets the status code for the get diagnostic activations Id messages not found response
func (*GetDiagnosticActivationsIDMessagesNotFound) Error ¶
func (o *GetDiagnosticActivationsIDMessagesNotFound) Error() string
func (*GetDiagnosticActivationsIDMessagesNotFound) GetPayload ¶
func (o *GetDiagnosticActivationsIDMessagesNotFound) GetPayload() *models.Notfound
func (*GetDiagnosticActivationsIDMessagesNotFound) IsClientError ¶
func (o *GetDiagnosticActivationsIDMessagesNotFound) IsClientError() bool
IsClientError returns true when this get diagnostic activations Id messages not found response has a 4xx status code
func (*GetDiagnosticActivationsIDMessagesNotFound) IsCode ¶
func (o *GetDiagnosticActivationsIDMessagesNotFound) IsCode(code int) bool
IsCode returns true when this get diagnostic activations Id messages not found response a status code equal to that given
func (*GetDiagnosticActivationsIDMessagesNotFound) IsRedirect ¶
func (o *GetDiagnosticActivationsIDMessagesNotFound) IsRedirect() bool
IsRedirect returns true when this get diagnostic activations Id messages not found response has a 3xx status code
func (*GetDiagnosticActivationsIDMessagesNotFound) IsServerError ¶
func (o *GetDiagnosticActivationsIDMessagesNotFound) IsServerError() bool
IsServerError returns true when this get diagnostic activations Id messages not found response has a 5xx status code
func (*GetDiagnosticActivationsIDMessagesNotFound) IsSuccess ¶
func (o *GetDiagnosticActivationsIDMessagesNotFound) IsSuccess() bool
IsSuccess returns true when this get diagnostic activations Id messages not found response has a 2xx status code
func (*GetDiagnosticActivationsIDMessagesNotFound) String ¶
func (o *GetDiagnosticActivationsIDMessagesNotFound) String() 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 ¶
func (o *GetDiagnosticActivationsIDMessagesOK) Code() int
Code gets the status code for the get diagnostic activations Id messages o k response
func (*GetDiagnosticActivationsIDMessagesOK) Error ¶
func (o *GetDiagnosticActivationsIDMessagesOK) Error() string
func (*GetDiagnosticActivationsIDMessagesOK) GetPayload ¶
func (o *GetDiagnosticActivationsIDMessagesOK) GetPayload() *models.PagedDiagnosticInformationMessages
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 ¶
func (o *GetDiagnosticActivationsIDMessagesOK) IsCode(code int) bool
IsCode returns true when this get diagnostic activations Id messages o k response a status code equal to that given
func (*GetDiagnosticActivationsIDMessagesOK) IsRedirect ¶
func (o *GetDiagnosticActivationsIDMessagesOK) IsRedirect() bool
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 ¶
func (o *GetDiagnosticActivationsIDMessagesOK) IsSuccess() bool
IsSuccess returns true when this get diagnostic activations Id messages o k response has a 2xx status code
func (*GetDiagnosticActivationsIDMessagesOK) String ¶
func (o *GetDiagnosticActivationsIDMessagesOK) String() 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 ¶
func (o *GetDiagnosticActivationsIDMessagesParams) SetContext(ctx context.Context)
SetContext adds the context to the get diagnostic activations ID messages params
func (*GetDiagnosticActivationsIDMessagesParams) SetDefaults ¶
func (o *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 ¶
func (o *GetDiagnosticActivationsIDMessagesParams) SetID(id string)
SetID adds the id to the get diagnostic activations ID messages params
func (*GetDiagnosticActivationsIDMessagesParams) SetPage ¶
func (o *GetDiagnosticActivationsIDMessagesParams) SetPage(page *int32)
SetPage adds the page to the get diagnostic activations ID messages params
func (*GetDiagnosticActivationsIDMessagesParams) SetSize ¶
func (o *GetDiagnosticActivationsIDMessagesParams) SetSize(size *int32)
SetSize adds the size to the get diagnostic activations ID messages params
func (*GetDiagnosticActivationsIDMessagesParams) SetSort ¶
func (o *GetDiagnosticActivationsIDMessagesParams) SetSort(sort *string)
SetSort adds the sort to the get diagnostic activations ID messages params
func (*GetDiagnosticActivationsIDMessagesParams) SetTimeout ¶
func (o *GetDiagnosticActivationsIDMessagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get diagnostic activations ID messages params
func (*GetDiagnosticActivationsIDMessagesParams) WithContext ¶
func (o *GetDiagnosticActivationsIDMessagesParams) WithContext(ctx context.Context) *GetDiagnosticActivationsIDMessagesParams
WithContext adds the context to the get diagnostic activations ID messages params
func (*GetDiagnosticActivationsIDMessagesParams) WithDefaults ¶
func (o *GetDiagnosticActivationsIDMessagesParams) WithDefaults() *GetDiagnosticActivationsIDMessagesParams
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 ¶
func (o *GetDiagnosticActivationsIDMessagesParams) WithFilter(filter *string) *GetDiagnosticActivationsIDMessagesParams
WithFilter adds the filter to the get diagnostic activations ID messages params
func (*GetDiagnosticActivationsIDMessagesParams) WithHTTPClient ¶
func (o *GetDiagnosticActivationsIDMessagesParams) WithHTTPClient(client *http.Client) *GetDiagnosticActivationsIDMessagesParams
WithHTTPClient adds the HTTPClient to the get diagnostic activations ID messages params
func (*GetDiagnosticActivationsIDMessagesParams) WithID ¶
func (o *GetDiagnosticActivationsIDMessagesParams) WithID(id string) *GetDiagnosticActivationsIDMessagesParams
WithID adds the id to the get diagnostic activations ID messages params
func (*GetDiagnosticActivationsIDMessagesParams) WithPage ¶
func (o *GetDiagnosticActivationsIDMessagesParams) WithPage(page *int32) *GetDiagnosticActivationsIDMessagesParams
WithPage adds the page to the get diagnostic activations ID messages params
func (*GetDiagnosticActivationsIDMessagesParams) WithSize ¶
func (o *GetDiagnosticActivationsIDMessagesParams) WithSize(size *int32) *GetDiagnosticActivationsIDMessagesParams
WithSize adds the size to the get diagnostic activations ID messages params
func (*GetDiagnosticActivationsIDMessagesParams) WithSort ¶
func (o *GetDiagnosticActivationsIDMessagesParams) WithSort(sort *string) *GetDiagnosticActivationsIDMessagesParams
WithSort adds the sort to the get diagnostic activations ID messages params
func (*GetDiagnosticActivationsIDMessagesParams) WithTimeout ¶
func (o *GetDiagnosticActivationsIDMessagesParams) WithTimeout(timeout time.Duration) *GetDiagnosticActivationsIDMessagesParams
WithTimeout adds the timeout to the get diagnostic activations ID messages params
func (*GetDiagnosticActivationsIDMessagesParams) WriteToRequest ¶
func (o *GetDiagnosticActivationsIDMessagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *GetDiagnosticActivationsIDMessagesUnauthorized) Code() int
Code gets the status code for the get diagnostic activations Id messages unauthorized response
func (*GetDiagnosticActivationsIDMessagesUnauthorized) Error ¶
func (o *GetDiagnosticActivationsIDMessagesUnauthorized) Error() string
func (*GetDiagnosticActivationsIDMessagesUnauthorized) GetPayload ¶
func (o *GetDiagnosticActivationsIDMessagesUnauthorized) GetPayload() *models.Unauthorized
func (*GetDiagnosticActivationsIDMessagesUnauthorized) IsClientError ¶
func (o *GetDiagnosticActivationsIDMessagesUnauthorized) IsClientError() bool
IsClientError returns true when this get diagnostic activations Id messages unauthorized response has a 4xx status code
func (*GetDiagnosticActivationsIDMessagesUnauthorized) IsCode ¶
func (o *GetDiagnosticActivationsIDMessagesUnauthorized) IsCode(code int) bool
IsCode returns true when this get diagnostic activations Id messages unauthorized response a status code equal to that given
func (*GetDiagnosticActivationsIDMessagesUnauthorized) IsRedirect ¶
func (o *GetDiagnosticActivationsIDMessagesUnauthorized) IsRedirect() bool
IsRedirect returns true when this get diagnostic activations Id messages unauthorized response has a 3xx status code
func (*GetDiagnosticActivationsIDMessagesUnauthorized) IsServerError ¶
func (o *GetDiagnosticActivationsIDMessagesUnauthorized) IsServerError() bool
IsServerError returns true when this get diagnostic activations Id messages unauthorized response has a 5xx status code
func (*GetDiagnosticActivationsIDMessagesUnauthorized) IsSuccess ¶
func (o *GetDiagnosticActivationsIDMessagesUnauthorized) IsSuccess() bool
IsSuccess returns true when this get diagnostic activations Id messages unauthorized response has a 2xx status code
func (*GetDiagnosticActivationsIDMessagesUnauthorized) String ¶
func (o *GetDiagnosticActivationsIDMessagesUnauthorized) String() string
type GetDiagnosticActivationsIDNotFound ¶
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 ¶
func (o *GetDiagnosticActivationsIDNotFound) Code() int
Code gets the status code for the get diagnostic activations Id not found response
func (*GetDiagnosticActivationsIDNotFound) Error ¶
func (o *GetDiagnosticActivationsIDNotFound) Error() string
func (*GetDiagnosticActivationsIDNotFound) GetPayload ¶
func (o *GetDiagnosticActivationsIDNotFound) GetPayload() *models.Notfound
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 ¶
func (o *GetDiagnosticActivationsIDNotFound) IsCode(code int) bool
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 ¶
func (o *GetDiagnosticActivationsIDNotFound) IsSuccess() bool
IsSuccess returns true when this get diagnostic activations Id not found response has a 2xx status code
func (*GetDiagnosticActivationsIDNotFound) String ¶
func (o *GetDiagnosticActivationsIDNotFound) String() 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 ¶
func (o *GetDiagnosticActivationsIDOK) Code() int
Code gets the status code for the get diagnostic activations Id o k response
func (*GetDiagnosticActivationsIDOK) Error ¶
func (o *GetDiagnosticActivationsIDOK) Error() string
func (*GetDiagnosticActivationsIDOK) GetPayload ¶
func (o *GetDiagnosticActivationsIDOK) GetPayload() *models.DiagnosticActivation
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 ¶
func (o *GetDiagnosticActivationsIDOK) String() 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 ¶
func (o *GetDiagnosticActivationsIDParams) SetContext(ctx context.Context)
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 ¶
func (o *GetDiagnosticActivationsIDParams) SetID(id string)
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 ¶
func (o *GetDiagnosticActivationsIDParams) WithContext(ctx context.Context) *GetDiagnosticActivationsIDParams
WithContext adds the context to the get diagnostic activations ID params
func (*GetDiagnosticActivationsIDParams) WithDefaults ¶
func (o *GetDiagnosticActivationsIDParams) WithDefaults() *GetDiagnosticActivationsIDParams
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 ¶
func (o *GetDiagnosticActivationsIDParams) WithHTTPClient(client *http.Client) *GetDiagnosticActivationsIDParams
WithHTTPClient adds the HTTPClient to the get diagnostic activations ID params
func (*GetDiagnosticActivationsIDParams) WithID ¶
func (o *GetDiagnosticActivationsIDParams) WithID(id string) *GetDiagnosticActivationsIDParams
WithID adds the id to the get diagnostic activations ID params
func (*GetDiagnosticActivationsIDParams) WithTimeout ¶
func (o *GetDiagnosticActivationsIDParams) WithTimeout(timeout time.Duration) *GetDiagnosticActivationsIDParams
WithTimeout adds the timeout to the get diagnostic activations ID params
func (*GetDiagnosticActivationsIDParams) WriteToRequest ¶
func (o *GetDiagnosticActivationsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *GetDiagnosticActivationsIDUnauthorized) Code() int
Code gets the status code for the get diagnostic activations Id unauthorized response
func (*GetDiagnosticActivationsIDUnauthorized) Error ¶
func (o *GetDiagnosticActivationsIDUnauthorized) Error() string
func (*GetDiagnosticActivationsIDUnauthorized) GetPayload ¶
func (o *GetDiagnosticActivationsIDUnauthorized) GetPayload() *models.Unauthorized
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 ¶
func (o *GetDiagnosticActivationsIDUnauthorized) IsCode(code int) bool
IsCode returns true when this get diagnostic activations Id unauthorized response a status code equal to that given
func (*GetDiagnosticActivationsIDUnauthorized) IsRedirect ¶
func (o *GetDiagnosticActivationsIDUnauthorized) IsRedirect() bool
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 ¶
func (o *GetDiagnosticActivationsIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this get diagnostic activations Id unauthorized response has a 2xx status code
func (*GetDiagnosticActivationsIDUnauthorized) String ¶
func (o *GetDiagnosticActivationsIDUnauthorized) String() 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 (o *GetDiagnosticActivationsOK) Error() string
func (*GetDiagnosticActivationsOK) GetPayload ¶
func (o *GetDiagnosticActivationsOK) GetPayload() *models.PagedDiagnosticActivation
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 ¶
func (o *GetDiagnosticActivationsParams) WithContext(ctx context.Context) *GetDiagnosticActivationsParams
WithContext adds the context to the get diagnostic activations params
func (*GetDiagnosticActivationsParams) WithDefaults ¶
func (o *GetDiagnosticActivationsParams) WithDefaults() *GetDiagnosticActivationsParams
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 ¶
func (o *GetDiagnosticActivationsParams) WithHTTPClient(client *http.Client) *GetDiagnosticActivationsParams
WithHTTPClient adds the HTTPClient to the get diagnostic activations params
func (*GetDiagnosticActivationsParams) WithPage ¶
func (o *GetDiagnosticActivationsParams) WithPage(page *int32) *GetDiagnosticActivationsParams
WithPage adds the page to the get diagnostic activations params
func (*GetDiagnosticActivationsParams) WithSize ¶
func (o *GetDiagnosticActivationsParams) WithSize(size *int32) *GetDiagnosticActivationsParams
WithSize adds the size to the get diagnostic activations params
func (*GetDiagnosticActivationsParams) WithSort ¶
func (o *GetDiagnosticActivationsParams) WithSort(sort *string) *GetDiagnosticActivationsParams
WithSort adds the sort to the get diagnostic activations params
func (*GetDiagnosticActivationsParams) WithTimeout ¶
func (o *GetDiagnosticActivationsParams) WithTimeout(timeout time.Duration) *GetDiagnosticActivationsParams
WithTimeout adds the timeout to the get diagnostic activations params
func (*GetDiagnosticActivationsParams) WriteToRequest ¶
func (o *GetDiagnosticActivationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *GetDiagnosticActivationsUnauthorized) Code() int
Code gets the status code for the get diagnostic activations unauthorized response
func (*GetDiagnosticActivationsUnauthorized) Error ¶
func (o *GetDiagnosticActivationsUnauthorized) Error() string
func (*GetDiagnosticActivationsUnauthorized) GetPayload ¶
func (o *GetDiagnosticActivationsUnauthorized) GetPayload() *models.Unauthorized
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 ¶
func (o *GetDiagnosticActivationsUnauthorized) IsCode(code int) bool
IsCode returns true when this get diagnostic activations unauthorized response a status code equal to that given
func (*GetDiagnosticActivationsUnauthorized) IsRedirect ¶
func (o *GetDiagnosticActivationsUnauthorized) IsRedirect() bool
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 ¶
func (o *GetDiagnosticActivationsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get diagnostic activations unauthorized response has a 2xx status code
func (*GetDiagnosticActivationsUnauthorized) String ¶
func (o *GetDiagnosticActivationsUnauthorized) String() 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 ¶
func (o *PostDiagnosticActivationsBadRequest) Code() int
Code gets the status code for the post diagnostic activations bad request response
func (*PostDiagnosticActivationsBadRequest) Error ¶
func (o *PostDiagnosticActivationsBadRequest) Error() string
func (*PostDiagnosticActivationsBadRequest) GetPayload ¶
func (o *PostDiagnosticActivationsBadRequest) GetPayload() *models.Badrequest
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 ¶
func (o *PostDiagnosticActivationsBadRequest) IsCode(code int) bool
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 ¶
func (o *PostDiagnosticActivationsBadRequest) IsSuccess() bool
IsSuccess returns true when this post diagnostic activations bad request response has a 2xx status code
func (*PostDiagnosticActivationsBadRequest) String ¶
func (o *PostDiagnosticActivationsBadRequest) String() string
type PostDiagnosticActivationsConflict ¶
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 ¶
func (o *PostDiagnosticActivationsConflict) Code() int
Code gets the status code for the post diagnostic activations conflict response
func (*PostDiagnosticActivationsConflict) Error ¶
func (o *PostDiagnosticActivationsConflict) Error() string
func (*PostDiagnosticActivationsConflict) GetPayload ¶
func (o *PostDiagnosticActivationsConflict) GetPayload() *models.Conflict
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 ¶
func (o *PostDiagnosticActivationsConflict) String() 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 ¶
func (o *PostDiagnosticActivationsCreated) Code() int
Code gets the status code for the post diagnostic activations created response
func (*PostDiagnosticActivationsCreated) Error ¶
func (o *PostDiagnosticActivationsCreated) Error() string
func (*PostDiagnosticActivationsCreated) GetPayload ¶
func (o *PostDiagnosticActivationsCreated) GetPayload() *models.DiagnosticActivation
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 ¶
func (o *PostDiagnosticActivationsCreated) String() 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 ¶
func (o *PostDiagnosticActivationsDefault) Code() int
Code gets the status code for the post diagnostic activations default response
func (*PostDiagnosticActivationsDefault) Error ¶
func (o *PostDiagnosticActivationsDefault) Error() string
func (*PostDiagnosticActivationsDefault) GetPayload ¶
func (o *PostDiagnosticActivationsDefault) GetPayload() *models.Error
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 ¶
func (o *PostDiagnosticActivationsDefault) String() string
type PostDiagnosticActivationsForbidden ¶
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 ¶
func (o *PostDiagnosticActivationsForbidden) Code() int
Code gets the status code for the post diagnostic activations forbidden response
func (*PostDiagnosticActivationsForbidden) Error ¶
func (o *PostDiagnosticActivationsForbidden) Error() string
func (*PostDiagnosticActivationsForbidden) GetPayload ¶
func (o *PostDiagnosticActivationsForbidden) GetPayload() *models.Forbidden
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 ¶
func (o *PostDiagnosticActivationsForbidden) IsCode(code int) bool
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 ¶
func (o *PostDiagnosticActivationsForbidden) IsSuccess() bool
IsSuccess returns true when this post diagnostic activations forbidden response has a 2xx status code
func (*PostDiagnosticActivationsForbidden) String ¶
func (o *PostDiagnosticActivationsForbidden) String() 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 ¶
func (o *PostDiagnosticActivationsParams) WithContext(ctx context.Context) *PostDiagnosticActivationsParams
WithContext adds the context to the post diagnostic activations params
func (*PostDiagnosticActivationsParams) WithDefaults ¶
func (o *PostDiagnosticActivationsParams) WithDefaults() *PostDiagnosticActivationsParams
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 ¶
func (o *PostDiagnosticActivationsParams) WithHTTPClient(client *http.Client) *PostDiagnosticActivationsParams
WithHTTPClient adds the HTTPClient to the post diagnostic activations params
func (*PostDiagnosticActivationsParams) WithTimeout ¶
func (o *PostDiagnosticActivationsParams) WithTimeout(timeout time.Duration) *PostDiagnosticActivationsParams
WithTimeout adds the timeout to the post diagnostic activations params
func (*PostDiagnosticActivationsParams) WriteToRequest ¶
func (o *PostDiagnosticActivationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *PostDiagnosticActivationsUnauthorized) Code() int
Code gets the status code for the post diagnostic activations unauthorized response
func (*PostDiagnosticActivationsUnauthorized) Error ¶
func (o *PostDiagnosticActivationsUnauthorized) Error() string
func (*PostDiagnosticActivationsUnauthorized) GetPayload ¶
func (o *PostDiagnosticActivationsUnauthorized) GetPayload() *models.Unauthorized
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 ¶
func (o *PostDiagnosticActivationsUnauthorized) IsCode(code int) bool
IsCode returns true when this post diagnostic activations unauthorized response a status code equal to that given
func (*PostDiagnosticActivationsUnauthorized) IsRedirect ¶
func (o *PostDiagnosticActivationsUnauthorized) IsRedirect() bool
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 ¶
func (o *PostDiagnosticActivationsUnauthorized) IsSuccess() bool
IsSuccess returns true when this post diagnostic activations unauthorized response has a 2xx status code
func (*PostDiagnosticActivationsUnauthorized) String ¶
func (o *PostDiagnosticActivationsUnauthorized) String() 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 ¶
func (o *PutDiagnosticActivationsIDBadRequest) Code() int
Code gets the status code for the put diagnostic activations Id bad request response
func (*PutDiagnosticActivationsIDBadRequest) Error ¶
func (o *PutDiagnosticActivationsIDBadRequest) Error() string
func (*PutDiagnosticActivationsIDBadRequest) GetPayload ¶
func (o *PutDiagnosticActivationsIDBadRequest) GetPayload() *models.Badrequest
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 ¶
func (o *PutDiagnosticActivationsIDBadRequest) IsCode(code int) bool
IsCode returns true when this put diagnostic activations Id bad request response a status code equal to that given
func (*PutDiagnosticActivationsIDBadRequest) IsRedirect ¶
func (o *PutDiagnosticActivationsIDBadRequest) IsRedirect() bool
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 ¶
func (o *PutDiagnosticActivationsIDBadRequest) IsSuccess() bool
IsSuccess returns true when this put diagnostic activations Id bad request response has a 2xx status code
func (*PutDiagnosticActivationsIDBadRequest) String ¶
func (o *PutDiagnosticActivationsIDBadRequest) String() 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 ¶
func (o *PutDiagnosticActivationsIDDefault) Code() int
Code gets the status code for the put diagnostic activations ID default response
func (*PutDiagnosticActivationsIDDefault) Error ¶
func (o *PutDiagnosticActivationsIDDefault) Error() string
func (*PutDiagnosticActivationsIDDefault) GetPayload ¶
func (o *PutDiagnosticActivationsIDDefault) GetPayload() *models.Error
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 ¶
func (o *PutDiagnosticActivationsIDDefault) String() string
type PutDiagnosticActivationsIDForbidden ¶
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 ¶
func (o *PutDiagnosticActivationsIDForbidden) Code() int
Code gets the status code for the put diagnostic activations Id forbidden response
func (*PutDiagnosticActivationsIDForbidden) Error ¶
func (o *PutDiagnosticActivationsIDForbidden) Error() string
func (*PutDiagnosticActivationsIDForbidden) GetPayload ¶
func (o *PutDiagnosticActivationsIDForbidden) GetPayload() *models.Forbidden
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 ¶
func (o *PutDiagnosticActivationsIDForbidden) IsCode(code int) bool
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 ¶
func (o *PutDiagnosticActivationsIDForbidden) IsSuccess() bool
IsSuccess returns true when this put diagnostic activations Id forbidden response has a 2xx status code
func (*PutDiagnosticActivationsIDForbidden) String ¶
func (o *PutDiagnosticActivationsIDForbidden) String() string
type PutDiagnosticActivationsIDNotFound ¶
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 ¶
func (o *PutDiagnosticActivationsIDNotFound) Code() int
Code gets the status code for the put diagnostic activations Id not found response
func (*PutDiagnosticActivationsIDNotFound) Error ¶
func (o *PutDiagnosticActivationsIDNotFound) Error() string
func (*PutDiagnosticActivationsIDNotFound) GetPayload ¶
func (o *PutDiagnosticActivationsIDNotFound) GetPayload() *models.Notfound
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 ¶
func (o *PutDiagnosticActivationsIDNotFound) IsCode(code int) bool
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 ¶
func (o *PutDiagnosticActivationsIDNotFound) IsSuccess() bool
IsSuccess returns true when this put diagnostic activations Id not found response has a 2xx status code
func (*PutDiagnosticActivationsIDNotFound) String ¶
func (o *PutDiagnosticActivationsIDNotFound) String() 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 ¶
func (o *PutDiagnosticActivationsIDOK) Code() int
Code gets the status code for the put diagnostic activations Id o k response
func (*PutDiagnosticActivationsIDOK) Error ¶
func (o *PutDiagnosticActivationsIDOK) Error() string
func (*PutDiagnosticActivationsIDOK) GetPayload ¶
func (o *PutDiagnosticActivationsIDOK) GetPayload() *models.DiagnosticActivation
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 ¶
func (o *PutDiagnosticActivationsIDOK) String() 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 ¶
func (o *PutDiagnosticActivationsIDParams) SetContext(ctx context.Context)
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 ¶
func (o *PutDiagnosticActivationsIDParams) SetID(id strfmt.UUID)
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 ¶
func (o *PutDiagnosticActivationsIDParams) WithContext(ctx context.Context) *PutDiagnosticActivationsIDParams
WithContext adds the context to the put diagnostic activations ID params
func (*PutDiagnosticActivationsIDParams) WithDefaults ¶
func (o *PutDiagnosticActivationsIDParams) WithDefaults() *PutDiagnosticActivationsIDParams
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 ¶
func (o *PutDiagnosticActivationsIDParams) WithHTTPClient(client *http.Client) *PutDiagnosticActivationsIDParams
WithHTTPClient adds the HTTPClient to the put diagnostic activations ID params
func (*PutDiagnosticActivationsIDParams) WithID ¶
func (o *PutDiagnosticActivationsIDParams) WithID(id strfmt.UUID) *PutDiagnosticActivationsIDParams
WithID adds the id to the put diagnostic activations ID params
func (*PutDiagnosticActivationsIDParams) WithTimeout ¶
func (o *PutDiagnosticActivationsIDParams) WithTimeout(timeout time.Duration) *PutDiagnosticActivationsIDParams
WithTimeout adds the timeout to the put diagnostic activations ID params
func (*PutDiagnosticActivationsIDParams) WriteToRequest ¶
func (o *PutDiagnosticActivationsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *PutDiagnosticActivationsIDUnauthorized) Code() int
Code gets the status code for the put diagnostic activations Id unauthorized response
func (*PutDiagnosticActivationsIDUnauthorized) Error ¶
func (o *PutDiagnosticActivationsIDUnauthorized) Error() string
func (*PutDiagnosticActivationsIDUnauthorized) GetPayload ¶
func (o *PutDiagnosticActivationsIDUnauthorized) GetPayload() *models.Unauthorized
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 ¶
func (o *PutDiagnosticActivationsIDUnauthorized) IsCode(code int) bool
IsCode returns true when this put diagnostic activations Id unauthorized response a status code equal to that given
func (*PutDiagnosticActivationsIDUnauthorized) IsRedirect ¶
func (o *PutDiagnosticActivationsIDUnauthorized) IsRedirect() bool
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 ¶
func (o *PutDiagnosticActivationsIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this put diagnostic activations Id unauthorized response has a 2xx status code
func (*PutDiagnosticActivationsIDUnauthorized) String ¶
func (o *PutDiagnosticActivationsIDUnauthorized) String() string
Source Files
¶
- delete_diagnostic_activations_id_parameters.go
- delete_diagnostic_activations_id_responses.go
- diagnostic_activations_client.go
- get_diagnostic_activations_id_messages_parameters.go
- get_diagnostic_activations_id_messages_responses.go
- get_diagnostic_activations_id_parameters.go
- get_diagnostic_activations_id_responses.go
- get_diagnostic_activations_parameters.go
- get_diagnostic_activations_responses.go
- post_diagnostic_activations_parameters.go
- post_diagnostic_activations_responses.go
- put_diagnostic_activations_id_parameters.go
- put_diagnostic_activations_id_responses.go