Documentation ¶
Index ¶
- type Client
- func (a *Client) ComponentAdd(params *ComponentAddParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ComponentAddOK, error)
- func (a *Client) ComponentDelete(params *ComponentDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ComponentDeleteOK, error)
- func (a *Client) ComponentFind(params *ComponentFindParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ComponentFindOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ComponentAddBadRequest
- func (o *ComponentAddBadRequest) Code() int
- func (o *ComponentAddBadRequest) Error() string
- func (o *ComponentAddBadRequest) GetPayload() *models.Response
- func (o *ComponentAddBadRequest) IsClientError() bool
- func (o *ComponentAddBadRequest) IsCode(code int) bool
- func (o *ComponentAddBadRequest) IsRedirect() bool
- func (o *ComponentAddBadRequest) IsServerError() bool
- func (o *ComponentAddBadRequest) IsSuccess() bool
- func (o *ComponentAddBadRequest) String() string
- type ComponentAddInternalServerError
- func (o *ComponentAddInternalServerError) Code() int
- func (o *ComponentAddInternalServerError) Error() string
- func (o *ComponentAddInternalServerError) GetPayload() *models.Response
- func (o *ComponentAddInternalServerError) IsClientError() bool
- func (o *ComponentAddInternalServerError) IsCode(code int) bool
- func (o *ComponentAddInternalServerError) IsRedirect() bool
- func (o *ComponentAddInternalServerError) IsServerError() bool
- func (o *ComponentAddInternalServerError) IsSuccess() bool
- func (o *ComponentAddInternalServerError) String() string
- type ComponentAddOK
- func (o *ComponentAddOK) Code() int
- func (o *ComponentAddOK) Error() string
- func (o *ComponentAddOK) GetPayload() *models.ComponentAddResponse
- func (o *ComponentAddOK) IsClientError() bool
- func (o *ComponentAddOK) IsCode(code int) bool
- func (o *ComponentAddOK) IsRedirect() bool
- func (o *ComponentAddOK) IsServerError() bool
- func (o *ComponentAddOK) IsSuccess() bool
- func (o *ComponentAddOK) String() string
- type ComponentAddParams
- func (o *ComponentAddParams) SetBody(body *models.ComponentAddRequest)
- func (o *ComponentAddParams) SetContext(ctx context.Context)
- func (o *ComponentAddParams) SetDefaults()
- func (o *ComponentAddParams) SetHTTPClient(client *http.Client)
- func (o *ComponentAddParams) SetTimeout(timeout time.Duration)
- func (o *ComponentAddParams) WithBody(body *models.ComponentAddRequest) *ComponentAddParams
- func (o *ComponentAddParams) WithContext(ctx context.Context) *ComponentAddParams
- func (o *ComponentAddParams) WithDefaults() *ComponentAddParams
- func (o *ComponentAddParams) WithHTTPClient(client *http.Client) *ComponentAddParams
- func (o *ComponentAddParams) WithTimeout(timeout time.Duration) *ComponentAddParams
- func (o *ComponentAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ComponentAddReader
- type ComponentAddUnauthorized
- func (o *ComponentAddUnauthorized) Code() int
- func (o *ComponentAddUnauthorized) Error() string
- func (o *ComponentAddUnauthorized) GetPayload() *models.Response
- func (o *ComponentAddUnauthorized) IsClientError() bool
- func (o *ComponentAddUnauthorized) IsCode(code int) bool
- func (o *ComponentAddUnauthorized) IsRedirect() bool
- func (o *ComponentAddUnauthorized) IsServerError() bool
- func (o *ComponentAddUnauthorized) IsSuccess() bool
- func (o *ComponentAddUnauthorized) String() string
- type ComponentDeleteBadRequest
- func (o *ComponentDeleteBadRequest) Code() int
- func (o *ComponentDeleteBadRequest) Error() string
- func (o *ComponentDeleteBadRequest) GetPayload() *models.Response
- func (o *ComponentDeleteBadRequest) IsClientError() bool
- func (o *ComponentDeleteBadRequest) IsCode(code int) bool
- func (o *ComponentDeleteBadRequest) IsRedirect() bool
- func (o *ComponentDeleteBadRequest) IsServerError() bool
- func (o *ComponentDeleteBadRequest) IsSuccess() bool
- func (o *ComponentDeleteBadRequest) String() string
- type ComponentDeleteInternalServerError
- func (o *ComponentDeleteInternalServerError) Code() int
- func (o *ComponentDeleteInternalServerError) Error() string
- func (o *ComponentDeleteInternalServerError) GetPayload() *models.Response
- func (o *ComponentDeleteInternalServerError) IsClientError() bool
- func (o *ComponentDeleteInternalServerError) IsCode(code int) bool
- func (o *ComponentDeleteInternalServerError) IsRedirect() bool
- func (o *ComponentDeleteInternalServerError) IsServerError() bool
- func (o *ComponentDeleteInternalServerError) IsSuccess() bool
- func (o *ComponentDeleteInternalServerError) String() string
- type ComponentDeleteNotFound
- func (o *ComponentDeleteNotFound) Code() int
- func (o *ComponentDeleteNotFound) Error() string
- func (o *ComponentDeleteNotFound) GetPayload() *models.Response
- func (o *ComponentDeleteNotFound) IsClientError() bool
- func (o *ComponentDeleteNotFound) IsCode(code int) bool
- func (o *ComponentDeleteNotFound) IsRedirect() bool
- func (o *ComponentDeleteNotFound) IsServerError() bool
- func (o *ComponentDeleteNotFound) IsSuccess() bool
- func (o *ComponentDeleteNotFound) String() string
- type ComponentDeleteOK
- func (o *ComponentDeleteOK) Code() int
- func (o *ComponentDeleteOK) Error() string
- func (o *ComponentDeleteOK) GetPayload() *models.Response
- func (o *ComponentDeleteOK) IsClientError() bool
- func (o *ComponentDeleteOK) IsCode(code int) bool
- func (o *ComponentDeleteOK) IsRedirect() bool
- func (o *ComponentDeleteOK) IsServerError() bool
- func (o *ComponentDeleteOK) IsSuccess() bool
- func (o *ComponentDeleteOK) String() string
- type ComponentDeleteParams
- func NewComponentDeleteParams() *ComponentDeleteParams
- func NewComponentDeleteParamsWithContext(ctx context.Context) *ComponentDeleteParams
- func NewComponentDeleteParamsWithHTTPClient(client *http.Client) *ComponentDeleteParams
- func NewComponentDeleteParamsWithTimeout(timeout time.Duration) *ComponentDeleteParams
- func (o *ComponentDeleteParams) SetComponentID(componentID string)
- func (o *ComponentDeleteParams) SetContext(ctx context.Context)
- func (o *ComponentDeleteParams) SetDefaults()
- func (o *ComponentDeleteParams) SetHTTPClient(client *http.Client)
- func (o *ComponentDeleteParams) SetTimeout(timeout time.Duration)
- func (o *ComponentDeleteParams) WithComponentID(componentID string) *ComponentDeleteParams
- func (o *ComponentDeleteParams) WithContext(ctx context.Context) *ComponentDeleteParams
- func (o *ComponentDeleteParams) WithDefaults() *ComponentDeleteParams
- func (o *ComponentDeleteParams) WithHTTPClient(client *http.Client) *ComponentDeleteParams
- func (o *ComponentDeleteParams) WithTimeout(timeout time.Duration) *ComponentDeleteParams
- func (o *ComponentDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ComponentDeleteReader
- type ComponentDeleteUnauthorized
- func (o *ComponentDeleteUnauthorized) Code() int
- func (o *ComponentDeleteUnauthorized) Error() string
- func (o *ComponentDeleteUnauthorized) GetPayload() *models.Response
- func (o *ComponentDeleteUnauthorized) IsClientError() bool
- func (o *ComponentDeleteUnauthorized) IsCode(code int) bool
- func (o *ComponentDeleteUnauthorized) IsRedirect() bool
- func (o *ComponentDeleteUnauthorized) IsServerError() bool
- func (o *ComponentDeleteUnauthorized) IsSuccess() bool
- func (o *ComponentDeleteUnauthorized) String() string
- type ComponentFindBadRequest
- func (o *ComponentFindBadRequest) Code() int
- func (o *ComponentFindBadRequest) Error() string
- func (o *ComponentFindBadRequest) GetPayload() *models.Response
- func (o *ComponentFindBadRequest) IsClientError() bool
- func (o *ComponentFindBadRequest) IsCode(code int) bool
- func (o *ComponentFindBadRequest) IsRedirect() bool
- func (o *ComponentFindBadRequest) IsServerError() bool
- func (o *ComponentFindBadRequest) IsSuccess() bool
- func (o *ComponentFindBadRequest) String() string
- type ComponentFindInternalServerError
- func (o *ComponentFindInternalServerError) Code() int
- func (o *ComponentFindInternalServerError) Error() string
- func (o *ComponentFindInternalServerError) GetPayload() *models.Response
- func (o *ComponentFindInternalServerError) IsClientError() bool
- func (o *ComponentFindInternalServerError) IsCode(code int) bool
- func (o *ComponentFindInternalServerError) IsRedirect() bool
- func (o *ComponentFindInternalServerError) IsServerError() bool
- func (o *ComponentFindInternalServerError) IsSuccess() bool
- func (o *ComponentFindInternalServerError) String() string
- type ComponentFindOK
- func (o *ComponentFindOK) Code() int
- func (o *ComponentFindOK) Error() string
- func (o *ComponentFindOK) GetPayload() *models.ComponentFindResponse
- func (o *ComponentFindOK) IsClientError() bool
- func (o *ComponentFindOK) IsCode(code int) bool
- func (o *ComponentFindOK) IsRedirect() bool
- func (o *ComponentFindOK) IsServerError() bool
- func (o *ComponentFindOK) IsSuccess() bool
- func (o *ComponentFindOK) String() string
- type ComponentFindParams
- func (o *ComponentFindParams) SetComponentID(componentID string)
- func (o *ComponentFindParams) SetContext(ctx context.Context)
- func (o *ComponentFindParams) SetDefaults()
- func (o *ComponentFindParams) SetHTTPClient(client *http.Client)
- func (o *ComponentFindParams) SetTimeout(timeout time.Duration)
- func (o *ComponentFindParams) WithComponentID(componentID string) *ComponentFindParams
- func (o *ComponentFindParams) WithContext(ctx context.Context) *ComponentFindParams
- func (o *ComponentFindParams) WithDefaults() *ComponentFindParams
- func (o *ComponentFindParams) WithHTTPClient(client *http.Client) *ComponentFindParams
- func (o *ComponentFindParams) WithTimeout(timeout time.Duration) *ComponentFindParams
- func (o *ComponentFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ComponentFindReader
- type ComponentFindUnauthorized
- func (o *ComponentFindUnauthorized) Code() int
- func (o *ComponentFindUnauthorized) Error() string
- func (o *ComponentFindUnauthorized) GetPayload() *models.Response
- func (o *ComponentFindUnauthorized) IsClientError() bool
- func (o *ComponentFindUnauthorized) IsCode(code int) bool
- func (o *ComponentFindUnauthorized) IsRedirect() bool
- func (o *ComponentFindUnauthorized) IsServerError() bool
- func (o *ComponentFindUnauthorized) IsSuccess() bool
- func (o *ComponentFindUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for component API
func (*Client) ComponentAdd ¶
func (a *Client) ComponentAdd(params *ComponentAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ComponentAddOK, error)
ComponentAdd this interface takes in a component record and adds that to alfabet
This interface takes in a Component record and adds that to Alfabet.
func (*Client) ComponentDelete ¶
func (a *Client) ComponentDelete(params *ComponentDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ComponentDeleteOK, error)
ComponentDelete deletes a component within alfabet based on the ID that is passed in
Deletes a component within Alfabet based on the ID that is passed in.
func (*Client) ComponentFind ¶
func (a *Client) ComponentFind(params *ComponentFindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ComponentFindOK, error)
ComponentFind retrieves a component
Retrieve a component record based on the id parameter that is passed in.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ComponentAdd(params *ComponentAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ComponentAddOK, error) ComponentDelete(params *ComponentDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ComponentDeleteOK, error) ComponentFind(params *ComponentFindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ComponentFindOK, 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 component API client.
type ComponentAddBadRequest ¶
ComponentAddBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewComponentAddBadRequest ¶
func NewComponentAddBadRequest() *ComponentAddBadRequest
NewComponentAddBadRequest creates a ComponentAddBadRequest with default headers values
func (*ComponentAddBadRequest) Code ¶
func (o *ComponentAddBadRequest) Code() int
Code gets the status code for the component add bad request response
func (*ComponentAddBadRequest) Error ¶
func (o *ComponentAddBadRequest) Error() string
func (*ComponentAddBadRequest) GetPayload ¶
func (o *ComponentAddBadRequest) GetPayload() *models.Response
func (*ComponentAddBadRequest) IsClientError ¶
func (o *ComponentAddBadRequest) IsClientError() bool
IsClientError returns true when this component add bad request response has a 4xx status code
func (*ComponentAddBadRequest) IsCode ¶
func (o *ComponentAddBadRequest) IsCode(code int) bool
IsCode returns true when this component add bad request response a status code equal to that given
func (*ComponentAddBadRequest) IsRedirect ¶
func (o *ComponentAddBadRequest) IsRedirect() bool
IsRedirect returns true when this component add bad request response has a 3xx status code
func (*ComponentAddBadRequest) IsServerError ¶
func (o *ComponentAddBadRequest) IsServerError() bool
IsServerError returns true when this component add bad request response has a 5xx status code
func (*ComponentAddBadRequest) IsSuccess ¶
func (o *ComponentAddBadRequest) IsSuccess() bool
IsSuccess returns true when this component add bad request response has a 2xx status code
func (*ComponentAddBadRequest) String ¶
func (o *ComponentAddBadRequest) String() string
type ComponentAddInternalServerError ¶
ComponentAddInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewComponentAddInternalServerError ¶
func NewComponentAddInternalServerError() *ComponentAddInternalServerError
NewComponentAddInternalServerError creates a ComponentAddInternalServerError with default headers values
func (*ComponentAddInternalServerError) Code ¶
func (o *ComponentAddInternalServerError) Code() int
Code gets the status code for the component add internal server error response
func (*ComponentAddInternalServerError) Error ¶
func (o *ComponentAddInternalServerError) Error() string
func (*ComponentAddInternalServerError) GetPayload ¶
func (o *ComponentAddInternalServerError) GetPayload() *models.Response
func (*ComponentAddInternalServerError) IsClientError ¶
func (o *ComponentAddInternalServerError) IsClientError() bool
IsClientError returns true when this component add internal server error response has a 4xx status code
func (*ComponentAddInternalServerError) IsCode ¶
func (o *ComponentAddInternalServerError) IsCode(code int) bool
IsCode returns true when this component add internal server error response a status code equal to that given
func (*ComponentAddInternalServerError) IsRedirect ¶
func (o *ComponentAddInternalServerError) IsRedirect() bool
IsRedirect returns true when this component add internal server error response has a 3xx status code
func (*ComponentAddInternalServerError) IsServerError ¶
func (o *ComponentAddInternalServerError) IsServerError() bool
IsServerError returns true when this component add internal server error response has a 5xx status code
func (*ComponentAddInternalServerError) IsSuccess ¶
func (o *ComponentAddInternalServerError) IsSuccess() bool
IsSuccess returns true when this component add internal server error response has a 2xx status code
func (*ComponentAddInternalServerError) String ¶
func (o *ComponentAddInternalServerError) String() string
type ComponentAddOK ¶
type ComponentAddOK struct {
Payload *models.ComponentAddResponse
}
ComponentAddOK describes a response with status code 200, with default header values.
OK
func NewComponentAddOK ¶
func NewComponentAddOK() *ComponentAddOK
NewComponentAddOK creates a ComponentAddOK with default headers values
func (*ComponentAddOK) Code ¶
func (o *ComponentAddOK) Code() int
Code gets the status code for the component add o k response
func (*ComponentAddOK) Error ¶
func (o *ComponentAddOK) Error() string
func (*ComponentAddOK) GetPayload ¶
func (o *ComponentAddOK) GetPayload() *models.ComponentAddResponse
func (*ComponentAddOK) IsClientError ¶
func (o *ComponentAddOK) IsClientError() bool
IsClientError returns true when this component add o k response has a 4xx status code
func (*ComponentAddOK) IsCode ¶
func (o *ComponentAddOK) IsCode(code int) bool
IsCode returns true when this component add o k response a status code equal to that given
func (*ComponentAddOK) IsRedirect ¶
func (o *ComponentAddOK) IsRedirect() bool
IsRedirect returns true when this component add o k response has a 3xx status code
func (*ComponentAddOK) IsServerError ¶
func (o *ComponentAddOK) IsServerError() bool
IsServerError returns true when this component add o k response has a 5xx status code
func (*ComponentAddOK) IsSuccess ¶
func (o *ComponentAddOK) IsSuccess() bool
IsSuccess returns true when this component add o k response has a 2xx status code
func (*ComponentAddOK) String ¶
func (o *ComponentAddOK) String() string
type ComponentAddParams ¶
type ComponentAddParams struct { /* Body. Component record to be added to Alfabet. */ Body *models.ComponentAddRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ComponentAddParams contains all the parameters to send to the API endpoint
for the component add operation. Typically these are written to a http.Request.
func NewComponentAddParams ¶
func NewComponentAddParams() *ComponentAddParams
NewComponentAddParams creates a new ComponentAddParams 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 NewComponentAddParamsWithContext ¶
func NewComponentAddParamsWithContext(ctx context.Context) *ComponentAddParams
NewComponentAddParamsWithContext creates a new ComponentAddParams object with the ability to set a context for a request.
func NewComponentAddParamsWithHTTPClient ¶
func NewComponentAddParamsWithHTTPClient(client *http.Client) *ComponentAddParams
NewComponentAddParamsWithHTTPClient creates a new ComponentAddParams object with the ability to set a custom HTTPClient for a request.
func NewComponentAddParamsWithTimeout ¶
func NewComponentAddParamsWithTimeout(timeout time.Duration) *ComponentAddParams
NewComponentAddParamsWithTimeout creates a new ComponentAddParams object with the ability to set a timeout on a request.
func (*ComponentAddParams) SetBody ¶
func (o *ComponentAddParams) SetBody(body *models.ComponentAddRequest)
SetBody adds the body to the component add params
func (*ComponentAddParams) SetContext ¶
func (o *ComponentAddParams) SetContext(ctx context.Context)
SetContext adds the context to the component add params
func (*ComponentAddParams) SetDefaults ¶
func (o *ComponentAddParams) SetDefaults()
SetDefaults hydrates default values in the component add params (not the query body).
All values with no default are reset to their zero value.
func (*ComponentAddParams) SetHTTPClient ¶
func (o *ComponentAddParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the component add params
func (*ComponentAddParams) SetTimeout ¶
func (o *ComponentAddParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the component add params
func (*ComponentAddParams) WithBody ¶
func (o *ComponentAddParams) WithBody(body *models.ComponentAddRequest) *ComponentAddParams
WithBody adds the body to the component add params
func (*ComponentAddParams) WithContext ¶
func (o *ComponentAddParams) WithContext(ctx context.Context) *ComponentAddParams
WithContext adds the context to the component add params
func (*ComponentAddParams) WithDefaults ¶
func (o *ComponentAddParams) WithDefaults() *ComponentAddParams
WithDefaults hydrates default values in the component add params (not the query body).
All values with no default are reset to their zero value.
func (*ComponentAddParams) WithHTTPClient ¶
func (o *ComponentAddParams) WithHTTPClient(client *http.Client) *ComponentAddParams
WithHTTPClient adds the HTTPClient to the component add params
func (*ComponentAddParams) WithTimeout ¶
func (o *ComponentAddParams) WithTimeout(timeout time.Duration) *ComponentAddParams
WithTimeout adds the timeout to the component add params
func (*ComponentAddParams) WriteToRequest ¶
func (o *ComponentAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ComponentAddReader ¶
type ComponentAddReader struct {
// contains filtered or unexported fields
}
ComponentAddReader is a Reader for the ComponentAdd structure.
func (*ComponentAddReader) ReadResponse ¶
func (o *ComponentAddReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ComponentAddUnauthorized ¶
type ComponentAddUnauthorized struct {
}ComponentAddUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewComponentAddUnauthorized ¶
func NewComponentAddUnauthorized() *ComponentAddUnauthorized
NewComponentAddUnauthorized creates a ComponentAddUnauthorized with default headers values
func (*ComponentAddUnauthorized) Code ¶
func (o *ComponentAddUnauthorized) Code() int
Code gets the status code for the component add unauthorized response
func (*ComponentAddUnauthorized) Error ¶
func (o *ComponentAddUnauthorized) Error() string
func (*ComponentAddUnauthorized) GetPayload ¶
func (o *ComponentAddUnauthorized) GetPayload() *models.Response
func (*ComponentAddUnauthorized) IsClientError ¶
func (o *ComponentAddUnauthorized) IsClientError() bool
IsClientError returns true when this component add unauthorized response has a 4xx status code
func (*ComponentAddUnauthorized) IsCode ¶
func (o *ComponentAddUnauthorized) IsCode(code int) bool
IsCode returns true when this component add unauthorized response a status code equal to that given
func (*ComponentAddUnauthorized) IsRedirect ¶
func (o *ComponentAddUnauthorized) IsRedirect() bool
IsRedirect returns true when this component add unauthorized response has a 3xx status code
func (*ComponentAddUnauthorized) IsServerError ¶
func (o *ComponentAddUnauthorized) IsServerError() bool
IsServerError returns true when this component add unauthorized response has a 5xx status code
func (*ComponentAddUnauthorized) IsSuccess ¶
func (o *ComponentAddUnauthorized) IsSuccess() bool
IsSuccess returns true when this component add unauthorized response has a 2xx status code
func (*ComponentAddUnauthorized) String ¶
func (o *ComponentAddUnauthorized) String() string
type ComponentDeleteBadRequest ¶
ComponentDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewComponentDeleteBadRequest ¶
func NewComponentDeleteBadRequest() *ComponentDeleteBadRequest
NewComponentDeleteBadRequest creates a ComponentDeleteBadRequest with default headers values
func (*ComponentDeleteBadRequest) Code ¶
func (o *ComponentDeleteBadRequest) Code() int
Code gets the status code for the component delete bad request response
func (*ComponentDeleteBadRequest) Error ¶
func (o *ComponentDeleteBadRequest) Error() string
func (*ComponentDeleteBadRequest) GetPayload ¶
func (o *ComponentDeleteBadRequest) GetPayload() *models.Response
func (*ComponentDeleteBadRequest) IsClientError ¶
func (o *ComponentDeleteBadRequest) IsClientError() bool
IsClientError returns true when this component delete bad request response has a 4xx status code
func (*ComponentDeleteBadRequest) IsCode ¶
func (o *ComponentDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this component delete bad request response a status code equal to that given
func (*ComponentDeleteBadRequest) IsRedirect ¶
func (o *ComponentDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this component delete bad request response has a 3xx status code
func (*ComponentDeleteBadRequest) IsServerError ¶
func (o *ComponentDeleteBadRequest) IsServerError() bool
IsServerError returns true when this component delete bad request response has a 5xx status code
func (*ComponentDeleteBadRequest) IsSuccess ¶
func (o *ComponentDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this component delete bad request response has a 2xx status code
func (*ComponentDeleteBadRequest) String ¶
func (o *ComponentDeleteBadRequest) String() string
type ComponentDeleteInternalServerError ¶
ComponentDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewComponentDeleteInternalServerError ¶
func NewComponentDeleteInternalServerError() *ComponentDeleteInternalServerError
NewComponentDeleteInternalServerError creates a ComponentDeleteInternalServerError with default headers values
func (*ComponentDeleteInternalServerError) Code ¶
func (o *ComponentDeleteInternalServerError) Code() int
Code gets the status code for the component delete internal server error response
func (*ComponentDeleteInternalServerError) Error ¶
func (o *ComponentDeleteInternalServerError) Error() string
func (*ComponentDeleteInternalServerError) GetPayload ¶
func (o *ComponentDeleteInternalServerError) GetPayload() *models.Response
func (*ComponentDeleteInternalServerError) IsClientError ¶
func (o *ComponentDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this component delete internal server error response has a 4xx status code
func (*ComponentDeleteInternalServerError) IsCode ¶
func (o *ComponentDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this component delete internal server error response a status code equal to that given
func (*ComponentDeleteInternalServerError) IsRedirect ¶
func (o *ComponentDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this component delete internal server error response has a 3xx status code
func (*ComponentDeleteInternalServerError) IsServerError ¶
func (o *ComponentDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this component delete internal server error response has a 5xx status code
func (*ComponentDeleteInternalServerError) IsSuccess ¶
func (o *ComponentDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this component delete internal server error response has a 2xx status code
func (*ComponentDeleteInternalServerError) String ¶
func (o *ComponentDeleteInternalServerError) String() string
type ComponentDeleteNotFound ¶
ComponentDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewComponentDeleteNotFound ¶
func NewComponentDeleteNotFound() *ComponentDeleteNotFound
NewComponentDeleteNotFound creates a ComponentDeleteNotFound with default headers values
func (*ComponentDeleteNotFound) Code ¶
func (o *ComponentDeleteNotFound) Code() int
Code gets the status code for the component delete not found response
func (*ComponentDeleteNotFound) Error ¶
func (o *ComponentDeleteNotFound) Error() string
func (*ComponentDeleteNotFound) GetPayload ¶
func (o *ComponentDeleteNotFound) GetPayload() *models.Response
func (*ComponentDeleteNotFound) IsClientError ¶
func (o *ComponentDeleteNotFound) IsClientError() bool
IsClientError returns true when this component delete not found response has a 4xx status code
func (*ComponentDeleteNotFound) IsCode ¶
func (o *ComponentDeleteNotFound) IsCode(code int) bool
IsCode returns true when this component delete not found response a status code equal to that given
func (*ComponentDeleteNotFound) IsRedirect ¶
func (o *ComponentDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this component delete not found response has a 3xx status code
func (*ComponentDeleteNotFound) IsServerError ¶
func (o *ComponentDeleteNotFound) IsServerError() bool
IsServerError returns true when this component delete not found response has a 5xx status code
func (*ComponentDeleteNotFound) IsSuccess ¶
func (o *ComponentDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this component delete not found response has a 2xx status code
func (*ComponentDeleteNotFound) String ¶
func (o *ComponentDeleteNotFound) String() string
type ComponentDeleteOK ¶
ComponentDeleteOK describes a response with status code 200, with default header values.
OK
func NewComponentDeleteOK ¶
func NewComponentDeleteOK() *ComponentDeleteOK
NewComponentDeleteOK creates a ComponentDeleteOK with default headers values
func (*ComponentDeleteOK) Code ¶
func (o *ComponentDeleteOK) Code() int
Code gets the status code for the component delete o k response
func (*ComponentDeleteOK) Error ¶
func (o *ComponentDeleteOK) Error() string
func (*ComponentDeleteOK) GetPayload ¶
func (o *ComponentDeleteOK) GetPayload() *models.Response
func (*ComponentDeleteOK) IsClientError ¶
func (o *ComponentDeleteOK) IsClientError() bool
IsClientError returns true when this component delete o k response has a 4xx status code
func (*ComponentDeleteOK) IsCode ¶
func (o *ComponentDeleteOK) IsCode(code int) bool
IsCode returns true when this component delete o k response a status code equal to that given
func (*ComponentDeleteOK) IsRedirect ¶
func (o *ComponentDeleteOK) IsRedirect() bool
IsRedirect returns true when this component delete o k response has a 3xx status code
func (*ComponentDeleteOK) IsServerError ¶
func (o *ComponentDeleteOK) IsServerError() bool
IsServerError returns true when this component delete o k response has a 5xx status code
func (*ComponentDeleteOK) IsSuccess ¶
func (o *ComponentDeleteOK) IsSuccess() bool
IsSuccess returns true when this component delete o k response has a 2xx status code
func (*ComponentDeleteOK) String ¶
func (o *ComponentDeleteOK) String() string
type ComponentDeleteParams ¶
type ComponentDeleteParams struct { /* ComponentID. ID of the component to deleted. */ ComponentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ComponentDeleteParams contains all the parameters to send to the API endpoint
for the component delete operation. Typically these are written to a http.Request.
func NewComponentDeleteParams ¶
func NewComponentDeleteParams() *ComponentDeleteParams
NewComponentDeleteParams creates a new ComponentDeleteParams 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 NewComponentDeleteParamsWithContext ¶
func NewComponentDeleteParamsWithContext(ctx context.Context) *ComponentDeleteParams
NewComponentDeleteParamsWithContext creates a new ComponentDeleteParams object with the ability to set a context for a request.
func NewComponentDeleteParamsWithHTTPClient ¶
func NewComponentDeleteParamsWithHTTPClient(client *http.Client) *ComponentDeleteParams
NewComponentDeleteParamsWithHTTPClient creates a new ComponentDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewComponentDeleteParamsWithTimeout ¶
func NewComponentDeleteParamsWithTimeout(timeout time.Duration) *ComponentDeleteParams
NewComponentDeleteParamsWithTimeout creates a new ComponentDeleteParams object with the ability to set a timeout on a request.
func (*ComponentDeleteParams) SetComponentID ¶
func (o *ComponentDeleteParams) SetComponentID(componentID string)
SetComponentID adds the componentId to the component delete params
func (*ComponentDeleteParams) SetContext ¶
func (o *ComponentDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the component delete params
func (*ComponentDeleteParams) SetDefaults ¶
func (o *ComponentDeleteParams) SetDefaults()
SetDefaults hydrates default values in the component delete params (not the query body).
All values with no default are reset to their zero value.
func (*ComponentDeleteParams) SetHTTPClient ¶
func (o *ComponentDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the component delete params
func (*ComponentDeleteParams) SetTimeout ¶
func (o *ComponentDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the component delete params
func (*ComponentDeleteParams) WithComponentID ¶
func (o *ComponentDeleteParams) WithComponentID(componentID string) *ComponentDeleteParams
WithComponentID adds the componentID to the component delete params
func (*ComponentDeleteParams) WithContext ¶
func (o *ComponentDeleteParams) WithContext(ctx context.Context) *ComponentDeleteParams
WithContext adds the context to the component delete params
func (*ComponentDeleteParams) WithDefaults ¶
func (o *ComponentDeleteParams) WithDefaults() *ComponentDeleteParams
WithDefaults hydrates default values in the component delete params (not the query body).
All values with no default are reset to their zero value.
func (*ComponentDeleteParams) WithHTTPClient ¶
func (o *ComponentDeleteParams) WithHTTPClient(client *http.Client) *ComponentDeleteParams
WithHTTPClient adds the HTTPClient to the component delete params
func (*ComponentDeleteParams) WithTimeout ¶
func (o *ComponentDeleteParams) WithTimeout(timeout time.Duration) *ComponentDeleteParams
WithTimeout adds the timeout to the component delete params
func (*ComponentDeleteParams) WriteToRequest ¶
func (o *ComponentDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ComponentDeleteReader ¶
type ComponentDeleteReader struct {
// contains filtered or unexported fields
}
ComponentDeleteReader is a Reader for the ComponentDelete structure.
func (*ComponentDeleteReader) ReadResponse ¶
func (o *ComponentDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ComponentDeleteUnauthorized ¶
type ComponentDeleteUnauthorized struct {
}ComponentDeleteUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewComponentDeleteUnauthorized ¶
func NewComponentDeleteUnauthorized() *ComponentDeleteUnauthorized
NewComponentDeleteUnauthorized creates a ComponentDeleteUnauthorized with default headers values
func (*ComponentDeleteUnauthorized) Code ¶
func (o *ComponentDeleteUnauthorized) Code() int
Code gets the status code for the component delete unauthorized response
func (*ComponentDeleteUnauthorized) Error ¶
func (o *ComponentDeleteUnauthorized) Error() string
func (*ComponentDeleteUnauthorized) GetPayload ¶
func (o *ComponentDeleteUnauthorized) GetPayload() *models.Response
func (*ComponentDeleteUnauthorized) IsClientError ¶
func (o *ComponentDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this component delete unauthorized response has a 4xx status code
func (*ComponentDeleteUnauthorized) IsCode ¶
func (o *ComponentDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this component delete unauthorized response a status code equal to that given
func (*ComponentDeleteUnauthorized) IsRedirect ¶
func (o *ComponentDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this component delete unauthorized response has a 3xx status code
func (*ComponentDeleteUnauthorized) IsServerError ¶
func (o *ComponentDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this component delete unauthorized response has a 5xx status code
func (*ComponentDeleteUnauthorized) IsSuccess ¶
func (o *ComponentDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this component delete unauthorized response has a 2xx status code
func (*ComponentDeleteUnauthorized) String ¶
func (o *ComponentDeleteUnauthorized) String() string
type ComponentFindBadRequest ¶
ComponentFindBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewComponentFindBadRequest ¶
func NewComponentFindBadRequest() *ComponentFindBadRequest
NewComponentFindBadRequest creates a ComponentFindBadRequest with default headers values
func (*ComponentFindBadRequest) Code ¶
func (o *ComponentFindBadRequest) Code() int
Code gets the status code for the component find bad request response
func (*ComponentFindBadRequest) Error ¶
func (o *ComponentFindBadRequest) Error() string
func (*ComponentFindBadRequest) GetPayload ¶
func (o *ComponentFindBadRequest) GetPayload() *models.Response
func (*ComponentFindBadRequest) IsClientError ¶
func (o *ComponentFindBadRequest) IsClientError() bool
IsClientError returns true when this component find bad request response has a 4xx status code
func (*ComponentFindBadRequest) IsCode ¶
func (o *ComponentFindBadRequest) IsCode(code int) bool
IsCode returns true when this component find bad request response a status code equal to that given
func (*ComponentFindBadRequest) IsRedirect ¶
func (o *ComponentFindBadRequest) IsRedirect() bool
IsRedirect returns true when this component find bad request response has a 3xx status code
func (*ComponentFindBadRequest) IsServerError ¶
func (o *ComponentFindBadRequest) IsServerError() bool
IsServerError returns true when this component find bad request response has a 5xx status code
func (*ComponentFindBadRequest) IsSuccess ¶
func (o *ComponentFindBadRequest) IsSuccess() bool
IsSuccess returns true when this component find bad request response has a 2xx status code
func (*ComponentFindBadRequest) String ¶
func (o *ComponentFindBadRequest) String() string
type ComponentFindInternalServerError ¶
ComponentFindInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewComponentFindInternalServerError ¶
func NewComponentFindInternalServerError() *ComponentFindInternalServerError
NewComponentFindInternalServerError creates a ComponentFindInternalServerError with default headers values
func (*ComponentFindInternalServerError) Code ¶
func (o *ComponentFindInternalServerError) Code() int
Code gets the status code for the component find internal server error response
func (*ComponentFindInternalServerError) Error ¶
func (o *ComponentFindInternalServerError) Error() string
func (*ComponentFindInternalServerError) GetPayload ¶
func (o *ComponentFindInternalServerError) GetPayload() *models.Response
func (*ComponentFindInternalServerError) IsClientError ¶
func (o *ComponentFindInternalServerError) IsClientError() bool
IsClientError returns true when this component find internal server error response has a 4xx status code
func (*ComponentFindInternalServerError) IsCode ¶
func (o *ComponentFindInternalServerError) IsCode(code int) bool
IsCode returns true when this component find internal server error response a status code equal to that given
func (*ComponentFindInternalServerError) IsRedirect ¶
func (o *ComponentFindInternalServerError) IsRedirect() bool
IsRedirect returns true when this component find internal server error response has a 3xx status code
func (*ComponentFindInternalServerError) IsServerError ¶
func (o *ComponentFindInternalServerError) IsServerError() bool
IsServerError returns true when this component find internal server error response has a 5xx status code
func (*ComponentFindInternalServerError) IsSuccess ¶
func (o *ComponentFindInternalServerError) IsSuccess() bool
IsSuccess returns true when this component find internal server error response has a 2xx status code
func (*ComponentFindInternalServerError) String ¶
func (o *ComponentFindInternalServerError) String() string
type ComponentFindOK ¶
type ComponentFindOK struct {
Payload *models.ComponentFindResponse
}
ComponentFindOK describes a response with status code 200, with default header values.
OK
func NewComponentFindOK ¶
func NewComponentFindOK() *ComponentFindOK
NewComponentFindOK creates a ComponentFindOK with default headers values
func (*ComponentFindOK) Code ¶
func (o *ComponentFindOK) Code() int
Code gets the status code for the component find o k response
func (*ComponentFindOK) Error ¶
func (o *ComponentFindOK) Error() string
func (*ComponentFindOK) GetPayload ¶
func (o *ComponentFindOK) GetPayload() *models.ComponentFindResponse
func (*ComponentFindOK) IsClientError ¶
func (o *ComponentFindOK) IsClientError() bool
IsClientError returns true when this component find o k response has a 4xx status code
func (*ComponentFindOK) IsCode ¶
func (o *ComponentFindOK) IsCode(code int) bool
IsCode returns true when this component find o k response a status code equal to that given
func (*ComponentFindOK) IsRedirect ¶
func (o *ComponentFindOK) IsRedirect() bool
IsRedirect returns true when this component find o k response has a 3xx status code
func (*ComponentFindOK) IsServerError ¶
func (o *ComponentFindOK) IsServerError() bool
IsServerError returns true when this component find o k response has a 5xx status code
func (*ComponentFindOK) IsSuccess ¶
func (o *ComponentFindOK) IsSuccess() bool
IsSuccess returns true when this component find o k response has a 2xx status code
func (*ComponentFindOK) String ¶
func (o *ComponentFindOK) String() string
type ComponentFindParams ¶
type ComponentFindParams struct { /* ComponentID. ID of the component to retrieve. */ ComponentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ComponentFindParams contains all the parameters to send to the API endpoint
for the component find operation. Typically these are written to a http.Request.
func NewComponentFindParams ¶
func NewComponentFindParams() *ComponentFindParams
NewComponentFindParams creates a new ComponentFindParams 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 NewComponentFindParamsWithContext ¶
func NewComponentFindParamsWithContext(ctx context.Context) *ComponentFindParams
NewComponentFindParamsWithContext creates a new ComponentFindParams object with the ability to set a context for a request.
func NewComponentFindParamsWithHTTPClient ¶
func NewComponentFindParamsWithHTTPClient(client *http.Client) *ComponentFindParams
NewComponentFindParamsWithHTTPClient creates a new ComponentFindParams object with the ability to set a custom HTTPClient for a request.
func NewComponentFindParamsWithTimeout ¶
func NewComponentFindParamsWithTimeout(timeout time.Duration) *ComponentFindParams
NewComponentFindParamsWithTimeout creates a new ComponentFindParams object with the ability to set a timeout on a request.
func (*ComponentFindParams) SetComponentID ¶
func (o *ComponentFindParams) SetComponentID(componentID string)
SetComponentID adds the componentId to the component find params
func (*ComponentFindParams) SetContext ¶
func (o *ComponentFindParams) SetContext(ctx context.Context)
SetContext adds the context to the component find params
func (*ComponentFindParams) SetDefaults ¶
func (o *ComponentFindParams) SetDefaults()
SetDefaults hydrates default values in the component find params (not the query body).
All values with no default are reset to their zero value.
func (*ComponentFindParams) SetHTTPClient ¶
func (o *ComponentFindParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the component find params
func (*ComponentFindParams) SetTimeout ¶
func (o *ComponentFindParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the component find params
func (*ComponentFindParams) WithComponentID ¶
func (o *ComponentFindParams) WithComponentID(componentID string) *ComponentFindParams
WithComponentID adds the componentID to the component find params
func (*ComponentFindParams) WithContext ¶
func (o *ComponentFindParams) WithContext(ctx context.Context) *ComponentFindParams
WithContext adds the context to the component find params
func (*ComponentFindParams) WithDefaults ¶
func (o *ComponentFindParams) WithDefaults() *ComponentFindParams
WithDefaults hydrates default values in the component find params (not the query body).
All values with no default are reset to their zero value.
func (*ComponentFindParams) WithHTTPClient ¶
func (o *ComponentFindParams) WithHTTPClient(client *http.Client) *ComponentFindParams
WithHTTPClient adds the HTTPClient to the component find params
func (*ComponentFindParams) WithTimeout ¶
func (o *ComponentFindParams) WithTimeout(timeout time.Duration) *ComponentFindParams
WithTimeout adds the timeout to the component find params
func (*ComponentFindParams) WriteToRequest ¶
func (o *ComponentFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ComponentFindReader ¶
type ComponentFindReader struct {
// contains filtered or unexported fields
}
ComponentFindReader is a Reader for the ComponentFind structure.
func (*ComponentFindReader) ReadResponse ¶
func (o *ComponentFindReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ComponentFindUnauthorized ¶
type ComponentFindUnauthorized struct {
}ComponentFindUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewComponentFindUnauthorized ¶
func NewComponentFindUnauthorized() *ComponentFindUnauthorized
NewComponentFindUnauthorized creates a ComponentFindUnauthorized with default headers values
func (*ComponentFindUnauthorized) Code ¶
func (o *ComponentFindUnauthorized) Code() int
Code gets the status code for the component find unauthorized response
func (*ComponentFindUnauthorized) Error ¶
func (o *ComponentFindUnauthorized) Error() string
func (*ComponentFindUnauthorized) GetPayload ¶
func (o *ComponentFindUnauthorized) GetPayload() *models.Response
func (*ComponentFindUnauthorized) IsClientError ¶
func (o *ComponentFindUnauthorized) IsClientError() bool
IsClientError returns true when this component find unauthorized response has a 4xx status code
func (*ComponentFindUnauthorized) IsCode ¶
func (o *ComponentFindUnauthorized) IsCode(code int) bool
IsCode returns true when this component find unauthorized response a status code equal to that given
func (*ComponentFindUnauthorized) IsRedirect ¶
func (o *ComponentFindUnauthorized) IsRedirect() bool
IsRedirect returns true when this component find unauthorized response has a 3xx status code
func (*ComponentFindUnauthorized) IsServerError ¶
func (o *ComponentFindUnauthorized) IsServerError() bool
IsServerError returns true when this component find unauthorized response has a 5xx status code
func (*ComponentFindUnauthorized) IsSuccess ¶
func (o *ComponentFindUnauthorized) IsSuccess() bool
IsSuccess returns true when this component find unauthorized response has a 2xx status code
func (*ComponentFindUnauthorized) String ¶
func (o *ComponentFindUnauthorized) String() string