Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateObjectDiscoveryRule(params *CreateObjectDiscoveryRuleParams, opts ...ClientOption) (*CreateObjectDiscoveryRuleOK, error)
- func (a *Client) DeleteObjectDiscoveryRule(params *DeleteObjectDiscoveryRuleParams, opts ...ClientOption) (*DeleteObjectDiscoveryRuleOK, error)
- func (a *Client) ListObjectDiscoveryRule(params *ListObjectDiscoveryRuleParams, opts ...ClientOption) (*ListObjectDiscoveryRuleOK, error)
- func (a *Client) ReadObjectDiscoveryRule(params *ReadObjectDiscoveryRuleParams, opts ...ClientOption) (*ReadObjectDiscoveryRuleOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateObjectDiscoveryRule(params *UpdateObjectDiscoveryRuleParams, opts ...ClientOption) (*UpdateObjectDiscoveryRuleOK, error)
- type ClientOption
- type ClientService
- type CreateObjectDiscoveryRuleBadRequest
- func (o *CreateObjectDiscoveryRuleBadRequest) Code() int
- func (o *CreateObjectDiscoveryRuleBadRequest) Error() string
- func (o *CreateObjectDiscoveryRuleBadRequest) GetPayload() *models.APIError
- func (o *CreateObjectDiscoveryRuleBadRequest) IsClientError() bool
- func (o *CreateObjectDiscoveryRuleBadRequest) IsCode(code int) bool
- func (o *CreateObjectDiscoveryRuleBadRequest) IsRedirect() bool
- func (o *CreateObjectDiscoveryRuleBadRequest) IsServerError() bool
- func (o *CreateObjectDiscoveryRuleBadRequest) IsSuccess() bool
- func (o *CreateObjectDiscoveryRuleBadRequest) String() string
- type CreateObjectDiscoveryRuleConflict
- func (o *CreateObjectDiscoveryRuleConflict) Code() int
- func (o *CreateObjectDiscoveryRuleConflict) Error() string
- func (o *CreateObjectDiscoveryRuleConflict) GetPayload() *models.APIError
- func (o *CreateObjectDiscoveryRuleConflict) IsClientError() bool
- func (o *CreateObjectDiscoveryRuleConflict) IsCode(code int) bool
- func (o *CreateObjectDiscoveryRuleConflict) IsRedirect() bool
- func (o *CreateObjectDiscoveryRuleConflict) IsServerError() bool
- func (o *CreateObjectDiscoveryRuleConflict) IsSuccess() bool
- func (o *CreateObjectDiscoveryRuleConflict) String() string
- type CreateObjectDiscoveryRuleDefault
- func (o *CreateObjectDiscoveryRuleDefault) Code() int
- func (o *CreateObjectDiscoveryRuleDefault) Error() string
- func (o *CreateObjectDiscoveryRuleDefault) GetPayload() models.GenericError
- func (o *CreateObjectDiscoveryRuleDefault) IsClientError() bool
- func (o *CreateObjectDiscoveryRuleDefault) IsCode(code int) bool
- func (o *CreateObjectDiscoveryRuleDefault) IsRedirect() bool
- func (o *CreateObjectDiscoveryRuleDefault) IsServerError() bool
- func (o *CreateObjectDiscoveryRuleDefault) IsSuccess() bool
- func (o *CreateObjectDiscoveryRuleDefault) String() string
- type CreateObjectDiscoveryRuleInternalServerError
- func (o *CreateObjectDiscoveryRuleInternalServerError) Code() int
- func (o *CreateObjectDiscoveryRuleInternalServerError) Error() string
- func (o *CreateObjectDiscoveryRuleInternalServerError) GetPayload() *models.APIError
- func (o *CreateObjectDiscoveryRuleInternalServerError) IsClientError() bool
- func (o *CreateObjectDiscoveryRuleInternalServerError) IsCode(code int) bool
- func (o *CreateObjectDiscoveryRuleInternalServerError) IsRedirect() bool
- func (o *CreateObjectDiscoveryRuleInternalServerError) IsServerError() bool
- func (o *CreateObjectDiscoveryRuleInternalServerError) IsSuccess() bool
- func (o *CreateObjectDiscoveryRuleInternalServerError) String() string
- type CreateObjectDiscoveryRuleOK
- func (o *CreateObjectDiscoveryRuleOK) Code() int
- func (o *CreateObjectDiscoveryRuleOK) Error() string
- func (o *CreateObjectDiscoveryRuleOK) GetPayload() *models.ConfigunstableCreateObjectDiscoveryRuleResponse
- func (o *CreateObjectDiscoveryRuleOK) IsClientError() bool
- func (o *CreateObjectDiscoveryRuleOK) IsCode(code int) bool
- func (o *CreateObjectDiscoveryRuleOK) IsRedirect() bool
- func (o *CreateObjectDiscoveryRuleOK) IsServerError() bool
- func (o *CreateObjectDiscoveryRuleOK) IsSuccess() bool
- func (o *CreateObjectDiscoveryRuleOK) String() string
- type CreateObjectDiscoveryRuleParams
- func NewCreateObjectDiscoveryRuleParams() *CreateObjectDiscoveryRuleParams
- func NewCreateObjectDiscoveryRuleParamsWithContext(ctx context.Context) *CreateObjectDiscoveryRuleParams
- func NewCreateObjectDiscoveryRuleParamsWithHTTPClient(client *http.Client) *CreateObjectDiscoveryRuleParams
- func NewCreateObjectDiscoveryRuleParamsWithTimeout(timeout time.Duration) *CreateObjectDiscoveryRuleParams
- func (o *CreateObjectDiscoveryRuleParams) SetBody(body *models.ConfigunstableCreateObjectDiscoveryRuleRequest)
- func (o *CreateObjectDiscoveryRuleParams) SetContext(ctx context.Context)
- func (o *CreateObjectDiscoveryRuleParams) SetDefaults()
- func (o *CreateObjectDiscoveryRuleParams) SetHTTPClient(client *http.Client)
- func (o *CreateObjectDiscoveryRuleParams) SetTimeout(timeout time.Duration)
- func (o *CreateObjectDiscoveryRuleParams) WithBody(body *models.ConfigunstableCreateObjectDiscoveryRuleRequest) *CreateObjectDiscoveryRuleParams
- func (o *CreateObjectDiscoveryRuleParams) WithContext(ctx context.Context) *CreateObjectDiscoveryRuleParams
- func (o *CreateObjectDiscoveryRuleParams) WithDefaults() *CreateObjectDiscoveryRuleParams
- func (o *CreateObjectDiscoveryRuleParams) WithHTTPClient(client *http.Client) *CreateObjectDiscoveryRuleParams
- func (o *CreateObjectDiscoveryRuleParams) WithTimeout(timeout time.Duration) *CreateObjectDiscoveryRuleParams
- func (o *CreateObjectDiscoveryRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateObjectDiscoveryRuleReader
- type DeleteObjectDiscoveryRuleBadRequest
- func (o *DeleteObjectDiscoveryRuleBadRequest) Code() int
- func (o *DeleteObjectDiscoveryRuleBadRequest) Error() string
- func (o *DeleteObjectDiscoveryRuleBadRequest) GetPayload() *models.APIError
- func (o *DeleteObjectDiscoveryRuleBadRequest) IsClientError() bool
- func (o *DeleteObjectDiscoveryRuleBadRequest) IsCode(code int) bool
- func (o *DeleteObjectDiscoveryRuleBadRequest) IsRedirect() bool
- func (o *DeleteObjectDiscoveryRuleBadRequest) IsServerError() bool
- func (o *DeleteObjectDiscoveryRuleBadRequest) IsSuccess() bool
- func (o *DeleteObjectDiscoveryRuleBadRequest) String() string
- type DeleteObjectDiscoveryRuleDefault
- func (o *DeleteObjectDiscoveryRuleDefault) Code() int
- func (o *DeleteObjectDiscoveryRuleDefault) Error() string
- func (o *DeleteObjectDiscoveryRuleDefault) GetPayload() models.GenericError
- func (o *DeleteObjectDiscoveryRuleDefault) IsClientError() bool
- func (o *DeleteObjectDiscoveryRuleDefault) IsCode(code int) bool
- func (o *DeleteObjectDiscoveryRuleDefault) IsRedirect() bool
- func (o *DeleteObjectDiscoveryRuleDefault) IsServerError() bool
- func (o *DeleteObjectDiscoveryRuleDefault) IsSuccess() bool
- func (o *DeleteObjectDiscoveryRuleDefault) String() string
- type DeleteObjectDiscoveryRuleInternalServerError
- func (o *DeleteObjectDiscoveryRuleInternalServerError) Code() int
- func (o *DeleteObjectDiscoveryRuleInternalServerError) Error() string
- func (o *DeleteObjectDiscoveryRuleInternalServerError) GetPayload() *models.APIError
- func (o *DeleteObjectDiscoveryRuleInternalServerError) IsClientError() bool
- func (o *DeleteObjectDiscoveryRuleInternalServerError) IsCode(code int) bool
- func (o *DeleteObjectDiscoveryRuleInternalServerError) IsRedirect() bool
- func (o *DeleteObjectDiscoveryRuleInternalServerError) IsServerError() bool
- func (o *DeleteObjectDiscoveryRuleInternalServerError) IsSuccess() bool
- func (o *DeleteObjectDiscoveryRuleInternalServerError) String() string
- type DeleteObjectDiscoveryRuleNotFound
- func (o *DeleteObjectDiscoveryRuleNotFound) Code() int
- func (o *DeleteObjectDiscoveryRuleNotFound) Error() string
- func (o *DeleteObjectDiscoveryRuleNotFound) GetPayload() *models.APIError
- func (o *DeleteObjectDiscoveryRuleNotFound) IsClientError() bool
- func (o *DeleteObjectDiscoveryRuleNotFound) IsCode(code int) bool
- func (o *DeleteObjectDiscoveryRuleNotFound) IsRedirect() bool
- func (o *DeleteObjectDiscoveryRuleNotFound) IsServerError() bool
- func (o *DeleteObjectDiscoveryRuleNotFound) IsSuccess() bool
- func (o *DeleteObjectDiscoveryRuleNotFound) String() string
- type DeleteObjectDiscoveryRuleOK
- func (o *DeleteObjectDiscoveryRuleOK) Code() int
- func (o *DeleteObjectDiscoveryRuleOK) Error() string
- func (o *DeleteObjectDiscoveryRuleOK) GetPayload() models.ConfigunstableDeleteObjectDiscoveryRuleResponse
- func (o *DeleteObjectDiscoveryRuleOK) IsClientError() bool
- func (o *DeleteObjectDiscoveryRuleOK) IsCode(code int) bool
- func (o *DeleteObjectDiscoveryRuleOK) IsRedirect() bool
- func (o *DeleteObjectDiscoveryRuleOK) IsServerError() bool
- func (o *DeleteObjectDiscoveryRuleOK) IsSuccess() bool
- func (o *DeleteObjectDiscoveryRuleOK) String() string
- type DeleteObjectDiscoveryRuleParams
- func NewDeleteObjectDiscoveryRuleParams() *DeleteObjectDiscoveryRuleParams
- func NewDeleteObjectDiscoveryRuleParamsWithContext(ctx context.Context) *DeleteObjectDiscoveryRuleParams
- func NewDeleteObjectDiscoveryRuleParamsWithHTTPClient(client *http.Client) *DeleteObjectDiscoveryRuleParams
- func NewDeleteObjectDiscoveryRuleParamsWithTimeout(timeout time.Duration) *DeleteObjectDiscoveryRuleParams
- func (o *DeleteObjectDiscoveryRuleParams) SetContext(ctx context.Context)
- func (o *DeleteObjectDiscoveryRuleParams) SetDefaults()
- func (o *DeleteObjectDiscoveryRuleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteObjectDiscoveryRuleParams) SetSlug(slug string)
- func (o *DeleteObjectDiscoveryRuleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteObjectDiscoveryRuleParams) WithContext(ctx context.Context) *DeleteObjectDiscoveryRuleParams
- func (o *DeleteObjectDiscoveryRuleParams) WithDefaults() *DeleteObjectDiscoveryRuleParams
- func (o *DeleteObjectDiscoveryRuleParams) WithHTTPClient(client *http.Client) *DeleteObjectDiscoveryRuleParams
- func (o *DeleteObjectDiscoveryRuleParams) WithSlug(slug string) *DeleteObjectDiscoveryRuleParams
- func (o *DeleteObjectDiscoveryRuleParams) WithTimeout(timeout time.Duration) *DeleteObjectDiscoveryRuleParams
- func (o *DeleteObjectDiscoveryRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteObjectDiscoveryRuleReader
- type ListObjectDiscoveryRuleDefault
- func (o *ListObjectDiscoveryRuleDefault) Code() int
- func (o *ListObjectDiscoveryRuleDefault) Error() string
- func (o *ListObjectDiscoveryRuleDefault) GetPayload() models.GenericError
- func (o *ListObjectDiscoveryRuleDefault) IsClientError() bool
- func (o *ListObjectDiscoveryRuleDefault) IsCode(code int) bool
- func (o *ListObjectDiscoveryRuleDefault) IsRedirect() bool
- func (o *ListObjectDiscoveryRuleDefault) IsServerError() bool
- func (o *ListObjectDiscoveryRuleDefault) IsSuccess() bool
- func (o *ListObjectDiscoveryRuleDefault) String() string
- type ListObjectDiscoveryRuleInternalServerError
- func (o *ListObjectDiscoveryRuleInternalServerError) Code() int
- func (o *ListObjectDiscoveryRuleInternalServerError) Error() string
- func (o *ListObjectDiscoveryRuleInternalServerError) GetPayload() *models.APIError
- func (o *ListObjectDiscoveryRuleInternalServerError) IsClientError() bool
- func (o *ListObjectDiscoveryRuleInternalServerError) IsCode(code int) bool
- func (o *ListObjectDiscoveryRuleInternalServerError) IsRedirect() bool
- func (o *ListObjectDiscoveryRuleInternalServerError) IsServerError() bool
- func (o *ListObjectDiscoveryRuleInternalServerError) IsSuccess() bool
- func (o *ListObjectDiscoveryRuleInternalServerError) String() string
- type ListObjectDiscoveryRuleOK
- func (o *ListObjectDiscoveryRuleOK) Code() int
- func (o *ListObjectDiscoveryRuleOK) Error() string
- func (o *ListObjectDiscoveryRuleOK) GetPayload() *models.ConfigunstableListObjectDiscoveryRulesResponse
- func (o *ListObjectDiscoveryRuleOK) IsClientError() bool
- func (o *ListObjectDiscoveryRuleOK) IsCode(code int) bool
- func (o *ListObjectDiscoveryRuleOK) IsRedirect() bool
- func (o *ListObjectDiscoveryRuleOK) IsServerError() bool
- func (o *ListObjectDiscoveryRuleOK) IsSuccess() bool
- func (o *ListObjectDiscoveryRuleOK) String() string
- type ListObjectDiscoveryRuleParams
- func NewListObjectDiscoveryRuleParams() *ListObjectDiscoveryRuleParams
- func NewListObjectDiscoveryRuleParamsWithContext(ctx context.Context) *ListObjectDiscoveryRuleParams
- func NewListObjectDiscoveryRuleParamsWithHTTPClient(client *http.Client) *ListObjectDiscoveryRuleParams
- func NewListObjectDiscoveryRuleParamsWithTimeout(timeout time.Duration) *ListObjectDiscoveryRuleParams
- func (o *ListObjectDiscoveryRuleParams) SetContext(ctx context.Context)
- func (o *ListObjectDiscoveryRuleParams) SetDefaults()
- func (o *ListObjectDiscoveryRuleParams) SetHTTPClient(client *http.Client)
- func (o *ListObjectDiscoveryRuleParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListObjectDiscoveryRuleParams) SetPageToken(pageToken *string)
- func (o *ListObjectDiscoveryRuleParams) SetTimeout(timeout time.Duration)
- func (o *ListObjectDiscoveryRuleParams) WithContext(ctx context.Context) *ListObjectDiscoveryRuleParams
- func (o *ListObjectDiscoveryRuleParams) WithDefaults() *ListObjectDiscoveryRuleParams
- func (o *ListObjectDiscoveryRuleParams) WithHTTPClient(client *http.Client) *ListObjectDiscoveryRuleParams
- func (o *ListObjectDiscoveryRuleParams) WithPageMaxSize(pageMaxSize *int64) *ListObjectDiscoveryRuleParams
- func (o *ListObjectDiscoveryRuleParams) WithPageToken(pageToken *string) *ListObjectDiscoveryRuleParams
- func (o *ListObjectDiscoveryRuleParams) WithTimeout(timeout time.Duration) *ListObjectDiscoveryRuleParams
- func (o *ListObjectDiscoveryRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListObjectDiscoveryRuleReader
- type ReadObjectDiscoveryRuleDefault
- func (o *ReadObjectDiscoveryRuleDefault) Code() int
- func (o *ReadObjectDiscoveryRuleDefault) Error() string
- func (o *ReadObjectDiscoveryRuleDefault) GetPayload() models.GenericError
- func (o *ReadObjectDiscoveryRuleDefault) IsClientError() bool
- func (o *ReadObjectDiscoveryRuleDefault) IsCode(code int) bool
- func (o *ReadObjectDiscoveryRuleDefault) IsRedirect() bool
- func (o *ReadObjectDiscoveryRuleDefault) IsServerError() bool
- func (o *ReadObjectDiscoveryRuleDefault) IsSuccess() bool
- func (o *ReadObjectDiscoveryRuleDefault) String() string
- type ReadObjectDiscoveryRuleInternalServerError
- func (o *ReadObjectDiscoveryRuleInternalServerError) Code() int
- func (o *ReadObjectDiscoveryRuleInternalServerError) Error() string
- func (o *ReadObjectDiscoveryRuleInternalServerError) GetPayload() *models.APIError
- func (o *ReadObjectDiscoveryRuleInternalServerError) IsClientError() bool
- func (o *ReadObjectDiscoveryRuleInternalServerError) IsCode(code int) bool
- func (o *ReadObjectDiscoveryRuleInternalServerError) IsRedirect() bool
- func (o *ReadObjectDiscoveryRuleInternalServerError) IsServerError() bool
- func (o *ReadObjectDiscoveryRuleInternalServerError) IsSuccess() bool
- func (o *ReadObjectDiscoveryRuleInternalServerError) String() string
- type ReadObjectDiscoveryRuleNotFound
- func (o *ReadObjectDiscoveryRuleNotFound) Code() int
- func (o *ReadObjectDiscoveryRuleNotFound) Error() string
- func (o *ReadObjectDiscoveryRuleNotFound) GetPayload() *models.APIError
- func (o *ReadObjectDiscoveryRuleNotFound) IsClientError() bool
- func (o *ReadObjectDiscoveryRuleNotFound) IsCode(code int) bool
- func (o *ReadObjectDiscoveryRuleNotFound) IsRedirect() bool
- func (o *ReadObjectDiscoveryRuleNotFound) IsServerError() bool
- func (o *ReadObjectDiscoveryRuleNotFound) IsSuccess() bool
- func (o *ReadObjectDiscoveryRuleNotFound) String() string
- type ReadObjectDiscoveryRuleOK
- func (o *ReadObjectDiscoveryRuleOK) Code() int
- func (o *ReadObjectDiscoveryRuleOK) Error() string
- func (o *ReadObjectDiscoveryRuleOK) GetPayload() *models.ConfigunstableReadObjectDiscoveryRuleResponse
- func (o *ReadObjectDiscoveryRuleOK) IsClientError() bool
- func (o *ReadObjectDiscoveryRuleOK) IsCode(code int) bool
- func (o *ReadObjectDiscoveryRuleOK) IsRedirect() bool
- func (o *ReadObjectDiscoveryRuleOK) IsServerError() bool
- func (o *ReadObjectDiscoveryRuleOK) IsSuccess() bool
- func (o *ReadObjectDiscoveryRuleOK) String() string
- type ReadObjectDiscoveryRuleParams
- func NewReadObjectDiscoveryRuleParams() *ReadObjectDiscoveryRuleParams
- func NewReadObjectDiscoveryRuleParamsWithContext(ctx context.Context) *ReadObjectDiscoveryRuleParams
- func NewReadObjectDiscoveryRuleParamsWithHTTPClient(client *http.Client) *ReadObjectDiscoveryRuleParams
- func NewReadObjectDiscoveryRuleParamsWithTimeout(timeout time.Duration) *ReadObjectDiscoveryRuleParams
- func (o *ReadObjectDiscoveryRuleParams) SetContext(ctx context.Context)
- func (o *ReadObjectDiscoveryRuleParams) SetDefaults()
- func (o *ReadObjectDiscoveryRuleParams) SetHTTPClient(client *http.Client)
- func (o *ReadObjectDiscoveryRuleParams) SetSlug(slug string)
- func (o *ReadObjectDiscoveryRuleParams) SetTimeout(timeout time.Duration)
- func (o *ReadObjectDiscoveryRuleParams) WithContext(ctx context.Context) *ReadObjectDiscoveryRuleParams
- func (o *ReadObjectDiscoveryRuleParams) WithDefaults() *ReadObjectDiscoveryRuleParams
- func (o *ReadObjectDiscoveryRuleParams) WithHTTPClient(client *http.Client) *ReadObjectDiscoveryRuleParams
- func (o *ReadObjectDiscoveryRuleParams) WithSlug(slug string) *ReadObjectDiscoveryRuleParams
- func (o *ReadObjectDiscoveryRuleParams) WithTimeout(timeout time.Duration) *ReadObjectDiscoveryRuleParams
- func (o *ReadObjectDiscoveryRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadObjectDiscoveryRuleReader
- type UpdateObjectDiscoveryRuleBadRequest
- func (o *UpdateObjectDiscoveryRuleBadRequest) Code() int
- func (o *UpdateObjectDiscoveryRuleBadRequest) Error() string
- func (o *UpdateObjectDiscoveryRuleBadRequest) GetPayload() *models.APIError
- func (o *UpdateObjectDiscoveryRuleBadRequest) IsClientError() bool
- func (o *UpdateObjectDiscoveryRuleBadRequest) IsCode(code int) bool
- func (o *UpdateObjectDiscoveryRuleBadRequest) IsRedirect() bool
- func (o *UpdateObjectDiscoveryRuleBadRequest) IsServerError() bool
- func (o *UpdateObjectDiscoveryRuleBadRequest) IsSuccess() bool
- func (o *UpdateObjectDiscoveryRuleBadRequest) String() string
- type UpdateObjectDiscoveryRuleConflict
- func (o *UpdateObjectDiscoveryRuleConflict) Code() int
- func (o *UpdateObjectDiscoveryRuleConflict) Error() string
- func (o *UpdateObjectDiscoveryRuleConflict) GetPayload() *models.APIError
- func (o *UpdateObjectDiscoveryRuleConflict) IsClientError() bool
- func (o *UpdateObjectDiscoveryRuleConflict) IsCode(code int) bool
- func (o *UpdateObjectDiscoveryRuleConflict) IsRedirect() bool
- func (o *UpdateObjectDiscoveryRuleConflict) IsServerError() bool
- func (o *UpdateObjectDiscoveryRuleConflict) IsSuccess() bool
- func (o *UpdateObjectDiscoveryRuleConflict) String() string
- type UpdateObjectDiscoveryRuleDefault
- func (o *UpdateObjectDiscoveryRuleDefault) Code() int
- func (o *UpdateObjectDiscoveryRuleDefault) Error() string
- func (o *UpdateObjectDiscoveryRuleDefault) GetPayload() models.GenericError
- func (o *UpdateObjectDiscoveryRuleDefault) IsClientError() bool
- func (o *UpdateObjectDiscoveryRuleDefault) IsCode(code int) bool
- func (o *UpdateObjectDiscoveryRuleDefault) IsRedirect() bool
- func (o *UpdateObjectDiscoveryRuleDefault) IsServerError() bool
- func (o *UpdateObjectDiscoveryRuleDefault) IsSuccess() bool
- func (o *UpdateObjectDiscoveryRuleDefault) String() string
- type UpdateObjectDiscoveryRuleInternalServerError
- func (o *UpdateObjectDiscoveryRuleInternalServerError) Code() int
- func (o *UpdateObjectDiscoveryRuleInternalServerError) Error() string
- func (o *UpdateObjectDiscoveryRuleInternalServerError) GetPayload() *models.APIError
- func (o *UpdateObjectDiscoveryRuleInternalServerError) IsClientError() bool
- func (o *UpdateObjectDiscoveryRuleInternalServerError) IsCode(code int) bool
- func (o *UpdateObjectDiscoveryRuleInternalServerError) IsRedirect() bool
- func (o *UpdateObjectDiscoveryRuleInternalServerError) IsServerError() bool
- func (o *UpdateObjectDiscoveryRuleInternalServerError) IsSuccess() bool
- func (o *UpdateObjectDiscoveryRuleInternalServerError) String() string
- type UpdateObjectDiscoveryRuleNotFound
- func (o *UpdateObjectDiscoveryRuleNotFound) Code() int
- func (o *UpdateObjectDiscoveryRuleNotFound) Error() string
- func (o *UpdateObjectDiscoveryRuleNotFound) GetPayload() *models.APIError
- func (o *UpdateObjectDiscoveryRuleNotFound) IsClientError() bool
- func (o *UpdateObjectDiscoveryRuleNotFound) IsCode(code int) bool
- func (o *UpdateObjectDiscoveryRuleNotFound) IsRedirect() bool
- func (o *UpdateObjectDiscoveryRuleNotFound) IsServerError() bool
- func (o *UpdateObjectDiscoveryRuleNotFound) IsSuccess() bool
- func (o *UpdateObjectDiscoveryRuleNotFound) String() string
- type UpdateObjectDiscoveryRuleOK
- func (o *UpdateObjectDiscoveryRuleOK) Code() int
- func (o *UpdateObjectDiscoveryRuleOK) Error() string
- func (o *UpdateObjectDiscoveryRuleOK) GetPayload() *models.ConfigunstableUpdateObjectDiscoveryRuleResponse
- func (o *UpdateObjectDiscoveryRuleOK) IsClientError() bool
- func (o *UpdateObjectDiscoveryRuleOK) IsCode(code int) bool
- func (o *UpdateObjectDiscoveryRuleOK) IsRedirect() bool
- func (o *UpdateObjectDiscoveryRuleOK) IsServerError() bool
- func (o *UpdateObjectDiscoveryRuleOK) IsSuccess() bool
- func (o *UpdateObjectDiscoveryRuleOK) String() string
- type UpdateObjectDiscoveryRuleParams
- func NewUpdateObjectDiscoveryRuleParams() *UpdateObjectDiscoveryRuleParams
- func NewUpdateObjectDiscoveryRuleParamsWithContext(ctx context.Context) *UpdateObjectDiscoveryRuleParams
- func NewUpdateObjectDiscoveryRuleParamsWithHTTPClient(client *http.Client) *UpdateObjectDiscoveryRuleParams
- func NewUpdateObjectDiscoveryRuleParamsWithTimeout(timeout time.Duration) *UpdateObjectDiscoveryRuleParams
- func (o *UpdateObjectDiscoveryRuleParams) SetBody(body *models.ConfigUnstableUpdateObjectDiscoveryRuleBody)
- func (o *UpdateObjectDiscoveryRuleParams) SetContext(ctx context.Context)
- func (o *UpdateObjectDiscoveryRuleParams) SetDefaults()
- func (o *UpdateObjectDiscoveryRuleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateObjectDiscoveryRuleParams) SetSlug(slug string)
- func (o *UpdateObjectDiscoveryRuleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateObjectDiscoveryRuleParams) WithBody(body *models.ConfigUnstableUpdateObjectDiscoveryRuleBody) *UpdateObjectDiscoveryRuleParams
- func (o *UpdateObjectDiscoveryRuleParams) WithContext(ctx context.Context) *UpdateObjectDiscoveryRuleParams
- func (o *UpdateObjectDiscoveryRuleParams) WithDefaults() *UpdateObjectDiscoveryRuleParams
- func (o *UpdateObjectDiscoveryRuleParams) WithHTTPClient(client *http.Client) *UpdateObjectDiscoveryRuleParams
- func (o *UpdateObjectDiscoveryRuleParams) WithSlug(slug string) *UpdateObjectDiscoveryRuleParams
- func (o *UpdateObjectDiscoveryRuleParams) WithTimeout(timeout time.Duration) *UpdateObjectDiscoveryRuleParams
- func (o *UpdateObjectDiscoveryRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateObjectDiscoveryRuleReader
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 object discovery rule API
func (*Client) CreateObjectDiscoveryRule ¶
func (a *Client) CreateObjectDiscoveryRule(params *CreateObjectDiscoveryRuleParams, opts ...ClientOption) (*CreateObjectDiscoveryRuleOK, error)
CreateObjectDiscoveryRule create object discovery rule API
func (*Client) DeleteObjectDiscoveryRule ¶
func (a *Client) DeleteObjectDiscoveryRule(params *DeleteObjectDiscoveryRuleParams, opts ...ClientOption) (*DeleteObjectDiscoveryRuleOK, error)
DeleteObjectDiscoveryRule delete object discovery rule API
func (*Client) ListObjectDiscoveryRule ¶
func (a *Client) ListObjectDiscoveryRule(params *ListObjectDiscoveryRuleParams, opts ...ClientOption) (*ListObjectDiscoveryRuleOK, error)
ListObjectDiscoveryRule list object discovery rule API
func (*Client) ReadObjectDiscoveryRule ¶
func (a *Client) ReadObjectDiscoveryRule(params *ReadObjectDiscoveryRuleParams, opts ...ClientOption) (*ReadObjectDiscoveryRuleOK, error)
ReadObjectDiscoveryRule read object discovery rule API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateObjectDiscoveryRule ¶
func (a *Client) UpdateObjectDiscoveryRule(params *UpdateObjectDiscoveryRuleParams, opts ...ClientOption) (*UpdateObjectDiscoveryRuleOK, error)
UpdateObjectDiscoveryRule update object discovery rule API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateObjectDiscoveryRule(params *CreateObjectDiscoveryRuleParams, opts ...ClientOption) (*CreateObjectDiscoveryRuleOK, error) DeleteObjectDiscoveryRule(params *DeleteObjectDiscoveryRuleParams, opts ...ClientOption) (*DeleteObjectDiscoveryRuleOK, error) ListObjectDiscoveryRule(params *ListObjectDiscoveryRuleParams, opts ...ClientOption) (*ListObjectDiscoveryRuleOK, error) ReadObjectDiscoveryRule(params *ReadObjectDiscoveryRuleParams, opts ...ClientOption) (*ReadObjectDiscoveryRuleOK, error) UpdateObjectDiscoveryRule(params *UpdateObjectDiscoveryRuleParams, opts ...ClientOption) (*UpdateObjectDiscoveryRuleOK, 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 object discovery rule API client.
type CreateObjectDiscoveryRuleBadRequest ¶
CreateObjectDiscoveryRuleBadRequest describes a response with status code 400, with default header values.
Cannot create the ObjectDiscoveryRule because the request is invalid.
func NewCreateObjectDiscoveryRuleBadRequest ¶
func NewCreateObjectDiscoveryRuleBadRequest() *CreateObjectDiscoveryRuleBadRequest
NewCreateObjectDiscoveryRuleBadRequest creates a CreateObjectDiscoveryRuleBadRequest with default headers values
func (*CreateObjectDiscoveryRuleBadRequest) Code ¶
func (o *CreateObjectDiscoveryRuleBadRequest) Code() int
Code gets the status code for the create object discovery rule bad request response
func (*CreateObjectDiscoveryRuleBadRequest) Error ¶
func (o *CreateObjectDiscoveryRuleBadRequest) Error() string
func (*CreateObjectDiscoveryRuleBadRequest) GetPayload ¶
func (o *CreateObjectDiscoveryRuleBadRequest) GetPayload() *models.APIError
func (*CreateObjectDiscoveryRuleBadRequest) IsClientError ¶
func (o *CreateObjectDiscoveryRuleBadRequest) IsClientError() bool
IsClientError returns true when this create object discovery rule bad request response has a 4xx status code
func (*CreateObjectDiscoveryRuleBadRequest) IsCode ¶
func (o *CreateObjectDiscoveryRuleBadRequest) IsCode(code int) bool
IsCode returns true when this create object discovery rule bad request response a status code equal to that given
func (*CreateObjectDiscoveryRuleBadRequest) IsRedirect ¶
func (o *CreateObjectDiscoveryRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this create object discovery rule bad request response has a 3xx status code
func (*CreateObjectDiscoveryRuleBadRequest) IsServerError ¶
func (o *CreateObjectDiscoveryRuleBadRequest) IsServerError() bool
IsServerError returns true when this create object discovery rule bad request response has a 5xx status code
func (*CreateObjectDiscoveryRuleBadRequest) IsSuccess ¶
func (o *CreateObjectDiscoveryRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this create object discovery rule bad request response has a 2xx status code
func (*CreateObjectDiscoveryRuleBadRequest) String ¶
func (o *CreateObjectDiscoveryRuleBadRequest) String() string
type CreateObjectDiscoveryRuleConflict ¶
CreateObjectDiscoveryRuleConflict describes a response with status code 409, with default header values.
Cannot create the ObjectDiscoveryRule because there is a conflict with an existing ObjectDiscoveryRule.
func NewCreateObjectDiscoveryRuleConflict ¶
func NewCreateObjectDiscoveryRuleConflict() *CreateObjectDiscoveryRuleConflict
NewCreateObjectDiscoveryRuleConflict creates a CreateObjectDiscoveryRuleConflict with default headers values
func (*CreateObjectDiscoveryRuleConflict) Code ¶
func (o *CreateObjectDiscoveryRuleConflict) Code() int
Code gets the status code for the create object discovery rule conflict response
func (*CreateObjectDiscoveryRuleConflict) Error ¶
func (o *CreateObjectDiscoveryRuleConflict) Error() string
func (*CreateObjectDiscoveryRuleConflict) GetPayload ¶
func (o *CreateObjectDiscoveryRuleConflict) GetPayload() *models.APIError
func (*CreateObjectDiscoveryRuleConflict) IsClientError ¶
func (o *CreateObjectDiscoveryRuleConflict) IsClientError() bool
IsClientError returns true when this create object discovery rule conflict response has a 4xx status code
func (*CreateObjectDiscoveryRuleConflict) IsCode ¶
func (o *CreateObjectDiscoveryRuleConflict) IsCode(code int) bool
IsCode returns true when this create object discovery rule conflict response a status code equal to that given
func (*CreateObjectDiscoveryRuleConflict) IsRedirect ¶
func (o *CreateObjectDiscoveryRuleConflict) IsRedirect() bool
IsRedirect returns true when this create object discovery rule conflict response has a 3xx status code
func (*CreateObjectDiscoveryRuleConflict) IsServerError ¶
func (o *CreateObjectDiscoveryRuleConflict) IsServerError() bool
IsServerError returns true when this create object discovery rule conflict response has a 5xx status code
func (*CreateObjectDiscoveryRuleConflict) IsSuccess ¶
func (o *CreateObjectDiscoveryRuleConflict) IsSuccess() bool
IsSuccess returns true when this create object discovery rule conflict response has a 2xx status code
func (*CreateObjectDiscoveryRuleConflict) String ¶
func (o *CreateObjectDiscoveryRuleConflict) String() string
type CreateObjectDiscoveryRuleDefault ¶
type CreateObjectDiscoveryRuleDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateObjectDiscoveryRuleDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateObjectDiscoveryRuleDefault ¶
func NewCreateObjectDiscoveryRuleDefault(code int) *CreateObjectDiscoveryRuleDefault
NewCreateObjectDiscoveryRuleDefault creates a CreateObjectDiscoveryRuleDefault with default headers values
func (*CreateObjectDiscoveryRuleDefault) Code ¶
func (o *CreateObjectDiscoveryRuleDefault) Code() int
Code gets the status code for the create object discovery rule default response
func (*CreateObjectDiscoveryRuleDefault) Error ¶
func (o *CreateObjectDiscoveryRuleDefault) Error() string
func (*CreateObjectDiscoveryRuleDefault) GetPayload ¶
func (o *CreateObjectDiscoveryRuleDefault) GetPayload() models.GenericError
func (*CreateObjectDiscoveryRuleDefault) IsClientError ¶
func (o *CreateObjectDiscoveryRuleDefault) IsClientError() bool
IsClientError returns true when this create object discovery rule default response has a 4xx status code
func (*CreateObjectDiscoveryRuleDefault) IsCode ¶
func (o *CreateObjectDiscoveryRuleDefault) IsCode(code int) bool
IsCode returns true when this create object discovery rule default response a status code equal to that given
func (*CreateObjectDiscoveryRuleDefault) IsRedirect ¶
func (o *CreateObjectDiscoveryRuleDefault) IsRedirect() bool
IsRedirect returns true when this create object discovery rule default response has a 3xx status code
func (*CreateObjectDiscoveryRuleDefault) IsServerError ¶
func (o *CreateObjectDiscoveryRuleDefault) IsServerError() bool
IsServerError returns true when this create object discovery rule default response has a 5xx status code
func (*CreateObjectDiscoveryRuleDefault) IsSuccess ¶
func (o *CreateObjectDiscoveryRuleDefault) IsSuccess() bool
IsSuccess returns true when this create object discovery rule default response has a 2xx status code
func (*CreateObjectDiscoveryRuleDefault) String ¶
func (o *CreateObjectDiscoveryRuleDefault) String() string
type CreateObjectDiscoveryRuleInternalServerError ¶
CreateObjectDiscoveryRuleInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateObjectDiscoveryRuleInternalServerError ¶
func NewCreateObjectDiscoveryRuleInternalServerError() *CreateObjectDiscoveryRuleInternalServerError
NewCreateObjectDiscoveryRuleInternalServerError creates a CreateObjectDiscoveryRuleInternalServerError with default headers values
func (*CreateObjectDiscoveryRuleInternalServerError) Code ¶
func (o *CreateObjectDiscoveryRuleInternalServerError) Code() int
Code gets the status code for the create object discovery rule internal server error response
func (*CreateObjectDiscoveryRuleInternalServerError) Error ¶
func (o *CreateObjectDiscoveryRuleInternalServerError) Error() string
func (*CreateObjectDiscoveryRuleInternalServerError) GetPayload ¶
func (o *CreateObjectDiscoveryRuleInternalServerError) GetPayload() *models.APIError
func (*CreateObjectDiscoveryRuleInternalServerError) IsClientError ¶
func (o *CreateObjectDiscoveryRuleInternalServerError) IsClientError() bool
IsClientError returns true when this create object discovery rule internal server error response has a 4xx status code
func (*CreateObjectDiscoveryRuleInternalServerError) IsCode ¶
func (o *CreateObjectDiscoveryRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this create object discovery rule internal server error response a status code equal to that given
func (*CreateObjectDiscoveryRuleInternalServerError) IsRedirect ¶
func (o *CreateObjectDiscoveryRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this create object discovery rule internal server error response has a 3xx status code
func (*CreateObjectDiscoveryRuleInternalServerError) IsServerError ¶
func (o *CreateObjectDiscoveryRuleInternalServerError) IsServerError() bool
IsServerError returns true when this create object discovery rule internal server error response has a 5xx status code
func (*CreateObjectDiscoveryRuleInternalServerError) IsSuccess ¶
func (o *CreateObjectDiscoveryRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this create object discovery rule internal server error response has a 2xx status code
func (*CreateObjectDiscoveryRuleInternalServerError) String ¶
func (o *CreateObjectDiscoveryRuleInternalServerError) String() string
type CreateObjectDiscoveryRuleOK ¶
type CreateObjectDiscoveryRuleOK struct {
Payload *models.ConfigunstableCreateObjectDiscoveryRuleResponse
}
CreateObjectDiscoveryRuleOK describes a response with status code 200, with default header values.
A successful response containing the created ObjectDiscoveryRule.
func NewCreateObjectDiscoveryRuleOK ¶
func NewCreateObjectDiscoveryRuleOK() *CreateObjectDiscoveryRuleOK
NewCreateObjectDiscoveryRuleOK creates a CreateObjectDiscoveryRuleOK with default headers values
func (*CreateObjectDiscoveryRuleOK) Code ¶
func (o *CreateObjectDiscoveryRuleOK) Code() int
Code gets the status code for the create object discovery rule o k response
func (*CreateObjectDiscoveryRuleOK) Error ¶
func (o *CreateObjectDiscoveryRuleOK) Error() string
func (*CreateObjectDiscoveryRuleOK) GetPayload ¶
func (o *CreateObjectDiscoveryRuleOK) GetPayload() *models.ConfigunstableCreateObjectDiscoveryRuleResponse
func (*CreateObjectDiscoveryRuleOK) IsClientError ¶
func (o *CreateObjectDiscoveryRuleOK) IsClientError() bool
IsClientError returns true when this create object discovery rule o k response has a 4xx status code
func (*CreateObjectDiscoveryRuleOK) IsCode ¶
func (o *CreateObjectDiscoveryRuleOK) IsCode(code int) bool
IsCode returns true when this create object discovery rule o k response a status code equal to that given
func (*CreateObjectDiscoveryRuleOK) IsRedirect ¶
func (o *CreateObjectDiscoveryRuleOK) IsRedirect() bool
IsRedirect returns true when this create object discovery rule o k response has a 3xx status code
func (*CreateObjectDiscoveryRuleOK) IsServerError ¶
func (o *CreateObjectDiscoveryRuleOK) IsServerError() bool
IsServerError returns true when this create object discovery rule o k response has a 5xx status code
func (*CreateObjectDiscoveryRuleOK) IsSuccess ¶
func (o *CreateObjectDiscoveryRuleOK) IsSuccess() bool
IsSuccess returns true when this create object discovery rule o k response has a 2xx status code
func (*CreateObjectDiscoveryRuleOK) String ¶
func (o *CreateObjectDiscoveryRuleOK) String() string
type CreateObjectDiscoveryRuleParams ¶
type CreateObjectDiscoveryRuleParams struct { // Body. Body *models.ConfigunstableCreateObjectDiscoveryRuleRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateObjectDiscoveryRuleParams contains all the parameters to send to the API endpoint
for the create object discovery rule operation. Typically these are written to a http.Request.
func NewCreateObjectDiscoveryRuleParams ¶
func NewCreateObjectDiscoveryRuleParams() *CreateObjectDiscoveryRuleParams
NewCreateObjectDiscoveryRuleParams creates a new CreateObjectDiscoveryRuleParams 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 NewCreateObjectDiscoveryRuleParamsWithContext ¶
func NewCreateObjectDiscoveryRuleParamsWithContext(ctx context.Context) *CreateObjectDiscoveryRuleParams
NewCreateObjectDiscoveryRuleParamsWithContext creates a new CreateObjectDiscoveryRuleParams object with the ability to set a context for a request.
func NewCreateObjectDiscoveryRuleParamsWithHTTPClient ¶
func NewCreateObjectDiscoveryRuleParamsWithHTTPClient(client *http.Client) *CreateObjectDiscoveryRuleParams
NewCreateObjectDiscoveryRuleParamsWithHTTPClient creates a new CreateObjectDiscoveryRuleParams object with the ability to set a custom HTTPClient for a request.
func NewCreateObjectDiscoveryRuleParamsWithTimeout ¶
func NewCreateObjectDiscoveryRuleParamsWithTimeout(timeout time.Duration) *CreateObjectDiscoveryRuleParams
NewCreateObjectDiscoveryRuleParamsWithTimeout creates a new CreateObjectDiscoveryRuleParams object with the ability to set a timeout on a request.
func (*CreateObjectDiscoveryRuleParams) SetBody ¶
func (o *CreateObjectDiscoveryRuleParams) SetBody(body *models.ConfigunstableCreateObjectDiscoveryRuleRequest)
SetBody adds the body to the create object discovery rule params
func (*CreateObjectDiscoveryRuleParams) SetContext ¶
func (o *CreateObjectDiscoveryRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the create object discovery rule params
func (*CreateObjectDiscoveryRuleParams) SetDefaults ¶
func (o *CreateObjectDiscoveryRuleParams) SetDefaults()
SetDefaults hydrates default values in the create object discovery rule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateObjectDiscoveryRuleParams) SetHTTPClient ¶
func (o *CreateObjectDiscoveryRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create object discovery rule params
func (*CreateObjectDiscoveryRuleParams) SetTimeout ¶
func (o *CreateObjectDiscoveryRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create object discovery rule params
func (*CreateObjectDiscoveryRuleParams) WithBody ¶
func (o *CreateObjectDiscoveryRuleParams) WithBody(body *models.ConfigunstableCreateObjectDiscoveryRuleRequest) *CreateObjectDiscoveryRuleParams
WithBody adds the body to the create object discovery rule params
func (*CreateObjectDiscoveryRuleParams) WithContext ¶
func (o *CreateObjectDiscoveryRuleParams) WithContext(ctx context.Context) *CreateObjectDiscoveryRuleParams
WithContext adds the context to the create object discovery rule params
func (*CreateObjectDiscoveryRuleParams) WithDefaults ¶
func (o *CreateObjectDiscoveryRuleParams) WithDefaults() *CreateObjectDiscoveryRuleParams
WithDefaults hydrates default values in the create object discovery rule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateObjectDiscoveryRuleParams) WithHTTPClient ¶
func (o *CreateObjectDiscoveryRuleParams) WithHTTPClient(client *http.Client) *CreateObjectDiscoveryRuleParams
WithHTTPClient adds the HTTPClient to the create object discovery rule params
func (*CreateObjectDiscoveryRuleParams) WithTimeout ¶
func (o *CreateObjectDiscoveryRuleParams) WithTimeout(timeout time.Duration) *CreateObjectDiscoveryRuleParams
WithTimeout adds the timeout to the create object discovery rule params
func (*CreateObjectDiscoveryRuleParams) WriteToRequest ¶
func (o *CreateObjectDiscoveryRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateObjectDiscoveryRuleReader ¶
type CreateObjectDiscoveryRuleReader struct {
// contains filtered or unexported fields
}
CreateObjectDiscoveryRuleReader is a Reader for the CreateObjectDiscoveryRule structure.
func (*CreateObjectDiscoveryRuleReader) ReadResponse ¶
func (o *CreateObjectDiscoveryRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteObjectDiscoveryRuleBadRequest ¶
DeleteObjectDiscoveryRuleBadRequest describes a response with status code 400, with default header values.
Cannot delete the ObjectDiscoveryRule because it is in use.
func NewDeleteObjectDiscoveryRuleBadRequest ¶
func NewDeleteObjectDiscoveryRuleBadRequest() *DeleteObjectDiscoveryRuleBadRequest
NewDeleteObjectDiscoveryRuleBadRequest creates a DeleteObjectDiscoveryRuleBadRequest with default headers values
func (*DeleteObjectDiscoveryRuleBadRequest) Code ¶
func (o *DeleteObjectDiscoveryRuleBadRequest) Code() int
Code gets the status code for the delete object discovery rule bad request response
func (*DeleteObjectDiscoveryRuleBadRequest) Error ¶
func (o *DeleteObjectDiscoveryRuleBadRequest) Error() string
func (*DeleteObjectDiscoveryRuleBadRequest) GetPayload ¶
func (o *DeleteObjectDiscoveryRuleBadRequest) GetPayload() *models.APIError
func (*DeleteObjectDiscoveryRuleBadRequest) IsClientError ¶
func (o *DeleteObjectDiscoveryRuleBadRequest) IsClientError() bool
IsClientError returns true when this delete object discovery rule bad request response has a 4xx status code
func (*DeleteObjectDiscoveryRuleBadRequest) IsCode ¶
func (o *DeleteObjectDiscoveryRuleBadRequest) IsCode(code int) bool
IsCode returns true when this delete object discovery rule bad request response a status code equal to that given
func (*DeleteObjectDiscoveryRuleBadRequest) IsRedirect ¶
func (o *DeleteObjectDiscoveryRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this delete object discovery rule bad request response has a 3xx status code
func (*DeleteObjectDiscoveryRuleBadRequest) IsServerError ¶
func (o *DeleteObjectDiscoveryRuleBadRequest) IsServerError() bool
IsServerError returns true when this delete object discovery rule bad request response has a 5xx status code
func (*DeleteObjectDiscoveryRuleBadRequest) IsSuccess ¶
func (o *DeleteObjectDiscoveryRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this delete object discovery rule bad request response has a 2xx status code
func (*DeleteObjectDiscoveryRuleBadRequest) String ¶
func (o *DeleteObjectDiscoveryRuleBadRequest) String() string
type DeleteObjectDiscoveryRuleDefault ¶
type DeleteObjectDiscoveryRuleDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteObjectDiscoveryRuleDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteObjectDiscoveryRuleDefault ¶
func NewDeleteObjectDiscoveryRuleDefault(code int) *DeleteObjectDiscoveryRuleDefault
NewDeleteObjectDiscoveryRuleDefault creates a DeleteObjectDiscoveryRuleDefault with default headers values
func (*DeleteObjectDiscoveryRuleDefault) Code ¶
func (o *DeleteObjectDiscoveryRuleDefault) Code() int
Code gets the status code for the delete object discovery rule default response
func (*DeleteObjectDiscoveryRuleDefault) Error ¶
func (o *DeleteObjectDiscoveryRuleDefault) Error() string
func (*DeleteObjectDiscoveryRuleDefault) GetPayload ¶
func (o *DeleteObjectDiscoveryRuleDefault) GetPayload() models.GenericError
func (*DeleteObjectDiscoveryRuleDefault) IsClientError ¶
func (o *DeleteObjectDiscoveryRuleDefault) IsClientError() bool
IsClientError returns true when this delete object discovery rule default response has a 4xx status code
func (*DeleteObjectDiscoveryRuleDefault) IsCode ¶
func (o *DeleteObjectDiscoveryRuleDefault) IsCode(code int) bool
IsCode returns true when this delete object discovery rule default response a status code equal to that given
func (*DeleteObjectDiscoveryRuleDefault) IsRedirect ¶
func (o *DeleteObjectDiscoveryRuleDefault) IsRedirect() bool
IsRedirect returns true when this delete object discovery rule default response has a 3xx status code
func (*DeleteObjectDiscoveryRuleDefault) IsServerError ¶
func (o *DeleteObjectDiscoveryRuleDefault) IsServerError() bool
IsServerError returns true when this delete object discovery rule default response has a 5xx status code
func (*DeleteObjectDiscoveryRuleDefault) IsSuccess ¶
func (o *DeleteObjectDiscoveryRuleDefault) IsSuccess() bool
IsSuccess returns true when this delete object discovery rule default response has a 2xx status code
func (*DeleteObjectDiscoveryRuleDefault) String ¶
func (o *DeleteObjectDiscoveryRuleDefault) String() string
type DeleteObjectDiscoveryRuleInternalServerError ¶
DeleteObjectDiscoveryRuleInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteObjectDiscoveryRuleInternalServerError ¶
func NewDeleteObjectDiscoveryRuleInternalServerError() *DeleteObjectDiscoveryRuleInternalServerError
NewDeleteObjectDiscoveryRuleInternalServerError creates a DeleteObjectDiscoveryRuleInternalServerError with default headers values
func (*DeleteObjectDiscoveryRuleInternalServerError) Code ¶
func (o *DeleteObjectDiscoveryRuleInternalServerError) Code() int
Code gets the status code for the delete object discovery rule internal server error response
func (*DeleteObjectDiscoveryRuleInternalServerError) Error ¶
func (o *DeleteObjectDiscoveryRuleInternalServerError) Error() string
func (*DeleteObjectDiscoveryRuleInternalServerError) GetPayload ¶
func (o *DeleteObjectDiscoveryRuleInternalServerError) GetPayload() *models.APIError
func (*DeleteObjectDiscoveryRuleInternalServerError) IsClientError ¶
func (o *DeleteObjectDiscoveryRuleInternalServerError) IsClientError() bool
IsClientError returns true when this delete object discovery rule internal server error response has a 4xx status code
func (*DeleteObjectDiscoveryRuleInternalServerError) IsCode ¶
func (o *DeleteObjectDiscoveryRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this delete object discovery rule internal server error response a status code equal to that given
func (*DeleteObjectDiscoveryRuleInternalServerError) IsRedirect ¶
func (o *DeleteObjectDiscoveryRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete object discovery rule internal server error response has a 3xx status code
func (*DeleteObjectDiscoveryRuleInternalServerError) IsServerError ¶
func (o *DeleteObjectDiscoveryRuleInternalServerError) IsServerError() bool
IsServerError returns true when this delete object discovery rule internal server error response has a 5xx status code
func (*DeleteObjectDiscoveryRuleInternalServerError) IsSuccess ¶
func (o *DeleteObjectDiscoveryRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete object discovery rule internal server error response has a 2xx status code
func (*DeleteObjectDiscoveryRuleInternalServerError) String ¶
func (o *DeleteObjectDiscoveryRuleInternalServerError) String() string
type DeleteObjectDiscoveryRuleNotFound ¶
DeleteObjectDiscoveryRuleNotFound describes a response with status code 404, with default header values.
Cannot delete the ObjectDiscoveryRule because the slug does not exist.
func NewDeleteObjectDiscoveryRuleNotFound ¶
func NewDeleteObjectDiscoveryRuleNotFound() *DeleteObjectDiscoveryRuleNotFound
NewDeleteObjectDiscoveryRuleNotFound creates a DeleteObjectDiscoveryRuleNotFound with default headers values
func (*DeleteObjectDiscoveryRuleNotFound) Code ¶
func (o *DeleteObjectDiscoveryRuleNotFound) Code() int
Code gets the status code for the delete object discovery rule not found response
func (*DeleteObjectDiscoveryRuleNotFound) Error ¶
func (o *DeleteObjectDiscoveryRuleNotFound) Error() string
func (*DeleteObjectDiscoveryRuleNotFound) GetPayload ¶
func (o *DeleteObjectDiscoveryRuleNotFound) GetPayload() *models.APIError
func (*DeleteObjectDiscoveryRuleNotFound) IsClientError ¶
func (o *DeleteObjectDiscoveryRuleNotFound) IsClientError() bool
IsClientError returns true when this delete object discovery rule not found response has a 4xx status code
func (*DeleteObjectDiscoveryRuleNotFound) IsCode ¶
func (o *DeleteObjectDiscoveryRuleNotFound) IsCode(code int) bool
IsCode returns true when this delete object discovery rule not found response a status code equal to that given
func (*DeleteObjectDiscoveryRuleNotFound) IsRedirect ¶
func (o *DeleteObjectDiscoveryRuleNotFound) IsRedirect() bool
IsRedirect returns true when this delete object discovery rule not found response has a 3xx status code
func (*DeleteObjectDiscoveryRuleNotFound) IsServerError ¶
func (o *DeleteObjectDiscoveryRuleNotFound) IsServerError() bool
IsServerError returns true when this delete object discovery rule not found response has a 5xx status code
func (*DeleteObjectDiscoveryRuleNotFound) IsSuccess ¶
func (o *DeleteObjectDiscoveryRuleNotFound) IsSuccess() bool
IsSuccess returns true when this delete object discovery rule not found response has a 2xx status code
func (*DeleteObjectDiscoveryRuleNotFound) String ¶
func (o *DeleteObjectDiscoveryRuleNotFound) String() string
type DeleteObjectDiscoveryRuleOK ¶
type DeleteObjectDiscoveryRuleOK struct {
Payload models.ConfigunstableDeleteObjectDiscoveryRuleResponse
}
DeleteObjectDiscoveryRuleOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteObjectDiscoveryRuleOK ¶
func NewDeleteObjectDiscoveryRuleOK() *DeleteObjectDiscoveryRuleOK
NewDeleteObjectDiscoveryRuleOK creates a DeleteObjectDiscoveryRuleOK with default headers values
func (*DeleteObjectDiscoveryRuleOK) Code ¶
func (o *DeleteObjectDiscoveryRuleOK) Code() int
Code gets the status code for the delete object discovery rule o k response
func (*DeleteObjectDiscoveryRuleOK) Error ¶
func (o *DeleteObjectDiscoveryRuleOK) Error() string
func (*DeleteObjectDiscoveryRuleOK) GetPayload ¶
func (o *DeleteObjectDiscoveryRuleOK) GetPayload() models.ConfigunstableDeleteObjectDiscoveryRuleResponse
func (*DeleteObjectDiscoveryRuleOK) IsClientError ¶
func (o *DeleteObjectDiscoveryRuleOK) IsClientError() bool
IsClientError returns true when this delete object discovery rule o k response has a 4xx status code
func (*DeleteObjectDiscoveryRuleOK) IsCode ¶
func (o *DeleteObjectDiscoveryRuleOK) IsCode(code int) bool
IsCode returns true when this delete object discovery rule o k response a status code equal to that given
func (*DeleteObjectDiscoveryRuleOK) IsRedirect ¶
func (o *DeleteObjectDiscoveryRuleOK) IsRedirect() bool
IsRedirect returns true when this delete object discovery rule o k response has a 3xx status code
func (*DeleteObjectDiscoveryRuleOK) IsServerError ¶
func (o *DeleteObjectDiscoveryRuleOK) IsServerError() bool
IsServerError returns true when this delete object discovery rule o k response has a 5xx status code
func (*DeleteObjectDiscoveryRuleOK) IsSuccess ¶
func (o *DeleteObjectDiscoveryRuleOK) IsSuccess() bool
IsSuccess returns true when this delete object discovery rule o k response has a 2xx status code
func (*DeleteObjectDiscoveryRuleOK) String ¶
func (o *DeleteObjectDiscoveryRuleOK) String() string
type DeleteObjectDiscoveryRuleParams ¶
type DeleteObjectDiscoveryRuleParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteObjectDiscoveryRuleParams contains all the parameters to send to the API endpoint
for the delete object discovery rule operation. Typically these are written to a http.Request.
func NewDeleteObjectDiscoveryRuleParams ¶
func NewDeleteObjectDiscoveryRuleParams() *DeleteObjectDiscoveryRuleParams
NewDeleteObjectDiscoveryRuleParams creates a new DeleteObjectDiscoveryRuleParams 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 NewDeleteObjectDiscoveryRuleParamsWithContext ¶
func NewDeleteObjectDiscoveryRuleParamsWithContext(ctx context.Context) *DeleteObjectDiscoveryRuleParams
NewDeleteObjectDiscoveryRuleParamsWithContext creates a new DeleteObjectDiscoveryRuleParams object with the ability to set a context for a request.
func NewDeleteObjectDiscoveryRuleParamsWithHTTPClient ¶
func NewDeleteObjectDiscoveryRuleParamsWithHTTPClient(client *http.Client) *DeleteObjectDiscoveryRuleParams
NewDeleteObjectDiscoveryRuleParamsWithHTTPClient creates a new DeleteObjectDiscoveryRuleParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteObjectDiscoveryRuleParamsWithTimeout ¶
func NewDeleteObjectDiscoveryRuleParamsWithTimeout(timeout time.Duration) *DeleteObjectDiscoveryRuleParams
NewDeleteObjectDiscoveryRuleParamsWithTimeout creates a new DeleteObjectDiscoveryRuleParams object with the ability to set a timeout on a request.
func (*DeleteObjectDiscoveryRuleParams) SetContext ¶
func (o *DeleteObjectDiscoveryRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete object discovery rule params
func (*DeleteObjectDiscoveryRuleParams) SetDefaults ¶
func (o *DeleteObjectDiscoveryRuleParams) SetDefaults()
SetDefaults hydrates default values in the delete object discovery rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteObjectDiscoveryRuleParams) SetHTTPClient ¶
func (o *DeleteObjectDiscoveryRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete object discovery rule params
func (*DeleteObjectDiscoveryRuleParams) SetSlug ¶
func (o *DeleteObjectDiscoveryRuleParams) SetSlug(slug string)
SetSlug adds the slug to the delete object discovery rule params
func (*DeleteObjectDiscoveryRuleParams) SetTimeout ¶
func (o *DeleteObjectDiscoveryRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete object discovery rule params
func (*DeleteObjectDiscoveryRuleParams) WithContext ¶
func (o *DeleteObjectDiscoveryRuleParams) WithContext(ctx context.Context) *DeleteObjectDiscoveryRuleParams
WithContext adds the context to the delete object discovery rule params
func (*DeleteObjectDiscoveryRuleParams) WithDefaults ¶
func (o *DeleteObjectDiscoveryRuleParams) WithDefaults() *DeleteObjectDiscoveryRuleParams
WithDefaults hydrates default values in the delete object discovery rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteObjectDiscoveryRuleParams) WithHTTPClient ¶
func (o *DeleteObjectDiscoveryRuleParams) WithHTTPClient(client *http.Client) *DeleteObjectDiscoveryRuleParams
WithHTTPClient adds the HTTPClient to the delete object discovery rule params
func (*DeleteObjectDiscoveryRuleParams) WithSlug ¶
func (o *DeleteObjectDiscoveryRuleParams) WithSlug(slug string) *DeleteObjectDiscoveryRuleParams
WithSlug adds the slug to the delete object discovery rule params
func (*DeleteObjectDiscoveryRuleParams) WithTimeout ¶
func (o *DeleteObjectDiscoveryRuleParams) WithTimeout(timeout time.Duration) *DeleteObjectDiscoveryRuleParams
WithTimeout adds the timeout to the delete object discovery rule params
func (*DeleteObjectDiscoveryRuleParams) WriteToRequest ¶
func (o *DeleteObjectDiscoveryRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteObjectDiscoveryRuleReader ¶
type DeleteObjectDiscoveryRuleReader struct {
// contains filtered or unexported fields
}
DeleteObjectDiscoveryRuleReader is a Reader for the DeleteObjectDiscoveryRule structure.
func (*DeleteObjectDiscoveryRuleReader) ReadResponse ¶
func (o *DeleteObjectDiscoveryRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListObjectDiscoveryRuleDefault ¶
type ListObjectDiscoveryRuleDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ListObjectDiscoveryRuleDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewListObjectDiscoveryRuleDefault ¶
func NewListObjectDiscoveryRuleDefault(code int) *ListObjectDiscoveryRuleDefault
NewListObjectDiscoveryRuleDefault creates a ListObjectDiscoveryRuleDefault with default headers values
func (*ListObjectDiscoveryRuleDefault) Code ¶
func (o *ListObjectDiscoveryRuleDefault) Code() int
Code gets the status code for the list object discovery rule default response
func (*ListObjectDiscoveryRuleDefault) Error ¶
func (o *ListObjectDiscoveryRuleDefault) Error() string
func (*ListObjectDiscoveryRuleDefault) GetPayload ¶
func (o *ListObjectDiscoveryRuleDefault) GetPayload() models.GenericError
func (*ListObjectDiscoveryRuleDefault) IsClientError ¶
func (o *ListObjectDiscoveryRuleDefault) IsClientError() bool
IsClientError returns true when this list object discovery rule default response has a 4xx status code
func (*ListObjectDiscoveryRuleDefault) IsCode ¶
func (o *ListObjectDiscoveryRuleDefault) IsCode(code int) bool
IsCode returns true when this list object discovery rule default response a status code equal to that given
func (*ListObjectDiscoveryRuleDefault) IsRedirect ¶
func (o *ListObjectDiscoveryRuleDefault) IsRedirect() bool
IsRedirect returns true when this list object discovery rule default response has a 3xx status code
func (*ListObjectDiscoveryRuleDefault) IsServerError ¶
func (o *ListObjectDiscoveryRuleDefault) IsServerError() bool
IsServerError returns true when this list object discovery rule default response has a 5xx status code
func (*ListObjectDiscoveryRuleDefault) IsSuccess ¶
func (o *ListObjectDiscoveryRuleDefault) IsSuccess() bool
IsSuccess returns true when this list object discovery rule default response has a 2xx status code
func (*ListObjectDiscoveryRuleDefault) String ¶
func (o *ListObjectDiscoveryRuleDefault) String() string
type ListObjectDiscoveryRuleInternalServerError ¶
ListObjectDiscoveryRuleInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewListObjectDiscoveryRuleInternalServerError ¶
func NewListObjectDiscoveryRuleInternalServerError() *ListObjectDiscoveryRuleInternalServerError
NewListObjectDiscoveryRuleInternalServerError creates a ListObjectDiscoveryRuleInternalServerError with default headers values
func (*ListObjectDiscoveryRuleInternalServerError) Code ¶
func (o *ListObjectDiscoveryRuleInternalServerError) Code() int
Code gets the status code for the list object discovery rule internal server error response
func (*ListObjectDiscoveryRuleInternalServerError) Error ¶
func (o *ListObjectDiscoveryRuleInternalServerError) Error() string
func (*ListObjectDiscoveryRuleInternalServerError) GetPayload ¶
func (o *ListObjectDiscoveryRuleInternalServerError) GetPayload() *models.APIError
func (*ListObjectDiscoveryRuleInternalServerError) IsClientError ¶
func (o *ListObjectDiscoveryRuleInternalServerError) IsClientError() bool
IsClientError returns true when this list object discovery rule internal server error response has a 4xx status code
func (*ListObjectDiscoveryRuleInternalServerError) IsCode ¶
func (o *ListObjectDiscoveryRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this list object discovery rule internal server error response a status code equal to that given
func (*ListObjectDiscoveryRuleInternalServerError) IsRedirect ¶
func (o *ListObjectDiscoveryRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this list object discovery rule internal server error response has a 3xx status code
func (*ListObjectDiscoveryRuleInternalServerError) IsServerError ¶
func (o *ListObjectDiscoveryRuleInternalServerError) IsServerError() bool
IsServerError returns true when this list object discovery rule internal server error response has a 5xx status code
func (*ListObjectDiscoveryRuleInternalServerError) IsSuccess ¶
func (o *ListObjectDiscoveryRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this list object discovery rule internal server error response has a 2xx status code
func (*ListObjectDiscoveryRuleInternalServerError) String ¶
func (o *ListObjectDiscoveryRuleInternalServerError) String() string
type ListObjectDiscoveryRuleOK ¶
type ListObjectDiscoveryRuleOK struct {
Payload *models.ConfigunstableListObjectDiscoveryRulesResponse
}
ListObjectDiscoveryRuleOK describes a response with status code 200, with default header values.
A successful response.
func NewListObjectDiscoveryRuleOK ¶
func NewListObjectDiscoveryRuleOK() *ListObjectDiscoveryRuleOK
NewListObjectDiscoveryRuleOK creates a ListObjectDiscoveryRuleOK with default headers values
func (*ListObjectDiscoveryRuleOK) Code ¶
func (o *ListObjectDiscoveryRuleOK) Code() int
Code gets the status code for the list object discovery rule o k response
func (*ListObjectDiscoveryRuleOK) Error ¶
func (o *ListObjectDiscoveryRuleOK) Error() string
func (*ListObjectDiscoveryRuleOK) GetPayload ¶
func (o *ListObjectDiscoveryRuleOK) GetPayload() *models.ConfigunstableListObjectDiscoveryRulesResponse
func (*ListObjectDiscoveryRuleOK) IsClientError ¶
func (o *ListObjectDiscoveryRuleOK) IsClientError() bool
IsClientError returns true when this list object discovery rule o k response has a 4xx status code
func (*ListObjectDiscoveryRuleOK) IsCode ¶
func (o *ListObjectDiscoveryRuleOK) IsCode(code int) bool
IsCode returns true when this list object discovery rule o k response a status code equal to that given
func (*ListObjectDiscoveryRuleOK) IsRedirect ¶
func (o *ListObjectDiscoveryRuleOK) IsRedirect() bool
IsRedirect returns true when this list object discovery rule o k response has a 3xx status code
func (*ListObjectDiscoveryRuleOK) IsServerError ¶
func (o *ListObjectDiscoveryRuleOK) IsServerError() bool
IsServerError returns true when this list object discovery rule o k response has a 5xx status code
func (*ListObjectDiscoveryRuleOK) IsSuccess ¶
func (o *ListObjectDiscoveryRuleOK) IsSuccess() bool
IsSuccess returns true when this list object discovery rule o k response has a 2xx status code
func (*ListObjectDiscoveryRuleOK) String ¶
func (o *ListObjectDiscoveryRuleOK) String() string
type ListObjectDiscoveryRuleParams ¶
type ListObjectDiscoveryRuleParams struct { /* PageMaxSize. Page size preference (i.e. how many items are returned in the next page). If zero, the server will use a default. Regardless of what size is given, clients must never assume how many items will be returned. Format: int64 */ PageMaxSize *int64 /* PageToken. Opaque page token identifying which page to request. An empty token identifies the first page. */ PageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListObjectDiscoveryRuleParams contains all the parameters to send to the API endpoint
for the list object discovery rule operation. Typically these are written to a http.Request.
func NewListObjectDiscoveryRuleParams ¶
func NewListObjectDiscoveryRuleParams() *ListObjectDiscoveryRuleParams
NewListObjectDiscoveryRuleParams creates a new ListObjectDiscoveryRuleParams 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 NewListObjectDiscoveryRuleParamsWithContext ¶
func NewListObjectDiscoveryRuleParamsWithContext(ctx context.Context) *ListObjectDiscoveryRuleParams
NewListObjectDiscoveryRuleParamsWithContext creates a new ListObjectDiscoveryRuleParams object with the ability to set a context for a request.
func NewListObjectDiscoveryRuleParamsWithHTTPClient ¶
func NewListObjectDiscoveryRuleParamsWithHTTPClient(client *http.Client) *ListObjectDiscoveryRuleParams
NewListObjectDiscoveryRuleParamsWithHTTPClient creates a new ListObjectDiscoveryRuleParams object with the ability to set a custom HTTPClient for a request.
func NewListObjectDiscoveryRuleParamsWithTimeout ¶
func NewListObjectDiscoveryRuleParamsWithTimeout(timeout time.Duration) *ListObjectDiscoveryRuleParams
NewListObjectDiscoveryRuleParamsWithTimeout creates a new ListObjectDiscoveryRuleParams object with the ability to set a timeout on a request.
func (*ListObjectDiscoveryRuleParams) SetContext ¶
func (o *ListObjectDiscoveryRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the list object discovery rule params
func (*ListObjectDiscoveryRuleParams) SetDefaults ¶
func (o *ListObjectDiscoveryRuleParams) SetDefaults()
SetDefaults hydrates default values in the list object discovery rule params (not the query body).
All values with no default are reset to their zero value.
func (*ListObjectDiscoveryRuleParams) SetHTTPClient ¶
func (o *ListObjectDiscoveryRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list object discovery rule params
func (*ListObjectDiscoveryRuleParams) SetPageMaxSize ¶
func (o *ListObjectDiscoveryRuleParams) SetPageMaxSize(pageMaxSize *int64)
SetPageMaxSize adds the pageMaxSize to the list object discovery rule params
func (*ListObjectDiscoveryRuleParams) SetPageToken ¶
func (o *ListObjectDiscoveryRuleParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list object discovery rule params
func (*ListObjectDiscoveryRuleParams) SetTimeout ¶
func (o *ListObjectDiscoveryRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list object discovery rule params
func (*ListObjectDiscoveryRuleParams) WithContext ¶
func (o *ListObjectDiscoveryRuleParams) WithContext(ctx context.Context) *ListObjectDiscoveryRuleParams
WithContext adds the context to the list object discovery rule params
func (*ListObjectDiscoveryRuleParams) WithDefaults ¶
func (o *ListObjectDiscoveryRuleParams) WithDefaults() *ListObjectDiscoveryRuleParams
WithDefaults hydrates default values in the list object discovery rule params (not the query body).
All values with no default are reset to their zero value.
func (*ListObjectDiscoveryRuleParams) WithHTTPClient ¶
func (o *ListObjectDiscoveryRuleParams) WithHTTPClient(client *http.Client) *ListObjectDiscoveryRuleParams
WithHTTPClient adds the HTTPClient to the list object discovery rule params
func (*ListObjectDiscoveryRuleParams) WithPageMaxSize ¶
func (o *ListObjectDiscoveryRuleParams) WithPageMaxSize(pageMaxSize *int64) *ListObjectDiscoveryRuleParams
WithPageMaxSize adds the pageMaxSize to the list object discovery rule params
func (*ListObjectDiscoveryRuleParams) WithPageToken ¶
func (o *ListObjectDiscoveryRuleParams) WithPageToken(pageToken *string) *ListObjectDiscoveryRuleParams
WithPageToken adds the pageToken to the list object discovery rule params
func (*ListObjectDiscoveryRuleParams) WithTimeout ¶
func (o *ListObjectDiscoveryRuleParams) WithTimeout(timeout time.Duration) *ListObjectDiscoveryRuleParams
WithTimeout adds the timeout to the list object discovery rule params
func (*ListObjectDiscoveryRuleParams) WriteToRequest ¶
func (o *ListObjectDiscoveryRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListObjectDiscoveryRuleReader ¶
type ListObjectDiscoveryRuleReader struct {
// contains filtered or unexported fields
}
ListObjectDiscoveryRuleReader is a Reader for the ListObjectDiscoveryRule structure.
func (*ListObjectDiscoveryRuleReader) ReadResponse ¶
func (o *ListObjectDiscoveryRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadObjectDiscoveryRuleDefault ¶
type ReadObjectDiscoveryRuleDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadObjectDiscoveryRuleDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadObjectDiscoveryRuleDefault ¶
func NewReadObjectDiscoveryRuleDefault(code int) *ReadObjectDiscoveryRuleDefault
NewReadObjectDiscoveryRuleDefault creates a ReadObjectDiscoveryRuleDefault with default headers values
func (*ReadObjectDiscoveryRuleDefault) Code ¶
func (o *ReadObjectDiscoveryRuleDefault) Code() int
Code gets the status code for the read object discovery rule default response
func (*ReadObjectDiscoveryRuleDefault) Error ¶
func (o *ReadObjectDiscoveryRuleDefault) Error() string
func (*ReadObjectDiscoveryRuleDefault) GetPayload ¶
func (o *ReadObjectDiscoveryRuleDefault) GetPayload() models.GenericError
func (*ReadObjectDiscoveryRuleDefault) IsClientError ¶
func (o *ReadObjectDiscoveryRuleDefault) IsClientError() bool
IsClientError returns true when this read object discovery rule default response has a 4xx status code
func (*ReadObjectDiscoveryRuleDefault) IsCode ¶
func (o *ReadObjectDiscoveryRuleDefault) IsCode(code int) bool
IsCode returns true when this read object discovery rule default response a status code equal to that given
func (*ReadObjectDiscoveryRuleDefault) IsRedirect ¶
func (o *ReadObjectDiscoveryRuleDefault) IsRedirect() bool
IsRedirect returns true when this read object discovery rule default response has a 3xx status code
func (*ReadObjectDiscoveryRuleDefault) IsServerError ¶
func (o *ReadObjectDiscoveryRuleDefault) IsServerError() bool
IsServerError returns true when this read object discovery rule default response has a 5xx status code
func (*ReadObjectDiscoveryRuleDefault) IsSuccess ¶
func (o *ReadObjectDiscoveryRuleDefault) IsSuccess() bool
IsSuccess returns true when this read object discovery rule default response has a 2xx status code
func (*ReadObjectDiscoveryRuleDefault) String ¶
func (o *ReadObjectDiscoveryRuleDefault) String() string
type ReadObjectDiscoveryRuleInternalServerError ¶
ReadObjectDiscoveryRuleInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadObjectDiscoveryRuleInternalServerError ¶
func NewReadObjectDiscoveryRuleInternalServerError() *ReadObjectDiscoveryRuleInternalServerError
NewReadObjectDiscoveryRuleInternalServerError creates a ReadObjectDiscoveryRuleInternalServerError with default headers values
func (*ReadObjectDiscoveryRuleInternalServerError) Code ¶
func (o *ReadObjectDiscoveryRuleInternalServerError) Code() int
Code gets the status code for the read object discovery rule internal server error response
func (*ReadObjectDiscoveryRuleInternalServerError) Error ¶
func (o *ReadObjectDiscoveryRuleInternalServerError) Error() string
func (*ReadObjectDiscoveryRuleInternalServerError) GetPayload ¶
func (o *ReadObjectDiscoveryRuleInternalServerError) GetPayload() *models.APIError
func (*ReadObjectDiscoveryRuleInternalServerError) IsClientError ¶
func (o *ReadObjectDiscoveryRuleInternalServerError) IsClientError() bool
IsClientError returns true when this read object discovery rule internal server error response has a 4xx status code
func (*ReadObjectDiscoveryRuleInternalServerError) IsCode ¶
func (o *ReadObjectDiscoveryRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this read object discovery rule internal server error response a status code equal to that given
func (*ReadObjectDiscoveryRuleInternalServerError) IsRedirect ¶
func (o *ReadObjectDiscoveryRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this read object discovery rule internal server error response has a 3xx status code
func (*ReadObjectDiscoveryRuleInternalServerError) IsServerError ¶
func (o *ReadObjectDiscoveryRuleInternalServerError) IsServerError() bool
IsServerError returns true when this read object discovery rule internal server error response has a 5xx status code
func (*ReadObjectDiscoveryRuleInternalServerError) IsSuccess ¶
func (o *ReadObjectDiscoveryRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this read object discovery rule internal server error response has a 2xx status code
func (*ReadObjectDiscoveryRuleInternalServerError) String ¶
func (o *ReadObjectDiscoveryRuleInternalServerError) String() string
type ReadObjectDiscoveryRuleNotFound ¶
ReadObjectDiscoveryRuleNotFound describes a response with status code 404, with default header values.
Cannot read the ObjectDiscoveryRule because the slug does not exist.
func NewReadObjectDiscoveryRuleNotFound ¶
func NewReadObjectDiscoveryRuleNotFound() *ReadObjectDiscoveryRuleNotFound
NewReadObjectDiscoveryRuleNotFound creates a ReadObjectDiscoveryRuleNotFound with default headers values
func (*ReadObjectDiscoveryRuleNotFound) Code ¶
func (o *ReadObjectDiscoveryRuleNotFound) Code() int
Code gets the status code for the read object discovery rule not found response
func (*ReadObjectDiscoveryRuleNotFound) Error ¶
func (o *ReadObjectDiscoveryRuleNotFound) Error() string
func (*ReadObjectDiscoveryRuleNotFound) GetPayload ¶
func (o *ReadObjectDiscoveryRuleNotFound) GetPayload() *models.APIError
func (*ReadObjectDiscoveryRuleNotFound) IsClientError ¶
func (o *ReadObjectDiscoveryRuleNotFound) IsClientError() bool
IsClientError returns true when this read object discovery rule not found response has a 4xx status code
func (*ReadObjectDiscoveryRuleNotFound) IsCode ¶
func (o *ReadObjectDiscoveryRuleNotFound) IsCode(code int) bool
IsCode returns true when this read object discovery rule not found response a status code equal to that given
func (*ReadObjectDiscoveryRuleNotFound) IsRedirect ¶
func (o *ReadObjectDiscoveryRuleNotFound) IsRedirect() bool
IsRedirect returns true when this read object discovery rule not found response has a 3xx status code
func (*ReadObjectDiscoveryRuleNotFound) IsServerError ¶
func (o *ReadObjectDiscoveryRuleNotFound) IsServerError() bool
IsServerError returns true when this read object discovery rule not found response has a 5xx status code
func (*ReadObjectDiscoveryRuleNotFound) IsSuccess ¶
func (o *ReadObjectDiscoveryRuleNotFound) IsSuccess() bool
IsSuccess returns true when this read object discovery rule not found response has a 2xx status code
func (*ReadObjectDiscoveryRuleNotFound) String ¶
func (o *ReadObjectDiscoveryRuleNotFound) String() string
type ReadObjectDiscoveryRuleOK ¶
type ReadObjectDiscoveryRuleOK struct {
Payload *models.ConfigunstableReadObjectDiscoveryRuleResponse
}
ReadObjectDiscoveryRuleOK describes a response with status code 200, with default header values.
A successful response.
func NewReadObjectDiscoveryRuleOK ¶
func NewReadObjectDiscoveryRuleOK() *ReadObjectDiscoveryRuleOK
NewReadObjectDiscoveryRuleOK creates a ReadObjectDiscoveryRuleOK with default headers values
func (*ReadObjectDiscoveryRuleOK) Code ¶
func (o *ReadObjectDiscoveryRuleOK) Code() int
Code gets the status code for the read object discovery rule o k response
func (*ReadObjectDiscoveryRuleOK) Error ¶
func (o *ReadObjectDiscoveryRuleOK) Error() string
func (*ReadObjectDiscoveryRuleOK) GetPayload ¶
func (o *ReadObjectDiscoveryRuleOK) GetPayload() *models.ConfigunstableReadObjectDiscoveryRuleResponse
func (*ReadObjectDiscoveryRuleOK) IsClientError ¶
func (o *ReadObjectDiscoveryRuleOK) IsClientError() bool
IsClientError returns true when this read object discovery rule o k response has a 4xx status code
func (*ReadObjectDiscoveryRuleOK) IsCode ¶
func (o *ReadObjectDiscoveryRuleOK) IsCode(code int) bool
IsCode returns true when this read object discovery rule o k response a status code equal to that given
func (*ReadObjectDiscoveryRuleOK) IsRedirect ¶
func (o *ReadObjectDiscoveryRuleOK) IsRedirect() bool
IsRedirect returns true when this read object discovery rule o k response has a 3xx status code
func (*ReadObjectDiscoveryRuleOK) IsServerError ¶
func (o *ReadObjectDiscoveryRuleOK) IsServerError() bool
IsServerError returns true when this read object discovery rule o k response has a 5xx status code
func (*ReadObjectDiscoveryRuleOK) IsSuccess ¶
func (o *ReadObjectDiscoveryRuleOK) IsSuccess() bool
IsSuccess returns true when this read object discovery rule o k response has a 2xx status code
func (*ReadObjectDiscoveryRuleOK) String ¶
func (o *ReadObjectDiscoveryRuleOK) String() string
type ReadObjectDiscoveryRuleParams ¶
type ReadObjectDiscoveryRuleParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadObjectDiscoveryRuleParams contains all the parameters to send to the API endpoint
for the read object discovery rule operation. Typically these are written to a http.Request.
func NewReadObjectDiscoveryRuleParams ¶
func NewReadObjectDiscoveryRuleParams() *ReadObjectDiscoveryRuleParams
NewReadObjectDiscoveryRuleParams creates a new ReadObjectDiscoveryRuleParams 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 NewReadObjectDiscoveryRuleParamsWithContext ¶
func NewReadObjectDiscoveryRuleParamsWithContext(ctx context.Context) *ReadObjectDiscoveryRuleParams
NewReadObjectDiscoveryRuleParamsWithContext creates a new ReadObjectDiscoveryRuleParams object with the ability to set a context for a request.
func NewReadObjectDiscoveryRuleParamsWithHTTPClient ¶
func NewReadObjectDiscoveryRuleParamsWithHTTPClient(client *http.Client) *ReadObjectDiscoveryRuleParams
NewReadObjectDiscoveryRuleParamsWithHTTPClient creates a new ReadObjectDiscoveryRuleParams object with the ability to set a custom HTTPClient for a request.
func NewReadObjectDiscoveryRuleParamsWithTimeout ¶
func NewReadObjectDiscoveryRuleParamsWithTimeout(timeout time.Duration) *ReadObjectDiscoveryRuleParams
NewReadObjectDiscoveryRuleParamsWithTimeout creates a new ReadObjectDiscoveryRuleParams object with the ability to set a timeout on a request.
func (*ReadObjectDiscoveryRuleParams) SetContext ¶
func (o *ReadObjectDiscoveryRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the read object discovery rule params
func (*ReadObjectDiscoveryRuleParams) SetDefaults ¶
func (o *ReadObjectDiscoveryRuleParams) SetDefaults()
SetDefaults hydrates default values in the read object discovery rule params (not the query body).
All values with no default are reset to their zero value.
func (*ReadObjectDiscoveryRuleParams) SetHTTPClient ¶
func (o *ReadObjectDiscoveryRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read object discovery rule params
func (*ReadObjectDiscoveryRuleParams) SetSlug ¶
func (o *ReadObjectDiscoveryRuleParams) SetSlug(slug string)
SetSlug adds the slug to the read object discovery rule params
func (*ReadObjectDiscoveryRuleParams) SetTimeout ¶
func (o *ReadObjectDiscoveryRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read object discovery rule params
func (*ReadObjectDiscoveryRuleParams) WithContext ¶
func (o *ReadObjectDiscoveryRuleParams) WithContext(ctx context.Context) *ReadObjectDiscoveryRuleParams
WithContext adds the context to the read object discovery rule params
func (*ReadObjectDiscoveryRuleParams) WithDefaults ¶
func (o *ReadObjectDiscoveryRuleParams) WithDefaults() *ReadObjectDiscoveryRuleParams
WithDefaults hydrates default values in the read object discovery rule params (not the query body).
All values with no default are reset to their zero value.
func (*ReadObjectDiscoveryRuleParams) WithHTTPClient ¶
func (o *ReadObjectDiscoveryRuleParams) WithHTTPClient(client *http.Client) *ReadObjectDiscoveryRuleParams
WithHTTPClient adds the HTTPClient to the read object discovery rule params
func (*ReadObjectDiscoveryRuleParams) WithSlug ¶
func (o *ReadObjectDiscoveryRuleParams) WithSlug(slug string) *ReadObjectDiscoveryRuleParams
WithSlug adds the slug to the read object discovery rule params
func (*ReadObjectDiscoveryRuleParams) WithTimeout ¶
func (o *ReadObjectDiscoveryRuleParams) WithTimeout(timeout time.Duration) *ReadObjectDiscoveryRuleParams
WithTimeout adds the timeout to the read object discovery rule params
func (*ReadObjectDiscoveryRuleParams) WriteToRequest ¶
func (o *ReadObjectDiscoveryRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadObjectDiscoveryRuleReader ¶
type ReadObjectDiscoveryRuleReader struct {
// contains filtered or unexported fields
}
ReadObjectDiscoveryRuleReader is a Reader for the ReadObjectDiscoveryRule structure.
func (*ReadObjectDiscoveryRuleReader) ReadResponse ¶
func (o *ReadObjectDiscoveryRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateObjectDiscoveryRuleBadRequest ¶
UpdateObjectDiscoveryRuleBadRequest describes a response with status code 400, with default header values.
Cannot update the ObjectDiscoveryRule because the request is invalid.
func NewUpdateObjectDiscoveryRuleBadRequest ¶
func NewUpdateObjectDiscoveryRuleBadRequest() *UpdateObjectDiscoveryRuleBadRequest
NewUpdateObjectDiscoveryRuleBadRequest creates a UpdateObjectDiscoveryRuleBadRequest with default headers values
func (*UpdateObjectDiscoveryRuleBadRequest) Code ¶
func (o *UpdateObjectDiscoveryRuleBadRequest) Code() int
Code gets the status code for the update object discovery rule bad request response
func (*UpdateObjectDiscoveryRuleBadRequest) Error ¶
func (o *UpdateObjectDiscoveryRuleBadRequest) Error() string
func (*UpdateObjectDiscoveryRuleBadRequest) GetPayload ¶
func (o *UpdateObjectDiscoveryRuleBadRequest) GetPayload() *models.APIError
func (*UpdateObjectDiscoveryRuleBadRequest) IsClientError ¶
func (o *UpdateObjectDiscoveryRuleBadRequest) IsClientError() bool
IsClientError returns true when this update object discovery rule bad request response has a 4xx status code
func (*UpdateObjectDiscoveryRuleBadRequest) IsCode ¶
func (o *UpdateObjectDiscoveryRuleBadRequest) IsCode(code int) bool
IsCode returns true when this update object discovery rule bad request response a status code equal to that given
func (*UpdateObjectDiscoveryRuleBadRequest) IsRedirect ¶
func (o *UpdateObjectDiscoveryRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this update object discovery rule bad request response has a 3xx status code
func (*UpdateObjectDiscoveryRuleBadRequest) IsServerError ¶
func (o *UpdateObjectDiscoveryRuleBadRequest) IsServerError() bool
IsServerError returns true when this update object discovery rule bad request response has a 5xx status code
func (*UpdateObjectDiscoveryRuleBadRequest) IsSuccess ¶
func (o *UpdateObjectDiscoveryRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this update object discovery rule bad request response has a 2xx status code
func (*UpdateObjectDiscoveryRuleBadRequest) String ¶
func (o *UpdateObjectDiscoveryRuleBadRequest) String() string
type UpdateObjectDiscoveryRuleConflict ¶
UpdateObjectDiscoveryRuleConflict describes a response with status code 409, with default header values.
Cannot update the ObjectDiscoveryRule because there is a conflict with an existing ObjectDiscoveryRule.
func NewUpdateObjectDiscoveryRuleConflict ¶
func NewUpdateObjectDiscoveryRuleConflict() *UpdateObjectDiscoveryRuleConflict
NewUpdateObjectDiscoveryRuleConflict creates a UpdateObjectDiscoveryRuleConflict with default headers values
func (*UpdateObjectDiscoveryRuleConflict) Code ¶
func (o *UpdateObjectDiscoveryRuleConflict) Code() int
Code gets the status code for the update object discovery rule conflict response
func (*UpdateObjectDiscoveryRuleConflict) Error ¶
func (o *UpdateObjectDiscoveryRuleConflict) Error() string
func (*UpdateObjectDiscoveryRuleConflict) GetPayload ¶
func (o *UpdateObjectDiscoveryRuleConflict) GetPayload() *models.APIError
func (*UpdateObjectDiscoveryRuleConflict) IsClientError ¶
func (o *UpdateObjectDiscoveryRuleConflict) IsClientError() bool
IsClientError returns true when this update object discovery rule conflict response has a 4xx status code
func (*UpdateObjectDiscoveryRuleConflict) IsCode ¶
func (o *UpdateObjectDiscoveryRuleConflict) IsCode(code int) bool
IsCode returns true when this update object discovery rule conflict response a status code equal to that given
func (*UpdateObjectDiscoveryRuleConflict) IsRedirect ¶
func (o *UpdateObjectDiscoveryRuleConflict) IsRedirect() bool
IsRedirect returns true when this update object discovery rule conflict response has a 3xx status code
func (*UpdateObjectDiscoveryRuleConflict) IsServerError ¶
func (o *UpdateObjectDiscoveryRuleConflict) IsServerError() bool
IsServerError returns true when this update object discovery rule conflict response has a 5xx status code
func (*UpdateObjectDiscoveryRuleConflict) IsSuccess ¶
func (o *UpdateObjectDiscoveryRuleConflict) IsSuccess() bool
IsSuccess returns true when this update object discovery rule conflict response has a 2xx status code
func (*UpdateObjectDiscoveryRuleConflict) String ¶
func (o *UpdateObjectDiscoveryRuleConflict) String() string
type UpdateObjectDiscoveryRuleDefault ¶
type UpdateObjectDiscoveryRuleDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateObjectDiscoveryRuleDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateObjectDiscoveryRuleDefault ¶
func NewUpdateObjectDiscoveryRuleDefault(code int) *UpdateObjectDiscoveryRuleDefault
NewUpdateObjectDiscoveryRuleDefault creates a UpdateObjectDiscoveryRuleDefault with default headers values
func (*UpdateObjectDiscoveryRuleDefault) Code ¶
func (o *UpdateObjectDiscoveryRuleDefault) Code() int
Code gets the status code for the update object discovery rule default response
func (*UpdateObjectDiscoveryRuleDefault) Error ¶
func (o *UpdateObjectDiscoveryRuleDefault) Error() string
func (*UpdateObjectDiscoveryRuleDefault) GetPayload ¶
func (o *UpdateObjectDiscoveryRuleDefault) GetPayload() models.GenericError
func (*UpdateObjectDiscoveryRuleDefault) IsClientError ¶
func (o *UpdateObjectDiscoveryRuleDefault) IsClientError() bool
IsClientError returns true when this update object discovery rule default response has a 4xx status code
func (*UpdateObjectDiscoveryRuleDefault) IsCode ¶
func (o *UpdateObjectDiscoveryRuleDefault) IsCode(code int) bool
IsCode returns true when this update object discovery rule default response a status code equal to that given
func (*UpdateObjectDiscoveryRuleDefault) IsRedirect ¶
func (o *UpdateObjectDiscoveryRuleDefault) IsRedirect() bool
IsRedirect returns true when this update object discovery rule default response has a 3xx status code
func (*UpdateObjectDiscoveryRuleDefault) IsServerError ¶
func (o *UpdateObjectDiscoveryRuleDefault) IsServerError() bool
IsServerError returns true when this update object discovery rule default response has a 5xx status code
func (*UpdateObjectDiscoveryRuleDefault) IsSuccess ¶
func (o *UpdateObjectDiscoveryRuleDefault) IsSuccess() bool
IsSuccess returns true when this update object discovery rule default response has a 2xx status code
func (*UpdateObjectDiscoveryRuleDefault) String ¶
func (o *UpdateObjectDiscoveryRuleDefault) String() string
type UpdateObjectDiscoveryRuleInternalServerError ¶
UpdateObjectDiscoveryRuleInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateObjectDiscoveryRuleInternalServerError ¶
func NewUpdateObjectDiscoveryRuleInternalServerError() *UpdateObjectDiscoveryRuleInternalServerError
NewUpdateObjectDiscoveryRuleInternalServerError creates a UpdateObjectDiscoveryRuleInternalServerError with default headers values
func (*UpdateObjectDiscoveryRuleInternalServerError) Code ¶
func (o *UpdateObjectDiscoveryRuleInternalServerError) Code() int
Code gets the status code for the update object discovery rule internal server error response
func (*UpdateObjectDiscoveryRuleInternalServerError) Error ¶
func (o *UpdateObjectDiscoveryRuleInternalServerError) Error() string
func (*UpdateObjectDiscoveryRuleInternalServerError) GetPayload ¶
func (o *UpdateObjectDiscoveryRuleInternalServerError) GetPayload() *models.APIError
func (*UpdateObjectDiscoveryRuleInternalServerError) IsClientError ¶
func (o *UpdateObjectDiscoveryRuleInternalServerError) IsClientError() bool
IsClientError returns true when this update object discovery rule internal server error response has a 4xx status code
func (*UpdateObjectDiscoveryRuleInternalServerError) IsCode ¶
func (o *UpdateObjectDiscoveryRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this update object discovery rule internal server error response a status code equal to that given
func (*UpdateObjectDiscoveryRuleInternalServerError) IsRedirect ¶
func (o *UpdateObjectDiscoveryRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this update object discovery rule internal server error response has a 3xx status code
func (*UpdateObjectDiscoveryRuleInternalServerError) IsServerError ¶
func (o *UpdateObjectDiscoveryRuleInternalServerError) IsServerError() bool
IsServerError returns true when this update object discovery rule internal server error response has a 5xx status code
func (*UpdateObjectDiscoveryRuleInternalServerError) IsSuccess ¶
func (o *UpdateObjectDiscoveryRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this update object discovery rule internal server error response has a 2xx status code
func (*UpdateObjectDiscoveryRuleInternalServerError) String ¶
func (o *UpdateObjectDiscoveryRuleInternalServerError) String() string
type UpdateObjectDiscoveryRuleNotFound ¶
UpdateObjectDiscoveryRuleNotFound describes a response with status code 404, with default header values.
Cannot update the ObjectDiscoveryRule because the slug does not exist.
func NewUpdateObjectDiscoveryRuleNotFound ¶
func NewUpdateObjectDiscoveryRuleNotFound() *UpdateObjectDiscoveryRuleNotFound
NewUpdateObjectDiscoveryRuleNotFound creates a UpdateObjectDiscoveryRuleNotFound with default headers values
func (*UpdateObjectDiscoveryRuleNotFound) Code ¶
func (o *UpdateObjectDiscoveryRuleNotFound) Code() int
Code gets the status code for the update object discovery rule not found response
func (*UpdateObjectDiscoveryRuleNotFound) Error ¶
func (o *UpdateObjectDiscoveryRuleNotFound) Error() string
func (*UpdateObjectDiscoveryRuleNotFound) GetPayload ¶
func (o *UpdateObjectDiscoveryRuleNotFound) GetPayload() *models.APIError
func (*UpdateObjectDiscoveryRuleNotFound) IsClientError ¶
func (o *UpdateObjectDiscoveryRuleNotFound) IsClientError() bool
IsClientError returns true when this update object discovery rule not found response has a 4xx status code
func (*UpdateObjectDiscoveryRuleNotFound) IsCode ¶
func (o *UpdateObjectDiscoveryRuleNotFound) IsCode(code int) bool
IsCode returns true when this update object discovery rule not found response a status code equal to that given
func (*UpdateObjectDiscoveryRuleNotFound) IsRedirect ¶
func (o *UpdateObjectDiscoveryRuleNotFound) IsRedirect() bool
IsRedirect returns true when this update object discovery rule not found response has a 3xx status code
func (*UpdateObjectDiscoveryRuleNotFound) IsServerError ¶
func (o *UpdateObjectDiscoveryRuleNotFound) IsServerError() bool
IsServerError returns true when this update object discovery rule not found response has a 5xx status code
func (*UpdateObjectDiscoveryRuleNotFound) IsSuccess ¶
func (o *UpdateObjectDiscoveryRuleNotFound) IsSuccess() bool
IsSuccess returns true when this update object discovery rule not found response has a 2xx status code
func (*UpdateObjectDiscoveryRuleNotFound) String ¶
func (o *UpdateObjectDiscoveryRuleNotFound) String() string
type UpdateObjectDiscoveryRuleOK ¶
type UpdateObjectDiscoveryRuleOK struct {
Payload *models.ConfigunstableUpdateObjectDiscoveryRuleResponse
}
UpdateObjectDiscoveryRuleOK describes a response with status code 200, with default header values.
A successful response containing the updated ObjectDiscoveryRule.
func NewUpdateObjectDiscoveryRuleOK ¶
func NewUpdateObjectDiscoveryRuleOK() *UpdateObjectDiscoveryRuleOK
NewUpdateObjectDiscoveryRuleOK creates a UpdateObjectDiscoveryRuleOK with default headers values
func (*UpdateObjectDiscoveryRuleOK) Code ¶
func (o *UpdateObjectDiscoveryRuleOK) Code() int
Code gets the status code for the update object discovery rule o k response
func (*UpdateObjectDiscoveryRuleOK) Error ¶
func (o *UpdateObjectDiscoveryRuleOK) Error() string
func (*UpdateObjectDiscoveryRuleOK) GetPayload ¶
func (o *UpdateObjectDiscoveryRuleOK) GetPayload() *models.ConfigunstableUpdateObjectDiscoveryRuleResponse
func (*UpdateObjectDiscoveryRuleOK) IsClientError ¶
func (o *UpdateObjectDiscoveryRuleOK) IsClientError() bool
IsClientError returns true when this update object discovery rule o k response has a 4xx status code
func (*UpdateObjectDiscoveryRuleOK) IsCode ¶
func (o *UpdateObjectDiscoveryRuleOK) IsCode(code int) bool
IsCode returns true when this update object discovery rule o k response a status code equal to that given
func (*UpdateObjectDiscoveryRuleOK) IsRedirect ¶
func (o *UpdateObjectDiscoveryRuleOK) IsRedirect() bool
IsRedirect returns true when this update object discovery rule o k response has a 3xx status code
func (*UpdateObjectDiscoveryRuleOK) IsServerError ¶
func (o *UpdateObjectDiscoveryRuleOK) IsServerError() bool
IsServerError returns true when this update object discovery rule o k response has a 5xx status code
func (*UpdateObjectDiscoveryRuleOK) IsSuccess ¶
func (o *UpdateObjectDiscoveryRuleOK) IsSuccess() bool
IsSuccess returns true when this update object discovery rule o k response has a 2xx status code
func (*UpdateObjectDiscoveryRuleOK) String ¶
func (o *UpdateObjectDiscoveryRuleOK) String() string
type UpdateObjectDiscoveryRuleParams ¶
type UpdateObjectDiscoveryRuleParams struct { // Body. Body *models.ConfigUnstableUpdateObjectDiscoveryRuleBody // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateObjectDiscoveryRuleParams contains all the parameters to send to the API endpoint
for the update object discovery rule operation. Typically these are written to a http.Request.
func NewUpdateObjectDiscoveryRuleParams ¶
func NewUpdateObjectDiscoveryRuleParams() *UpdateObjectDiscoveryRuleParams
NewUpdateObjectDiscoveryRuleParams creates a new UpdateObjectDiscoveryRuleParams 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 NewUpdateObjectDiscoveryRuleParamsWithContext ¶
func NewUpdateObjectDiscoveryRuleParamsWithContext(ctx context.Context) *UpdateObjectDiscoveryRuleParams
NewUpdateObjectDiscoveryRuleParamsWithContext creates a new UpdateObjectDiscoveryRuleParams object with the ability to set a context for a request.
func NewUpdateObjectDiscoveryRuleParamsWithHTTPClient ¶
func NewUpdateObjectDiscoveryRuleParamsWithHTTPClient(client *http.Client) *UpdateObjectDiscoveryRuleParams
NewUpdateObjectDiscoveryRuleParamsWithHTTPClient creates a new UpdateObjectDiscoveryRuleParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateObjectDiscoveryRuleParamsWithTimeout ¶
func NewUpdateObjectDiscoveryRuleParamsWithTimeout(timeout time.Duration) *UpdateObjectDiscoveryRuleParams
NewUpdateObjectDiscoveryRuleParamsWithTimeout creates a new UpdateObjectDiscoveryRuleParams object with the ability to set a timeout on a request.
func (*UpdateObjectDiscoveryRuleParams) SetBody ¶
func (o *UpdateObjectDiscoveryRuleParams) SetBody(body *models.ConfigUnstableUpdateObjectDiscoveryRuleBody)
SetBody adds the body to the update object discovery rule params
func (*UpdateObjectDiscoveryRuleParams) SetContext ¶
func (o *UpdateObjectDiscoveryRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the update object discovery rule params
func (*UpdateObjectDiscoveryRuleParams) SetDefaults ¶
func (o *UpdateObjectDiscoveryRuleParams) SetDefaults()
SetDefaults hydrates default values in the update object discovery rule params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateObjectDiscoveryRuleParams) SetHTTPClient ¶
func (o *UpdateObjectDiscoveryRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update object discovery rule params
func (*UpdateObjectDiscoveryRuleParams) SetSlug ¶
func (o *UpdateObjectDiscoveryRuleParams) SetSlug(slug string)
SetSlug adds the slug to the update object discovery rule params
func (*UpdateObjectDiscoveryRuleParams) SetTimeout ¶
func (o *UpdateObjectDiscoveryRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update object discovery rule params
func (*UpdateObjectDiscoveryRuleParams) WithBody ¶
func (o *UpdateObjectDiscoveryRuleParams) WithBody(body *models.ConfigUnstableUpdateObjectDiscoveryRuleBody) *UpdateObjectDiscoveryRuleParams
WithBody adds the body to the update object discovery rule params
func (*UpdateObjectDiscoveryRuleParams) WithContext ¶
func (o *UpdateObjectDiscoveryRuleParams) WithContext(ctx context.Context) *UpdateObjectDiscoveryRuleParams
WithContext adds the context to the update object discovery rule params
func (*UpdateObjectDiscoveryRuleParams) WithDefaults ¶
func (o *UpdateObjectDiscoveryRuleParams) WithDefaults() *UpdateObjectDiscoveryRuleParams
WithDefaults hydrates default values in the update object discovery rule params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateObjectDiscoveryRuleParams) WithHTTPClient ¶
func (o *UpdateObjectDiscoveryRuleParams) WithHTTPClient(client *http.Client) *UpdateObjectDiscoveryRuleParams
WithHTTPClient adds the HTTPClient to the update object discovery rule params
func (*UpdateObjectDiscoveryRuleParams) WithSlug ¶
func (o *UpdateObjectDiscoveryRuleParams) WithSlug(slug string) *UpdateObjectDiscoveryRuleParams
WithSlug adds the slug to the update object discovery rule params
func (*UpdateObjectDiscoveryRuleParams) WithTimeout ¶
func (o *UpdateObjectDiscoveryRuleParams) WithTimeout(timeout time.Duration) *UpdateObjectDiscoveryRuleParams
WithTimeout adds the timeout to the update object discovery rule params
func (*UpdateObjectDiscoveryRuleParams) WriteToRequest ¶
func (o *UpdateObjectDiscoveryRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateObjectDiscoveryRuleReader ¶
type UpdateObjectDiscoveryRuleReader struct {
// contains filtered or unexported fields
}
UpdateObjectDiscoveryRuleReader is a Reader for the UpdateObjectDiscoveryRule structure.
func (*UpdateObjectDiscoveryRuleReader) ReadResponse ¶
func (o *UpdateObjectDiscoveryRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_object_discovery_rule_parameters.go
- create_object_discovery_rule_responses.go
- delete_object_discovery_rule_parameters.go
- delete_object_discovery_rule_responses.go
- list_object_discovery_rule_parameters.go
- list_object_discovery_rule_responses.go
- object_discovery_rule_client.go
- read_object_discovery_rule_parameters.go
- read_object_discovery_rule_responses.go
- update_object_discovery_rule_parameters.go
- update_object_discovery_rule_responses.go