Documentation
¶
Index ¶
- type Client
- func (a *Client) FilterItemsUsingGET(params *FilterItemsUsingGETParams) (*FilterItemsUsingGETOK, error)
- func (a *Client) FiltersUsingGET(params *FiltersUsingGETParams) (*FiltersUsingGETOK, error)
- func (a *Client) GetDetails(params *GetDetailsParams) (*GetDetailsOK, error)
- func (a *Client) GetLink(params *GetLinkParams) (*GetLinkOK, error)
- func (a *Client) GetReviews(params *GetReviewsParams) (*GetReviewsOK, error)
- func (a *Client) Search(params *SearchParams) (*SearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type FilterItemsUsingGETNotFound
- type FilterItemsUsingGETOK
- type FilterItemsUsingGETParams
- func NewFilterItemsUsingGETParams() *FilterItemsUsingGETParams
- func NewFilterItemsUsingGETParamsWithContext(ctx context.Context) *FilterItemsUsingGETParams
- func NewFilterItemsUsingGETParamsWithHTTPClient(client *http.Client) *FilterItemsUsingGETParams
- func NewFilterItemsUsingGETParamsWithTimeout(timeout time.Duration) *FilterItemsUsingGETParams
- func (o *FilterItemsUsingGETParams) SetAPIVersion(aPIVersion *string)
- func (o *FilterItemsUsingGETParams) SetContext(ctx context.Context)
- func (o *FilterItemsUsingGETParams) SetFilterID(filterID string)
- func (o *FilterItemsUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *FilterItemsUsingGETParams) SetName(name *string)
- func (o *FilterItemsUsingGETParams) SetSourceID(sourceID strfmt.UUID)
- func (o *FilterItemsUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *FilterItemsUsingGETParams) WithAPIVersion(aPIVersion *string) *FilterItemsUsingGETParams
- func (o *FilterItemsUsingGETParams) WithContext(ctx context.Context) *FilterItemsUsingGETParams
- func (o *FilterItemsUsingGETParams) WithFilterID(filterID string) *FilterItemsUsingGETParams
- func (o *FilterItemsUsingGETParams) WithHTTPClient(client *http.Client) *FilterItemsUsingGETParams
- func (o *FilterItemsUsingGETParams) WithName(name *string) *FilterItemsUsingGETParams
- func (o *FilterItemsUsingGETParams) WithSourceID(sourceID strfmt.UUID) *FilterItemsUsingGETParams
- func (o *FilterItemsUsingGETParams) WithTimeout(timeout time.Duration) *FilterItemsUsingGETParams
- func (o *FilterItemsUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FilterItemsUsingGETReader
- type FiltersUsingGETNotFound
- type FiltersUsingGETOK
- type FiltersUsingGETParams
- func NewFiltersUsingGETParams() *FiltersUsingGETParams
- func NewFiltersUsingGETParamsWithContext(ctx context.Context) *FiltersUsingGETParams
- func NewFiltersUsingGETParamsWithHTTPClient(client *http.Client) *FiltersUsingGETParams
- func NewFiltersUsingGETParamsWithTimeout(timeout time.Duration) *FiltersUsingGETParams
- func (o *FiltersUsingGETParams) SetAPIVersion(aPIVersion *string)
- func (o *FiltersUsingGETParams) SetContext(ctx context.Context)
- func (o *FiltersUsingGETParams) SetExpand(expand *bool)
- func (o *FiltersUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *FiltersUsingGETParams) SetSourceID(sourceID strfmt.UUID)
- func (o *FiltersUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *FiltersUsingGETParams) WithAPIVersion(aPIVersion *string) *FiltersUsingGETParams
- func (o *FiltersUsingGETParams) WithContext(ctx context.Context) *FiltersUsingGETParams
- func (o *FiltersUsingGETParams) WithExpand(expand *bool) *FiltersUsingGETParams
- func (o *FiltersUsingGETParams) WithHTTPClient(client *http.Client) *FiltersUsingGETParams
- func (o *FiltersUsingGETParams) WithSourceID(sourceID strfmt.UUID) *FiltersUsingGETParams
- func (o *FiltersUsingGETParams) WithTimeout(timeout time.Duration) *FiltersUsingGETParams
- func (o *FiltersUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FiltersUsingGETReader
- type GetDetailsNotFound
- type GetDetailsOK
- type GetDetailsParams
- func (o *GetDetailsParams) SetAPIVersion(aPIVersion *string)
- func (o *GetDetailsParams) SetContentID(contentID string)
- func (o *GetDetailsParams) SetContext(ctx context.Context)
- func (o *GetDetailsParams) SetHTTPClient(client *http.Client)
- func (o *GetDetailsParams) SetSourceID(sourceID strfmt.UUID)
- func (o *GetDetailsParams) SetTimeout(timeout time.Duration)
- func (o *GetDetailsParams) WithAPIVersion(aPIVersion *string) *GetDetailsParams
- func (o *GetDetailsParams) WithContentID(contentID string) *GetDetailsParams
- func (o *GetDetailsParams) WithContext(ctx context.Context) *GetDetailsParams
- func (o *GetDetailsParams) WithHTTPClient(client *http.Client) *GetDetailsParams
- func (o *GetDetailsParams) WithSourceID(sourceID strfmt.UUID) *GetDetailsParams
- func (o *GetDetailsParams) WithTimeout(timeout time.Duration) *GetDetailsParams
- func (o *GetDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDetailsReader
- type GetLinkNotFound
- type GetLinkOK
- type GetLinkParams
- func (o *GetLinkParams) SetAPIVersion(aPIVersion *string)
- func (o *GetLinkParams) SetContentID(contentID string)
- func (o *GetLinkParams) SetContext(ctx context.Context)
- func (o *GetLinkParams) SetHTTPClient(client *http.Client)
- func (o *GetLinkParams) SetSourceID(sourceID strfmt.UUID)
- func (o *GetLinkParams) SetTimeout(timeout time.Duration)
- func (o *GetLinkParams) WithAPIVersion(aPIVersion *string) *GetLinkParams
- func (o *GetLinkParams) WithContentID(contentID string) *GetLinkParams
- func (o *GetLinkParams) WithContext(ctx context.Context) *GetLinkParams
- func (o *GetLinkParams) WithHTTPClient(client *http.Client) *GetLinkParams
- func (o *GetLinkParams) WithSourceID(sourceID strfmt.UUID) *GetLinkParams
- func (o *GetLinkParams) WithTimeout(timeout time.Duration) *GetLinkParams
- func (o *GetLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLinkReader
- type GetReviewsNotFound
- type GetReviewsOK
- type GetReviewsParams
- func (o *GetReviewsParams) SetAPIVersion(aPIVersion *string)
- func (o *GetReviewsParams) SetContentID(contentID string)
- func (o *GetReviewsParams) SetContext(ctx context.Context)
- func (o *GetReviewsParams) SetHTTPClient(client *http.Client)
- func (o *GetReviewsParams) SetSourceID(sourceID strfmt.UUID)
- func (o *GetReviewsParams) SetTimeout(timeout time.Duration)
- func (o *GetReviewsParams) WithAPIVersion(aPIVersion *string) *GetReviewsParams
- func (o *GetReviewsParams) WithContentID(contentID string) *GetReviewsParams
- func (o *GetReviewsParams) WithContext(ctx context.Context) *GetReviewsParams
- func (o *GetReviewsParams) WithHTTPClient(client *http.Client) *GetReviewsParams
- func (o *GetReviewsParams) WithSourceID(sourceID strfmt.UUID) *GetReviewsParams
- func (o *GetReviewsParams) WithTimeout(timeout time.Duration) *GetReviewsParams
- func (o *GetReviewsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReviewsReader
- type SearchNotFound
- type SearchOK
- type SearchParams
- func (o *SearchParams) SetAPIVersion(aPIVersion *string)
- func (o *SearchParams) SetContext(ctx context.Context)
- func (o *SearchParams) SetHTTPClient(client *http.Client)
- func (o *SearchParams) SetSearch(search *string)
- func (o *SearchParams) SetSourceID(sourceID strfmt.UUID)
- func (o *SearchParams) SetTimeout(timeout time.Duration)
- func (o *SearchParams) WithAPIVersion(aPIVersion *string) *SearchParams
- func (o *SearchParams) WithContext(ctx context.Context) *SearchParams
- func (o *SearchParams) WithHTTPClient(client *http.Client) *SearchParams
- func (o *SearchParams) WithSearch(search *string) *SearchParams
- func (o *SearchParams) WithSourceID(sourceID strfmt.UUID) *SearchParams
- func (o *SearchParams) WithTimeout(timeout time.Duration) *SearchParams
- func (o *SearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchReader
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 marketplace API
func (*Client) FilterItemsUsingGET ¶
func (a *Client) FilterItemsUsingGET(params *FilterItemsUsingGETParams) (*FilterItemsUsingGETOK, error)
FilterItemsUsingGET lists filter entries for a filter
func (*Client) FiltersUsingGET ¶
func (a *Client) FiltersUsingGET(params *FiltersUsingGETParams) (*FiltersUsingGETOK, error)
FiltersUsingGET lists filters by endpoint
func (*Client) GetDetails ¶
func (a *Client) GetDetails(params *GetDetailsParams) (*GetDetailsOK, error)
GetDetails gets content details
func (*Client) GetLink ¶
func (a *Client) GetLink(params *GetLinkParams) (*GetLinkOK, error)
GetLink gets link to the content
func (*Client) GetReviews ¶
func (a *Client) GetReviews(params *GetReviewsParams) (*GetReviewsOK, error)
GetReviews gets reviews for the content
func (*Client) Search ¶
func (a *Client) Search(params *SearchParams) (*SearchOK, error)
Search searches for content based on the search term
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶ added in v0.2.18
type ClientService interface { FilterItemsUsingGET(params *FilterItemsUsingGETParams) (*FilterItemsUsingGETOK, error) FiltersUsingGET(params *FiltersUsingGETParams) (*FiltersUsingGETOK, error) GetDetails(params *GetDetailsParams) (*GetDetailsOK, error) GetLink(params *GetLinkParams) (*GetLinkOK, error) GetReviews(params *GetReviewsParams) (*GetReviewsOK, error) Search(params *SearchParams) (*SearchOK, 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 marketplace API client.
type FilterItemsUsingGETNotFound ¶
FilterItemsUsingGETNotFound handles this case with default header values.
Source or Filter not found
func NewFilterItemsUsingGETNotFound ¶
func NewFilterItemsUsingGETNotFound() *FilterItemsUsingGETNotFound
NewFilterItemsUsingGETNotFound creates a FilterItemsUsingGETNotFound with default headers values
func (*FilterItemsUsingGETNotFound) Error ¶
func (o *FilterItemsUsingGETNotFound) Error() string
func (*FilterItemsUsingGETNotFound) GetPayload ¶ added in v0.2.9
func (o *FilterItemsUsingGETNotFound) GetPayload() *models.Error
type FilterItemsUsingGETOK ¶
type FilterItemsUsingGETOK struct {
Payload *models.MarketplaceFilterEntries
}
FilterItemsUsingGETOK handles this case with default header values.
Filter entries
func NewFilterItemsUsingGETOK ¶
func NewFilterItemsUsingGETOK() *FilterItemsUsingGETOK
NewFilterItemsUsingGETOK creates a FilterItemsUsingGETOK with default headers values
func (*FilterItemsUsingGETOK) Error ¶
func (o *FilterItemsUsingGETOK) Error() string
func (*FilterItemsUsingGETOK) GetPayload ¶
func (o *FilterItemsUsingGETOK) GetPayload() *models.MarketplaceFilterEntries
type FilterItemsUsingGETParams ¶
type FilterItemsUsingGETParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information, please refer to /content/api/about */ APIVersion *string /*FilterID Filter type */ FilterID string /*Name Filters items by name */ Name *string /*SourceID Content Source Id */ SourceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FilterItemsUsingGETParams contains all the parameters to send to the API endpoint for the filter items using g e t operation typically these are written to a http.Request
func NewFilterItemsUsingGETParams ¶
func NewFilterItemsUsingGETParams() *FilterItemsUsingGETParams
NewFilterItemsUsingGETParams creates a new FilterItemsUsingGETParams object with the default values initialized.
func NewFilterItemsUsingGETParamsWithContext ¶
func NewFilterItemsUsingGETParamsWithContext(ctx context.Context) *FilterItemsUsingGETParams
NewFilterItemsUsingGETParamsWithContext creates a new FilterItemsUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewFilterItemsUsingGETParamsWithHTTPClient ¶
func NewFilterItemsUsingGETParamsWithHTTPClient(client *http.Client) *FilterItemsUsingGETParams
NewFilterItemsUsingGETParamsWithHTTPClient creates a new FilterItemsUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFilterItemsUsingGETParamsWithTimeout ¶
func NewFilterItemsUsingGETParamsWithTimeout(timeout time.Duration) *FilterItemsUsingGETParams
NewFilterItemsUsingGETParamsWithTimeout creates a new FilterItemsUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*FilterItemsUsingGETParams) SetAPIVersion ¶
func (o *FilterItemsUsingGETParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the filter items using get params
func (*FilterItemsUsingGETParams) SetContext ¶
func (o *FilterItemsUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the filter items using get params
func (*FilterItemsUsingGETParams) SetFilterID ¶
func (o *FilterItemsUsingGETParams) SetFilterID(filterID string)
SetFilterID adds the filterId to the filter items using get params
func (*FilterItemsUsingGETParams) SetHTTPClient ¶
func (o *FilterItemsUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the filter items using get params
func (*FilterItemsUsingGETParams) SetName ¶
func (o *FilterItemsUsingGETParams) SetName(name *string)
SetName adds the name to the filter items using get params
func (*FilterItemsUsingGETParams) SetSourceID ¶
func (o *FilterItemsUsingGETParams) SetSourceID(sourceID strfmt.UUID)
SetSourceID adds the sourceId to the filter items using get params
func (*FilterItemsUsingGETParams) SetTimeout ¶
func (o *FilterItemsUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the filter items using get params
func (*FilterItemsUsingGETParams) WithAPIVersion ¶
func (o *FilterItemsUsingGETParams) WithAPIVersion(aPIVersion *string) *FilterItemsUsingGETParams
WithAPIVersion adds the aPIVersion to the filter items using get params
func (*FilterItemsUsingGETParams) WithContext ¶
func (o *FilterItemsUsingGETParams) WithContext(ctx context.Context) *FilterItemsUsingGETParams
WithContext adds the context to the filter items using get params
func (*FilterItemsUsingGETParams) WithFilterID ¶
func (o *FilterItemsUsingGETParams) WithFilterID(filterID string) *FilterItemsUsingGETParams
WithFilterID adds the filterID to the filter items using get params
func (*FilterItemsUsingGETParams) WithHTTPClient ¶
func (o *FilterItemsUsingGETParams) WithHTTPClient(client *http.Client) *FilterItemsUsingGETParams
WithHTTPClient adds the HTTPClient to the filter items using get params
func (*FilterItemsUsingGETParams) WithName ¶
func (o *FilterItemsUsingGETParams) WithName(name *string) *FilterItemsUsingGETParams
WithName adds the name to the filter items using get params
func (*FilterItemsUsingGETParams) WithSourceID ¶
func (o *FilterItemsUsingGETParams) WithSourceID(sourceID strfmt.UUID) *FilterItemsUsingGETParams
WithSourceID adds the sourceID to the filter items using get params
func (*FilterItemsUsingGETParams) WithTimeout ¶
func (o *FilterItemsUsingGETParams) WithTimeout(timeout time.Duration) *FilterItemsUsingGETParams
WithTimeout adds the timeout to the filter items using get params
func (*FilterItemsUsingGETParams) WriteToRequest ¶
func (o *FilterItemsUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FilterItemsUsingGETReader ¶
type FilterItemsUsingGETReader struct {
// contains filtered or unexported fields
}
FilterItemsUsingGETReader is a Reader for the FilterItemsUsingGET structure.
func (*FilterItemsUsingGETReader) ReadResponse ¶
func (o *FilterItemsUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FiltersUsingGETNotFound ¶
FiltersUsingGETNotFound handles this case with default header values.
Source not found
func NewFiltersUsingGETNotFound ¶
func NewFiltersUsingGETNotFound() *FiltersUsingGETNotFound
NewFiltersUsingGETNotFound creates a FiltersUsingGETNotFound with default headers values
func (*FiltersUsingGETNotFound) Error ¶
func (o *FiltersUsingGETNotFound) Error() string
func (*FiltersUsingGETNotFound) GetPayload ¶ added in v0.2.9
func (o *FiltersUsingGETNotFound) GetPayload() *models.Error
type FiltersUsingGETOK ¶
type FiltersUsingGETOK struct {
Payload *models.MarketplaceFilterSchema
}
FiltersUsingGETOK handles this case with default header values.
Marketplace filters
func NewFiltersUsingGETOK ¶
func NewFiltersUsingGETOK() *FiltersUsingGETOK
NewFiltersUsingGETOK creates a FiltersUsingGETOK with default headers values
func (*FiltersUsingGETOK) Error ¶
func (o *FiltersUsingGETOK) Error() string
func (*FiltersUsingGETOK) GetPayload ¶
func (o *FiltersUsingGETOK) GetPayload() *models.MarketplaceFilterSchema
type FiltersUsingGETParams ¶
type FiltersUsingGETParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information, please refer to /content/api/about */ APIVersion *string /*Expand expand */ Expand *bool /*SourceID Content Source Id */ SourceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FiltersUsingGETParams contains all the parameters to send to the API endpoint for the filters using g e t operation typically these are written to a http.Request
func NewFiltersUsingGETParams ¶
func NewFiltersUsingGETParams() *FiltersUsingGETParams
NewFiltersUsingGETParams creates a new FiltersUsingGETParams object with the default values initialized.
func NewFiltersUsingGETParamsWithContext ¶
func NewFiltersUsingGETParamsWithContext(ctx context.Context) *FiltersUsingGETParams
NewFiltersUsingGETParamsWithContext creates a new FiltersUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewFiltersUsingGETParamsWithHTTPClient ¶
func NewFiltersUsingGETParamsWithHTTPClient(client *http.Client) *FiltersUsingGETParams
NewFiltersUsingGETParamsWithHTTPClient creates a new FiltersUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFiltersUsingGETParamsWithTimeout ¶
func NewFiltersUsingGETParamsWithTimeout(timeout time.Duration) *FiltersUsingGETParams
NewFiltersUsingGETParamsWithTimeout creates a new FiltersUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*FiltersUsingGETParams) SetAPIVersion ¶
func (o *FiltersUsingGETParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the filters using get params
func (*FiltersUsingGETParams) SetContext ¶
func (o *FiltersUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the filters using get params
func (*FiltersUsingGETParams) SetExpand ¶
func (o *FiltersUsingGETParams) SetExpand(expand *bool)
SetExpand adds the expand to the filters using get params
func (*FiltersUsingGETParams) SetHTTPClient ¶
func (o *FiltersUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the filters using get params
func (*FiltersUsingGETParams) SetSourceID ¶
func (o *FiltersUsingGETParams) SetSourceID(sourceID strfmt.UUID)
SetSourceID adds the sourceId to the filters using get params
func (*FiltersUsingGETParams) SetTimeout ¶
func (o *FiltersUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the filters using get params
func (*FiltersUsingGETParams) WithAPIVersion ¶
func (o *FiltersUsingGETParams) WithAPIVersion(aPIVersion *string) *FiltersUsingGETParams
WithAPIVersion adds the aPIVersion to the filters using get params
func (*FiltersUsingGETParams) WithContext ¶
func (o *FiltersUsingGETParams) WithContext(ctx context.Context) *FiltersUsingGETParams
WithContext adds the context to the filters using get params
func (*FiltersUsingGETParams) WithExpand ¶
func (o *FiltersUsingGETParams) WithExpand(expand *bool) *FiltersUsingGETParams
WithExpand adds the expand to the filters using get params
func (*FiltersUsingGETParams) WithHTTPClient ¶
func (o *FiltersUsingGETParams) WithHTTPClient(client *http.Client) *FiltersUsingGETParams
WithHTTPClient adds the HTTPClient to the filters using get params
func (*FiltersUsingGETParams) WithSourceID ¶
func (o *FiltersUsingGETParams) WithSourceID(sourceID strfmt.UUID) *FiltersUsingGETParams
WithSourceID adds the sourceID to the filters using get params
func (*FiltersUsingGETParams) WithTimeout ¶
func (o *FiltersUsingGETParams) WithTimeout(timeout time.Duration) *FiltersUsingGETParams
WithTimeout adds the timeout to the filters using get params
func (*FiltersUsingGETParams) WriteToRequest ¶
func (o *FiltersUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FiltersUsingGETReader ¶
type FiltersUsingGETReader struct {
// contains filtered or unexported fields
}
FiltersUsingGETReader is a Reader for the FiltersUsingGET structure.
func (*FiltersUsingGETReader) ReadResponse ¶
func (o *FiltersUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDetailsNotFound ¶
GetDetailsNotFound handles this case with default header values.
Source or Content not found
func NewGetDetailsNotFound ¶
func NewGetDetailsNotFound() *GetDetailsNotFound
NewGetDetailsNotFound creates a GetDetailsNotFound with default headers values
func (*GetDetailsNotFound) Error ¶
func (o *GetDetailsNotFound) Error() string
func (*GetDetailsNotFound) GetPayload ¶ added in v0.2.9
func (o *GetDetailsNotFound) GetPayload() *models.Error
type GetDetailsOK ¶
type GetDetailsOK struct {
Payload *models.MarketplaceContent
}
GetDetailsOK handles this case with default header values.
Content Details
func NewGetDetailsOK ¶
func NewGetDetailsOK() *GetDetailsOK
NewGetDetailsOK creates a GetDetailsOK with default headers values
func (*GetDetailsOK) Error ¶
func (o *GetDetailsOK) Error() string
func (*GetDetailsOK) GetPayload ¶
func (o *GetDetailsOK) GetPayload() *models.MarketplaceContent
type GetDetailsParams ¶
type GetDetailsParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information, please refer to /content/api/about */ APIVersion *string /*ContentID Content Id */ ContentID string /*SourceID Content Source Id */ SourceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDetailsParams contains all the parameters to send to the API endpoint for the get details operation typically these are written to a http.Request
func NewGetDetailsParams ¶
func NewGetDetailsParams() *GetDetailsParams
NewGetDetailsParams creates a new GetDetailsParams object with the default values initialized.
func NewGetDetailsParamsWithContext ¶
func NewGetDetailsParamsWithContext(ctx context.Context) *GetDetailsParams
NewGetDetailsParamsWithContext creates a new GetDetailsParams object with the default values initialized, and the ability to set a context for a request
func NewGetDetailsParamsWithHTTPClient ¶
func NewGetDetailsParamsWithHTTPClient(client *http.Client) *GetDetailsParams
NewGetDetailsParamsWithHTTPClient creates a new GetDetailsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDetailsParamsWithTimeout ¶
func NewGetDetailsParamsWithTimeout(timeout time.Duration) *GetDetailsParams
NewGetDetailsParamsWithTimeout creates a new GetDetailsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDetailsParams) SetAPIVersion ¶
func (o *GetDetailsParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get details params
func (*GetDetailsParams) SetContentID ¶
func (o *GetDetailsParams) SetContentID(contentID string)
SetContentID adds the contentId to the get details params
func (*GetDetailsParams) SetContext ¶
func (o *GetDetailsParams) SetContext(ctx context.Context)
SetContext adds the context to the get details params
func (*GetDetailsParams) SetHTTPClient ¶
func (o *GetDetailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get details params
func (*GetDetailsParams) SetSourceID ¶
func (o *GetDetailsParams) SetSourceID(sourceID strfmt.UUID)
SetSourceID adds the sourceId to the get details params
func (*GetDetailsParams) SetTimeout ¶
func (o *GetDetailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get details params
func (*GetDetailsParams) WithAPIVersion ¶
func (o *GetDetailsParams) WithAPIVersion(aPIVersion *string) *GetDetailsParams
WithAPIVersion adds the aPIVersion to the get details params
func (*GetDetailsParams) WithContentID ¶
func (o *GetDetailsParams) WithContentID(contentID string) *GetDetailsParams
WithContentID adds the contentID to the get details params
func (*GetDetailsParams) WithContext ¶
func (o *GetDetailsParams) WithContext(ctx context.Context) *GetDetailsParams
WithContext adds the context to the get details params
func (*GetDetailsParams) WithHTTPClient ¶
func (o *GetDetailsParams) WithHTTPClient(client *http.Client) *GetDetailsParams
WithHTTPClient adds the HTTPClient to the get details params
func (*GetDetailsParams) WithSourceID ¶
func (o *GetDetailsParams) WithSourceID(sourceID strfmt.UUID) *GetDetailsParams
WithSourceID adds the sourceID to the get details params
func (*GetDetailsParams) WithTimeout ¶
func (o *GetDetailsParams) WithTimeout(timeout time.Duration) *GetDetailsParams
WithTimeout adds the timeout to the get details params
func (*GetDetailsParams) WriteToRequest ¶
func (o *GetDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDetailsReader ¶
type GetDetailsReader struct {
// contains filtered or unexported fields
}
GetDetailsReader is a Reader for the GetDetails structure.
func (*GetDetailsReader) ReadResponse ¶
func (o *GetDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLinkNotFound ¶
GetLinkNotFound handles this case with default header values.
Source or Content not found
func NewGetLinkNotFound ¶
func NewGetLinkNotFound() *GetLinkNotFound
NewGetLinkNotFound creates a GetLinkNotFound with default headers values
func (*GetLinkNotFound) Error ¶
func (o *GetLinkNotFound) Error() string
func (*GetLinkNotFound) GetPayload ¶ added in v0.2.9
func (o *GetLinkNotFound) GetPayload() *models.Error
type GetLinkOK ¶
type GetLinkOK struct {
Payload *models.MarketplaceContentLink
}
GetLinkOK handles this case with default header values.
Link to Content
func NewGetLinkOK ¶
func NewGetLinkOK() *GetLinkOK
NewGetLinkOK creates a GetLinkOK with default headers values
func (*GetLinkOK) GetPayload ¶
func (o *GetLinkOK) GetPayload() *models.MarketplaceContentLink
type GetLinkParams ¶
type GetLinkParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information, please refer to /content/api/about */ APIVersion *string /*ContentID Content Id */ ContentID string /*SourceID Content Source Id */ SourceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLinkParams contains all the parameters to send to the API endpoint for the get link operation typically these are written to a http.Request
func NewGetLinkParams ¶
func NewGetLinkParams() *GetLinkParams
NewGetLinkParams creates a new GetLinkParams object with the default values initialized.
func NewGetLinkParamsWithContext ¶
func NewGetLinkParamsWithContext(ctx context.Context) *GetLinkParams
NewGetLinkParamsWithContext creates a new GetLinkParams object with the default values initialized, and the ability to set a context for a request
func NewGetLinkParamsWithHTTPClient ¶
func NewGetLinkParamsWithHTTPClient(client *http.Client) *GetLinkParams
NewGetLinkParamsWithHTTPClient creates a new GetLinkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetLinkParamsWithTimeout ¶
func NewGetLinkParamsWithTimeout(timeout time.Duration) *GetLinkParams
NewGetLinkParamsWithTimeout creates a new GetLinkParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetLinkParams) SetAPIVersion ¶
func (o *GetLinkParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get link params
func (*GetLinkParams) SetContentID ¶
func (o *GetLinkParams) SetContentID(contentID string)
SetContentID adds the contentId to the get link params
func (*GetLinkParams) SetContext ¶
func (o *GetLinkParams) SetContext(ctx context.Context)
SetContext adds the context to the get link params
func (*GetLinkParams) SetHTTPClient ¶
func (o *GetLinkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get link params
func (*GetLinkParams) SetSourceID ¶
func (o *GetLinkParams) SetSourceID(sourceID strfmt.UUID)
SetSourceID adds the sourceId to the get link params
func (*GetLinkParams) SetTimeout ¶
func (o *GetLinkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get link params
func (*GetLinkParams) WithAPIVersion ¶
func (o *GetLinkParams) WithAPIVersion(aPIVersion *string) *GetLinkParams
WithAPIVersion adds the aPIVersion to the get link params
func (*GetLinkParams) WithContentID ¶
func (o *GetLinkParams) WithContentID(contentID string) *GetLinkParams
WithContentID adds the contentID to the get link params
func (*GetLinkParams) WithContext ¶
func (o *GetLinkParams) WithContext(ctx context.Context) *GetLinkParams
WithContext adds the context to the get link params
func (*GetLinkParams) WithHTTPClient ¶
func (o *GetLinkParams) WithHTTPClient(client *http.Client) *GetLinkParams
WithHTTPClient adds the HTTPClient to the get link params
func (*GetLinkParams) WithSourceID ¶
func (o *GetLinkParams) WithSourceID(sourceID strfmt.UUID) *GetLinkParams
WithSourceID adds the sourceID to the get link params
func (*GetLinkParams) WithTimeout ¶
func (o *GetLinkParams) WithTimeout(timeout time.Duration) *GetLinkParams
WithTimeout adds the timeout to the get link params
func (*GetLinkParams) WriteToRequest ¶
func (o *GetLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLinkReader ¶
type GetLinkReader struct {
// contains filtered or unexported fields
}
GetLinkReader is a Reader for the GetLink structure.
func (*GetLinkReader) ReadResponse ¶
func (o *GetLinkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReviewsNotFound ¶
GetReviewsNotFound handles this case with default header values.
Source or Content not found
func NewGetReviewsNotFound ¶
func NewGetReviewsNotFound() *GetReviewsNotFound
NewGetReviewsNotFound creates a GetReviewsNotFound with default headers values
func (*GetReviewsNotFound) Error ¶
func (o *GetReviewsNotFound) Error() string
func (*GetReviewsNotFound) GetPayload ¶ added in v0.2.9
func (o *GetReviewsNotFound) GetPayload() *models.Error
type GetReviewsOK ¶
type GetReviewsOK struct {
Payload *models.MarketplaceContentReviews
}
GetReviewsOK handles this case with default header values.
Content Reviews
func NewGetReviewsOK ¶
func NewGetReviewsOK() *GetReviewsOK
NewGetReviewsOK creates a GetReviewsOK with default headers values
func (*GetReviewsOK) Error ¶
func (o *GetReviewsOK) Error() string
func (*GetReviewsOK) GetPayload ¶
func (o *GetReviewsOK) GetPayload() *models.MarketplaceContentReviews
type GetReviewsParams ¶
type GetReviewsParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information, please refer to /content/api/about */ APIVersion *string /*ContentID Content Id */ ContentID string /*SourceID Content Source Id */ SourceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReviewsParams contains all the parameters to send to the API endpoint for the get reviews operation typically these are written to a http.Request
func NewGetReviewsParams ¶
func NewGetReviewsParams() *GetReviewsParams
NewGetReviewsParams creates a new GetReviewsParams object with the default values initialized.
func NewGetReviewsParamsWithContext ¶
func NewGetReviewsParamsWithContext(ctx context.Context) *GetReviewsParams
NewGetReviewsParamsWithContext creates a new GetReviewsParams object with the default values initialized, and the ability to set a context for a request
func NewGetReviewsParamsWithHTTPClient ¶
func NewGetReviewsParamsWithHTTPClient(client *http.Client) *GetReviewsParams
NewGetReviewsParamsWithHTTPClient creates a new GetReviewsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetReviewsParamsWithTimeout ¶
func NewGetReviewsParamsWithTimeout(timeout time.Duration) *GetReviewsParams
NewGetReviewsParamsWithTimeout creates a new GetReviewsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetReviewsParams) SetAPIVersion ¶
func (o *GetReviewsParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get reviews params
func (*GetReviewsParams) SetContentID ¶
func (o *GetReviewsParams) SetContentID(contentID string)
SetContentID adds the contentId to the get reviews params
func (*GetReviewsParams) SetContext ¶
func (o *GetReviewsParams) SetContext(ctx context.Context)
SetContext adds the context to the get reviews params
func (*GetReviewsParams) SetHTTPClient ¶
func (o *GetReviewsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get reviews params
func (*GetReviewsParams) SetSourceID ¶
func (o *GetReviewsParams) SetSourceID(sourceID strfmt.UUID)
SetSourceID adds the sourceId to the get reviews params
func (*GetReviewsParams) SetTimeout ¶
func (o *GetReviewsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get reviews params
func (*GetReviewsParams) WithAPIVersion ¶
func (o *GetReviewsParams) WithAPIVersion(aPIVersion *string) *GetReviewsParams
WithAPIVersion adds the aPIVersion to the get reviews params
func (*GetReviewsParams) WithContentID ¶
func (o *GetReviewsParams) WithContentID(contentID string) *GetReviewsParams
WithContentID adds the contentID to the get reviews params
func (*GetReviewsParams) WithContext ¶
func (o *GetReviewsParams) WithContext(ctx context.Context) *GetReviewsParams
WithContext adds the context to the get reviews params
func (*GetReviewsParams) WithHTTPClient ¶
func (o *GetReviewsParams) WithHTTPClient(client *http.Client) *GetReviewsParams
WithHTTPClient adds the HTTPClient to the get reviews params
func (*GetReviewsParams) WithSourceID ¶
func (o *GetReviewsParams) WithSourceID(sourceID strfmt.UUID) *GetReviewsParams
WithSourceID adds the sourceID to the get reviews params
func (*GetReviewsParams) WithTimeout ¶
func (o *GetReviewsParams) WithTimeout(timeout time.Duration) *GetReviewsParams
WithTimeout adds the timeout to the get reviews params
func (*GetReviewsParams) WriteToRequest ¶
func (o *GetReviewsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReviewsReader ¶
type GetReviewsReader struct {
// contains filtered or unexported fields
}
GetReviewsReader is a Reader for the GetReviews structure.
func (*GetReviewsReader) ReadResponse ¶
func (o *GetReviewsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchNotFound ¶
SearchNotFound handles this case with default header values.
Source not found
func NewSearchNotFound ¶
func NewSearchNotFound() *SearchNotFound
NewSearchNotFound creates a SearchNotFound with default headers values
func (*SearchNotFound) Error ¶
func (o *SearchNotFound) Error() string
func (*SearchNotFound) GetPayload ¶ added in v0.2.9
func (o *SearchNotFound) GetPayload() *models.Error
type SearchOK ¶
type SearchOK struct {
Payload *models.MarketplaceContents
}
SearchOK handles this case with default header values.
Search result
func NewSearchOK ¶
func NewSearchOK() *SearchOK
NewSearchOK creates a SearchOK with default headers values
func (*SearchOK) GetPayload ¶
func (o *SearchOK) GetPayload() *models.MarketplaceContents
type SearchParams ¶
type SearchParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information, please refer to /content/api/about */ APIVersion *string /*Search Full-text search term */ Search *string /*SourceID Content Source Id */ SourceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchParams contains all the parameters to send to the API endpoint for the search operation typically these are written to a http.Request
func NewSearchParams ¶
func NewSearchParams() *SearchParams
NewSearchParams creates a new SearchParams object with the default values initialized.
func NewSearchParamsWithContext ¶
func NewSearchParamsWithContext(ctx context.Context) *SearchParams
NewSearchParamsWithContext creates a new SearchParams object with the default values initialized, and the ability to set a context for a request
func NewSearchParamsWithHTTPClient ¶
func NewSearchParamsWithHTTPClient(client *http.Client) *SearchParams
NewSearchParamsWithHTTPClient creates a new SearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSearchParamsWithTimeout ¶
func NewSearchParamsWithTimeout(timeout time.Duration) *SearchParams
NewSearchParamsWithTimeout creates a new SearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*SearchParams) SetAPIVersion ¶
func (o *SearchParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the search params
func (*SearchParams) SetContext ¶
func (o *SearchParams) SetContext(ctx context.Context)
SetContext adds the context to the search params
func (*SearchParams) SetHTTPClient ¶
func (o *SearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search params
func (*SearchParams) SetSearch ¶
func (o *SearchParams) SetSearch(search *string)
SetSearch adds the search to the search params
func (*SearchParams) SetSourceID ¶
func (o *SearchParams) SetSourceID(sourceID strfmt.UUID)
SetSourceID adds the sourceId to the search params
func (*SearchParams) SetTimeout ¶
func (o *SearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search params
func (*SearchParams) WithAPIVersion ¶
func (o *SearchParams) WithAPIVersion(aPIVersion *string) *SearchParams
WithAPIVersion adds the aPIVersion to the search params
func (*SearchParams) WithContext ¶
func (o *SearchParams) WithContext(ctx context.Context) *SearchParams
WithContext adds the context to the search params
func (*SearchParams) WithHTTPClient ¶
func (o *SearchParams) WithHTTPClient(client *http.Client) *SearchParams
WithHTTPClient adds the HTTPClient to the search params
func (*SearchParams) WithSearch ¶
func (o *SearchParams) WithSearch(search *string) *SearchParams
WithSearch adds the search to the search params
func (*SearchParams) WithSourceID ¶
func (o *SearchParams) WithSourceID(sourceID strfmt.UUID) *SearchParams
WithSourceID adds the sourceID to the search params
func (*SearchParams) WithTimeout ¶
func (o *SearchParams) WithTimeout(timeout time.Duration) *SearchParams
WithTimeout adds the timeout to the search params
func (*SearchParams) WriteToRequest ¶
func (o *SearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchReader ¶
type SearchReader struct {
// contains filtered or unexported fields
}
SearchReader is a Reader for the Search structure.
func (*SearchReader) ReadResponse ¶
func (o *SearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- filter_items_using_get_parameters.go
- filter_items_using_get_responses.go
- filters_using_get_parameters.go
- filters_using_get_responses.go
- get_details_parameters.go
- get_details_responses.go
- get_link_parameters.go
- get_link_responses.go
- get_reviews_parameters.go
- get_reviews_responses.go
- marketplace_client.go
- search_parameters.go
- search_responses.go