reseller_sales_prices

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 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 Client

type Client struct {
	// contains filtered or unexported fields
}

Client for reseller sales prices API

func (*Client) DeleteByFilterAsync

func (a *Client) DeleteByFilterAsync(params *DeleteByFilterAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteByFilterAsyncOK, error)

DeleteByFilterAsync delete by filter async API

func (*Client) GetAsync

func (a *Client) GetAsync(params *GetAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*GetAsyncOK, error)

GetAsync get async API

func (*Client) GetCurrentAsync

func (a *Client) GetCurrentAsync(params *GetCurrentAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentAsyncOK, error)

GetCurrentAsync get current async API

func (*Client) PostAsync

func (a *Client) PostAsync(params *PostAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*PostAsyncOK, error)

PostAsync post async API

func (*Client) PutAsync

func (a *Client) PutAsync(params *PutAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*PutAsyncOK, error)

PutAsync put async API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) ToggleAsync

func (a *Client) ToggleAsync(params *ToggleAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*ToggleAsyncOK, error)

ToggleAsync toggle async API

type ClientService

type ClientService interface {
	DeleteByFilterAsync(params *DeleteByFilterAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteByFilterAsyncOK, error)

	GetAsync(params *GetAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*GetAsyncOK, error)

	GetCurrentAsync(params *GetCurrentAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentAsyncOK, error)

	PostAsync(params *PostAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*PostAsyncOK, error)

	PutAsync(params *PutAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*PutAsyncOK, error)

	ToggleAsync(params *ToggleAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*ToggleAsyncOK, 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 reseller sales prices API client.

type DeleteByFilterAsyncOK

type DeleteByFilterAsyncOK struct {
}

DeleteByFilterAsyncOK handles this case with default header values.

Success

func NewDeleteByFilterAsyncOK

func NewDeleteByFilterAsyncOK() *DeleteByFilterAsyncOK

NewDeleteByFilterAsyncOK creates a DeleteByFilterAsyncOK with default headers values

func (*DeleteByFilterAsyncOK) Error

func (o *DeleteByFilterAsyncOK) Error() string

type DeleteByFilterAsyncParams

type DeleteByFilterAsyncParams struct {

	/*FromDate*/
	FromDate *strfmt.DateTime
	/*ObjectID*/
	ObjectID *int32
	/*ObjectType*/
	ObjectType *string
	/*Type*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteByFilterAsyncParams contains all the parameters to send to the API endpoint for the delete by filter async operation typically these are written to a http.Request

func NewDeleteByFilterAsyncParams

func NewDeleteByFilterAsyncParams() *DeleteByFilterAsyncParams

NewDeleteByFilterAsyncParams creates a new DeleteByFilterAsyncParams object with the default values initialized.

func NewDeleteByFilterAsyncParamsWithContext

func NewDeleteByFilterAsyncParamsWithContext(ctx context.Context) *DeleteByFilterAsyncParams

NewDeleteByFilterAsyncParamsWithContext creates a new DeleteByFilterAsyncParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteByFilterAsyncParamsWithHTTPClient

func NewDeleteByFilterAsyncParamsWithHTTPClient(client *http.Client) *DeleteByFilterAsyncParams

NewDeleteByFilterAsyncParamsWithHTTPClient creates a new DeleteByFilterAsyncParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteByFilterAsyncParamsWithTimeout

func NewDeleteByFilterAsyncParamsWithTimeout(timeout time.Duration) *DeleteByFilterAsyncParams

NewDeleteByFilterAsyncParamsWithTimeout creates a new DeleteByFilterAsyncParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteByFilterAsyncParams) SetContext

func (o *DeleteByFilterAsyncParams) SetContext(ctx context.Context)

SetContext adds the context to the delete by filter async params

func (*DeleteByFilterAsyncParams) SetFromDate

func (o *DeleteByFilterAsyncParams) SetFromDate(fromDate *strfmt.DateTime)

SetFromDate adds the fromDate to the delete by filter async params

func (*DeleteByFilterAsyncParams) SetHTTPClient

func (o *DeleteByFilterAsyncParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete by filter async params

func (*DeleteByFilterAsyncParams) SetObjectID

func (o *DeleteByFilterAsyncParams) SetObjectID(objectID *int32)

SetObjectID adds the objectId to the delete by filter async params

func (*DeleteByFilterAsyncParams) SetObjectType

func (o *DeleteByFilterAsyncParams) SetObjectType(objectType *string)

SetObjectType adds the objectType to the delete by filter async params

func (*DeleteByFilterAsyncParams) SetTimeout

func (o *DeleteByFilterAsyncParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete by filter async params

func (*DeleteByFilterAsyncParams) SetType

func (o *DeleteByFilterAsyncParams) SetType(typeVar *string)

SetType adds the type to the delete by filter async params

func (*DeleteByFilterAsyncParams) WithContext

WithContext adds the context to the delete by filter async params

func (*DeleteByFilterAsyncParams) WithFromDate

WithFromDate adds the fromDate to the delete by filter async params

func (*DeleteByFilterAsyncParams) WithHTTPClient

func (o *DeleteByFilterAsyncParams) WithHTTPClient(client *http.Client) *DeleteByFilterAsyncParams

WithHTTPClient adds the HTTPClient to the delete by filter async params

func (*DeleteByFilterAsyncParams) WithObjectID

func (o *DeleteByFilterAsyncParams) WithObjectID(objectID *int32) *DeleteByFilterAsyncParams

WithObjectID adds the objectID to the delete by filter async params

func (*DeleteByFilterAsyncParams) WithObjectType

func (o *DeleteByFilterAsyncParams) WithObjectType(objectType *string) *DeleteByFilterAsyncParams

WithObjectType adds the objectType to the delete by filter async params

func (*DeleteByFilterAsyncParams) WithTimeout

WithTimeout adds the timeout to the delete by filter async params

func (*DeleteByFilterAsyncParams) WithType

WithType adds the typeVar to the delete by filter async params

func (*DeleteByFilterAsyncParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteByFilterAsyncReader

type DeleteByFilterAsyncReader struct {
	// contains filtered or unexported fields
}

DeleteByFilterAsyncReader is a Reader for the DeleteByFilterAsync structure.

func (*DeleteByFilterAsyncReader) ReadResponse

func (o *DeleteByFilterAsyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAsyncOK

type GetAsyncOK struct {
	Payload []*models.ResellerSalesPrice
}

GetAsyncOK handles this case with default header values.

Success

func NewGetAsyncOK

func NewGetAsyncOK() *GetAsyncOK

NewGetAsyncOK creates a GetAsyncOK with default headers values

func (*GetAsyncOK) Error

func (o *GetAsyncOK) Error() string

func (*GetAsyncOK) GetPayload

func (o *GetAsyncOK) GetPayload() []*models.ResellerSalesPrice

type GetAsyncParams

type GetAsyncParams struct {

	/*FromDate*/
	FromDate *strfmt.DateTime
	/*ObjectID*/
	ObjectID *int32
	/*ObjectType*/
	ObjectType *string
	/*Type*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAsyncParams contains all the parameters to send to the API endpoint for the get async operation typically these are written to a http.Request

func NewGetAsyncParams

func NewGetAsyncParams() *GetAsyncParams

NewGetAsyncParams creates a new GetAsyncParams object with the default values initialized.

func NewGetAsyncParamsWithContext

func NewGetAsyncParamsWithContext(ctx context.Context) *GetAsyncParams

NewGetAsyncParamsWithContext creates a new GetAsyncParams object with the default values initialized, and the ability to set a context for a request

func NewGetAsyncParamsWithHTTPClient

func NewGetAsyncParamsWithHTTPClient(client *http.Client) *GetAsyncParams

NewGetAsyncParamsWithHTTPClient creates a new GetAsyncParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAsyncParamsWithTimeout

func NewGetAsyncParamsWithTimeout(timeout time.Duration) *GetAsyncParams

NewGetAsyncParamsWithTimeout creates a new GetAsyncParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAsyncParams) SetContext

func (o *GetAsyncParams) SetContext(ctx context.Context)

SetContext adds the context to the get async params

func (*GetAsyncParams) SetFromDate

func (o *GetAsyncParams) SetFromDate(fromDate *strfmt.DateTime)

SetFromDate adds the fromDate to the get async params

func (*GetAsyncParams) SetHTTPClient

func (o *GetAsyncParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get async params

func (*GetAsyncParams) SetObjectID

func (o *GetAsyncParams) SetObjectID(objectID *int32)

SetObjectID adds the objectId to the get async params

func (*GetAsyncParams) SetObjectType

func (o *GetAsyncParams) SetObjectType(objectType *string)

SetObjectType adds the objectType to the get async params

func (*GetAsyncParams) SetTimeout

func (o *GetAsyncParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get async params

func (*GetAsyncParams) SetType

func (o *GetAsyncParams) SetType(typeVar *string)

SetType adds the type to the get async params

func (*GetAsyncParams) WithContext

func (o *GetAsyncParams) WithContext(ctx context.Context) *GetAsyncParams

WithContext adds the context to the get async params

func (*GetAsyncParams) WithFromDate

func (o *GetAsyncParams) WithFromDate(fromDate *strfmt.DateTime) *GetAsyncParams

WithFromDate adds the fromDate to the get async params

func (*GetAsyncParams) WithHTTPClient

func (o *GetAsyncParams) WithHTTPClient(client *http.Client) *GetAsyncParams

WithHTTPClient adds the HTTPClient to the get async params

func (*GetAsyncParams) WithObjectID

func (o *GetAsyncParams) WithObjectID(objectID *int32) *GetAsyncParams

WithObjectID adds the objectID to the get async params

func (*GetAsyncParams) WithObjectType

func (o *GetAsyncParams) WithObjectType(objectType *string) *GetAsyncParams

WithObjectType adds the objectType to the get async params

func (*GetAsyncParams) WithTimeout

func (o *GetAsyncParams) WithTimeout(timeout time.Duration) *GetAsyncParams

WithTimeout adds the timeout to the get async params

func (*GetAsyncParams) WithType

func (o *GetAsyncParams) WithType(typeVar *string) *GetAsyncParams

WithType adds the typeVar to the get async params

func (*GetAsyncParams) WriteToRequest

func (o *GetAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAsyncReader

type GetAsyncReader struct {
	// contains filtered or unexported fields
}

GetAsyncReader is a Reader for the GetAsync structure.

func (*GetAsyncReader) ReadResponse

func (o *GetAsyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCurrentAsyncOK

type GetCurrentAsyncOK struct {
	Payload *models.ResellerSalesPrice
}

GetCurrentAsyncOK handles this case with default header values.

Success

func NewGetCurrentAsyncOK

func NewGetCurrentAsyncOK() *GetCurrentAsyncOK

NewGetCurrentAsyncOK creates a GetCurrentAsyncOK with default headers values

func (*GetCurrentAsyncOK) Error

func (o *GetCurrentAsyncOK) Error() string

func (*GetCurrentAsyncOK) GetPayload

func (o *GetCurrentAsyncOK) GetPayload() *models.ResellerSalesPrice

type GetCurrentAsyncParams

type GetCurrentAsyncParams struct {

	/*FromDate*/
	FromDate *strfmt.DateTime
	/*ObjectID*/
	ObjectID *int32
	/*ObjectType*/
	ObjectType *string
	/*Type*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCurrentAsyncParams contains all the parameters to send to the API endpoint for the get current async operation typically these are written to a http.Request

func NewGetCurrentAsyncParams

func NewGetCurrentAsyncParams() *GetCurrentAsyncParams

NewGetCurrentAsyncParams creates a new GetCurrentAsyncParams object with the default values initialized.

func NewGetCurrentAsyncParamsWithContext

func NewGetCurrentAsyncParamsWithContext(ctx context.Context) *GetCurrentAsyncParams

NewGetCurrentAsyncParamsWithContext creates a new GetCurrentAsyncParams object with the default values initialized, and the ability to set a context for a request

func NewGetCurrentAsyncParamsWithHTTPClient

func NewGetCurrentAsyncParamsWithHTTPClient(client *http.Client) *GetCurrentAsyncParams

NewGetCurrentAsyncParamsWithHTTPClient creates a new GetCurrentAsyncParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCurrentAsyncParamsWithTimeout

func NewGetCurrentAsyncParamsWithTimeout(timeout time.Duration) *GetCurrentAsyncParams

NewGetCurrentAsyncParamsWithTimeout creates a new GetCurrentAsyncParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCurrentAsyncParams) SetContext

func (o *GetCurrentAsyncParams) SetContext(ctx context.Context)

SetContext adds the context to the get current async params

func (*GetCurrentAsyncParams) SetFromDate

func (o *GetCurrentAsyncParams) SetFromDate(fromDate *strfmt.DateTime)

SetFromDate adds the fromDate to the get current async params

func (*GetCurrentAsyncParams) SetHTTPClient

func (o *GetCurrentAsyncParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get current async params

func (*GetCurrentAsyncParams) SetObjectID

func (o *GetCurrentAsyncParams) SetObjectID(objectID *int32)

SetObjectID adds the objectId to the get current async params

func (*GetCurrentAsyncParams) SetObjectType

func (o *GetCurrentAsyncParams) SetObjectType(objectType *string)

SetObjectType adds the objectType to the get current async params

func (*GetCurrentAsyncParams) SetTimeout

func (o *GetCurrentAsyncParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get current async params

func (*GetCurrentAsyncParams) SetType

func (o *GetCurrentAsyncParams) SetType(typeVar *string)

SetType adds the type to the get current async params

func (*GetCurrentAsyncParams) WithContext

WithContext adds the context to the get current async params

func (*GetCurrentAsyncParams) WithFromDate

func (o *GetCurrentAsyncParams) WithFromDate(fromDate *strfmt.DateTime) *GetCurrentAsyncParams

WithFromDate adds the fromDate to the get current async params

func (*GetCurrentAsyncParams) WithHTTPClient

func (o *GetCurrentAsyncParams) WithHTTPClient(client *http.Client) *GetCurrentAsyncParams

WithHTTPClient adds the HTTPClient to the get current async params

func (*GetCurrentAsyncParams) WithObjectID

func (o *GetCurrentAsyncParams) WithObjectID(objectID *int32) *GetCurrentAsyncParams

WithObjectID adds the objectID to the get current async params

func (*GetCurrentAsyncParams) WithObjectType

func (o *GetCurrentAsyncParams) WithObjectType(objectType *string) *GetCurrentAsyncParams

WithObjectType adds the objectType to the get current async params

func (*GetCurrentAsyncParams) WithTimeout

func (o *GetCurrentAsyncParams) WithTimeout(timeout time.Duration) *GetCurrentAsyncParams

WithTimeout adds the timeout to the get current async params

func (*GetCurrentAsyncParams) WithType

func (o *GetCurrentAsyncParams) WithType(typeVar *string) *GetCurrentAsyncParams

WithType adds the typeVar to the get current async params

func (*GetCurrentAsyncParams) WriteToRequest

func (o *GetCurrentAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetCurrentAsyncReader

type GetCurrentAsyncReader struct {
	// contains filtered or unexported fields
}

GetCurrentAsyncReader is a Reader for the GetCurrentAsync structure.

func (*GetCurrentAsyncReader) ReadResponse

func (o *GetCurrentAsyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostAsyncOK

type PostAsyncOK struct {
	Payload *models.ResellerSalesPrice
}

PostAsyncOK handles this case with default header values.

Success

func NewPostAsyncOK

func NewPostAsyncOK() *PostAsyncOK

NewPostAsyncOK creates a PostAsyncOK with default headers values

func (*PostAsyncOK) Error

func (o *PostAsyncOK) Error() string

func (*PostAsyncOK) GetPayload

func (o *PostAsyncOK) GetPayload() *models.ResellerSalesPrice

type PostAsyncParams

type PostAsyncParams struct {

	/*ResellerSalesPrice*/
	ResellerSalesPrice *models.ResellerSalesPrice

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostAsyncParams contains all the parameters to send to the API endpoint for the post async operation typically these are written to a http.Request

func NewPostAsyncParams

func NewPostAsyncParams() *PostAsyncParams

NewPostAsyncParams creates a new PostAsyncParams object with the default values initialized.

func NewPostAsyncParamsWithContext

func NewPostAsyncParamsWithContext(ctx context.Context) *PostAsyncParams

NewPostAsyncParamsWithContext creates a new PostAsyncParams object with the default values initialized, and the ability to set a context for a request

func NewPostAsyncParamsWithHTTPClient

func NewPostAsyncParamsWithHTTPClient(client *http.Client) *PostAsyncParams

NewPostAsyncParamsWithHTTPClient creates a new PostAsyncParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostAsyncParamsWithTimeout

func NewPostAsyncParamsWithTimeout(timeout time.Duration) *PostAsyncParams

NewPostAsyncParamsWithTimeout creates a new PostAsyncParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostAsyncParams) SetContext

func (o *PostAsyncParams) SetContext(ctx context.Context)

SetContext adds the context to the post async params

func (*PostAsyncParams) SetHTTPClient

func (o *PostAsyncParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post async params

func (*PostAsyncParams) SetResellerSalesPrice

func (o *PostAsyncParams) SetResellerSalesPrice(resellerSalesPrice *models.ResellerSalesPrice)

SetResellerSalesPrice adds the resellerSalesPrice to the post async params

func (*PostAsyncParams) SetTimeout

func (o *PostAsyncParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post async params

func (*PostAsyncParams) WithContext

func (o *PostAsyncParams) WithContext(ctx context.Context) *PostAsyncParams

WithContext adds the context to the post async params

func (*PostAsyncParams) WithHTTPClient

func (o *PostAsyncParams) WithHTTPClient(client *http.Client) *PostAsyncParams

WithHTTPClient adds the HTTPClient to the post async params

func (*PostAsyncParams) WithResellerSalesPrice

func (o *PostAsyncParams) WithResellerSalesPrice(resellerSalesPrice *models.ResellerSalesPrice) *PostAsyncParams

WithResellerSalesPrice adds the resellerSalesPrice to the post async params

func (*PostAsyncParams) WithTimeout

func (o *PostAsyncParams) WithTimeout(timeout time.Duration) *PostAsyncParams

WithTimeout adds the timeout to the post async params

func (*PostAsyncParams) WriteToRequest

func (o *PostAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostAsyncReader

type PostAsyncReader struct {
	// contains filtered or unexported fields
}

PostAsyncReader is a Reader for the PostAsync structure.

func (*PostAsyncReader) ReadResponse

func (o *PostAsyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutAsyncOK

type PutAsyncOK struct {
	Payload *models.ResellerSalesPrice
}

PutAsyncOK handles this case with default header values.

Success

func NewPutAsyncOK

func NewPutAsyncOK() *PutAsyncOK

NewPutAsyncOK creates a PutAsyncOK with default headers values

func (*PutAsyncOK) Error

func (o *PutAsyncOK) Error() string

func (*PutAsyncOK) GetPayload

func (o *PutAsyncOK) GetPayload() *models.ResellerSalesPrice

type PutAsyncParams

type PutAsyncParams struct {

	/*OldFromDate*/
	OldFromDate strfmt.DateTime
	/*ResellerSalesPrice*/
	ResellerSalesPrice *models.ResellerSalesPrice

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutAsyncParams contains all the parameters to send to the API endpoint for the put async operation typically these are written to a http.Request

func NewPutAsyncParams

func NewPutAsyncParams() *PutAsyncParams

NewPutAsyncParams creates a new PutAsyncParams object with the default values initialized.

func NewPutAsyncParamsWithContext

func NewPutAsyncParamsWithContext(ctx context.Context) *PutAsyncParams

NewPutAsyncParamsWithContext creates a new PutAsyncParams object with the default values initialized, and the ability to set a context for a request

func NewPutAsyncParamsWithHTTPClient

func NewPutAsyncParamsWithHTTPClient(client *http.Client) *PutAsyncParams

NewPutAsyncParamsWithHTTPClient creates a new PutAsyncParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutAsyncParamsWithTimeout

func NewPutAsyncParamsWithTimeout(timeout time.Duration) *PutAsyncParams

NewPutAsyncParamsWithTimeout creates a new PutAsyncParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutAsyncParams) SetContext

func (o *PutAsyncParams) SetContext(ctx context.Context)

SetContext adds the context to the put async params

func (*PutAsyncParams) SetHTTPClient

func (o *PutAsyncParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put async params

func (*PutAsyncParams) SetOldFromDate

func (o *PutAsyncParams) SetOldFromDate(oldFromDate strfmt.DateTime)

SetOldFromDate adds the oldFromDate to the put async params

func (*PutAsyncParams) SetResellerSalesPrice

func (o *PutAsyncParams) SetResellerSalesPrice(resellerSalesPrice *models.ResellerSalesPrice)

SetResellerSalesPrice adds the resellerSalesPrice to the put async params

func (*PutAsyncParams) SetTimeout

func (o *PutAsyncParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put async params

func (*PutAsyncParams) WithContext

func (o *PutAsyncParams) WithContext(ctx context.Context) *PutAsyncParams

WithContext adds the context to the put async params

func (*PutAsyncParams) WithHTTPClient

func (o *PutAsyncParams) WithHTTPClient(client *http.Client) *PutAsyncParams

WithHTTPClient adds the HTTPClient to the put async params

func (*PutAsyncParams) WithOldFromDate

func (o *PutAsyncParams) WithOldFromDate(oldFromDate strfmt.DateTime) *PutAsyncParams

WithOldFromDate adds the oldFromDate to the put async params

func (*PutAsyncParams) WithResellerSalesPrice

func (o *PutAsyncParams) WithResellerSalesPrice(resellerSalesPrice *models.ResellerSalesPrice) *PutAsyncParams

WithResellerSalesPrice adds the resellerSalesPrice to the put async params

func (*PutAsyncParams) WithTimeout

func (o *PutAsyncParams) WithTimeout(timeout time.Duration) *PutAsyncParams

WithTimeout adds the timeout to the put async params

func (*PutAsyncParams) WriteToRequest

func (o *PutAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutAsyncReader

type PutAsyncReader struct {
	// contains filtered or unexported fields
}

PutAsyncReader is a Reader for the PutAsync structure.

func (*PutAsyncReader) ReadResponse

func (o *PutAsyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ToggleAsyncOK

type ToggleAsyncOK struct {
}

ToggleAsyncOK handles this case with default header values.

Success

func NewToggleAsyncOK

func NewToggleAsyncOK() *ToggleAsyncOK

NewToggleAsyncOK creates a ToggleAsyncOK with default headers values

func (*ToggleAsyncOK) Error

func (o *ToggleAsyncOK) Error() string

type ToggleAsyncParams

type ToggleAsyncParams struct {

	/*ResellerSalesPriceToggle*/
	ResellerSalesPriceToggle *models.ResellerSalesPriceToggle

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ToggleAsyncParams contains all the parameters to send to the API endpoint for the toggle async operation typically these are written to a http.Request

func NewToggleAsyncParams

func NewToggleAsyncParams() *ToggleAsyncParams

NewToggleAsyncParams creates a new ToggleAsyncParams object with the default values initialized.

func NewToggleAsyncParamsWithContext

func NewToggleAsyncParamsWithContext(ctx context.Context) *ToggleAsyncParams

NewToggleAsyncParamsWithContext creates a new ToggleAsyncParams object with the default values initialized, and the ability to set a context for a request

func NewToggleAsyncParamsWithHTTPClient

func NewToggleAsyncParamsWithHTTPClient(client *http.Client) *ToggleAsyncParams

NewToggleAsyncParamsWithHTTPClient creates a new ToggleAsyncParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewToggleAsyncParamsWithTimeout

func NewToggleAsyncParamsWithTimeout(timeout time.Duration) *ToggleAsyncParams

NewToggleAsyncParamsWithTimeout creates a new ToggleAsyncParams object with the default values initialized, and the ability to set a timeout on a request

func (*ToggleAsyncParams) SetContext

func (o *ToggleAsyncParams) SetContext(ctx context.Context)

SetContext adds the context to the toggle async params

func (*ToggleAsyncParams) SetHTTPClient

func (o *ToggleAsyncParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the toggle async params

func (*ToggleAsyncParams) SetResellerSalesPriceToggle

func (o *ToggleAsyncParams) SetResellerSalesPriceToggle(resellerSalesPriceToggle *models.ResellerSalesPriceToggle)

SetResellerSalesPriceToggle adds the resellerSalesPriceToggle to the toggle async params

func (*ToggleAsyncParams) SetTimeout

func (o *ToggleAsyncParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the toggle async params

func (*ToggleAsyncParams) WithContext

func (o *ToggleAsyncParams) WithContext(ctx context.Context) *ToggleAsyncParams

WithContext adds the context to the toggle async params

func (*ToggleAsyncParams) WithHTTPClient

func (o *ToggleAsyncParams) WithHTTPClient(client *http.Client) *ToggleAsyncParams

WithHTTPClient adds the HTTPClient to the toggle async params

func (*ToggleAsyncParams) WithResellerSalesPriceToggle

func (o *ToggleAsyncParams) WithResellerSalesPriceToggle(resellerSalesPriceToggle *models.ResellerSalesPriceToggle) *ToggleAsyncParams

WithResellerSalesPriceToggle adds the resellerSalesPriceToggle to the toggle async params

func (*ToggleAsyncParams) WithTimeout

func (o *ToggleAsyncParams) WithTimeout(timeout time.Duration) *ToggleAsyncParams

WithTimeout adds the timeout to the toggle async params

func (*ToggleAsyncParams) WriteToRequest

func (o *ToggleAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ToggleAsyncReader

type ToggleAsyncReader struct {
	// contains filtered or unexported fields
}

ToggleAsyncReader is a Reader for the ToggleAsync structure.

func (*ToggleAsyncReader) ReadResponse

func (o *ToggleAsyncReader) 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