Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteUsingDELETE4(params *DeleteUsingDELETE4Params, opts ...ClientOption) (*DeleteUsingDELETE4NoContent, error)
- func (a *Client) GetPageUsingGET2(params *GetPageUsingGET2Params, opts ...ClientOption) (*GetPageUsingGET2OK, error)
- func (a *Client) GetUsingGET2(params *GetUsingGET2Params, opts ...ClientOption) (*GetUsingGET2OK, error)
- func (a *Client) PostUsingPOST2(params *PostUsingPOST2Params, opts ...ClientOption) (*PostUsingPOST2OK, *PostUsingPOST2Created, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteUsingDELETE4NoContent
- func (o *DeleteUsingDELETE4NoContent) Error() string
- func (o *DeleteUsingDELETE4NoContent) IsClientError() bool
- func (o *DeleteUsingDELETE4NoContent) IsCode(code int) bool
- func (o *DeleteUsingDELETE4NoContent) IsRedirect() bool
- func (o *DeleteUsingDELETE4NoContent) IsServerError() bool
- func (o *DeleteUsingDELETE4NoContent) IsSuccess() bool
- func (o *DeleteUsingDELETE4NoContent) String() string
- type DeleteUsingDELETE4Params
- func NewDeleteUsingDELETE4Params() *DeleteUsingDELETE4Params
- func NewDeleteUsingDELETE4ParamsWithContext(ctx context.Context) *DeleteUsingDELETE4Params
- func NewDeleteUsingDELETE4ParamsWithHTTPClient(client *http.Client) *DeleteUsingDELETE4Params
- func NewDeleteUsingDELETE4ParamsWithTimeout(timeout time.Duration) *DeleteUsingDELETE4Params
- func (o *DeleteUsingDELETE4Params) SetAPIVersion(aPIVersion *string)
- func (o *DeleteUsingDELETE4Params) SetContext(ctx context.Context)
- func (o *DeleteUsingDELETE4Params) SetDefaults()
- func (o *DeleteUsingDELETE4Params) SetHTTPClient(client *http.Client)
- func (o *DeleteUsingDELETE4Params) SetSourceID(sourceID strfmt.UUID)
- func (o *DeleteUsingDELETE4Params) SetTimeout(timeout time.Duration)
- func (o *DeleteUsingDELETE4Params) WithAPIVersion(aPIVersion *string) *DeleteUsingDELETE4Params
- func (o *DeleteUsingDELETE4Params) WithContext(ctx context.Context) *DeleteUsingDELETE4Params
- func (o *DeleteUsingDELETE4Params) WithDefaults() *DeleteUsingDELETE4Params
- func (o *DeleteUsingDELETE4Params) WithHTTPClient(client *http.Client) *DeleteUsingDELETE4Params
- func (o *DeleteUsingDELETE4Params) WithSourceID(sourceID strfmt.UUID) *DeleteUsingDELETE4Params
- func (o *DeleteUsingDELETE4Params) WithTimeout(timeout time.Duration) *DeleteUsingDELETE4Params
- func (o *DeleteUsingDELETE4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUsingDELETE4Reader
- type DeleteUsingDELETE4Unauthorized
- func (o *DeleteUsingDELETE4Unauthorized) Error() string
- func (o *DeleteUsingDELETE4Unauthorized) IsClientError() bool
- func (o *DeleteUsingDELETE4Unauthorized) IsCode(code int) bool
- func (o *DeleteUsingDELETE4Unauthorized) IsRedirect() bool
- func (o *DeleteUsingDELETE4Unauthorized) IsServerError() bool
- func (o *DeleteUsingDELETE4Unauthorized) IsSuccess() bool
- func (o *DeleteUsingDELETE4Unauthorized) String() string
- type GetPageUsingGET2OK
- func (o *GetPageUsingGET2OK) Error() string
- func (o *GetPageUsingGET2OK) GetPayload() *models.PageOfCatalogSource
- func (o *GetPageUsingGET2OK) IsClientError() bool
- func (o *GetPageUsingGET2OK) IsCode(code int) bool
- func (o *GetPageUsingGET2OK) IsRedirect() bool
- func (o *GetPageUsingGET2OK) IsServerError() bool
- func (o *GetPageUsingGET2OK) IsSuccess() bool
- func (o *GetPageUsingGET2OK) String() string
- type GetPageUsingGET2Params
- func NewGetPageUsingGET2Params() *GetPageUsingGET2Params
- func NewGetPageUsingGET2ParamsWithContext(ctx context.Context) *GetPageUsingGET2Params
- func NewGetPageUsingGET2ParamsWithHTTPClient(client *http.Client) *GetPageUsingGET2Params
- func NewGetPageUsingGET2ParamsWithTimeout(timeout time.Duration) *GetPageUsingGET2Params
- func (o *GetPageUsingGET2Params) SetAPIVersion(aPIVersion *string)
- func (o *GetPageUsingGET2Params) SetContext(ctx context.Context)
- func (o *GetPageUsingGET2Params) SetDefaults()
- func (o *GetPageUsingGET2Params) SetDollarOrderby(dollarOrderby []string)
- func (o *GetPageUsingGET2Params) SetDollarSkip(dollarSkip *int32)
- func (o *GetPageUsingGET2Params) SetDollarTop(dollarTop *int32)
- func (o *GetPageUsingGET2Params) SetHTTPClient(client *http.Client)
- func (o *GetPageUsingGET2Params) SetProjectID(projectID *string)
- func (o *GetPageUsingGET2Params) SetSearch(search *string)
- func (o *GetPageUsingGET2Params) SetTimeout(timeout time.Duration)
- func (o *GetPageUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetPageUsingGET2Params
- func (o *GetPageUsingGET2Params) WithContext(ctx context.Context) *GetPageUsingGET2Params
- func (o *GetPageUsingGET2Params) WithDefaults() *GetPageUsingGET2Params
- func (o *GetPageUsingGET2Params) WithDollarOrderby(dollarOrderby []string) *GetPageUsingGET2Params
- func (o *GetPageUsingGET2Params) WithDollarSkip(dollarSkip *int32) *GetPageUsingGET2Params
- func (o *GetPageUsingGET2Params) WithDollarTop(dollarTop *int32) *GetPageUsingGET2Params
- func (o *GetPageUsingGET2Params) WithHTTPClient(client *http.Client) *GetPageUsingGET2Params
- func (o *GetPageUsingGET2Params) WithProjectID(projectID *string) *GetPageUsingGET2Params
- func (o *GetPageUsingGET2Params) WithSearch(search *string) *GetPageUsingGET2Params
- func (o *GetPageUsingGET2Params) WithTimeout(timeout time.Duration) *GetPageUsingGET2Params
- func (o *GetPageUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPageUsingGET2Reader
- type GetPageUsingGET2Unauthorized
- func (o *GetPageUsingGET2Unauthorized) Error() string
- func (o *GetPageUsingGET2Unauthorized) IsClientError() bool
- func (o *GetPageUsingGET2Unauthorized) IsCode(code int) bool
- func (o *GetPageUsingGET2Unauthorized) IsRedirect() bool
- func (o *GetPageUsingGET2Unauthorized) IsServerError() bool
- func (o *GetPageUsingGET2Unauthorized) IsSuccess() bool
- func (o *GetPageUsingGET2Unauthorized) String() string
- type GetUsingGET2NotFound
- func (o *GetUsingGET2NotFound) Error() string
- func (o *GetUsingGET2NotFound) GetPayload() *models.Error
- func (o *GetUsingGET2NotFound) IsClientError() bool
- func (o *GetUsingGET2NotFound) IsCode(code int) bool
- func (o *GetUsingGET2NotFound) IsRedirect() bool
- func (o *GetUsingGET2NotFound) IsServerError() bool
- func (o *GetUsingGET2NotFound) IsSuccess() bool
- func (o *GetUsingGET2NotFound) String() string
- type GetUsingGET2OK
- func (o *GetUsingGET2OK) Error() string
- func (o *GetUsingGET2OK) GetPayload() *models.CatalogSource
- func (o *GetUsingGET2OK) IsClientError() bool
- func (o *GetUsingGET2OK) IsCode(code int) bool
- func (o *GetUsingGET2OK) IsRedirect() bool
- func (o *GetUsingGET2OK) IsServerError() bool
- func (o *GetUsingGET2OK) IsSuccess() bool
- func (o *GetUsingGET2OK) String() string
- type GetUsingGET2Params
- func (o *GetUsingGET2Params) SetAPIVersion(aPIVersion *string)
- func (o *GetUsingGET2Params) SetContext(ctx context.Context)
- func (o *GetUsingGET2Params) SetDefaults()
- func (o *GetUsingGET2Params) SetHTTPClient(client *http.Client)
- func (o *GetUsingGET2Params) SetSourceID(sourceID strfmt.UUID)
- func (o *GetUsingGET2Params) SetTimeout(timeout time.Duration)
- func (o *GetUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetUsingGET2Params
- func (o *GetUsingGET2Params) WithContext(ctx context.Context) *GetUsingGET2Params
- func (o *GetUsingGET2Params) WithDefaults() *GetUsingGET2Params
- func (o *GetUsingGET2Params) WithHTTPClient(client *http.Client) *GetUsingGET2Params
- func (o *GetUsingGET2Params) WithSourceID(sourceID strfmt.UUID) *GetUsingGET2Params
- func (o *GetUsingGET2Params) WithTimeout(timeout time.Duration) *GetUsingGET2Params
- func (o *GetUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsingGET2Reader
- type GetUsingGET2Unauthorized
- func (o *GetUsingGET2Unauthorized) Error() string
- func (o *GetUsingGET2Unauthorized) IsClientError() bool
- func (o *GetUsingGET2Unauthorized) IsCode(code int) bool
- func (o *GetUsingGET2Unauthorized) IsRedirect() bool
- func (o *GetUsingGET2Unauthorized) IsServerError() bool
- func (o *GetUsingGET2Unauthorized) IsSuccess() bool
- func (o *GetUsingGET2Unauthorized) String() string
- type PostUsingPOST2BadRequest
- func (o *PostUsingPOST2BadRequest) Error() string
- func (o *PostUsingPOST2BadRequest) GetPayload() *models.Error
- func (o *PostUsingPOST2BadRequest) IsClientError() bool
- func (o *PostUsingPOST2BadRequest) IsCode(code int) bool
- func (o *PostUsingPOST2BadRequest) IsRedirect() bool
- func (o *PostUsingPOST2BadRequest) IsServerError() bool
- func (o *PostUsingPOST2BadRequest) IsSuccess() bool
- func (o *PostUsingPOST2BadRequest) String() string
- type PostUsingPOST2Created
- func (o *PostUsingPOST2Created) Error() string
- func (o *PostUsingPOST2Created) GetPayload() *models.CatalogSource
- func (o *PostUsingPOST2Created) IsClientError() bool
- func (o *PostUsingPOST2Created) IsCode(code int) bool
- func (o *PostUsingPOST2Created) IsRedirect() bool
- func (o *PostUsingPOST2Created) IsServerError() bool
- func (o *PostUsingPOST2Created) IsSuccess() bool
- func (o *PostUsingPOST2Created) String() string
- type PostUsingPOST2Forbidden
- func (o *PostUsingPOST2Forbidden) Error() string
- func (o *PostUsingPOST2Forbidden) IsClientError() bool
- func (o *PostUsingPOST2Forbidden) IsCode(code int) bool
- func (o *PostUsingPOST2Forbidden) IsRedirect() bool
- func (o *PostUsingPOST2Forbidden) IsServerError() bool
- func (o *PostUsingPOST2Forbidden) IsSuccess() bool
- func (o *PostUsingPOST2Forbidden) String() string
- type PostUsingPOST2NotFound
- func (o *PostUsingPOST2NotFound) Error() string
- func (o *PostUsingPOST2NotFound) GetPayload() *models.Error
- func (o *PostUsingPOST2NotFound) IsClientError() bool
- func (o *PostUsingPOST2NotFound) IsCode(code int) bool
- func (o *PostUsingPOST2NotFound) IsRedirect() bool
- func (o *PostUsingPOST2NotFound) IsServerError() bool
- func (o *PostUsingPOST2NotFound) IsSuccess() bool
- func (o *PostUsingPOST2NotFound) String() string
- type PostUsingPOST2OK
- func (o *PostUsingPOST2OK) Error() string
- func (o *PostUsingPOST2OK) GetPayload() *models.CatalogSource
- func (o *PostUsingPOST2OK) IsClientError() bool
- func (o *PostUsingPOST2OK) IsCode(code int) bool
- func (o *PostUsingPOST2OK) IsRedirect() bool
- func (o *PostUsingPOST2OK) IsServerError() bool
- func (o *PostUsingPOST2OK) IsSuccess() bool
- func (o *PostUsingPOST2OK) String() string
- type PostUsingPOST2Params
- func NewPostUsingPOST2Params() *PostUsingPOST2Params
- func NewPostUsingPOST2ParamsWithContext(ctx context.Context) *PostUsingPOST2Params
- func NewPostUsingPOST2ParamsWithHTTPClient(client *http.Client) *PostUsingPOST2Params
- func NewPostUsingPOST2ParamsWithTimeout(timeout time.Duration) *PostUsingPOST2Params
- func (o *PostUsingPOST2Params) SetAPIVersion(aPIVersion *string)
- func (o *PostUsingPOST2Params) SetContext(ctx context.Context)
- func (o *PostUsingPOST2Params) SetDefaults()
- func (o *PostUsingPOST2Params) SetHTTPClient(client *http.Client)
- func (o *PostUsingPOST2Params) SetSource(source *models.CatalogSource)
- func (o *PostUsingPOST2Params) SetTimeout(timeout time.Duration)
- func (o *PostUsingPOST2Params) SetValidationOnly(validationOnly *bool)
- func (o *PostUsingPOST2Params) WithAPIVersion(aPIVersion *string) *PostUsingPOST2Params
- func (o *PostUsingPOST2Params) WithContext(ctx context.Context) *PostUsingPOST2Params
- func (o *PostUsingPOST2Params) WithDefaults() *PostUsingPOST2Params
- func (o *PostUsingPOST2Params) WithHTTPClient(client *http.Client) *PostUsingPOST2Params
- func (o *PostUsingPOST2Params) WithSource(source *models.CatalogSource) *PostUsingPOST2Params
- func (o *PostUsingPOST2Params) WithTimeout(timeout time.Duration) *PostUsingPOST2Params
- func (o *PostUsingPOST2Params) WithValidationOnly(validationOnly *bool) *PostUsingPOST2Params
- func (o *PostUsingPOST2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostUsingPOST2Reader
- type PostUsingPOST2Unauthorized
- func (o *PostUsingPOST2Unauthorized) Error() string
- func (o *PostUsingPOST2Unauthorized) IsClientError() bool
- func (o *PostUsingPOST2Unauthorized) IsCode(code int) bool
- func (o *PostUsingPOST2Unauthorized) IsRedirect() bool
- func (o *PostUsingPOST2Unauthorized) IsServerError() bool
- func (o *PostUsingPOST2Unauthorized) IsSuccess() bool
- func (o *PostUsingPOST2Unauthorized) 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 catalog sources API
func (*Client) DeleteUsingDELETE4 ¶ added in v0.4.0
func (a *Client) DeleteUsingDELETE4(params *DeleteUsingDELETE4Params, opts ...ClientOption) (*DeleteUsingDELETE4NoContent, error)
DeleteUsingDELETE4 deletes catalog source
Deletes the catalog source with the supplied ID.
func (*Client) GetPageUsingGET2 ¶ added in v0.4.0
func (a *Client) GetPageUsingGET2(params *GetPageUsingGET2Params, opts ...ClientOption) (*GetPageUsingGET2OK, error)
GetPageUsingGET2 fetches catalog sources
Returns a paginated list of catalog sources.
func (*Client) GetUsingGET2 ¶ added in v0.4.0
func (a *Client) GetUsingGET2(params *GetUsingGET2Params, opts ...ClientOption) (*GetUsingGET2OK, error)
GetUsingGET2 fetches a specific catalog source for the given ID
Returns the catalog source with the supplied ID.
func (*Client) PostUsingPOST2 ¶ added in v0.4.0
func (a *Client) PostUsingPOST2(params *PostUsingPOST2Params, opts ...ClientOption) (*PostUsingPOST2OK, *PostUsingPOST2Created, error)
PostUsingPOST2 creates or update a catalog source creating or updating also imports or re imports the associated catalog items
Creates a new catalog source or updates an existing catalog source based on the request body and imports catalog items from it.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.2.20
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.2.18
type ClientService interface { DeleteUsingDELETE4(params *DeleteUsingDELETE4Params, opts ...ClientOption) (*DeleteUsingDELETE4NoContent, error) GetPageUsingGET2(params *GetPageUsingGET2Params, opts ...ClientOption) (*GetPageUsingGET2OK, error) GetUsingGET2(params *GetUsingGET2Params, opts ...ClientOption) (*GetUsingGET2OK, error) PostUsingPOST2(params *PostUsingPOST2Params, opts ...ClientOption) (*PostUsingPOST2OK, *PostUsingPOST2Created, 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 catalog sources API client.
type DeleteUsingDELETE4NoContent ¶ added in v0.4.0
type DeleteUsingDELETE4NoContent struct { }
DeleteUsingDELETE4NoContent describes a response with status code 204, with default header values.
No Content
func NewDeleteUsingDELETE4NoContent ¶ added in v0.4.0
func NewDeleteUsingDELETE4NoContent() *DeleteUsingDELETE4NoContent
NewDeleteUsingDELETE4NoContent creates a DeleteUsingDELETE4NoContent with default headers values
func (*DeleteUsingDELETE4NoContent) Error ¶ added in v0.4.0
func (o *DeleteUsingDELETE4NoContent) Error() string
func (*DeleteUsingDELETE4NoContent) IsClientError ¶ added in v0.5.0
func (o *DeleteUsingDELETE4NoContent) IsClientError() bool
IsClientError returns true when this delete using d e l e t e4 no content response has a 4xx status code
func (*DeleteUsingDELETE4NoContent) IsCode ¶ added in v0.5.0
func (o *DeleteUsingDELETE4NoContent) IsCode(code int) bool
IsCode returns true when this delete using d e l e t e4 no content response a status code equal to that given
func (*DeleteUsingDELETE4NoContent) IsRedirect ¶ added in v0.5.0
func (o *DeleteUsingDELETE4NoContent) IsRedirect() bool
IsRedirect returns true when this delete using d e l e t e4 no content response has a 3xx status code
func (*DeleteUsingDELETE4NoContent) IsServerError ¶ added in v0.5.0
func (o *DeleteUsingDELETE4NoContent) IsServerError() bool
IsServerError returns true when this delete using d e l e t e4 no content response has a 5xx status code
func (*DeleteUsingDELETE4NoContent) IsSuccess ¶ added in v0.5.0
func (o *DeleteUsingDELETE4NoContent) IsSuccess() bool
IsSuccess returns true when this delete using d e l e t e4 no content response has a 2xx status code
func (*DeleteUsingDELETE4NoContent) String ¶ added in v0.5.0
func (o *DeleteUsingDELETE4NoContent) String() string
type DeleteUsingDELETE4Params ¶ added in v0.4.0
type DeleteUsingDELETE4Params struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* SourceID. Catalog source ID Format: uuid */ SourceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUsingDELETE4Params contains all the parameters to send to the API endpoint
for the delete using d e l e t e 4 operation. Typically these are written to a http.Request.
func NewDeleteUsingDELETE4Params ¶ added in v0.4.0
func NewDeleteUsingDELETE4Params() *DeleteUsingDELETE4Params
NewDeleteUsingDELETE4Params creates a new DeleteUsingDELETE4Params 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 NewDeleteUsingDELETE4ParamsWithContext ¶ added in v0.4.0
func NewDeleteUsingDELETE4ParamsWithContext(ctx context.Context) *DeleteUsingDELETE4Params
NewDeleteUsingDELETE4ParamsWithContext creates a new DeleteUsingDELETE4Params object with the ability to set a context for a request.
func NewDeleteUsingDELETE4ParamsWithHTTPClient ¶ added in v0.4.0
func NewDeleteUsingDELETE4ParamsWithHTTPClient(client *http.Client) *DeleteUsingDELETE4Params
NewDeleteUsingDELETE4ParamsWithHTTPClient creates a new DeleteUsingDELETE4Params object with the ability to set a custom HTTPClient for a request.
func NewDeleteUsingDELETE4ParamsWithTimeout ¶ added in v0.4.0
func NewDeleteUsingDELETE4ParamsWithTimeout(timeout time.Duration) *DeleteUsingDELETE4Params
NewDeleteUsingDELETE4ParamsWithTimeout creates a new DeleteUsingDELETE4Params object with the ability to set a timeout on a request.
func (*DeleteUsingDELETE4Params) SetAPIVersion ¶ added in v0.4.0
func (o *DeleteUsingDELETE4Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete using d e l e t e 4 params
func (*DeleteUsingDELETE4Params) SetContext ¶ added in v0.4.0
func (o *DeleteUsingDELETE4Params) SetContext(ctx context.Context)
SetContext adds the context to the delete using d e l e t e 4 params
func (*DeleteUsingDELETE4Params) SetDefaults ¶ added in v0.4.0
func (o *DeleteUsingDELETE4Params) SetDefaults()
SetDefaults hydrates default values in the delete using d e l e t e 4 params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUsingDELETE4Params) SetHTTPClient ¶ added in v0.4.0
func (o *DeleteUsingDELETE4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete using d e l e t e 4 params
func (*DeleteUsingDELETE4Params) SetSourceID ¶ added in v0.4.0
func (o *DeleteUsingDELETE4Params) SetSourceID(sourceID strfmt.UUID)
SetSourceID adds the sourceId to the delete using d e l e t e 4 params
func (*DeleteUsingDELETE4Params) SetTimeout ¶ added in v0.4.0
func (o *DeleteUsingDELETE4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete using d e l e t e 4 params
func (*DeleteUsingDELETE4Params) WithAPIVersion ¶ added in v0.4.0
func (o *DeleteUsingDELETE4Params) WithAPIVersion(aPIVersion *string) *DeleteUsingDELETE4Params
WithAPIVersion adds the aPIVersion to the delete using d e l e t e 4 params
func (*DeleteUsingDELETE4Params) WithContext ¶ added in v0.4.0
func (o *DeleteUsingDELETE4Params) WithContext(ctx context.Context) *DeleteUsingDELETE4Params
WithContext adds the context to the delete using d e l e t e 4 params
func (*DeleteUsingDELETE4Params) WithDefaults ¶ added in v0.4.0
func (o *DeleteUsingDELETE4Params) WithDefaults() *DeleteUsingDELETE4Params
WithDefaults hydrates default values in the delete using d e l e t e 4 params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUsingDELETE4Params) WithHTTPClient ¶ added in v0.4.0
func (o *DeleteUsingDELETE4Params) WithHTTPClient(client *http.Client) *DeleteUsingDELETE4Params
WithHTTPClient adds the HTTPClient to the delete using d e l e t e 4 params
func (*DeleteUsingDELETE4Params) WithSourceID ¶ added in v0.4.0
func (o *DeleteUsingDELETE4Params) WithSourceID(sourceID strfmt.UUID) *DeleteUsingDELETE4Params
WithSourceID adds the sourceID to the delete using d e l e t e 4 params
func (*DeleteUsingDELETE4Params) WithTimeout ¶ added in v0.4.0
func (o *DeleteUsingDELETE4Params) WithTimeout(timeout time.Duration) *DeleteUsingDELETE4Params
WithTimeout adds the timeout to the delete using d e l e t e 4 params
func (*DeleteUsingDELETE4Params) WriteToRequest ¶ added in v0.4.0
func (o *DeleteUsingDELETE4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUsingDELETE4Reader ¶ added in v0.4.0
type DeleteUsingDELETE4Reader struct {
// contains filtered or unexported fields
}
DeleteUsingDELETE4Reader is a Reader for the DeleteUsingDELETE4 structure.
func (*DeleteUsingDELETE4Reader) ReadResponse ¶ added in v0.4.0
func (o *DeleteUsingDELETE4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUsingDELETE4Unauthorized ¶ added in v0.4.0
type DeleteUsingDELETE4Unauthorized struct { }
DeleteUsingDELETE4Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteUsingDELETE4Unauthorized ¶ added in v0.4.0
func NewDeleteUsingDELETE4Unauthorized() *DeleteUsingDELETE4Unauthorized
NewDeleteUsingDELETE4Unauthorized creates a DeleteUsingDELETE4Unauthorized with default headers values
func (*DeleteUsingDELETE4Unauthorized) Error ¶ added in v0.4.0
func (o *DeleteUsingDELETE4Unauthorized) Error() string
func (*DeleteUsingDELETE4Unauthorized) IsClientError ¶ added in v0.5.0
func (o *DeleteUsingDELETE4Unauthorized) IsClientError() bool
IsClientError returns true when this delete using d e l e t e4 unauthorized response has a 4xx status code
func (*DeleteUsingDELETE4Unauthorized) IsCode ¶ added in v0.5.0
func (o *DeleteUsingDELETE4Unauthorized) IsCode(code int) bool
IsCode returns true when this delete using d e l e t e4 unauthorized response a status code equal to that given
func (*DeleteUsingDELETE4Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *DeleteUsingDELETE4Unauthorized) IsRedirect() bool
IsRedirect returns true when this delete using d e l e t e4 unauthorized response has a 3xx status code
func (*DeleteUsingDELETE4Unauthorized) IsServerError ¶ added in v0.5.0
func (o *DeleteUsingDELETE4Unauthorized) IsServerError() bool
IsServerError returns true when this delete using d e l e t e4 unauthorized response has a 5xx status code
func (*DeleteUsingDELETE4Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *DeleteUsingDELETE4Unauthorized) IsSuccess() bool
IsSuccess returns true when this delete using d e l e t e4 unauthorized response has a 2xx status code
func (*DeleteUsingDELETE4Unauthorized) String ¶ added in v0.5.0
func (o *DeleteUsingDELETE4Unauthorized) String() string
type GetPageUsingGET2OK ¶ added in v0.4.0
type GetPageUsingGET2OK struct {
Payload *models.PageOfCatalogSource
}
GetPageUsingGET2OK describes a response with status code 200, with default header values.
OK
func NewGetPageUsingGET2OK ¶ added in v0.4.0
func NewGetPageUsingGET2OK() *GetPageUsingGET2OK
NewGetPageUsingGET2OK creates a GetPageUsingGET2OK with default headers values
func (*GetPageUsingGET2OK) Error ¶ added in v0.4.0
func (o *GetPageUsingGET2OK) Error() string
func (*GetPageUsingGET2OK) GetPayload ¶ added in v0.4.0
func (o *GetPageUsingGET2OK) GetPayload() *models.PageOfCatalogSource
func (*GetPageUsingGET2OK) IsClientError ¶ added in v0.5.0
func (o *GetPageUsingGET2OK) IsClientError() bool
IsClientError returns true when this get page using g e t2 o k response has a 4xx status code
func (*GetPageUsingGET2OK) IsCode ¶ added in v0.5.0
func (o *GetPageUsingGET2OK) IsCode(code int) bool
IsCode returns true when this get page using g e t2 o k response a status code equal to that given
func (*GetPageUsingGET2OK) IsRedirect ¶ added in v0.5.0
func (o *GetPageUsingGET2OK) IsRedirect() bool
IsRedirect returns true when this get page using g e t2 o k response has a 3xx status code
func (*GetPageUsingGET2OK) IsServerError ¶ added in v0.5.0
func (o *GetPageUsingGET2OK) IsServerError() bool
IsServerError returns true when this get page using g e t2 o k response has a 5xx status code
func (*GetPageUsingGET2OK) IsSuccess ¶ added in v0.5.0
func (o *GetPageUsingGET2OK) IsSuccess() bool
IsSuccess returns true when this get page using g e t2 o k response has a 2xx status code
func (*GetPageUsingGET2OK) String ¶ added in v0.5.0
func (o *GetPageUsingGET2OK) String() string
type GetPageUsingGET2Params ¶ added in v0.4.0
type GetPageUsingGET2Params struct { /* DollarOrderby. Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */ DollarOrderby []string /* DollarSkip. Number of records you want to skip Format: int32 */ DollarSkip *int32 /* DollarTop. Number of records you want Format: int32 */ DollarTop *int32 /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* ProjectID. Find sources which contains items that can be requested in the given projectId */ ProjectID *string /* Search. Matches will have this string in their name or description. */ Search *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPageUsingGET2Params contains all the parameters to send to the API endpoint
for the get page using g e t 2 operation. Typically these are written to a http.Request.
func NewGetPageUsingGET2Params ¶ added in v0.4.0
func NewGetPageUsingGET2Params() *GetPageUsingGET2Params
NewGetPageUsingGET2Params creates a new GetPageUsingGET2Params 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 NewGetPageUsingGET2ParamsWithContext ¶ added in v0.4.0
func NewGetPageUsingGET2ParamsWithContext(ctx context.Context) *GetPageUsingGET2Params
NewGetPageUsingGET2ParamsWithContext creates a new GetPageUsingGET2Params object with the ability to set a context for a request.
func NewGetPageUsingGET2ParamsWithHTTPClient ¶ added in v0.4.0
func NewGetPageUsingGET2ParamsWithHTTPClient(client *http.Client) *GetPageUsingGET2Params
NewGetPageUsingGET2ParamsWithHTTPClient creates a new GetPageUsingGET2Params object with the ability to set a custom HTTPClient for a request.
func NewGetPageUsingGET2ParamsWithTimeout ¶ added in v0.4.0
func NewGetPageUsingGET2ParamsWithTimeout(timeout time.Duration) *GetPageUsingGET2Params
NewGetPageUsingGET2ParamsWithTimeout creates a new GetPageUsingGET2Params object with the ability to set a timeout on a request.
func (*GetPageUsingGET2Params) SetAPIVersion ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get page using g e t 2 params
func (*GetPageUsingGET2Params) SetContext ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) SetContext(ctx context.Context)
SetContext adds the context to the get page using g e t 2 params
func (*GetPageUsingGET2Params) SetDefaults ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) SetDefaults()
SetDefaults hydrates default values in the get page using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetPageUsingGET2Params) SetDollarOrderby ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) SetDollarOrderby(dollarOrderby []string)
SetDollarOrderby adds the dollarOrderby to the get page using g e t 2 params
func (*GetPageUsingGET2Params) SetDollarSkip ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the get page using g e t 2 params
func (*GetPageUsingGET2Params) SetDollarTop ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the get page using g e t 2 params
func (*GetPageUsingGET2Params) SetHTTPClient ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get page using g e t 2 params
func (*GetPageUsingGET2Params) SetProjectID ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) SetProjectID(projectID *string)
SetProjectID adds the projectId to the get page using g e t 2 params
func (*GetPageUsingGET2Params) SetSearch ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) SetSearch(search *string)
SetSearch adds the search to the get page using g e t 2 params
func (*GetPageUsingGET2Params) SetTimeout ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get page using g e t 2 params
func (*GetPageUsingGET2Params) WithAPIVersion ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetPageUsingGET2Params
WithAPIVersion adds the aPIVersion to the get page using g e t 2 params
func (*GetPageUsingGET2Params) WithContext ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) WithContext(ctx context.Context) *GetPageUsingGET2Params
WithContext adds the context to the get page using g e t 2 params
func (*GetPageUsingGET2Params) WithDefaults ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) WithDefaults() *GetPageUsingGET2Params
WithDefaults hydrates default values in the get page using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetPageUsingGET2Params) WithDollarOrderby ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) WithDollarOrderby(dollarOrderby []string) *GetPageUsingGET2Params
WithDollarOrderby adds the dollarOrderby to the get page using g e t 2 params
func (*GetPageUsingGET2Params) WithDollarSkip ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) WithDollarSkip(dollarSkip *int32) *GetPageUsingGET2Params
WithDollarSkip adds the dollarSkip to the get page using g e t 2 params
func (*GetPageUsingGET2Params) WithDollarTop ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) WithDollarTop(dollarTop *int32) *GetPageUsingGET2Params
WithDollarTop adds the dollarTop to the get page using g e t 2 params
func (*GetPageUsingGET2Params) WithHTTPClient ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) WithHTTPClient(client *http.Client) *GetPageUsingGET2Params
WithHTTPClient adds the HTTPClient to the get page using g e t 2 params
func (*GetPageUsingGET2Params) WithProjectID ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) WithProjectID(projectID *string) *GetPageUsingGET2Params
WithProjectID adds the projectID to the get page using g e t 2 params
func (*GetPageUsingGET2Params) WithSearch ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) WithSearch(search *string) *GetPageUsingGET2Params
WithSearch adds the search to the get page using g e t 2 params
func (*GetPageUsingGET2Params) WithTimeout ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) WithTimeout(timeout time.Duration) *GetPageUsingGET2Params
WithTimeout adds the timeout to the get page using g e t 2 params
func (*GetPageUsingGET2Params) WriteToRequest ¶ added in v0.4.0
func (o *GetPageUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPageUsingGET2Reader ¶ added in v0.4.0
type GetPageUsingGET2Reader struct {
// contains filtered or unexported fields
}
GetPageUsingGET2Reader is a Reader for the GetPageUsingGET2 structure.
func (*GetPageUsingGET2Reader) ReadResponse ¶ added in v0.4.0
func (o *GetPageUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPageUsingGET2Unauthorized ¶ added in v0.4.0
type GetPageUsingGET2Unauthorized struct { }
GetPageUsingGET2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetPageUsingGET2Unauthorized ¶ added in v0.4.0
func NewGetPageUsingGET2Unauthorized() *GetPageUsingGET2Unauthorized
NewGetPageUsingGET2Unauthorized creates a GetPageUsingGET2Unauthorized with default headers values
func (*GetPageUsingGET2Unauthorized) Error ¶ added in v0.4.0
func (o *GetPageUsingGET2Unauthorized) Error() string
func (*GetPageUsingGET2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *GetPageUsingGET2Unauthorized) IsClientError() bool
IsClientError returns true when this get page using g e t2 unauthorized response has a 4xx status code
func (*GetPageUsingGET2Unauthorized) IsCode ¶ added in v0.5.0
func (o *GetPageUsingGET2Unauthorized) IsCode(code int) bool
IsCode returns true when this get page using g e t2 unauthorized response a status code equal to that given
func (*GetPageUsingGET2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetPageUsingGET2Unauthorized) IsRedirect() bool
IsRedirect returns true when this get page using g e t2 unauthorized response has a 3xx status code
func (*GetPageUsingGET2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *GetPageUsingGET2Unauthorized) IsServerError() bool
IsServerError returns true when this get page using g e t2 unauthorized response has a 5xx status code
func (*GetPageUsingGET2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetPageUsingGET2Unauthorized) IsSuccess() bool
IsSuccess returns true when this get page using g e t2 unauthorized response has a 2xx status code
func (*GetPageUsingGET2Unauthorized) String ¶ added in v0.5.0
func (o *GetPageUsingGET2Unauthorized) String() string
type GetUsingGET2NotFound ¶ added in v0.4.0
GetUsingGET2NotFound describes a response with status code 404, with default header values.
Not Found
func NewGetUsingGET2NotFound ¶ added in v0.4.0
func NewGetUsingGET2NotFound() *GetUsingGET2NotFound
NewGetUsingGET2NotFound creates a GetUsingGET2NotFound with default headers values
func (*GetUsingGET2NotFound) Error ¶ added in v0.4.0
func (o *GetUsingGET2NotFound) Error() string
func (*GetUsingGET2NotFound) GetPayload ¶ added in v0.4.0
func (o *GetUsingGET2NotFound) GetPayload() *models.Error
func (*GetUsingGET2NotFound) IsClientError ¶ added in v0.5.0
func (o *GetUsingGET2NotFound) IsClientError() bool
IsClientError returns true when this get using g e t2 not found response has a 4xx status code
func (*GetUsingGET2NotFound) IsCode ¶ added in v0.5.0
func (o *GetUsingGET2NotFound) IsCode(code int) bool
IsCode returns true when this get using g e t2 not found response a status code equal to that given
func (*GetUsingGET2NotFound) IsRedirect ¶ added in v0.5.0
func (o *GetUsingGET2NotFound) IsRedirect() bool
IsRedirect returns true when this get using g e t2 not found response has a 3xx status code
func (*GetUsingGET2NotFound) IsServerError ¶ added in v0.5.0
func (o *GetUsingGET2NotFound) IsServerError() bool
IsServerError returns true when this get using g e t2 not found response has a 5xx status code
func (*GetUsingGET2NotFound) IsSuccess ¶ added in v0.5.0
func (o *GetUsingGET2NotFound) IsSuccess() bool
IsSuccess returns true when this get using g e t2 not found response has a 2xx status code
func (*GetUsingGET2NotFound) String ¶ added in v0.5.0
func (o *GetUsingGET2NotFound) String() string
type GetUsingGET2OK ¶ added in v0.4.0
type GetUsingGET2OK struct {
Payload *models.CatalogSource
}
GetUsingGET2OK describes a response with status code 200, with default header values.
OK
func NewGetUsingGET2OK ¶ added in v0.4.0
func NewGetUsingGET2OK() *GetUsingGET2OK
NewGetUsingGET2OK creates a GetUsingGET2OK with default headers values
func (*GetUsingGET2OK) Error ¶ added in v0.4.0
func (o *GetUsingGET2OK) Error() string
func (*GetUsingGET2OK) GetPayload ¶ added in v0.4.0
func (o *GetUsingGET2OK) GetPayload() *models.CatalogSource
func (*GetUsingGET2OK) IsClientError ¶ added in v0.5.0
func (o *GetUsingGET2OK) IsClientError() bool
IsClientError returns true when this get using g e t2 o k response has a 4xx status code
func (*GetUsingGET2OK) IsCode ¶ added in v0.5.0
func (o *GetUsingGET2OK) IsCode(code int) bool
IsCode returns true when this get using g e t2 o k response a status code equal to that given
func (*GetUsingGET2OK) IsRedirect ¶ added in v0.5.0
func (o *GetUsingGET2OK) IsRedirect() bool
IsRedirect returns true when this get using g e t2 o k response has a 3xx status code
func (*GetUsingGET2OK) IsServerError ¶ added in v0.5.0
func (o *GetUsingGET2OK) IsServerError() bool
IsServerError returns true when this get using g e t2 o k response has a 5xx status code
func (*GetUsingGET2OK) IsSuccess ¶ added in v0.5.0
func (o *GetUsingGET2OK) IsSuccess() bool
IsSuccess returns true when this get using g e t2 o k response has a 2xx status code
func (*GetUsingGET2OK) String ¶ added in v0.5.0
func (o *GetUsingGET2OK) String() string
type GetUsingGET2Params ¶ added in v0.4.0
type GetUsingGET2Params struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* SourceID. Catalog source ID Format: uuid */ SourceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUsingGET2Params contains all the parameters to send to the API endpoint
for the get using g e t 2 operation. Typically these are written to a http.Request.
func NewGetUsingGET2Params ¶ added in v0.4.0
func NewGetUsingGET2Params() *GetUsingGET2Params
NewGetUsingGET2Params creates a new GetUsingGET2Params 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 NewGetUsingGET2ParamsWithContext ¶ added in v0.4.0
func NewGetUsingGET2ParamsWithContext(ctx context.Context) *GetUsingGET2Params
NewGetUsingGET2ParamsWithContext creates a new GetUsingGET2Params object with the ability to set a context for a request.
func NewGetUsingGET2ParamsWithHTTPClient ¶ added in v0.4.0
func NewGetUsingGET2ParamsWithHTTPClient(client *http.Client) *GetUsingGET2Params
NewGetUsingGET2ParamsWithHTTPClient creates a new GetUsingGET2Params object with the ability to set a custom HTTPClient for a request.
func NewGetUsingGET2ParamsWithTimeout ¶ added in v0.4.0
func NewGetUsingGET2ParamsWithTimeout(timeout time.Duration) *GetUsingGET2Params
NewGetUsingGET2ParamsWithTimeout creates a new GetUsingGET2Params object with the ability to set a timeout on a request.
func (*GetUsingGET2Params) SetAPIVersion ¶ added in v0.4.0
func (o *GetUsingGET2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get using g e t 2 params
func (*GetUsingGET2Params) SetContext ¶ added in v0.4.0
func (o *GetUsingGET2Params) SetContext(ctx context.Context)
SetContext adds the context to the get using g e t 2 params
func (*GetUsingGET2Params) SetDefaults ¶ added in v0.4.0
func (o *GetUsingGET2Params) SetDefaults()
SetDefaults hydrates default values in the get using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsingGET2Params) SetHTTPClient ¶ added in v0.4.0
func (o *GetUsingGET2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get using g e t 2 params
func (*GetUsingGET2Params) SetSourceID ¶ added in v0.4.0
func (o *GetUsingGET2Params) SetSourceID(sourceID strfmt.UUID)
SetSourceID adds the sourceId to the get using g e t 2 params
func (*GetUsingGET2Params) SetTimeout ¶ added in v0.4.0
func (o *GetUsingGET2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get using g e t 2 params
func (*GetUsingGET2Params) WithAPIVersion ¶ added in v0.4.0
func (o *GetUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetUsingGET2Params
WithAPIVersion adds the aPIVersion to the get using g e t 2 params
func (*GetUsingGET2Params) WithContext ¶ added in v0.4.0
func (o *GetUsingGET2Params) WithContext(ctx context.Context) *GetUsingGET2Params
WithContext adds the context to the get using g e t 2 params
func (*GetUsingGET2Params) WithDefaults ¶ added in v0.4.0
func (o *GetUsingGET2Params) WithDefaults() *GetUsingGET2Params
WithDefaults hydrates default values in the get using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsingGET2Params) WithHTTPClient ¶ added in v0.4.0
func (o *GetUsingGET2Params) WithHTTPClient(client *http.Client) *GetUsingGET2Params
WithHTTPClient adds the HTTPClient to the get using g e t 2 params
func (*GetUsingGET2Params) WithSourceID ¶ added in v0.4.0
func (o *GetUsingGET2Params) WithSourceID(sourceID strfmt.UUID) *GetUsingGET2Params
WithSourceID adds the sourceID to the get using g e t 2 params
func (*GetUsingGET2Params) WithTimeout ¶ added in v0.4.0
func (o *GetUsingGET2Params) WithTimeout(timeout time.Duration) *GetUsingGET2Params
WithTimeout adds the timeout to the get using g e t 2 params
func (*GetUsingGET2Params) WriteToRequest ¶ added in v0.4.0
func (o *GetUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUsingGET2Reader ¶ added in v0.4.0
type GetUsingGET2Reader struct {
// contains filtered or unexported fields
}
GetUsingGET2Reader is a Reader for the GetUsingGET2 structure.
func (*GetUsingGET2Reader) ReadResponse ¶ added in v0.4.0
func (o *GetUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUsingGET2Unauthorized ¶ added in v0.4.0
type GetUsingGET2Unauthorized struct { }
GetUsingGET2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetUsingGET2Unauthorized ¶ added in v0.4.0
func NewGetUsingGET2Unauthorized() *GetUsingGET2Unauthorized
NewGetUsingGET2Unauthorized creates a GetUsingGET2Unauthorized with default headers values
func (*GetUsingGET2Unauthorized) Error ¶ added in v0.4.0
func (o *GetUsingGET2Unauthorized) Error() string
func (*GetUsingGET2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *GetUsingGET2Unauthorized) IsClientError() bool
IsClientError returns true when this get using g e t2 unauthorized response has a 4xx status code
func (*GetUsingGET2Unauthorized) IsCode ¶ added in v0.5.0
func (o *GetUsingGET2Unauthorized) IsCode(code int) bool
IsCode returns true when this get using g e t2 unauthorized response a status code equal to that given
func (*GetUsingGET2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetUsingGET2Unauthorized) IsRedirect() bool
IsRedirect returns true when this get using g e t2 unauthorized response has a 3xx status code
func (*GetUsingGET2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *GetUsingGET2Unauthorized) IsServerError() bool
IsServerError returns true when this get using g e t2 unauthorized response has a 5xx status code
func (*GetUsingGET2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetUsingGET2Unauthorized) IsSuccess() bool
IsSuccess returns true when this get using g e t2 unauthorized response has a 2xx status code
func (*GetUsingGET2Unauthorized) String ¶ added in v0.5.0
func (o *GetUsingGET2Unauthorized) String() string
type PostUsingPOST2BadRequest ¶ added in v0.4.0
PostUsingPOST2BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostUsingPOST2BadRequest ¶ added in v0.4.0
func NewPostUsingPOST2BadRequest() *PostUsingPOST2BadRequest
NewPostUsingPOST2BadRequest creates a PostUsingPOST2BadRequest with default headers values
func (*PostUsingPOST2BadRequest) Error ¶ added in v0.4.0
func (o *PostUsingPOST2BadRequest) Error() string
func (*PostUsingPOST2BadRequest) GetPayload ¶ added in v0.4.0
func (o *PostUsingPOST2BadRequest) GetPayload() *models.Error
func (*PostUsingPOST2BadRequest) IsClientError ¶ added in v0.5.0
func (o *PostUsingPOST2BadRequest) IsClientError() bool
IsClientError returns true when this post using p o s t2 bad request response has a 4xx status code
func (*PostUsingPOST2BadRequest) IsCode ¶ added in v0.5.0
func (o *PostUsingPOST2BadRequest) IsCode(code int) bool
IsCode returns true when this post using p o s t2 bad request response a status code equal to that given
func (*PostUsingPOST2BadRequest) IsRedirect ¶ added in v0.5.0
func (o *PostUsingPOST2BadRequest) IsRedirect() bool
IsRedirect returns true when this post using p o s t2 bad request response has a 3xx status code
func (*PostUsingPOST2BadRequest) IsServerError ¶ added in v0.5.0
func (o *PostUsingPOST2BadRequest) IsServerError() bool
IsServerError returns true when this post using p o s t2 bad request response has a 5xx status code
func (*PostUsingPOST2BadRequest) IsSuccess ¶ added in v0.5.0
func (o *PostUsingPOST2BadRequest) IsSuccess() bool
IsSuccess returns true when this post using p o s t2 bad request response has a 2xx status code
func (*PostUsingPOST2BadRequest) String ¶ added in v0.5.0
func (o *PostUsingPOST2BadRequest) String() string
type PostUsingPOST2Created ¶ added in v0.4.0
type PostUsingPOST2Created struct {
Payload *models.CatalogSource
}
PostUsingPOST2Created describes a response with status code 201, with default header values.
Created
func NewPostUsingPOST2Created ¶ added in v0.4.0
func NewPostUsingPOST2Created() *PostUsingPOST2Created
NewPostUsingPOST2Created creates a PostUsingPOST2Created with default headers values
func (*PostUsingPOST2Created) Error ¶ added in v0.4.0
func (o *PostUsingPOST2Created) Error() string
func (*PostUsingPOST2Created) GetPayload ¶ added in v0.4.0
func (o *PostUsingPOST2Created) GetPayload() *models.CatalogSource
func (*PostUsingPOST2Created) IsClientError ¶ added in v0.5.0
func (o *PostUsingPOST2Created) IsClientError() bool
IsClientError returns true when this post using p o s t2 created response has a 4xx status code
func (*PostUsingPOST2Created) IsCode ¶ added in v0.5.0
func (o *PostUsingPOST2Created) IsCode(code int) bool
IsCode returns true when this post using p o s t2 created response a status code equal to that given
func (*PostUsingPOST2Created) IsRedirect ¶ added in v0.5.0
func (o *PostUsingPOST2Created) IsRedirect() bool
IsRedirect returns true when this post using p o s t2 created response has a 3xx status code
func (*PostUsingPOST2Created) IsServerError ¶ added in v0.5.0
func (o *PostUsingPOST2Created) IsServerError() bool
IsServerError returns true when this post using p o s t2 created response has a 5xx status code
func (*PostUsingPOST2Created) IsSuccess ¶ added in v0.5.0
func (o *PostUsingPOST2Created) IsSuccess() bool
IsSuccess returns true when this post using p o s t2 created response has a 2xx status code
func (*PostUsingPOST2Created) String ¶ added in v0.5.0
func (o *PostUsingPOST2Created) String() string
type PostUsingPOST2Forbidden ¶ added in v0.4.0
type PostUsingPOST2Forbidden struct { }
PostUsingPOST2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewPostUsingPOST2Forbidden ¶ added in v0.4.0
func NewPostUsingPOST2Forbidden() *PostUsingPOST2Forbidden
NewPostUsingPOST2Forbidden creates a PostUsingPOST2Forbidden with default headers values
func (*PostUsingPOST2Forbidden) Error ¶ added in v0.4.0
func (o *PostUsingPOST2Forbidden) Error() string
func (*PostUsingPOST2Forbidden) IsClientError ¶ added in v0.5.0
func (o *PostUsingPOST2Forbidden) IsClientError() bool
IsClientError returns true when this post using p o s t2 forbidden response has a 4xx status code
func (*PostUsingPOST2Forbidden) IsCode ¶ added in v0.5.0
func (o *PostUsingPOST2Forbidden) IsCode(code int) bool
IsCode returns true when this post using p o s t2 forbidden response a status code equal to that given
func (*PostUsingPOST2Forbidden) IsRedirect ¶ added in v0.5.0
func (o *PostUsingPOST2Forbidden) IsRedirect() bool
IsRedirect returns true when this post using p o s t2 forbidden response has a 3xx status code
func (*PostUsingPOST2Forbidden) IsServerError ¶ added in v0.5.0
func (o *PostUsingPOST2Forbidden) IsServerError() bool
IsServerError returns true when this post using p o s t2 forbidden response has a 5xx status code
func (*PostUsingPOST2Forbidden) IsSuccess ¶ added in v0.5.0
func (o *PostUsingPOST2Forbidden) IsSuccess() bool
IsSuccess returns true when this post using p o s t2 forbidden response has a 2xx status code
func (*PostUsingPOST2Forbidden) String ¶ added in v0.5.0
func (o *PostUsingPOST2Forbidden) String() string
type PostUsingPOST2NotFound ¶ added in v0.4.0
PostUsingPOST2NotFound describes a response with status code 404, with default header values.
Not Found
func NewPostUsingPOST2NotFound ¶ added in v0.4.0
func NewPostUsingPOST2NotFound() *PostUsingPOST2NotFound
NewPostUsingPOST2NotFound creates a PostUsingPOST2NotFound with default headers values
func (*PostUsingPOST2NotFound) Error ¶ added in v0.4.0
func (o *PostUsingPOST2NotFound) Error() string
func (*PostUsingPOST2NotFound) GetPayload ¶ added in v0.4.0
func (o *PostUsingPOST2NotFound) GetPayload() *models.Error
func (*PostUsingPOST2NotFound) IsClientError ¶ added in v0.5.0
func (o *PostUsingPOST2NotFound) IsClientError() bool
IsClientError returns true when this post using p o s t2 not found response has a 4xx status code
func (*PostUsingPOST2NotFound) IsCode ¶ added in v0.5.0
func (o *PostUsingPOST2NotFound) IsCode(code int) bool
IsCode returns true when this post using p o s t2 not found response a status code equal to that given
func (*PostUsingPOST2NotFound) IsRedirect ¶ added in v0.5.0
func (o *PostUsingPOST2NotFound) IsRedirect() bool
IsRedirect returns true when this post using p o s t2 not found response has a 3xx status code
func (*PostUsingPOST2NotFound) IsServerError ¶ added in v0.5.0
func (o *PostUsingPOST2NotFound) IsServerError() bool
IsServerError returns true when this post using p o s t2 not found response has a 5xx status code
func (*PostUsingPOST2NotFound) IsSuccess ¶ added in v0.5.0
func (o *PostUsingPOST2NotFound) IsSuccess() bool
IsSuccess returns true when this post using p o s t2 not found response has a 2xx status code
func (*PostUsingPOST2NotFound) String ¶ added in v0.5.0
func (o *PostUsingPOST2NotFound) String() string
type PostUsingPOST2OK ¶ added in v0.4.0
type PostUsingPOST2OK struct {
Payload *models.CatalogSource
}
PostUsingPOST2OK describes a response with status code 200, with default header values.
Validation is ok
func NewPostUsingPOST2OK ¶ added in v0.4.0
func NewPostUsingPOST2OK() *PostUsingPOST2OK
NewPostUsingPOST2OK creates a PostUsingPOST2OK with default headers values
func (*PostUsingPOST2OK) Error ¶ added in v0.4.0
func (o *PostUsingPOST2OK) Error() string
func (*PostUsingPOST2OK) GetPayload ¶ added in v0.4.0
func (o *PostUsingPOST2OK) GetPayload() *models.CatalogSource
func (*PostUsingPOST2OK) IsClientError ¶ added in v0.5.0
func (o *PostUsingPOST2OK) IsClientError() bool
IsClientError returns true when this post using p o s t2 o k response has a 4xx status code
func (*PostUsingPOST2OK) IsCode ¶ added in v0.5.0
func (o *PostUsingPOST2OK) IsCode(code int) bool
IsCode returns true when this post using p o s t2 o k response a status code equal to that given
func (*PostUsingPOST2OK) IsRedirect ¶ added in v0.5.0
func (o *PostUsingPOST2OK) IsRedirect() bool
IsRedirect returns true when this post using p o s t2 o k response has a 3xx status code
func (*PostUsingPOST2OK) IsServerError ¶ added in v0.5.0
func (o *PostUsingPOST2OK) IsServerError() bool
IsServerError returns true when this post using p o s t2 o k response has a 5xx status code
func (*PostUsingPOST2OK) IsSuccess ¶ added in v0.5.0
func (o *PostUsingPOST2OK) IsSuccess() bool
IsSuccess returns true when this post using p o s t2 o k response has a 2xx status code
func (*PostUsingPOST2OK) String ¶ added in v0.5.0
func (o *PostUsingPOST2OK) String() string
type PostUsingPOST2Params ¶ added in v0.4.0
type PostUsingPOST2Params struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* Source. The catalog source to be created */ Source *models.CatalogSource /* ValidationOnly. If true, the source will not be created. It returns the number of items belonging to the source. The request will still return an error code if the source is invalid. */ ValidationOnly *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostUsingPOST2Params contains all the parameters to send to the API endpoint
for the post using p o s t 2 operation. Typically these are written to a http.Request.
func NewPostUsingPOST2Params ¶ added in v0.4.0
func NewPostUsingPOST2Params() *PostUsingPOST2Params
NewPostUsingPOST2Params creates a new PostUsingPOST2Params 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 NewPostUsingPOST2ParamsWithContext ¶ added in v0.4.0
func NewPostUsingPOST2ParamsWithContext(ctx context.Context) *PostUsingPOST2Params
NewPostUsingPOST2ParamsWithContext creates a new PostUsingPOST2Params object with the ability to set a context for a request.
func NewPostUsingPOST2ParamsWithHTTPClient ¶ added in v0.4.0
func NewPostUsingPOST2ParamsWithHTTPClient(client *http.Client) *PostUsingPOST2Params
NewPostUsingPOST2ParamsWithHTTPClient creates a new PostUsingPOST2Params object with the ability to set a custom HTTPClient for a request.
func NewPostUsingPOST2ParamsWithTimeout ¶ added in v0.4.0
func NewPostUsingPOST2ParamsWithTimeout(timeout time.Duration) *PostUsingPOST2Params
NewPostUsingPOST2ParamsWithTimeout creates a new PostUsingPOST2Params object with the ability to set a timeout on a request.
func (*PostUsingPOST2Params) SetAPIVersion ¶ added in v0.4.0
func (o *PostUsingPOST2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the post using p o s t 2 params
func (*PostUsingPOST2Params) SetContext ¶ added in v0.4.0
func (o *PostUsingPOST2Params) SetContext(ctx context.Context)
SetContext adds the context to the post using p o s t 2 params
func (*PostUsingPOST2Params) SetDefaults ¶ added in v0.4.0
func (o *PostUsingPOST2Params) SetDefaults()
SetDefaults hydrates default values in the post using p o s t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*PostUsingPOST2Params) SetHTTPClient ¶ added in v0.4.0
func (o *PostUsingPOST2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post using p o s t 2 params
func (*PostUsingPOST2Params) SetSource ¶ added in v0.4.0
func (o *PostUsingPOST2Params) SetSource(source *models.CatalogSource)
SetSource adds the source to the post using p o s t 2 params
func (*PostUsingPOST2Params) SetTimeout ¶ added in v0.4.0
func (o *PostUsingPOST2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post using p o s t 2 params
func (*PostUsingPOST2Params) SetValidationOnly ¶ added in v0.4.0
func (o *PostUsingPOST2Params) SetValidationOnly(validationOnly *bool)
SetValidationOnly adds the validationOnly to the post using p o s t 2 params
func (*PostUsingPOST2Params) WithAPIVersion ¶ added in v0.4.0
func (o *PostUsingPOST2Params) WithAPIVersion(aPIVersion *string) *PostUsingPOST2Params
WithAPIVersion adds the aPIVersion to the post using p o s t 2 params
func (*PostUsingPOST2Params) WithContext ¶ added in v0.4.0
func (o *PostUsingPOST2Params) WithContext(ctx context.Context) *PostUsingPOST2Params
WithContext adds the context to the post using p o s t 2 params
func (*PostUsingPOST2Params) WithDefaults ¶ added in v0.4.0
func (o *PostUsingPOST2Params) WithDefaults() *PostUsingPOST2Params
WithDefaults hydrates default values in the post using p o s t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*PostUsingPOST2Params) WithHTTPClient ¶ added in v0.4.0
func (o *PostUsingPOST2Params) WithHTTPClient(client *http.Client) *PostUsingPOST2Params
WithHTTPClient adds the HTTPClient to the post using p o s t 2 params
func (*PostUsingPOST2Params) WithSource ¶ added in v0.4.0
func (o *PostUsingPOST2Params) WithSource(source *models.CatalogSource) *PostUsingPOST2Params
WithSource adds the source to the post using p o s t 2 params
func (*PostUsingPOST2Params) WithTimeout ¶ added in v0.4.0
func (o *PostUsingPOST2Params) WithTimeout(timeout time.Duration) *PostUsingPOST2Params
WithTimeout adds the timeout to the post using p o s t 2 params
func (*PostUsingPOST2Params) WithValidationOnly ¶ added in v0.4.0
func (o *PostUsingPOST2Params) WithValidationOnly(validationOnly *bool) *PostUsingPOST2Params
WithValidationOnly adds the validationOnly to the post using p o s t 2 params
func (*PostUsingPOST2Params) WriteToRequest ¶ added in v0.4.0
func (o *PostUsingPOST2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostUsingPOST2Reader ¶ added in v0.4.0
type PostUsingPOST2Reader struct {
// contains filtered or unexported fields
}
PostUsingPOST2Reader is a Reader for the PostUsingPOST2 structure.
func (*PostUsingPOST2Reader) ReadResponse ¶ added in v0.4.0
func (o *PostUsingPOST2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostUsingPOST2Unauthorized ¶ added in v0.4.0
type PostUsingPOST2Unauthorized struct { }
PostUsingPOST2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostUsingPOST2Unauthorized ¶ added in v0.4.0
func NewPostUsingPOST2Unauthorized() *PostUsingPOST2Unauthorized
NewPostUsingPOST2Unauthorized creates a PostUsingPOST2Unauthorized with default headers values
func (*PostUsingPOST2Unauthorized) Error ¶ added in v0.4.0
func (o *PostUsingPOST2Unauthorized) Error() string
func (*PostUsingPOST2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *PostUsingPOST2Unauthorized) IsClientError() bool
IsClientError returns true when this post using p o s t2 unauthorized response has a 4xx status code
func (*PostUsingPOST2Unauthorized) IsCode ¶ added in v0.5.0
func (o *PostUsingPOST2Unauthorized) IsCode(code int) bool
IsCode returns true when this post using p o s t2 unauthorized response a status code equal to that given
func (*PostUsingPOST2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *PostUsingPOST2Unauthorized) IsRedirect() bool
IsRedirect returns true when this post using p o s t2 unauthorized response has a 3xx status code
func (*PostUsingPOST2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *PostUsingPOST2Unauthorized) IsServerError() bool
IsServerError returns true when this post using p o s t2 unauthorized response has a 5xx status code
func (*PostUsingPOST2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *PostUsingPOST2Unauthorized) IsSuccess() bool
IsSuccess returns true when this post using p o s t2 unauthorized response has a 2xx status code
func (*PostUsingPOST2Unauthorized) String ¶ added in v0.5.0
func (o *PostUsingPOST2Unauthorized) String() string