assets

package
v0.0.0-...-4ac4f36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

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

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

type GetAssetByIDOK struct {
	Payload *models.Asset
}
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

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

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

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

WithContext adds the context to the get asset orders async params

func (*GetAssetOrdersAsyncParams) WithDefaults

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

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

WithSearch adds the search to the get asset orders async params

func (*GetAssetOrdersAsyncParams) WithSortBy

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

WithStatus adds the status to the get asset orders async params

func (*GetAssetOrdersAsyncParams) WithTimeout

WithTimeout adds the timeout to the get asset orders async params

func (*GetAssetOrdersAsyncParams) WriteToRequest

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

WithContext adds the context to the post checkout async params

func (*PostCheckoutAsyncParams) WithDefaults

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

WithOrder adds the order to the post checkout async params

func (*PostCheckoutAsyncParams) WithTimeout

WithTimeout adds the timeout to the post checkout async params

func (*PostCheckoutAsyncParams) WriteToRequest

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

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

WithContext adds the context to the update asset async params

func (*UpdateAssetAsyncParams) WithDefaults

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

WithTimeout adds the timeout to the update asset async params

func (*UpdateAssetAsyncParams) WriteToRequest

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL