bundle_management

package
v0.0.0-...-33e56a9 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2025 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	/*
	   CreateSkuBundle creates s k u bundle

	   Creates a new sku bundle*/
	CreateSkuBundle(ctx context.Context, params *CreateSkuBundleParams) (*CreateSkuBundleCreated, error)
	/*
	   GetSkuBundle gets specific sku bundle

	   get sku bundle with given id*/
	GetSkuBundle(ctx context.Context, params *GetSkuBundleParams) (*GetSkuBundleOK, error)
	/*
	   GetSkuBundleByName gets specific sku bundle

	   get sku bundle with given name*/
	GetSkuBundleByName(ctx context.Context, params *GetSkuBundleByNameParams) (*GetSkuBundleByNameOK, error)
	/*
	   ListSkuBundles lists s k u bundles

	   lists all sku bundles*/
	ListSkuBundles(ctx context.Context, params *ListSkuBundlesParams) (*ListSkuBundlesOK, error)
	/*
	   UpdateSkuBundle updates specific sku bundle

	   Update sku bundle with given id*/
	UpdateSkuBundle(ctx context.Context, params *UpdateSkuBundleParams) (*UpdateSkuBundleOK, error)
}

API is the interface of the bundle management client

type Client

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

Client for bundle management API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client

New creates a new bundle management API client.

func (*Client) CreateSkuBundle

func (a *Client) CreateSkuBundle(ctx context.Context, params *CreateSkuBundleParams) (*CreateSkuBundleCreated, error)

CreateSkuBundle creates s k u bundle

Creates a new sku bundle

func (*Client) GetSkuBundle

func (a *Client) GetSkuBundle(ctx context.Context, params *GetSkuBundleParams) (*GetSkuBundleOK, error)

GetSkuBundle gets specific sku bundle

get sku bundle with given id

func (*Client) GetSkuBundleByName

func (a *Client) GetSkuBundleByName(ctx context.Context, params *GetSkuBundleByNameParams) (*GetSkuBundleByNameOK, error)

GetSkuBundleByName gets specific sku bundle

get sku bundle with given name

func (*Client) ListSkuBundles

func (a *Client) ListSkuBundles(ctx context.Context, params *ListSkuBundlesParams) (*ListSkuBundlesOK, error)

ListSkuBundles lists s k u bundles

lists all sku bundles

func (*Client) UpdateSkuBundle

func (a *Client) UpdateSkuBundle(ctx context.Context, params *UpdateSkuBundleParams) (*UpdateSkuBundleOK, error)

UpdateSkuBundle updates specific sku bundle

Update sku bundle with given id

type CreateSkuBundleBadRequest

type CreateSkuBundleBadRequest struct {
}

CreateSkuBundleBadRequest handles this case with default header values.

invalid input, object invalid

func NewCreateSkuBundleBadRequest

func NewCreateSkuBundleBadRequest() *CreateSkuBundleBadRequest

NewCreateSkuBundleBadRequest creates a CreateSkuBundleBadRequest with default headers values

func (*CreateSkuBundleBadRequest) Error

func (o *CreateSkuBundleBadRequest) Error() string

type CreateSkuBundleConflict

type CreateSkuBundleConflict struct {
	Payload *models.ErrorResponse
}

CreateSkuBundleConflict handles this case with default header values.

an existing item already exists

func NewCreateSkuBundleConflict

func NewCreateSkuBundleConflict() *CreateSkuBundleConflict

NewCreateSkuBundleConflict creates a CreateSkuBundleConflict with default headers values

func (*CreateSkuBundleConflict) Error

func (o *CreateSkuBundleConflict) Error() string

func (*CreateSkuBundleConflict) GetPayload

func (o *CreateSkuBundleConflict) GetPayload() *models.ErrorResponse

type CreateSkuBundleCreated

type CreateSkuBundleCreated struct {
	Payload *models.ItemCreatedResponse
}

CreateSkuBundleCreated handles this case with default header values.

item created

func NewCreateSkuBundleCreated

func NewCreateSkuBundleCreated() *CreateSkuBundleCreated

NewCreateSkuBundleCreated creates a CreateSkuBundleCreated with default headers values

func (*CreateSkuBundleCreated) Error

func (o *CreateSkuBundleCreated) Error() string

func (*CreateSkuBundleCreated) GetPayload

type CreateSkuBundleInternalServerError

type CreateSkuBundleInternalServerError struct {
	Payload *models.ErrorResponse
}

CreateSkuBundleInternalServerError handles this case with default header values.

unexpected error

func NewCreateSkuBundleInternalServerError

func NewCreateSkuBundleInternalServerError() *CreateSkuBundleInternalServerError

NewCreateSkuBundleInternalServerError creates a CreateSkuBundleInternalServerError with default headers values

func (*CreateSkuBundleInternalServerError) Error

func (*CreateSkuBundleInternalServerError) GetPayload

type CreateSkuBundleParams

type CreateSkuBundleParams struct {

	/*Bundle
	  SKU bundle to be added

	*/
	Bundle *models.SkuBundle

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

CreateSkuBundleParams contains all the parameters to send to the API endpoint for the create sku bundle operation typically these are written to a http.Request

func NewCreateSkuBundleParams

func NewCreateSkuBundleParams() *CreateSkuBundleParams

NewCreateSkuBundleParams creates a new CreateSkuBundleParams object with the default values initialized.

func NewCreateSkuBundleParamsWithContext

func NewCreateSkuBundleParamsWithContext(ctx context.Context) *CreateSkuBundleParams

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

func NewCreateSkuBundleParamsWithHTTPClient

func NewCreateSkuBundleParamsWithHTTPClient(client *http.Client) *CreateSkuBundleParams

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

func NewCreateSkuBundleParamsWithTimeout

func NewCreateSkuBundleParamsWithTimeout(timeout time.Duration) *CreateSkuBundleParams

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

func (*CreateSkuBundleParams) SetBundle

func (o *CreateSkuBundleParams) SetBundle(bundle *models.SkuBundle)

SetBundle adds the bundle to the create sku bundle params

func (*CreateSkuBundleParams) SetContext

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

SetContext adds the context to the create sku bundle params

func (*CreateSkuBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create sku bundle params

func (*CreateSkuBundleParams) SetTimeout

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

SetTimeout adds the timeout to the create sku bundle params

func (*CreateSkuBundleParams) WithBundle

WithBundle adds the bundle to the create sku bundle params

func (*CreateSkuBundleParams) WithContext

WithContext adds the context to the create sku bundle params

func (*CreateSkuBundleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create sku bundle params

func (*CreateSkuBundleParams) WithTimeout

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

WithTimeout adds the timeout to the create sku bundle params

func (*CreateSkuBundleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateSkuBundleReader

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

CreateSkuBundleReader is a Reader for the CreateSkuBundle structure.

func (*CreateSkuBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSkuBundleByNameInternalServerError

type GetSkuBundleByNameInternalServerError struct {
	Payload *models.ErrorResponse
}

GetSkuBundleByNameInternalServerError handles this case with default header values.

unexpected error

func NewGetSkuBundleByNameInternalServerError

func NewGetSkuBundleByNameInternalServerError() *GetSkuBundleByNameInternalServerError

NewGetSkuBundleByNameInternalServerError creates a GetSkuBundleByNameInternalServerError with default headers values

func (*GetSkuBundleByNameInternalServerError) Error

func (*GetSkuBundleByNameInternalServerError) GetPayload

type GetSkuBundleByNameNotFound

type GetSkuBundleByNameNotFound struct {
	Payload *models.ErrorResponse
}

GetSkuBundleByNameNotFound handles this case with default header values.

sku bundle with name not found

func NewGetSkuBundleByNameNotFound

func NewGetSkuBundleByNameNotFound() *GetSkuBundleByNameNotFound

NewGetSkuBundleByNameNotFound creates a GetSkuBundleByNameNotFound with default headers values

func (*GetSkuBundleByNameNotFound) Error

func (*GetSkuBundleByNameNotFound) GetPayload

type GetSkuBundleByNameOK

type GetSkuBundleByNameOK struct {
	Payload *models.SkuBundle
}

GetSkuBundleByNameOK handles this case with default header values.

sku bundle returned

func NewGetSkuBundleByNameOK

func NewGetSkuBundleByNameOK() *GetSkuBundleByNameOK

NewGetSkuBundleByNameOK creates a GetSkuBundleByNameOK with default headers values

func (*GetSkuBundleByNameOK) Error

func (o *GetSkuBundleByNameOK) Error() string

func (*GetSkuBundleByNameOK) GetPayload

func (o *GetSkuBundleByNameOK) GetPayload() *models.SkuBundle

type GetSkuBundleByNameParams

type GetSkuBundleByNameParams struct {

	/*Name
	  Id of sku bundle to be obtained

	*/
	Name string

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

GetSkuBundleByNameParams contains all the parameters to send to the API endpoint for the get sku bundle by name operation typically these are written to a http.Request

func NewGetSkuBundleByNameParams

func NewGetSkuBundleByNameParams() *GetSkuBundleByNameParams

NewGetSkuBundleByNameParams creates a new GetSkuBundleByNameParams object with the default values initialized.

func NewGetSkuBundleByNameParamsWithContext

func NewGetSkuBundleByNameParamsWithContext(ctx context.Context) *GetSkuBundleByNameParams

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

func NewGetSkuBundleByNameParamsWithHTTPClient

func NewGetSkuBundleByNameParamsWithHTTPClient(client *http.Client) *GetSkuBundleByNameParams

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

func NewGetSkuBundleByNameParamsWithTimeout

func NewGetSkuBundleByNameParamsWithTimeout(timeout time.Duration) *GetSkuBundleByNameParams

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

func (*GetSkuBundleByNameParams) SetContext

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

SetContext adds the context to the get sku bundle by name params

func (*GetSkuBundleByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get sku bundle by name params

func (*GetSkuBundleByNameParams) SetName

func (o *GetSkuBundleByNameParams) SetName(name string)

SetName adds the name to the get sku bundle by name params

func (*GetSkuBundleByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get sku bundle by name params

func (*GetSkuBundleByNameParams) WithContext

WithContext adds the context to the get sku bundle by name params

func (*GetSkuBundleByNameParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get sku bundle by name params

func (*GetSkuBundleByNameParams) WithName

WithName adds the name to the get sku bundle by name params

func (*GetSkuBundleByNameParams) WithTimeout

WithTimeout adds the timeout to the get sku bundle by name params

func (*GetSkuBundleByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSkuBundleByNameReader

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

GetSkuBundleByNameReader is a Reader for the GetSkuBundleByName structure.

func (*GetSkuBundleByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSkuBundleInternalServerError

type GetSkuBundleInternalServerError struct {
	Payload *models.ErrorResponse
}

GetSkuBundleInternalServerError handles this case with default header values.

unexpected error

func NewGetSkuBundleInternalServerError

func NewGetSkuBundleInternalServerError() *GetSkuBundleInternalServerError

NewGetSkuBundleInternalServerError creates a GetSkuBundleInternalServerError with default headers values

func (*GetSkuBundleInternalServerError) Error

func (*GetSkuBundleInternalServerError) GetPayload

type GetSkuBundleNotFound

type GetSkuBundleNotFound struct {
	Payload *models.ErrorResponse
}

GetSkuBundleNotFound handles this case with default header values.

sku bundle with id not found

func NewGetSkuBundleNotFound

func NewGetSkuBundleNotFound() *GetSkuBundleNotFound

NewGetSkuBundleNotFound creates a GetSkuBundleNotFound with default headers values

func (*GetSkuBundleNotFound) Error

func (o *GetSkuBundleNotFound) Error() string

func (*GetSkuBundleNotFound) GetPayload

func (o *GetSkuBundleNotFound) GetPayload() *models.ErrorResponse

type GetSkuBundleOK

type GetSkuBundleOK struct {
	Payload *models.SkuBundle
}

GetSkuBundleOK handles this case with default header values.

sku bundle returned

func NewGetSkuBundleOK

func NewGetSkuBundleOK() *GetSkuBundleOK

NewGetSkuBundleOK creates a GetSkuBundleOK with default headers values

func (*GetSkuBundleOK) Error

func (o *GetSkuBundleOK) Error() string

func (*GetSkuBundleOK) GetPayload

func (o *GetSkuBundleOK) GetPayload() *models.SkuBundle

type GetSkuBundleParams

type GetSkuBundleParams struct {

	/*ID
	  Id of sku bundle to be obtained

	*/
	ID string

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

GetSkuBundleParams contains all the parameters to send to the API endpoint for the get sku bundle operation typically these are written to a http.Request

func NewGetSkuBundleParams

func NewGetSkuBundleParams() *GetSkuBundleParams

NewGetSkuBundleParams creates a new GetSkuBundleParams object with the default values initialized.

func NewGetSkuBundleParamsWithContext

func NewGetSkuBundleParamsWithContext(ctx context.Context) *GetSkuBundleParams

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

func NewGetSkuBundleParamsWithHTTPClient

func NewGetSkuBundleParamsWithHTTPClient(client *http.Client) *GetSkuBundleParams

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

func NewGetSkuBundleParamsWithTimeout

func NewGetSkuBundleParamsWithTimeout(timeout time.Duration) *GetSkuBundleParams

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

func (*GetSkuBundleParams) SetContext

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

SetContext adds the context to the get sku bundle params

func (*GetSkuBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get sku bundle params

func (*GetSkuBundleParams) SetID

func (o *GetSkuBundleParams) SetID(id string)

SetID adds the id to the get sku bundle params

func (*GetSkuBundleParams) SetTimeout

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

SetTimeout adds the timeout to the get sku bundle params

func (*GetSkuBundleParams) WithContext

WithContext adds the context to the get sku bundle params

func (*GetSkuBundleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get sku bundle params

func (*GetSkuBundleParams) WithID

WithID adds the id to the get sku bundle params

func (*GetSkuBundleParams) WithTimeout

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

WithTimeout adds the timeout to the get sku bundle params

func (*GetSkuBundleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSkuBundleReader

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

GetSkuBundleReader is a Reader for the GetSkuBundle structure.

func (*GetSkuBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListSkuBundlesInternalServerError

type ListSkuBundlesInternalServerError struct {
	Payload *models.ErrorResponse
}

ListSkuBundlesInternalServerError handles this case with default header values.

unexpected error

func NewListSkuBundlesInternalServerError

func NewListSkuBundlesInternalServerError() *ListSkuBundlesInternalServerError

NewListSkuBundlesInternalServerError creates a ListSkuBundlesInternalServerError with default headers values

func (*ListSkuBundlesInternalServerError) Error

func (*ListSkuBundlesInternalServerError) GetPayload

type ListSkuBundlesOK

type ListSkuBundlesOK struct {
	Payload []*models.SkuBundle
}

ListSkuBundlesOK handles this case with default header values.

list of skus bundles returned

func NewListSkuBundlesOK

func NewListSkuBundlesOK() *ListSkuBundlesOK

NewListSkuBundlesOK creates a ListSkuBundlesOK with default headers values

func (*ListSkuBundlesOK) Error

func (o *ListSkuBundlesOK) Error() string

func (*ListSkuBundlesOK) GetPayload

func (o *ListSkuBundlesOK) GetPayload() []*models.SkuBundle

type ListSkuBundlesParams

type ListSkuBundlesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListSkuBundlesParams contains all the parameters to send to the API endpoint for the list sku bundles operation typically these are written to a http.Request

func NewListSkuBundlesParams

func NewListSkuBundlesParams() *ListSkuBundlesParams

NewListSkuBundlesParams creates a new ListSkuBundlesParams object with the default values initialized.

func NewListSkuBundlesParamsWithContext

func NewListSkuBundlesParamsWithContext(ctx context.Context) *ListSkuBundlesParams

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

func NewListSkuBundlesParamsWithHTTPClient

func NewListSkuBundlesParamsWithHTTPClient(client *http.Client) *ListSkuBundlesParams

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

func NewListSkuBundlesParamsWithTimeout

func NewListSkuBundlesParamsWithTimeout(timeout time.Duration) *ListSkuBundlesParams

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

func (*ListSkuBundlesParams) SetContext

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

SetContext adds the context to the list sku bundles params

func (*ListSkuBundlesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list sku bundles params

func (*ListSkuBundlesParams) SetTimeout

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

SetTimeout adds the timeout to the list sku bundles params

func (*ListSkuBundlesParams) WithContext

WithContext adds the context to the list sku bundles params

func (*ListSkuBundlesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list sku bundles params

func (*ListSkuBundlesParams) WithTimeout

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

WithTimeout adds the timeout to the list sku bundles params

func (*ListSkuBundlesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListSkuBundlesReader

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

ListSkuBundlesReader is a Reader for the ListSkuBundles structure.

func (*ListSkuBundlesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateSkuBundleInternalServerError

type UpdateSkuBundleInternalServerError struct {
	Payload *models.ErrorResponse
}

UpdateSkuBundleInternalServerError handles this case with default header values.

unexpected error

func NewUpdateSkuBundleInternalServerError

func NewUpdateSkuBundleInternalServerError() *UpdateSkuBundleInternalServerError

NewUpdateSkuBundleInternalServerError creates a UpdateSkuBundleInternalServerError with default headers values

func (*UpdateSkuBundleInternalServerError) Error

func (*UpdateSkuBundleInternalServerError) GetPayload

type UpdateSkuBundleNotFound

type UpdateSkuBundleNotFound struct {
	Payload *models.ErrorResponse
}

UpdateSkuBundleNotFound handles this case with default header values.

sku bundle with id not found

func NewUpdateSkuBundleNotFound

func NewUpdateSkuBundleNotFound() *UpdateSkuBundleNotFound

NewUpdateSkuBundleNotFound creates a UpdateSkuBundleNotFound with default headers values

func (*UpdateSkuBundleNotFound) Error

func (o *UpdateSkuBundleNotFound) Error() string

func (*UpdateSkuBundleNotFound) GetPayload

func (o *UpdateSkuBundleNotFound) GetPayload() *models.ErrorResponse

type UpdateSkuBundleOK

type UpdateSkuBundleOK struct {
	Payload *models.SkuBundle
}

UpdateSkuBundleOK handles this case with default header values.

updated sku bundle

func NewUpdateSkuBundleOK

func NewUpdateSkuBundleOK() *UpdateSkuBundleOK

NewUpdateSkuBundleOK creates a UpdateSkuBundleOK with default headers values

func (*UpdateSkuBundleOK) Error

func (o *UpdateSkuBundleOK) Error() string

func (*UpdateSkuBundleOK) GetPayload

func (o *UpdateSkuBundleOK) GetPayload() *models.SkuBundle

type UpdateSkuBundleParams

type UpdateSkuBundleParams struct {

	/*Bundle
	  updated sku bundle containing all parameters except id

	*/
	Bundle *models.SkuBundle
	/*ID
	  Id of sku bundle to be obtained

	*/
	ID string

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

UpdateSkuBundleParams contains all the parameters to send to the API endpoint for the update sku bundle operation typically these are written to a http.Request

func NewUpdateSkuBundleParams

func NewUpdateSkuBundleParams() *UpdateSkuBundleParams

NewUpdateSkuBundleParams creates a new UpdateSkuBundleParams object with the default values initialized.

func NewUpdateSkuBundleParamsWithContext

func NewUpdateSkuBundleParamsWithContext(ctx context.Context) *UpdateSkuBundleParams

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

func NewUpdateSkuBundleParamsWithHTTPClient

func NewUpdateSkuBundleParamsWithHTTPClient(client *http.Client) *UpdateSkuBundleParams

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

func NewUpdateSkuBundleParamsWithTimeout

func NewUpdateSkuBundleParamsWithTimeout(timeout time.Duration) *UpdateSkuBundleParams

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

func (*UpdateSkuBundleParams) SetBundle

func (o *UpdateSkuBundleParams) SetBundle(bundle *models.SkuBundle)

SetBundle adds the bundle to the update sku bundle params

func (*UpdateSkuBundleParams) SetContext

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

SetContext adds the context to the update sku bundle params

func (*UpdateSkuBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update sku bundle params

func (*UpdateSkuBundleParams) SetID

func (o *UpdateSkuBundleParams) SetID(id string)

SetID adds the id to the update sku bundle params

func (*UpdateSkuBundleParams) SetTimeout

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

SetTimeout adds the timeout to the update sku bundle params

func (*UpdateSkuBundleParams) WithBundle

WithBundle adds the bundle to the update sku bundle params

func (*UpdateSkuBundleParams) WithContext

WithContext adds the context to the update sku bundle params

func (*UpdateSkuBundleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update sku bundle params

func (*UpdateSkuBundleParams) WithID

WithID adds the id to the update sku bundle params

func (*UpdateSkuBundleParams) WithTimeout

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

WithTimeout adds the timeout to the update sku bundle params

func (*UpdateSkuBundleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateSkuBundleReader

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

UpdateSkuBundleReader is a Reader for the UpdateSkuBundle structure.

func (*UpdateSkuBundleReader) ReadResponse

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