Documentation ¶
Index ¶
- type AddTagsAsyncOK
- type AddTagsAsyncParams
- func (o *AddTagsAsyncParams) SetAssetID(assetID int32)
- func (o *AddTagsAsyncParams) SetAssetTags(assetTags *models.AssetTags)
- func (o *AddTagsAsyncParams) SetContext(ctx context.Context)
- func (o *AddTagsAsyncParams) SetDefaults()
- func (o *AddTagsAsyncParams) SetHTTPClient(client *http.Client)
- func (o *AddTagsAsyncParams) SetTimeout(timeout time.Duration)
- func (o *AddTagsAsyncParams) WithAssetID(assetID int32) *AddTagsAsyncParams
- func (o *AddTagsAsyncParams) WithAssetTags(assetTags *models.AssetTags) *AddTagsAsyncParams
- func (o *AddTagsAsyncParams) WithContext(ctx context.Context) *AddTagsAsyncParams
- func (o *AddTagsAsyncParams) WithDefaults() *AddTagsAsyncParams
- func (o *AddTagsAsyncParams) WithHTTPClient(client *http.Client) *AddTagsAsyncParams
- func (o *AddTagsAsyncParams) WithTimeout(timeout time.Duration) *AddTagsAsyncParams
- func (o *AddTagsAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddTagsAsyncReader
- type Client
- func (a *Client) AddTagsAsync(params *AddTagsAsyncParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddTagsAsyncOK, error)
- func (a *Client) DeleteTagsAsync(params *DeleteTagsAsyncParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTagsAsyncOK, error)
- func (a *Client) GetAssetByID(params *GetAssetByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAssetByIDOK, error)
- func (a *Client) GetAssetOrdersAsync(params *GetAssetOrdersAsyncParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAssetOrdersAsyncOK, error)
- func (a *Client) GetAssets(params *GetAssetsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAssetsOK, error)
- func (a *Client) PostCheckoutAsync(params *PostCheckoutAsyncParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostCheckoutAsyncOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateAssetAsync(params *UpdateAssetAsyncParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateAssetAsyncOK, error)
- func (a *Client) UpdateTagsAsync(params *UpdateTagsAsyncParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateTagsAsyncOK, error)
- func (a *Client) VerifyAsync(params *VerifyAsyncParams, authInfo runtime.ClientAuthInfoWriter, ...) (*VerifyAsyncOK, error)
- type ClientOption
- type ClientService
- type DeleteTagsAsyncOK
- type DeleteTagsAsyncParams
- func NewDeleteTagsAsyncParams() *DeleteTagsAsyncParams
- func NewDeleteTagsAsyncParamsWithContext(ctx context.Context) *DeleteTagsAsyncParams
- func NewDeleteTagsAsyncParamsWithHTTPClient(client *http.Client) *DeleteTagsAsyncParams
- func NewDeleteTagsAsyncParamsWithTimeout(timeout time.Duration) *DeleteTagsAsyncParams
- func (o *DeleteTagsAsyncParams) SetAssetID(assetID int32)
- func (o *DeleteTagsAsyncParams) SetContext(ctx context.Context)
- func (o *DeleteTagsAsyncParams) SetDefaults()
- func (o *DeleteTagsAsyncParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTagsAsyncParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTagsAsyncParams) WithAssetID(assetID int32) *DeleteTagsAsyncParams
- func (o *DeleteTagsAsyncParams) WithContext(ctx context.Context) *DeleteTagsAsyncParams
- func (o *DeleteTagsAsyncParams) WithDefaults() *DeleteTagsAsyncParams
- func (o *DeleteTagsAsyncParams) WithHTTPClient(client *http.Client) *DeleteTagsAsyncParams
- func (o *DeleteTagsAsyncParams) WithTimeout(timeout time.Duration) *DeleteTagsAsyncParams
- func (o *DeleteTagsAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTagsAsyncReader
- type GetAssetByIDOK
- type GetAssetByIDParams
- func (o *GetAssetByIDParams) SetContext(ctx context.Context)
- func (o *GetAssetByIDParams) SetDefaults()
- func (o *GetAssetByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAssetByIDParams) SetID(id int32)
- func (o *GetAssetByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAssetByIDParams) WithContext(ctx context.Context) *GetAssetByIDParams
- func (o *GetAssetByIDParams) WithDefaults() *GetAssetByIDParams
- func (o *GetAssetByIDParams) WithHTTPClient(client *http.Client) *GetAssetByIDParams
- func (o *GetAssetByIDParams) WithID(id int32) *GetAssetByIDParams
- func (o *GetAssetByIDParams) WithTimeout(timeout time.Duration) *GetAssetByIDParams
- func (o *GetAssetByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAssetByIDReader
- type GetAssetOrdersAsyncOK
- type GetAssetOrdersAsyncParams
- func NewGetAssetOrdersAsyncParams() *GetAssetOrdersAsyncParams
- func NewGetAssetOrdersAsyncParamsWithContext(ctx context.Context) *GetAssetOrdersAsyncParams
- func NewGetAssetOrdersAsyncParamsWithHTTPClient(client *http.Client) *GetAssetOrdersAsyncParams
- func NewGetAssetOrdersAsyncParamsWithTimeout(timeout time.Duration) *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) SetAssetType(assetType *string)
- func (o *GetAssetOrdersAsyncParams) SetContext(ctx context.Context)
- func (o *GetAssetOrdersAsyncParams) SetDefaults()
- func (o *GetAssetOrdersAsyncParams) SetExternalOrderID(externalOrderID *string)
- func (o *GetAssetOrdersAsyncParams) SetExternalOrderIds(externalOrderIds []string)
- func (o *GetAssetOrdersAsyncParams) SetHTTPClient(client *http.Client)
- func (o *GetAssetOrdersAsyncParams) SetPage(page *int32)
- func (o *GetAssetOrdersAsyncParams) SetPageSize(pageSize *int32)
- func (o *GetAssetOrdersAsyncParams) SetPublisherID(publisherID *int32)
- func (o *GetAssetOrdersAsyncParams) SetResellerCustomerID(resellerCustomerID *int32)
- func (o *GetAssetOrdersAsyncParams) SetReservationID(reservationID *string)
- func (o *GetAssetOrdersAsyncParams) SetSearch(search *string)
- func (o *GetAssetOrdersAsyncParams) SetSortBy(sortBy *string)
- func (o *GetAssetOrdersAsyncParams) SetSortOrder(sortOrder *string)
- func (o *GetAssetOrdersAsyncParams) SetStatus(status *string)
- func (o *GetAssetOrdersAsyncParams) SetTimeout(timeout time.Duration)
- func (o *GetAssetOrdersAsyncParams) WithAssetType(assetType *string) *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) WithContext(ctx context.Context) *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) WithDefaults() *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) WithExternalOrderID(externalOrderID *string) *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) WithExternalOrderIds(externalOrderIds []string) *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) WithHTTPClient(client *http.Client) *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) WithPage(page *int32) *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) WithPageSize(pageSize *int32) *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) WithPublisherID(publisherID *int32) *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) WithResellerCustomerID(resellerCustomerID *int32) *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) WithReservationID(reservationID *string) *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) WithSearch(search *string) *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) WithSortBy(sortBy *string) *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) WithSortOrder(sortOrder *string) *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) WithStatus(status *string) *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) WithTimeout(timeout time.Duration) *GetAssetOrdersAsyncParams
- func (o *GetAssetOrdersAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAssetOrdersAsyncReader
- type GetAssetsOK
- type GetAssetsParams
- func (o *GetAssetsParams) SetAssetType(assetType *string)
- func (o *GetAssetsParams) SetContext(ctx context.Context)
- func (o *GetAssetsParams) SetDefaults()
- func (o *GetAssetsParams) SetExternalOrderID(externalOrderID *string)
- func (o *GetAssetsParams) SetExternalOrderIds(externalOrderIds []string)
- func (o *GetAssetsParams) SetHTTPClient(client *http.Client)
- func (o *GetAssetsParams) SetPage(page *int32)
- func (o *GetAssetsParams) SetPageSize(pageSize *int32)
- func (o *GetAssetsParams) SetPublisherID(publisherID *int32)
- func (o *GetAssetsParams) SetResellerCustomerID(resellerCustomerID *int32)
- func (o *GetAssetsParams) SetReservationID(reservationID *string)
- func (o *GetAssetsParams) SetSearch(search *string)
- func (o *GetAssetsParams) SetSortBy(sortBy *string)
- func (o *GetAssetsParams) SetSortOrder(sortOrder *string)
- func (o *GetAssetsParams) SetStatus(status *string)
- func (o *GetAssetsParams) SetTimeout(timeout time.Duration)
- func (o *GetAssetsParams) WithAssetType(assetType *string) *GetAssetsParams
- func (o *GetAssetsParams) WithContext(ctx context.Context) *GetAssetsParams
- func (o *GetAssetsParams) WithDefaults() *GetAssetsParams
- func (o *GetAssetsParams) WithExternalOrderID(externalOrderID *string) *GetAssetsParams
- func (o *GetAssetsParams) WithExternalOrderIds(externalOrderIds []string) *GetAssetsParams
- func (o *GetAssetsParams) WithHTTPClient(client *http.Client) *GetAssetsParams
- func (o *GetAssetsParams) WithPage(page *int32) *GetAssetsParams
- func (o *GetAssetsParams) WithPageSize(pageSize *int32) *GetAssetsParams
- func (o *GetAssetsParams) WithPublisherID(publisherID *int32) *GetAssetsParams
- func (o *GetAssetsParams) WithResellerCustomerID(resellerCustomerID *int32) *GetAssetsParams
- func (o *GetAssetsParams) WithReservationID(reservationID *string) *GetAssetsParams
- func (o *GetAssetsParams) WithSearch(search *string) *GetAssetsParams
- func (o *GetAssetsParams) WithSortBy(sortBy *string) *GetAssetsParams
- func (o *GetAssetsParams) WithSortOrder(sortOrder *string) *GetAssetsParams
- func (o *GetAssetsParams) WithStatus(status *string) *GetAssetsParams
- func (o *GetAssetsParams) WithTimeout(timeout time.Duration) *GetAssetsParams
- func (o *GetAssetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAssetsReader
- type PostCheckoutAsyncOK
- type PostCheckoutAsyncParams
- func NewPostCheckoutAsyncParams() *PostCheckoutAsyncParams
- func NewPostCheckoutAsyncParamsWithContext(ctx context.Context) *PostCheckoutAsyncParams
- func NewPostCheckoutAsyncParamsWithHTTPClient(client *http.Client) *PostCheckoutAsyncParams
- func NewPostCheckoutAsyncParamsWithTimeout(timeout time.Duration) *PostCheckoutAsyncParams
- func (o *PostCheckoutAsyncParams) SetContext(ctx context.Context)
- func (o *PostCheckoutAsyncParams) SetDefaults()
- func (o *PostCheckoutAsyncParams) SetHTTPClient(client *http.Client)
- func (o *PostCheckoutAsyncParams) SetOrder(order *models.AssetOrder)
- func (o *PostCheckoutAsyncParams) SetTimeout(timeout time.Duration)
- func (o *PostCheckoutAsyncParams) WithContext(ctx context.Context) *PostCheckoutAsyncParams
- func (o *PostCheckoutAsyncParams) WithDefaults() *PostCheckoutAsyncParams
- func (o *PostCheckoutAsyncParams) WithHTTPClient(client *http.Client) *PostCheckoutAsyncParams
- func (o *PostCheckoutAsyncParams) WithOrder(order *models.AssetOrder) *PostCheckoutAsyncParams
- func (o *PostCheckoutAsyncParams) WithTimeout(timeout time.Duration) *PostCheckoutAsyncParams
- func (o *PostCheckoutAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostCheckoutAsyncReader
- type UpdateAssetAsyncOK
- type UpdateAssetAsyncParams
- func NewUpdateAssetAsyncParams() *UpdateAssetAsyncParams
- func NewUpdateAssetAsyncParamsWithContext(ctx context.Context) *UpdateAssetAsyncParams
- func NewUpdateAssetAsyncParamsWithHTTPClient(client *http.Client) *UpdateAssetAsyncParams
- func NewUpdateAssetAsyncParamsWithTimeout(timeout time.Duration) *UpdateAssetAsyncParams
- func (o *UpdateAssetAsyncParams) SetAsset(asset *models.Asset)
- func (o *UpdateAssetAsyncParams) SetAssetID(assetID int32)
- func (o *UpdateAssetAsyncParams) SetContext(ctx context.Context)
- func (o *UpdateAssetAsyncParams) SetDefaults()
- func (o *UpdateAssetAsyncParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAssetAsyncParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAssetAsyncParams) WithAsset(asset *models.Asset) *UpdateAssetAsyncParams
- func (o *UpdateAssetAsyncParams) WithAssetID(assetID int32) *UpdateAssetAsyncParams
- func (o *UpdateAssetAsyncParams) WithContext(ctx context.Context) *UpdateAssetAsyncParams
- func (o *UpdateAssetAsyncParams) WithDefaults() *UpdateAssetAsyncParams
- func (o *UpdateAssetAsyncParams) WithHTTPClient(client *http.Client) *UpdateAssetAsyncParams
- func (o *UpdateAssetAsyncParams) WithTimeout(timeout time.Duration) *UpdateAssetAsyncParams
- func (o *UpdateAssetAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAssetAsyncReader
- type UpdateTagsAsyncOK
- type UpdateTagsAsyncParams
- func NewUpdateTagsAsyncParams() *UpdateTagsAsyncParams
- func NewUpdateTagsAsyncParamsWithContext(ctx context.Context) *UpdateTagsAsyncParams
- func NewUpdateTagsAsyncParamsWithHTTPClient(client *http.Client) *UpdateTagsAsyncParams
- func NewUpdateTagsAsyncParamsWithTimeout(timeout time.Duration) *UpdateTagsAsyncParams
- func (o *UpdateTagsAsyncParams) SetAssetID(assetID int32)
- func (o *UpdateTagsAsyncParams) SetAssetTags(assetTags *models.AssetTags)
- func (o *UpdateTagsAsyncParams) SetContext(ctx context.Context)
- func (o *UpdateTagsAsyncParams) SetDefaults()
- func (o *UpdateTagsAsyncParams) SetHTTPClient(client *http.Client)
- func (o *UpdateTagsAsyncParams) SetTimeout(timeout time.Duration)
- func (o *UpdateTagsAsyncParams) WithAssetID(assetID int32) *UpdateTagsAsyncParams
- func (o *UpdateTagsAsyncParams) WithAssetTags(assetTags *models.AssetTags) *UpdateTagsAsyncParams
- func (o *UpdateTagsAsyncParams) WithContext(ctx context.Context) *UpdateTagsAsyncParams
- func (o *UpdateTagsAsyncParams) WithDefaults() *UpdateTagsAsyncParams
- func (o *UpdateTagsAsyncParams) WithHTTPClient(client *http.Client) *UpdateTagsAsyncParams
- func (o *UpdateTagsAsyncParams) WithTimeout(timeout time.Duration) *UpdateTagsAsyncParams
- func (o *UpdateTagsAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateTagsAsyncReader
- type VerifyAsyncOK
- type VerifyAsyncParams
- func (o *VerifyAsyncParams) SetContext(ctx context.Context)
- func (o *VerifyAsyncParams) SetDefaults()
- func (o *VerifyAsyncParams) SetHTTPClient(client *http.Client)
- func (o *VerifyAsyncParams) SetOrder(order *models.AssetOrder)
- func (o *VerifyAsyncParams) SetTimeout(timeout time.Duration)
- func (o *VerifyAsyncParams) WithContext(ctx context.Context) *VerifyAsyncParams
- func (o *VerifyAsyncParams) WithDefaults() *VerifyAsyncParams
- func (o *VerifyAsyncParams) WithHTTPClient(client *http.Client) *VerifyAsyncParams
- func (o *VerifyAsyncParams) WithOrder(order *models.AssetOrder) *VerifyAsyncParams
- func (o *VerifyAsyncParams) WithTimeout(timeout time.Duration) *VerifyAsyncParams
- func (o *VerifyAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VerifyAsyncReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTagsAsyncOK ¶
type AddTagsAsyncOK struct { }
AddTagsAsyncOK describes a response with status code 200, with default header values.
Success
func NewAddTagsAsyncOK ¶
func NewAddTagsAsyncOK() *AddTagsAsyncOK
NewAddTagsAsyncOK creates a AddTagsAsyncOK with default headers values
func (*AddTagsAsyncOK) Error ¶
func (o *AddTagsAsyncOK) Error() string
type AddTagsAsyncParams ¶
type AddTagsAsyncParams struct { // AssetID. // // Format: int32 AssetID int32 // AssetTags. AssetTags *models.AssetTags Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddTagsAsyncParams contains all the parameters to send to the API endpoint
for the add tags async operation. Typically these are written to a http.Request.
func NewAddTagsAsyncParams ¶
func NewAddTagsAsyncParams() *AddTagsAsyncParams
NewAddTagsAsyncParams creates a new AddTagsAsyncParams 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 NewAddTagsAsyncParamsWithContext ¶
func NewAddTagsAsyncParamsWithContext(ctx context.Context) *AddTagsAsyncParams
NewAddTagsAsyncParamsWithContext creates a new AddTagsAsyncParams object with the ability to set a context for a request.
func NewAddTagsAsyncParamsWithHTTPClient ¶
func NewAddTagsAsyncParamsWithHTTPClient(client *http.Client) *AddTagsAsyncParams
NewAddTagsAsyncParamsWithHTTPClient creates a new AddTagsAsyncParams object with the ability to set a custom HTTPClient for a request.
func NewAddTagsAsyncParamsWithTimeout ¶
func NewAddTagsAsyncParamsWithTimeout(timeout time.Duration) *AddTagsAsyncParams
NewAddTagsAsyncParamsWithTimeout creates a new AddTagsAsyncParams object with the ability to set a timeout on a request.
func (*AddTagsAsyncParams) SetAssetID ¶
func (o *AddTagsAsyncParams) SetAssetID(assetID int32)
SetAssetID adds the assetId to the add tags async params
func (*AddTagsAsyncParams) SetAssetTags ¶
func (o *AddTagsAsyncParams) SetAssetTags(assetTags *models.AssetTags)
SetAssetTags adds the assetTags to the add tags async params
func (*AddTagsAsyncParams) SetContext ¶
func (o *AddTagsAsyncParams) SetContext(ctx context.Context)
SetContext adds the context to the add tags async params
func (*AddTagsAsyncParams) SetDefaults ¶
func (o *AddTagsAsyncParams) SetDefaults()
SetDefaults hydrates default values in the add tags async params (not the query body).
All values with no default are reset to their zero value.
func (*AddTagsAsyncParams) SetHTTPClient ¶
func (o *AddTagsAsyncParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add tags async params
func (*AddTagsAsyncParams) SetTimeout ¶
func (o *AddTagsAsyncParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add tags async params
func (*AddTagsAsyncParams) WithAssetID ¶
func (o *AddTagsAsyncParams) WithAssetID(assetID int32) *AddTagsAsyncParams
WithAssetID adds the assetID to the add tags async params
func (*AddTagsAsyncParams) WithAssetTags ¶
func (o *AddTagsAsyncParams) WithAssetTags(assetTags *models.AssetTags) *AddTagsAsyncParams
WithAssetTags adds the assetTags to the add tags async params
func (*AddTagsAsyncParams) WithContext ¶
func (o *AddTagsAsyncParams) WithContext(ctx context.Context) *AddTagsAsyncParams
WithContext adds the context to the add tags async params
func (*AddTagsAsyncParams) WithDefaults ¶
func (o *AddTagsAsyncParams) WithDefaults() *AddTagsAsyncParams
WithDefaults hydrates default values in the add tags async params (not the query body).
All values with no default are reset to their zero value.
func (*AddTagsAsyncParams) WithHTTPClient ¶
func (o *AddTagsAsyncParams) WithHTTPClient(client *http.Client) *AddTagsAsyncParams
WithHTTPClient adds the HTTPClient to the add tags async params
func (*AddTagsAsyncParams) WithTimeout ¶
func (o *AddTagsAsyncParams) WithTimeout(timeout time.Duration) *AddTagsAsyncParams
WithTimeout adds the timeout to the add tags async params
func (*AddTagsAsyncParams) WriteToRequest ¶
func (o *AddTagsAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddTagsAsyncReader ¶
type AddTagsAsyncReader struct {
// contains filtered or unexported fields
}
AddTagsAsyncReader is a Reader for the AddTagsAsync structure.
func (*AddTagsAsyncReader) ReadResponse ¶
func (o *AddTagsAsyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for assets API
func (*Client) AddTagsAsync ¶
func (a *Client) AddTagsAsync(params *AddTagsAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddTagsAsyncOK, error)
AddTagsAsync add tags async API
func (*Client) DeleteTagsAsync ¶
func (a *Client) DeleteTagsAsync(params *DeleteTagsAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTagsAsyncOK, error)
DeleteTagsAsync delete tags async API
func (*Client) GetAssetByID ¶
func (a *Client) GetAssetByID(params *GetAssetByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAssetByIDOK, error)
GetAssetByID get asset by Id API
func (*Client) GetAssetOrdersAsync ¶
func (a *Client) GetAssetOrdersAsync(params *GetAssetOrdersAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAssetOrdersAsyncOK, error)
GetAssetOrdersAsync get asset orders async API
func (*Client) GetAssets ¶
func (a *Client) GetAssets(params *GetAssetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAssetsOK, error)
GetAssets get assets API
func (*Client) PostCheckoutAsync ¶
func (a *Client) PostCheckoutAsync(params *PostCheckoutAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostCheckoutAsyncOK, error)
PostCheckoutAsync post checkout async API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateAssetAsync ¶
func (a *Client) UpdateAssetAsync(params *UpdateAssetAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAssetAsyncOK, error)
UpdateAssetAsync update asset async API
func (*Client) UpdateTagsAsync ¶
func (a *Client) UpdateTagsAsync(params *UpdateTagsAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTagsAsyncOK, error)
UpdateTagsAsync update tags async API
func (*Client) VerifyAsync ¶
func (a *Client) VerifyAsync(params *VerifyAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VerifyAsyncOK, error)
VerifyAsync verify async API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AddTagsAsync(params *AddTagsAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddTagsAsyncOK, error) DeleteTagsAsync(params *DeleteTagsAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTagsAsyncOK, error) GetAssetByID(params *GetAssetByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAssetByIDOK, error) GetAssetOrdersAsync(params *GetAssetOrdersAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAssetOrdersAsyncOK, error) GetAssets(params *GetAssetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAssetsOK, error) PostCheckoutAsync(params *PostCheckoutAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostCheckoutAsyncOK, error) UpdateAssetAsync(params *UpdateAssetAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAssetAsyncOK, error) UpdateTagsAsync(params *UpdateTagsAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTagsAsyncOK, error) VerifyAsync(params *VerifyAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VerifyAsyncOK, 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 assets API client.
type DeleteTagsAsyncOK ¶
type DeleteTagsAsyncOK struct { }
DeleteTagsAsyncOK describes a response with status code 200, with default header values.
Success
func NewDeleteTagsAsyncOK ¶
func NewDeleteTagsAsyncOK() *DeleteTagsAsyncOK
NewDeleteTagsAsyncOK creates a DeleteTagsAsyncOK with default headers values
func (*DeleteTagsAsyncOK) Error ¶
func (o *DeleteTagsAsyncOK) Error() string
type DeleteTagsAsyncParams ¶
type DeleteTagsAsyncParams struct { // AssetID. // // Format: int32 AssetID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTagsAsyncParams contains all the parameters to send to the API endpoint
for the delete tags async operation. Typically these are written to a http.Request.
func NewDeleteTagsAsyncParams ¶
func NewDeleteTagsAsyncParams() *DeleteTagsAsyncParams
NewDeleteTagsAsyncParams creates a new DeleteTagsAsyncParams 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 NewDeleteTagsAsyncParamsWithContext ¶
func NewDeleteTagsAsyncParamsWithContext(ctx context.Context) *DeleteTagsAsyncParams
NewDeleteTagsAsyncParamsWithContext creates a new DeleteTagsAsyncParams object with the ability to set a context for a request.
func NewDeleteTagsAsyncParamsWithHTTPClient ¶
func NewDeleteTagsAsyncParamsWithHTTPClient(client *http.Client) *DeleteTagsAsyncParams
NewDeleteTagsAsyncParamsWithHTTPClient creates a new DeleteTagsAsyncParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTagsAsyncParamsWithTimeout ¶
func NewDeleteTagsAsyncParamsWithTimeout(timeout time.Duration) *DeleteTagsAsyncParams
NewDeleteTagsAsyncParamsWithTimeout creates a new DeleteTagsAsyncParams object with the ability to set a timeout on a request.
func (*DeleteTagsAsyncParams) SetAssetID ¶
func (o *DeleteTagsAsyncParams) SetAssetID(assetID int32)
SetAssetID adds the assetId to the delete tags async params
func (*DeleteTagsAsyncParams) SetContext ¶
func (o *DeleteTagsAsyncParams) SetContext(ctx context.Context)
SetContext adds the context to the delete tags async params
func (*DeleteTagsAsyncParams) SetDefaults ¶
func (o *DeleteTagsAsyncParams) SetDefaults()
SetDefaults hydrates default values in the delete tags async params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTagsAsyncParams) SetHTTPClient ¶
func (o *DeleteTagsAsyncParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete tags async params
func (*DeleteTagsAsyncParams) SetTimeout ¶
func (o *DeleteTagsAsyncParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete tags async params
func (*DeleteTagsAsyncParams) WithAssetID ¶
func (o *DeleteTagsAsyncParams) WithAssetID(assetID int32) *DeleteTagsAsyncParams
WithAssetID adds the assetID to the delete tags async params
func (*DeleteTagsAsyncParams) WithContext ¶
func (o *DeleteTagsAsyncParams) WithContext(ctx context.Context) *DeleteTagsAsyncParams
WithContext adds the context to the delete tags async params
func (*DeleteTagsAsyncParams) WithDefaults ¶
func (o *DeleteTagsAsyncParams) WithDefaults() *DeleteTagsAsyncParams
WithDefaults hydrates default values in the delete tags async params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTagsAsyncParams) WithHTTPClient ¶
func (o *DeleteTagsAsyncParams) WithHTTPClient(client *http.Client) *DeleteTagsAsyncParams
WithHTTPClient adds the HTTPClient to the delete tags async params
func (*DeleteTagsAsyncParams) WithTimeout ¶
func (o *DeleteTagsAsyncParams) WithTimeout(timeout time.Duration) *DeleteTagsAsyncParams
WithTimeout adds the timeout to the delete tags async params
func (*DeleteTagsAsyncParams) WriteToRequest ¶
func (o *DeleteTagsAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTagsAsyncReader ¶
type DeleteTagsAsyncReader struct {
// contains filtered or unexported fields
}
DeleteTagsAsyncReader is a Reader for the DeleteTagsAsync structure.
func (*DeleteTagsAsyncReader) ReadResponse ¶
func (o *DeleteTagsAsyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAssetByIDOK ¶
GetAssetByIDOK describes a response with status code 200, with default header values.
Success
func NewGetAssetByIDOK ¶
func NewGetAssetByIDOK() *GetAssetByIDOK
NewGetAssetByIDOK creates a GetAssetByIDOK with default headers values
func (*GetAssetByIDOK) Error ¶
func (o *GetAssetByIDOK) Error() string
func (*GetAssetByIDOK) GetPayload ¶
func (o *GetAssetByIDOK) GetPayload() *models.Asset
type GetAssetByIDParams ¶
type GetAssetByIDParams struct { // ID. // // Format: int32 ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAssetByIDParams contains all the parameters to send to the API endpoint
for the get asset by Id operation. Typically these are written to a http.Request.
func NewGetAssetByIDParams ¶
func NewGetAssetByIDParams() *GetAssetByIDParams
NewGetAssetByIDParams creates a new GetAssetByIDParams 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 NewGetAssetByIDParamsWithContext ¶
func NewGetAssetByIDParamsWithContext(ctx context.Context) *GetAssetByIDParams
NewGetAssetByIDParamsWithContext creates a new GetAssetByIDParams object with the ability to set a context for a request.
func NewGetAssetByIDParamsWithHTTPClient ¶
func NewGetAssetByIDParamsWithHTTPClient(client *http.Client) *GetAssetByIDParams
NewGetAssetByIDParamsWithHTTPClient creates a new GetAssetByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetAssetByIDParamsWithTimeout ¶
func NewGetAssetByIDParamsWithTimeout(timeout time.Duration) *GetAssetByIDParams
NewGetAssetByIDParamsWithTimeout creates a new GetAssetByIDParams object with the ability to set a timeout on a request.
func (*GetAssetByIDParams) SetContext ¶
func (o *GetAssetByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get asset by Id params
func (*GetAssetByIDParams) SetDefaults ¶
func (o *GetAssetByIDParams) SetDefaults()
SetDefaults hydrates default values in the get asset by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetAssetByIDParams) SetHTTPClient ¶
func (o *GetAssetByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get asset by Id params
func (*GetAssetByIDParams) SetID ¶
func (o *GetAssetByIDParams) SetID(id int32)
SetID adds the id to the get asset by Id params
func (*GetAssetByIDParams) SetTimeout ¶
func (o *GetAssetByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get asset by Id params
func (*GetAssetByIDParams) WithContext ¶
func (o *GetAssetByIDParams) WithContext(ctx context.Context) *GetAssetByIDParams
WithContext adds the context to the get asset by Id params
func (*GetAssetByIDParams) WithDefaults ¶
func (o *GetAssetByIDParams) WithDefaults() *GetAssetByIDParams
WithDefaults hydrates default values in the get asset by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetAssetByIDParams) WithHTTPClient ¶
func (o *GetAssetByIDParams) WithHTTPClient(client *http.Client) *GetAssetByIDParams
WithHTTPClient adds the HTTPClient to the get asset by Id params
func (*GetAssetByIDParams) WithID ¶
func (o *GetAssetByIDParams) WithID(id int32) *GetAssetByIDParams
WithID adds the id to the get asset by Id params
func (*GetAssetByIDParams) WithTimeout ¶
func (o *GetAssetByIDParams) WithTimeout(timeout time.Duration) *GetAssetByIDParams
WithTimeout adds the timeout to the get asset by Id params
func (*GetAssetByIDParams) WriteToRequest ¶
func (o *GetAssetByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAssetByIDReader ¶
type GetAssetByIDReader struct {
// contains filtered or unexported fields
}
GetAssetByIDReader is a Reader for the GetAssetByID structure.
func (*GetAssetByIDReader) ReadResponse ¶
func (o *GetAssetByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAssetOrdersAsyncOK ¶
type GetAssetOrdersAsyncOK struct {
Payload *models.APICollectionOfAssetOrder
}
GetAssetOrdersAsyncOK describes a response with status code 200, with default header values.
Success
func NewGetAssetOrdersAsyncOK ¶
func NewGetAssetOrdersAsyncOK() *GetAssetOrdersAsyncOK
NewGetAssetOrdersAsyncOK creates a GetAssetOrdersAsyncOK with default headers values
func (*GetAssetOrdersAsyncOK) Error ¶
func (o *GetAssetOrdersAsyncOK) Error() string
func (*GetAssetOrdersAsyncOK) GetPayload ¶
func (o *GetAssetOrdersAsyncOK) GetPayload() *models.APICollectionOfAssetOrder
type GetAssetOrdersAsyncParams ¶
type GetAssetOrdersAsyncParams struct { // AssetType. AssetType *string // ExternalOrderID. ExternalOrderID *string // ExternalOrderIds. ExternalOrderIds []string // Page. // // Format: int32 Page *int32 // PageSize. // // Format: int32 PageSize *int32 // PublisherID. // // Format: int32 PublisherID *int32 // ResellerCustomerID. // // Format: int32 ResellerCustomerID *int32 // ReservationID. ReservationID *string // Search. Search *string // SortBy. SortBy *string // SortOrder. SortOrder *string // Status. Status *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAssetOrdersAsyncParams contains all the parameters to send to the API endpoint
for the get asset orders async operation. Typically these are written to a http.Request.
func NewGetAssetOrdersAsyncParams ¶
func NewGetAssetOrdersAsyncParams() *GetAssetOrdersAsyncParams
NewGetAssetOrdersAsyncParams creates a new GetAssetOrdersAsyncParams 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 NewGetAssetOrdersAsyncParamsWithContext ¶
func NewGetAssetOrdersAsyncParamsWithContext(ctx context.Context) *GetAssetOrdersAsyncParams
NewGetAssetOrdersAsyncParamsWithContext creates a new GetAssetOrdersAsyncParams object with the ability to set a context for a request.
func NewGetAssetOrdersAsyncParamsWithHTTPClient ¶
func NewGetAssetOrdersAsyncParamsWithHTTPClient(client *http.Client) *GetAssetOrdersAsyncParams
NewGetAssetOrdersAsyncParamsWithHTTPClient creates a new GetAssetOrdersAsyncParams object with the ability to set a custom HTTPClient for a request.
func NewGetAssetOrdersAsyncParamsWithTimeout ¶
func NewGetAssetOrdersAsyncParamsWithTimeout(timeout time.Duration) *GetAssetOrdersAsyncParams
NewGetAssetOrdersAsyncParamsWithTimeout creates a new GetAssetOrdersAsyncParams object with the ability to set a timeout on a request.
func (*GetAssetOrdersAsyncParams) SetAssetType ¶
func (o *GetAssetOrdersAsyncParams) SetAssetType(assetType *string)
SetAssetType adds the assetType to the get asset orders async params
func (*GetAssetOrdersAsyncParams) SetContext ¶
func (o *GetAssetOrdersAsyncParams) SetContext(ctx context.Context)
SetContext adds the context to the get asset orders async params
func (*GetAssetOrdersAsyncParams) SetDefaults ¶
func (o *GetAssetOrdersAsyncParams) SetDefaults()
SetDefaults hydrates default values in the get asset orders async params (not the query body).
All values with no default are reset to their zero value.
func (*GetAssetOrdersAsyncParams) SetExternalOrderID ¶
func (o *GetAssetOrdersAsyncParams) SetExternalOrderID(externalOrderID *string)
SetExternalOrderID adds the externalOrderId to the get asset orders async params
func (*GetAssetOrdersAsyncParams) SetExternalOrderIds ¶
func (o *GetAssetOrdersAsyncParams) SetExternalOrderIds(externalOrderIds []string)
SetExternalOrderIds adds the externalOrderIds to the get asset orders async params
func (*GetAssetOrdersAsyncParams) SetHTTPClient ¶
func (o *GetAssetOrdersAsyncParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get asset orders async params
func (*GetAssetOrdersAsyncParams) SetPage ¶
func (o *GetAssetOrdersAsyncParams) SetPage(page *int32)
SetPage adds the page to the get asset orders async params
func (*GetAssetOrdersAsyncParams) SetPageSize ¶
func (o *GetAssetOrdersAsyncParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the get asset orders async params
func (*GetAssetOrdersAsyncParams) SetPublisherID ¶
func (o *GetAssetOrdersAsyncParams) SetPublisherID(publisherID *int32)
SetPublisherID adds the publisherId to the get asset orders async params
func (*GetAssetOrdersAsyncParams) SetResellerCustomerID ¶
func (o *GetAssetOrdersAsyncParams) SetResellerCustomerID(resellerCustomerID *int32)
SetResellerCustomerID adds the resellerCustomerId to the get asset orders async params
func (*GetAssetOrdersAsyncParams) SetReservationID ¶
func (o *GetAssetOrdersAsyncParams) SetReservationID(reservationID *string)
SetReservationID adds the reservationId to the get asset orders async params
func (*GetAssetOrdersAsyncParams) SetSearch ¶
func (o *GetAssetOrdersAsyncParams) SetSearch(search *string)
SetSearch adds the search to the get asset orders async params
func (*GetAssetOrdersAsyncParams) SetSortBy ¶
func (o *GetAssetOrdersAsyncParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the get asset orders async params
func (*GetAssetOrdersAsyncParams) SetSortOrder ¶
func (o *GetAssetOrdersAsyncParams) SetSortOrder(sortOrder *string)
SetSortOrder adds the sortOrder to the get asset orders async params
func (*GetAssetOrdersAsyncParams) SetStatus ¶
func (o *GetAssetOrdersAsyncParams) SetStatus(status *string)
SetStatus adds the status to the get asset orders async params
func (*GetAssetOrdersAsyncParams) SetTimeout ¶
func (o *GetAssetOrdersAsyncParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get asset orders async params
func (*GetAssetOrdersAsyncParams) WithAssetType ¶
func (o *GetAssetOrdersAsyncParams) WithAssetType(assetType *string) *GetAssetOrdersAsyncParams
WithAssetType adds the assetType to the get asset orders async params
func (*GetAssetOrdersAsyncParams) WithContext ¶
func (o *GetAssetOrdersAsyncParams) WithContext(ctx context.Context) *GetAssetOrdersAsyncParams
WithContext adds the context to the get asset orders async params
func (*GetAssetOrdersAsyncParams) WithDefaults ¶
func (o *GetAssetOrdersAsyncParams) WithDefaults() *GetAssetOrdersAsyncParams
WithDefaults hydrates default values in the get asset orders async params (not the query body).
All values with no default are reset to their zero value.
func (*GetAssetOrdersAsyncParams) WithExternalOrderID ¶
func (o *GetAssetOrdersAsyncParams) WithExternalOrderID(externalOrderID *string) *GetAssetOrdersAsyncParams
WithExternalOrderID adds the externalOrderID to the get asset orders async params
func (*GetAssetOrdersAsyncParams) WithExternalOrderIds ¶
func (o *GetAssetOrdersAsyncParams) WithExternalOrderIds(externalOrderIds []string) *GetAssetOrdersAsyncParams
WithExternalOrderIds adds the externalOrderIds to the get asset orders async params
func (*GetAssetOrdersAsyncParams) WithHTTPClient ¶
func (o *GetAssetOrdersAsyncParams) WithHTTPClient(client *http.Client) *GetAssetOrdersAsyncParams
WithHTTPClient adds the HTTPClient to the get asset orders async params
func (*GetAssetOrdersAsyncParams) WithPage ¶
func (o *GetAssetOrdersAsyncParams) WithPage(page *int32) *GetAssetOrdersAsyncParams
WithPage adds the page to the get asset orders async params
func (*GetAssetOrdersAsyncParams) WithPageSize ¶
func (o *GetAssetOrdersAsyncParams) WithPageSize(pageSize *int32) *GetAssetOrdersAsyncParams
WithPageSize adds the pageSize to the get asset orders async params
func (*GetAssetOrdersAsyncParams) WithPublisherID ¶
func (o *GetAssetOrdersAsyncParams) WithPublisherID(publisherID *int32) *GetAssetOrdersAsyncParams
WithPublisherID adds the publisherID to the get asset orders async params
func (*GetAssetOrdersAsyncParams) WithResellerCustomerID ¶
func (o *GetAssetOrdersAsyncParams) WithResellerCustomerID(resellerCustomerID *int32) *GetAssetOrdersAsyncParams
WithResellerCustomerID adds the resellerCustomerID to the get asset orders async params
func (*GetAssetOrdersAsyncParams) WithReservationID ¶
func (o *GetAssetOrdersAsyncParams) WithReservationID(reservationID *string) *GetAssetOrdersAsyncParams
WithReservationID adds the reservationID to the get asset orders async params
func (*GetAssetOrdersAsyncParams) WithSearch ¶
func (o *GetAssetOrdersAsyncParams) WithSearch(search *string) *GetAssetOrdersAsyncParams
WithSearch adds the search to the get asset orders async params
func (*GetAssetOrdersAsyncParams) WithSortBy ¶
func (o *GetAssetOrdersAsyncParams) WithSortBy(sortBy *string) *GetAssetOrdersAsyncParams
WithSortBy adds the sortBy to the get asset orders async params
func (*GetAssetOrdersAsyncParams) WithSortOrder ¶
func (o *GetAssetOrdersAsyncParams) WithSortOrder(sortOrder *string) *GetAssetOrdersAsyncParams
WithSortOrder adds the sortOrder to the get asset orders async params
func (*GetAssetOrdersAsyncParams) WithStatus ¶
func (o *GetAssetOrdersAsyncParams) WithStatus(status *string) *GetAssetOrdersAsyncParams
WithStatus adds the status to the get asset orders async params
func (*GetAssetOrdersAsyncParams) WithTimeout ¶
func (o *GetAssetOrdersAsyncParams) WithTimeout(timeout time.Duration) *GetAssetOrdersAsyncParams
WithTimeout adds the timeout to the get asset orders async params
func (*GetAssetOrdersAsyncParams) WriteToRequest ¶
func (o *GetAssetOrdersAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAssetOrdersAsyncReader ¶
type GetAssetOrdersAsyncReader struct {
// contains filtered or unexported fields
}
GetAssetOrdersAsyncReader is a Reader for the GetAssetOrdersAsync structure.
func (*GetAssetOrdersAsyncReader) ReadResponse ¶
func (o *GetAssetOrdersAsyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAssetsOK ¶
type GetAssetsOK struct {
Payload *models.APICollectionOfAsset
}
GetAssetsOK describes a response with status code 200, with default header values.
Success
func NewGetAssetsOK ¶
func NewGetAssetsOK() *GetAssetsOK
NewGetAssetsOK creates a GetAssetsOK with default headers values
func (*GetAssetsOK) Error ¶
func (o *GetAssetsOK) Error() string
func (*GetAssetsOK) GetPayload ¶
func (o *GetAssetsOK) GetPayload() *models.APICollectionOfAsset
type GetAssetsParams ¶
type GetAssetsParams struct { // AssetType. AssetType *string // ExternalOrderID. ExternalOrderID *string // ExternalOrderIds. ExternalOrderIds []string // Page. // // Format: int32 Page *int32 // PageSize. // // Format: int32 PageSize *int32 // PublisherID. // // Format: int32 PublisherID *int32 // ResellerCustomerID. // // Format: int32 ResellerCustomerID *int32 // ReservationID. ReservationID *string // Search. Search *string // SortBy. SortBy *string // SortOrder. SortOrder *string // Status. Status *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAssetsParams contains all the parameters to send to the API endpoint
for the get assets operation. Typically these are written to a http.Request.
func NewGetAssetsParams ¶
func NewGetAssetsParams() *GetAssetsParams
NewGetAssetsParams creates a new GetAssetsParams 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 NewGetAssetsParamsWithContext ¶
func NewGetAssetsParamsWithContext(ctx context.Context) *GetAssetsParams
NewGetAssetsParamsWithContext creates a new GetAssetsParams object with the ability to set a context for a request.
func NewGetAssetsParamsWithHTTPClient ¶
func NewGetAssetsParamsWithHTTPClient(client *http.Client) *GetAssetsParams
NewGetAssetsParamsWithHTTPClient creates a new GetAssetsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAssetsParamsWithTimeout ¶
func NewGetAssetsParamsWithTimeout(timeout time.Duration) *GetAssetsParams
NewGetAssetsParamsWithTimeout creates a new GetAssetsParams object with the ability to set a timeout on a request.
func (*GetAssetsParams) SetAssetType ¶
func (o *GetAssetsParams) SetAssetType(assetType *string)
SetAssetType adds the assetType to the get assets params
func (*GetAssetsParams) SetContext ¶
func (o *GetAssetsParams) SetContext(ctx context.Context)
SetContext adds the context to the get assets params
func (*GetAssetsParams) SetDefaults ¶
func (o *GetAssetsParams) SetDefaults()
SetDefaults hydrates default values in the get assets params (not the query body).
All values with no default are reset to their zero value.
func (*GetAssetsParams) SetExternalOrderID ¶
func (o *GetAssetsParams) SetExternalOrderID(externalOrderID *string)
SetExternalOrderID adds the externalOrderId to the get assets params
func (*GetAssetsParams) SetExternalOrderIds ¶
func (o *GetAssetsParams) SetExternalOrderIds(externalOrderIds []string)
SetExternalOrderIds adds the externalOrderIds to the get assets params
func (*GetAssetsParams) SetHTTPClient ¶
func (o *GetAssetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get assets params
func (*GetAssetsParams) SetPage ¶
func (o *GetAssetsParams) SetPage(page *int32)
SetPage adds the page to the get assets params
func (*GetAssetsParams) SetPageSize ¶
func (o *GetAssetsParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the get assets params
func (*GetAssetsParams) SetPublisherID ¶
func (o *GetAssetsParams) SetPublisherID(publisherID *int32)
SetPublisherID adds the publisherId to the get assets params
func (*GetAssetsParams) SetResellerCustomerID ¶
func (o *GetAssetsParams) SetResellerCustomerID(resellerCustomerID *int32)
SetResellerCustomerID adds the resellerCustomerId to the get assets params
func (*GetAssetsParams) SetReservationID ¶
func (o *GetAssetsParams) SetReservationID(reservationID *string)
SetReservationID adds the reservationId to the get assets params
func (*GetAssetsParams) SetSearch ¶
func (o *GetAssetsParams) SetSearch(search *string)
SetSearch adds the search to the get assets params
func (*GetAssetsParams) SetSortBy ¶
func (o *GetAssetsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the get assets params
func (*GetAssetsParams) SetSortOrder ¶
func (o *GetAssetsParams) SetSortOrder(sortOrder *string)
SetSortOrder adds the sortOrder to the get assets params
func (*GetAssetsParams) SetStatus ¶
func (o *GetAssetsParams) SetStatus(status *string)
SetStatus adds the status to the get assets params
func (*GetAssetsParams) SetTimeout ¶
func (o *GetAssetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get assets params
func (*GetAssetsParams) WithAssetType ¶
func (o *GetAssetsParams) WithAssetType(assetType *string) *GetAssetsParams
WithAssetType adds the assetType to the get assets params
func (*GetAssetsParams) WithContext ¶
func (o *GetAssetsParams) WithContext(ctx context.Context) *GetAssetsParams
WithContext adds the context to the get assets params
func (*GetAssetsParams) WithDefaults ¶
func (o *GetAssetsParams) WithDefaults() *GetAssetsParams
WithDefaults hydrates default values in the get assets params (not the query body).
All values with no default are reset to their zero value.
func (*GetAssetsParams) WithExternalOrderID ¶
func (o *GetAssetsParams) WithExternalOrderID(externalOrderID *string) *GetAssetsParams
WithExternalOrderID adds the externalOrderID to the get assets params
func (*GetAssetsParams) WithExternalOrderIds ¶
func (o *GetAssetsParams) WithExternalOrderIds(externalOrderIds []string) *GetAssetsParams
WithExternalOrderIds adds the externalOrderIds to the get assets params
func (*GetAssetsParams) WithHTTPClient ¶
func (o *GetAssetsParams) WithHTTPClient(client *http.Client) *GetAssetsParams
WithHTTPClient adds the HTTPClient to the get assets params
func (*GetAssetsParams) WithPage ¶
func (o *GetAssetsParams) WithPage(page *int32) *GetAssetsParams
WithPage adds the page to the get assets params
func (*GetAssetsParams) WithPageSize ¶
func (o *GetAssetsParams) WithPageSize(pageSize *int32) *GetAssetsParams
WithPageSize adds the pageSize to the get assets params
func (*GetAssetsParams) WithPublisherID ¶
func (o *GetAssetsParams) WithPublisherID(publisherID *int32) *GetAssetsParams
WithPublisherID adds the publisherID to the get assets params
func (*GetAssetsParams) WithResellerCustomerID ¶
func (o *GetAssetsParams) WithResellerCustomerID(resellerCustomerID *int32) *GetAssetsParams
WithResellerCustomerID adds the resellerCustomerID to the get assets params
func (*GetAssetsParams) WithReservationID ¶
func (o *GetAssetsParams) WithReservationID(reservationID *string) *GetAssetsParams
WithReservationID adds the reservationID to the get assets params
func (*GetAssetsParams) WithSearch ¶
func (o *GetAssetsParams) WithSearch(search *string) *GetAssetsParams
WithSearch adds the search to the get assets params
func (*GetAssetsParams) WithSortBy ¶
func (o *GetAssetsParams) WithSortBy(sortBy *string) *GetAssetsParams
WithSortBy adds the sortBy to the get assets params
func (*GetAssetsParams) WithSortOrder ¶
func (o *GetAssetsParams) WithSortOrder(sortOrder *string) *GetAssetsParams
WithSortOrder adds the sortOrder to the get assets params
func (*GetAssetsParams) WithStatus ¶
func (o *GetAssetsParams) WithStatus(status *string) *GetAssetsParams
WithStatus adds the status to the get assets params
func (*GetAssetsParams) WithTimeout ¶
func (o *GetAssetsParams) WithTimeout(timeout time.Duration) *GetAssetsParams
WithTimeout adds the timeout to the get assets params
func (*GetAssetsParams) WriteToRequest ¶
func (o *GetAssetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAssetsReader ¶
type GetAssetsReader struct {
// contains filtered or unexported fields
}
GetAssetsReader is a Reader for the GetAssets structure.
func (*GetAssetsReader) ReadResponse ¶
func (o *GetAssetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostCheckoutAsyncOK ¶
type PostCheckoutAsyncOK struct { }
PostCheckoutAsyncOK describes a response with status code 200, with default header values.
Success
func NewPostCheckoutAsyncOK ¶
func NewPostCheckoutAsyncOK() *PostCheckoutAsyncOK
NewPostCheckoutAsyncOK creates a PostCheckoutAsyncOK with default headers values
func (*PostCheckoutAsyncOK) Error ¶
func (o *PostCheckoutAsyncOK) Error() string
type PostCheckoutAsyncParams ¶
type PostCheckoutAsyncParams struct { // Order. Order *models.AssetOrder Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostCheckoutAsyncParams contains all the parameters to send to the API endpoint
for the post checkout async operation. Typically these are written to a http.Request.
func NewPostCheckoutAsyncParams ¶
func NewPostCheckoutAsyncParams() *PostCheckoutAsyncParams
NewPostCheckoutAsyncParams creates a new PostCheckoutAsyncParams 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 NewPostCheckoutAsyncParamsWithContext ¶
func NewPostCheckoutAsyncParamsWithContext(ctx context.Context) *PostCheckoutAsyncParams
NewPostCheckoutAsyncParamsWithContext creates a new PostCheckoutAsyncParams object with the ability to set a context for a request.
func NewPostCheckoutAsyncParamsWithHTTPClient ¶
func NewPostCheckoutAsyncParamsWithHTTPClient(client *http.Client) *PostCheckoutAsyncParams
NewPostCheckoutAsyncParamsWithHTTPClient creates a new PostCheckoutAsyncParams object with the ability to set a custom HTTPClient for a request.
func NewPostCheckoutAsyncParamsWithTimeout ¶
func NewPostCheckoutAsyncParamsWithTimeout(timeout time.Duration) *PostCheckoutAsyncParams
NewPostCheckoutAsyncParamsWithTimeout creates a new PostCheckoutAsyncParams object with the ability to set a timeout on a request.
func (*PostCheckoutAsyncParams) SetContext ¶
func (o *PostCheckoutAsyncParams) SetContext(ctx context.Context)
SetContext adds the context to the post checkout async params
func (*PostCheckoutAsyncParams) SetDefaults ¶
func (o *PostCheckoutAsyncParams) SetDefaults()
SetDefaults hydrates default values in the post checkout async params (not the query body).
All values with no default are reset to their zero value.
func (*PostCheckoutAsyncParams) SetHTTPClient ¶
func (o *PostCheckoutAsyncParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post checkout async params
func (*PostCheckoutAsyncParams) SetOrder ¶
func (o *PostCheckoutAsyncParams) SetOrder(order *models.AssetOrder)
SetOrder adds the order to the post checkout async params
func (*PostCheckoutAsyncParams) SetTimeout ¶
func (o *PostCheckoutAsyncParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post checkout async params
func (*PostCheckoutAsyncParams) WithContext ¶
func (o *PostCheckoutAsyncParams) WithContext(ctx context.Context) *PostCheckoutAsyncParams
WithContext adds the context to the post checkout async params
func (*PostCheckoutAsyncParams) WithDefaults ¶
func (o *PostCheckoutAsyncParams) WithDefaults() *PostCheckoutAsyncParams
WithDefaults hydrates default values in the post checkout async params (not the query body).
All values with no default are reset to their zero value.
func (*PostCheckoutAsyncParams) WithHTTPClient ¶
func (o *PostCheckoutAsyncParams) WithHTTPClient(client *http.Client) *PostCheckoutAsyncParams
WithHTTPClient adds the HTTPClient to the post checkout async params
func (*PostCheckoutAsyncParams) WithOrder ¶
func (o *PostCheckoutAsyncParams) WithOrder(order *models.AssetOrder) *PostCheckoutAsyncParams
WithOrder adds the order to the post checkout async params
func (*PostCheckoutAsyncParams) WithTimeout ¶
func (o *PostCheckoutAsyncParams) WithTimeout(timeout time.Duration) *PostCheckoutAsyncParams
WithTimeout adds the timeout to the post checkout async params
func (*PostCheckoutAsyncParams) WriteToRequest ¶
func (o *PostCheckoutAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostCheckoutAsyncReader ¶
type PostCheckoutAsyncReader struct {
// contains filtered or unexported fields
}
PostCheckoutAsyncReader is a Reader for the PostCheckoutAsync structure.
func (*PostCheckoutAsyncReader) ReadResponse ¶
func (o *PostCheckoutAsyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAssetAsyncOK ¶
type UpdateAssetAsyncOK struct { }
UpdateAssetAsyncOK describes a response with status code 200, with default header values.
Success
func NewUpdateAssetAsyncOK ¶
func NewUpdateAssetAsyncOK() *UpdateAssetAsyncOK
NewUpdateAssetAsyncOK creates a UpdateAssetAsyncOK with default headers values
func (*UpdateAssetAsyncOK) Error ¶
func (o *UpdateAssetAsyncOK) Error() string
type UpdateAssetAsyncParams ¶
type UpdateAssetAsyncParams struct { // Asset. Asset *models.Asset // AssetID. // // Format: int32 AssetID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAssetAsyncParams contains all the parameters to send to the API endpoint
for the update asset async operation. Typically these are written to a http.Request.
func NewUpdateAssetAsyncParams ¶
func NewUpdateAssetAsyncParams() *UpdateAssetAsyncParams
NewUpdateAssetAsyncParams creates a new UpdateAssetAsyncParams 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 NewUpdateAssetAsyncParamsWithContext ¶
func NewUpdateAssetAsyncParamsWithContext(ctx context.Context) *UpdateAssetAsyncParams
NewUpdateAssetAsyncParamsWithContext creates a new UpdateAssetAsyncParams object with the ability to set a context for a request.
func NewUpdateAssetAsyncParamsWithHTTPClient ¶
func NewUpdateAssetAsyncParamsWithHTTPClient(client *http.Client) *UpdateAssetAsyncParams
NewUpdateAssetAsyncParamsWithHTTPClient creates a new UpdateAssetAsyncParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateAssetAsyncParamsWithTimeout ¶
func NewUpdateAssetAsyncParamsWithTimeout(timeout time.Duration) *UpdateAssetAsyncParams
NewUpdateAssetAsyncParamsWithTimeout creates a new UpdateAssetAsyncParams object with the ability to set a timeout on a request.
func (*UpdateAssetAsyncParams) SetAsset ¶
func (o *UpdateAssetAsyncParams) SetAsset(asset *models.Asset)
SetAsset adds the asset to the update asset async params
func (*UpdateAssetAsyncParams) SetAssetID ¶
func (o *UpdateAssetAsyncParams) SetAssetID(assetID int32)
SetAssetID adds the assetId to the update asset async params
func (*UpdateAssetAsyncParams) SetContext ¶
func (o *UpdateAssetAsyncParams) SetContext(ctx context.Context)
SetContext adds the context to the update asset async params
func (*UpdateAssetAsyncParams) SetDefaults ¶
func (o *UpdateAssetAsyncParams) SetDefaults()
SetDefaults hydrates default values in the update asset async params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAssetAsyncParams) SetHTTPClient ¶
func (o *UpdateAssetAsyncParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update asset async params
func (*UpdateAssetAsyncParams) SetTimeout ¶
func (o *UpdateAssetAsyncParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update asset async params
func (*UpdateAssetAsyncParams) WithAsset ¶
func (o *UpdateAssetAsyncParams) WithAsset(asset *models.Asset) *UpdateAssetAsyncParams
WithAsset adds the asset to the update asset async params
func (*UpdateAssetAsyncParams) WithAssetID ¶
func (o *UpdateAssetAsyncParams) WithAssetID(assetID int32) *UpdateAssetAsyncParams
WithAssetID adds the assetID to the update asset async params
func (*UpdateAssetAsyncParams) WithContext ¶
func (o *UpdateAssetAsyncParams) WithContext(ctx context.Context) *UpdateAssetAsyncParams
WithContext adds the context to the update asset async params
func (*UpdateAssetAsyncParams) WithDefaults ¶
func (o *UpdateAssetAsyncParams) WithDefaults() *UpdateAssetAsyncParams
WithDefaults hydrates default values in the update asset async params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAssetAsyncParams) WithHTTPClient ¶
func (o *UpdateAssetAsyncParams) WithHTTPClient(client *http.Client) *UpdateAssetAsyncParams
WithHTTPClient adds the HTTPClient to the update asset async params
func (*UpdateAssetAsyncParams) WithTimeout ¶
func (o *UpdateAssetAsyncParams) WithTimeout(timeout time.Duration) *UpdateAssetAsyncParams
WithTimeout adds the timeout to the update asset async params
func (*UpdateAssetAsyncParams) WriteToRequest ¶
func (o *UpdateAssetAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAssetAsyncReader ¶
type UpdateAssetAsyncReader struct {
// contains filtered or unexported fields
}
UpdateAssetAsyncReader is a Reader for the UpdateAssetAsync structure.
func (*UpdateAssetAsyncReader) ReadResponse ¶
func (o *UpdateAssetAsyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateTagsAsyncOK ¶
type UpdateTagsAsyncOK struct { }
UpdateTagsAsyncOK describes a response with status code 200, with default header values.
Success
func NewUpdateTagsAsyncOK ¶
func NewUpdateTagsAsyncOK() *UpdateTagsAsyncOK
NewUpdateTagsAsyncOK creates a UpdateTagsAsyncOK with default headers values
func (*UpdateTagsAsyncOK) Error ¶
func (o *UpdateTagsAsyncOK) Error() string
type UpdateTagsAsyncParams ¶
type UpdateTagsAsyncParams struct { // AssetID. // // Format: int32 AssetID int32 // AssetTags. AssetTags *models.AssetTags Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateTagsAsyncParams contains all the parameters to send to the API endpoint
for the update tags async operation. Typically these are written to a http.Request.
func NewUpdateTagsAsyncParams ¶
func NewUpdateTagsAsyncParams() *UpdateTagsAsyncParams
NewUpdateTagsAsyncParams creates a new UpdateTagsAsyncParams 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 NewUpdateTagsAsyncParamsWithContext ¶
func NewUpdateTagsAsyncParamsWithContext(ctx context.Context) *UpdateTagsAsyncParams
NewUpdateTagsAsyncParamsWithContext creates a new UpdateTagsAsyncParams object with the ability to set a context for a request.
func NewUpdateTagsAsyncParamsWithHTTPClient ¶
func NewUpdateTagsAsyncParamsWithHTTPClient(client *http.Client) *UpdateTagsAsyncParams
NewUpdateTagsAsyncParamsWithHTTPClient creates a new UpdateTagsAsyncParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateTagsAsyncParamsWithTimeout ¶
func NewUpdateTagsAsyncParamsWithTimeout(timeout time.Duration) *UpdateTagsAsyncParams
NewUpdateTagsAsyncParamsWithTimeout creates a new UpdateTagsAsyncParams object with the ability to set a timeout on a request.
func (*UpdateTagsAsyncParams) SetAssetID ¶
func (o *UpdateTagsAsyncParams) SetAssetID(assetID int32)
SetAssetID adds the assetId to the update tags async params
func (*UpdateTagsAsyncParams) SetAssetTags ¶
func (o *UpdateTagsAsyncParams) SetAssetTags(assetTags *models.AssetTags)
SetAssetTags adds the assetTags to the update tags async params
func (*UpdateTagsAsyncParams) SetContext ¶
func (o *UpdateTagsAsyncParams) SetContext(ctx context.Context)
SetContext adds the context to the update tags async params
func (*UpdateTagsAsyncParams) SetDefaults ¶
func (o *UpdateTagsAsyncParams) SetDefaults()
SetDefaults hydrates default values in the update tags async params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTagsAsyncParams) SetHTTPClient ¶
func (o *UpdateTagsAsyncParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update tags async params
func (*UpdateTagsAsyncParams) SetTimeout ¶
func (o *UpdateTagsAsyncParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update tags async params
func (*UpdateTagsAsyncParams) WithAssetID ¶
func (o *UpdateTagsAsyncParams) WithAssetID(assetID int32) *UpdateTagsAsyncParams
WithAssetID adds the assetID to the update tags async params
func (*UpdateTagsAsyncParams) WithAssetTags ¶
func (o *UpdateTagsAsyncParams) WithAssetTags(assetTags *models.AssetTags) *UpdateTagsAsyncParams
WithAssetTags adds the assetTags to the update tags async params
func (*UpdateTagsAsyncParams) WithContext ¶
func (o *UpdateTagsAsyncParams) WithContext(ctx context.Context) *UpdateTagsAsyncParams
WithContext adds the context to the update tags async params
func (*UpdateTagsAsyncParams) WithDefaults ¶
func (o *UpdateTagsAsyncParams) WithDefaults() *UpdateTagsAsyncParams
WithDefaults hydrates default values in the update tags async params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTagsAsyncParams) WithHTTPClient ¶
func (o *UpdateTagsAsyncParams) WithHTTPClient(client *http.Client) *UpdateTagsAsyncParams
WithHTTPClient adds the HTTPClient to the update tags async params
func (*UpdateTagsAsyncParams) WithTimeout ¶
func (o *UpdateTagsAsyncParams) WithTimeout(timeout time.Duration) *UpdateTagsAsyncParams
WithTimeout adds the timeout to the update tags async params
func (*UpdateTagsAsyncParams) WriteToRequest ¶
func (o *UpdateTagsAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateTagsAsyncReader ¶
type UpdateTagsAsyncReader struct {
// contains filtered or unexported fields
}
UpdateTagsAsyncReader is a Reader for the UpdateTagsAsync structure.
func (*UpdateTagsAsyncReader) ReadResponse ¶
func (o *UpdateTagsAsyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type VerifyAsyncOK ¶
type VerifyAsyncOK struct {
Payload *models.AssetOrder
}
VerifyAsyncOK describes a response with status code 200, with default header values.
Success
func NewVerifyAsyncOK ¶
func NewVerifyAsyncOK() *VerifyAsyncOK
NewVerifyAsyncOK creates a VerifyAsyncOK with default headers values
func (*VerifyAsyncOK) Error ¶
func (o *VerifyAsyncOK) Error() string
func (*VerifyAsyncOK) GetPayload ¶
func (o *VerifyAsyncOK) GetPayload() *models.AssetOrder
type VerifyAsyncParams ¶
type VerifyAsyncParams struct { // Order. Order *models.AssetOrder Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
VerifyAsyncParams contains all the parameters to send to the API endpoint
for the verify async operation. Typically these are written to a http.Request.
func NewVerifyAsyncParams ¶
func NewVerifyAsyncParams() *VerifyAsyncParams
NewVerifyAsyncParams creates a new VerifyAsyncParams 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 NewVerifyAsyncParamsWithContext ¶
func NewVerifyAsyncParamsWithContext(ctx context.Context) *VerifyAsyncParams
NewVerifyAsyncParamsWithContext creates a new VerifyAsyncParams object with the ability to set a context for a request.
func NewVerifyAsyncParamsWithHTTPClient ¶
func NewVerifyAsyncParamsWithHTTPClient(client *http.Client) *VerifyAsyncParams
NewVerifyAsyncParamsWithHTTPClient creates a new VerifyAsyncParams object with the ability to set a custom HTTPClient for a request.
func NewVerifyAsyncParamsWithTimeout ¶
func NewVerifyAsyncParamsWithTimeout(timeout time.Duration) *VerifyAsyncParams
NewVerifyAsyncParamsWithTimeout creates a new VerifyAsyncParams object with the ability to set a timeout on a request.
func (*VerifyAsyncParams) SetContext ¶
func (o *VerifyAsyncParams) SetContext(ctx context.Context)
SetContext adds the context to the verify async params
func (*VerifyAsyncParams) SetDefaults ¶
func (o *VerifyAsyncParams) SetDefaults()
SetDefaults hydrates default values in the verify async params (not the query body).
All values with no default are reset to their zero value.
func (*VerifyAsyncParams) SetHTTPClient ¶
func (o *VerifyAsyncParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the verify async params
func (*VerifyAsyncParams) SetOrder ¶
func (o *VerifyAsyncParams) SetOrder(order *models.AssetOrder)
SetOrder adds the order to the verify async params
func (*VerifyAsyncParams) SetTimeout ¶
func (o *VerifyAsyncParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the verify async params
func (*VerifyAsyncParams) WithContext ¶
func (o *VerifyAsyncParams) WithContext(ctx context.Context) *VerifyAsyncParams
WithContext adds the context to the verify async params
func (*VerifyAsyncParams) WithDefaults ¶
func (o *VerifyAsyncParams) WithDefaults() *VerifyAsyncParams
WithDefaults hydrates default values in the verify async params (not the query body).
All values with no default are reset to their zero value.
func (*VerifyAsyncParams) WithHTTPClient ¶
func (o *VerifyAsyncParams) WithHTTPClient(client *http.Client) *VerifyAsyncParams
WithHTTPClient adds the HTTPClient to the verify async params
func (*VerifyAsyncParams) WithOrder ¶
func (o *VerifyAsyncParams) WithOrder(order *models.AssetOrder) *VerifyAsyncParams
WithOrder adds the order to the verify async params
func (*VerifyAsyncParams) WithTimeout ¶
func (o *VerifyAsyncParams) WithTimeout(timeout time.Duration) *VerifyAsyncParams
WithTimeout adds the timeout to the verify async params
func (*VerifyAsyncParams) WriteToRequest ¶
func (o *VerifyAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VerifyAsyncReader ¶
type VerifyAsyncReader struct {
// contains filtered or unexported fields
}
VerifyAsyncReader is a Reader for the VerifyAsync structure.
func (*VerifyAsyncReader) ReadResponse ¶
func (o *VerifyAsyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_tags_async_parameters.go
- add_tags_async_responses.go
- assets_client.go
- delete_tags_async_parameters.go
- delete_tags_async_responses.go
- get_asset_by_id_parameters.go
- get_asset_by_id_responses.go
- get_asset_orders_async_parameters.go
- get_asset_orders_async_responses.go
- get_assets_parameters.go
- get_assets_responses.go
- post_checkout_async_parameters.go
- post_checkout_async_responses.go
- update_asset_async_parameters.go
- update_asset_async_responses.go
- update_tags_async_parameters.go
- update_tags_async_responses.go
- verify_async_parameters.go
- verify_async_responses.go