store

package
v0.0.0-...-76fafce Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 10 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 store API

func (*Client) CreateStore

func (a *Client) CreateStore(params *CreateStoreParams, opts ...ClientOption) (*CreateStoreOK, error)

CreateStore creates a new store

func (*Client) GetStore

func (a *Client) GetStore(params *GetStoreParams, opts ...ClientOption) (*GetStoreOK, error)

GetStore gets a store

func (*Client) GetStores

func (a *Client) GetStores(params *GetStoresParams, opts ...ClientOption) (*GetStoresOK, error)

GetStores gets a list of stores

func (*Client) RebrandStore

func (a *Client) RebrandStore(params *RebrandStoreParams, opts ...ClientOption) (*RebrandStoreOK, error)

RebrandStore rebrand store API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateStore(params *CreateStoreParams, opts ...ClientOption) (*CreateStoreOK, error)

	GetStore(params *GetStoreParams, opts ...ClientOption) (*GetStoreOK, error)

	GetStores(params *GetStoresParams, opts ...ClientOption) (*GetStoresOK, error)

	RebrandStore(params *RebrandStoreParams, opts ...ClientOption) (*RebrandStoreOK, 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 store API client.

type CreateStoreDefault

type CreateStoreDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}
CreateStoreDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreateStoreDefault

func NewCreateStoreDefault(code int) *CreateStoreDefault

NewCreateStoreDefault creates a CreateStoreDefault with default headers values

func (*CreateStoreDefault) Code

func (o *CreateStoreDefault) Code() int

Code gets the status code for the create store default response

func (*CreateStoreDefault) Error

func (o *CreateStoreDefault) Error() string

func (*CreateStoreDefault) GetPayload

func (o *CreateStoreDefault) GetPayload() *models.RPCStatus

func (*CreateStoreDefault) IsClientError

func (o *CreateStoreDefault) IsClientError() bool

IsClientError returns true when this create store default response has a 4xx status code

func (*CreateStoreDefault) IsCode

func (o *CreateStoreDefault) IsCode(code int) bool

IsCode returns true when this create store default response a status code equal to that given

func (*CreateStoreDefault) IsRedirect

func (o *CreateStoreDefault) IsRedirect() bool

IsRedirect returns true when this create store default response has a 3xx status code

func (*CreateStoreDefault) IsServerError

func (o *CreateStoreDefault) IsServerError() bool

IsServerError returns true when this create store default response has a 5xx status code

func (*CreateStoreDefault) IsSuccess

func (o *CreateStoreDefault) IsSuccess() bool

IsSuccess returns true when this create store default response has a 2xx status code

func (*CreateStoreDefault) String

func (o *CreateStoreDefault) String() string

type CreateStoreOK

type CreateStoreOK struct {
	Payload *models.StorespbCreateStoreResponse
}
CreateStoreOK describes a response with status code 200, with default header values.

A successful response.

func NewCreateStoreOK

func NewCreateStoreOK() *CreateStoreOK

NewCreateStoreOK creates a CreateStoreOK with default headers values

func (*CreateStoreOK) Error

func (o *CreateStoreOK) Error() string

func (*CreateStoreOK) GetPayload

func (*CreateStoreOK) IsClientError

func (o *CreateStoreOK) IsClientError() bool

IsClientError returns true when this create store o k response has a 4xx status code

func (*CreateStoreOK) IsCode

func (o *CreateStoreOK) IsCode(code int) bool

IsCode returns true when this create store o k response a status code equal to that given

func (*CreateStoreOK) IsRedirect

func (o *CreateStoreOK) IsRedirect() bool

IsRedirect returns true when this create store o k response has a 3xx status code

func (*CreateStoreOK) IsServerError

func (o *CreateStoreOK) IsServerError() bool

IsServerError returns true when this create store o k response has a 5xx status code

func (*CreateStoreOK) IsSuccess

func (o *CreateStoreOK) IsSuccess() bool

IsSuccess returns true when this create store o k response has a 2xx status code

func (*CreateStoreOK) String

func (o *CreateStoreOK) String() string

type CreateStoreParams

type CreateStoreParams struct {

	// Body.
	Body *models.StorespbCreateStoreRequest

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

CreateStoreParams contains all the parameters to send to the API endpoint

for the create store operation.

Typically these are written to a http.Request.

func NewCreateStoreParams

func NewCreateStoreParams() *CreateStoreParams

NewCreateStoreParams creates a new CreateStoreParams 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 NewCreateStoreParamsWithContext

func NewCreateStoreParamsWithContext(ctx context.Context) *CreateStoreParams

NewCreateStoreParamsWithContext creates a new CreateStoreParams object with the ability to set a context for a request.

func NewCreateStoreParamsWithHTTPClient

func NewCreateStoreParamsWithHTTPClient(client *http.Client) *CreateStoreParams

NewCreateStoreParamsWithHTTPClient creates a new CreateStoreParams object with the ability to set a custom HTTPClient for a request.

func NewCreateStoreParamsWithTimeout

func NewCreateStoreParamsWithTimeout(timeout time.Duration) *CreateStoreParams

NewCreateStoreParamsWithTimeout creates a new CreateStoreParams object with the ability to set a timeout on a request.

func (*CreateStoreParams) SetBody

SetBody adds the body to the create store params

func (*CreateStoreParams) SetContext

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

SetContext adds the context to the create store params

func (*CreateStoreParams) SetDefaults

func (o *CreateStoreParams) SetDefaults()

SetDefaults hydrates default values in the create store params (not the query body).

All values with no default are reset to their zero value.

func (*CreateStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create store params

func (*CreateStoreParams) SetTimeout

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

SetTimeout adds the timeout to the create store params

func (*CreateStoreParams) WithBody

WithBody adds the body to the create store params

func (*CreateStoreParams) WithContext

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

WithContext adds the context to the create store params

func (*CreateStoreParams) WithDefaults

func (o *CreateStoreParams) WithDefaults() *CreateStoreParams

WithDefaults hydrates default values in the create store params (not the query body).

All values with no default are reset to their zero value.

func (*CreateStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create store params

func (*CreateStoreParams) WithTimeout

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

WithTimeout adds the timeout to the create store params

func (*CreateStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateStoreReader

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

CreateStoreReader is a Reader for the CreateStore structure.

func (*CreateStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStoreDefault

type GetStoreDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}
GetStoreDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetStoreDefault

func NewGetStoreDefault(code int) *GetStoreDefault

NewGetStoreDefault creates a GetStoreDefault with default headers values

func (*GetStoreDefault) Code

func (o *GetStoreDefault) Code() int

Code gets the status code for the get store default response

func (*GetStoreDefault) Error

func (o *GetStoreDefault) Error() string

func (*GetStoreDefault) GetPayload

func (o *GetStoreDefault) GetPayload() *models.RPCStatus

func (*GetStoreDefault) IsClientError

func (o *GetStoreDefault) IsClientError() bool

IsClientError returns true when this get store default response has a 4xx status code

func (*GetStoreDefault) IsCode

func (o *GetStoreDefault) IsCode(code int) bool

IsCode returns true when this get store default response a status code equal to that given

func (*GetStoreDefault) IsRedirect

func (o *GetStoreDefault) IsRedirect() bool

IsRedirect returns true when this get store default response has a 3xx status code

func (*GetStoreDefault) IsServerError

func (o *GetStoreDefault) IsServerError() bool

IsServerError returns true when this get store default response has a 5xx status code

func (*GetStoreDefault) IsSuccess

func (o *GetStoreDefault) IsSuccess() bool

IsSuccess returns true when this get store default response has a 2xx status code

func (*GetStoreDefault) String

func (o *GetStoreDefault) String() string

type GetStoreOK

type GetStoreOK struct {
	Payload *models.StorespbGetStoreResponse
}
GetStoreOK describes a response with status code 200, with default header values.

A successful response.

func NewGetStoreOK

func NewGetStoreOK() *GetStoreOK

NewGetStoreOK creates a GetStoreOK with default headers values

func (*GetStoreOK) Error

func (o *GetStoreOK) Error() string

func (*GetStoreOK) GetPayload

func (o *GetStoreOK) GetPayload() *models.StorespbGetStoreResponse

func (*GetStoreOK) IsClientError

func (o *GetStoreOK) IsClientError() bool

IsClientError returns true when this get store o k response has a 4xx status code

func (*GetStoreOK) IsCode

func (o *GetStoreOK) IsCode(code int) bool

IsCode returns true when this get store o k response a status code equal to that given

func (*GetStoreOK) IsRedirect

func (o *GetStoreOK) IsRedirect() bool

IsRedirect returns true when this get store o k response has a 3xx status code

func (*GetStoreOK) IsServerError

func (o *GetStoreOK) IsServerError() bool

IsServerError returns true when this get store o k response has a 5xx status code

func (*GetStoreOK) IsSuccess

func (o *GetStoreOK) IsSuccess() bool

IsSuccess returns true when this get store o k response has a 2xx status code

func (*GetStoreOK) String

func (o *GetStoreOK) String() string

type GetStoreParams

type GetStoreParams struct {

	// ID.
	ID string

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

GetStoreParams contains all the parameters to send to the API endpoint

for the get store operation.

Typically these are written to a http.Request.

func NewGetStoreParams

func NewGetStoreParams() *GetStoreParams

NewGetStoreParams creates a new GetStoreParams 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 NewGetStoreParamsWithContext

func NewGetStoreParamsWithContext(ctx context.Context) *GetStoreParams

NewGetStoreParamsWithContext creates a new GetStoreParams object with the ability to set a context for a request.

func NewGetStoreParamsWithHTTPClient

func NewGetStoreParamsWithHTTPClient(client *http.Client) *GetStoreParams

NewGetStoreParamsWithHTTPClient creates a new GetStoreParams object with the ability to set a custom HTTPClient for a request.

func NewGetStoreParamsWithTimeout

func NewGetStoreParamsWithTimeout(timeout time.Duration) *GetStoreParams

NewGetStoreParamsWithTimeout creates a new GetStoreParams object with the ability to set a timeout on a request.

func (*GetStoreParams) SetContext

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

SetContext adds the context to the get store params

func (*GetStoreParams) SetDefaults

func (o *GetStoreParams) SetDefaults()

SetDefaults hydrates default values in the get store params (not the query body).

All values with no default are reset to their zero value.

func (*GetStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get store params

func (*GetStoreParams) SetID

func (o *GetStoreParams) SetID(id string)

SetID adds the id to the get store params

func (*GetStoreParams) SetTimeout

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

SetTimeout adds the timeout to the get store params

func (*GetStoreParams) WithContext

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

WithContext adds the context to the get store params

func (*GetStoreParams) WithDefaults

func (o *GetStoreParams) WithDefaults() *GetStoreParams

WithDefaults hydrates default values in the get store params (not the query body).

All values with no default are reset to their zero value.

func (*GetStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get store params

func (*GetStoreParams) WithID

func (o *GetStoreParams) WithID(id string) *GetStoreParams

WithID adds the id to the get store params

func (*GetStoreParams) WithTimeout

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

WithTimeout adds the timeout to the get store params

func (*GetStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetStoreReader

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

GetStoreReader is a Reader for the GetStore structure.

func (*GetStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStoresDefault

type GetStoresDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}
GetStoresDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetStoresDefault

func NewGetStoresDefault(code int) *GetStoresDefault

NewGetStoresDefault creates a GetStoresDefault with default headers values

func (*GetStoresDefault) Code

func (o *GetStoresDefault) Code() int

Code gets the status code for the get stores default response

func (*GetStoresDefault) Error

func (o *GetStoresDefault) Error() string

func (*GetStoresDefault) GetPayload

func (o *GetStoresDefault) GetPayload() *models.RPCStatus

func (*GetStoresDefault) IsClientError

func (o *GetStoresDefault) IsClientError() bool

IsClientError returns true when this get stores default response has a 4xx status code

func (*GetStoresDefault) IsCode

func (o *GetStoresDefault) IsCode(code int) bool

IsCode returns true when this get stores default response a status code equal to that given

func (*GetStoresDefault) IsRedirect

func (o *GetStoresDefault) IsRedirect() bool

IsRedirect returns true when this get stores default response has a 3xx status code

func (*GetStoresDefault) IsServerError

func (o *GetStoresDefault) IsServerError() bool

IsServerError returns true when this get stores default response has a 5xx status code

func (*GetStoresDefault) IsSuccess

func (o *GetStoresDefault) IsSuccess() bool

IsSuccess returns true when this get stores default response has a 2xx status code

func (*GetStoresDefault) String

func (o *GetStoresDefault) String() string

type GetStoresOK

type GetStoresOK struct {
	Payload *models.StorespbGetStoresResponse
}
GetStoresOK describes a response with status code 200, with default header values.

A successful response.

func NewGetStoresOK

func NewGetStoresOK() *GetStoresOK

NewGetStoresOK creates a GetStoresOK with default headers values

func (*GetStoresOK) Error

func (o *GetStoresOK) Error() string

func (*GetStoresOK) GetPayload

func (o *GetStoresOK) GetPayload() *models.StorespbGetStoresResponse

func (*GetStoresOK) IsClientError

func (o *GetStoresOK) IsClientError() bool

IsClientError returns true when this get stores o k response has a 4xx status code

func (*GetStoresOK) IsCode

func (o *GetStoresOK) IsCode(code int) bool

IsCode returns true when this get stores o k response a status code equal to that given

func (*GetStoresOK) IsRedirect

func (o *GetStoresOK) IsRedirect() bool

IsRedirect returns true when this get stores o k response has a 3xx status code

func (*GetStoresOK) IsServerError

func (o *GetStoresOK) IsServerError() bool

IsServerError returns true when this get stores o k response has a 5xx status code

func (*GetStoresOK) IsSuccess

func (o *GetStoresOK) IsSuccess() bool

IsSuccess returns true when this get stores o k response has a 2xx status code

func (*GetStoresOK) String

func (o *GetStoresOK) String() string

type GetStoresParams

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

GetStoresParams contains all the parameters to send to the API endpoint

for the get stores operation.

Typically these are written to a http.Request.

func NewGetStoresParams

func NewGetStoresParams() *GetStoresParams

NewGetStoresParams creates a new GetStoresParams 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 NewGetStoresParamsWithContext

func NewGetStoresParamsWithContext(ctx context.Context) *GetStoresParams

NewGetStoresParamsWithContext creates a new GetStoresParams object with the ability to set a context for a request.

func NewGetStoresParamsWithHTTPClient

func NewGetStoresParamsWithHTTPClient(client *http.Client) *GetStoresParams

NewGetStoresParamsWithHTTPClient creates a new GetStoresParams object with the ability to set a custom HTTPClient for a request.

func NewGetStoresParamsWithTimeout

func NewGetStoresParamsWithTimeout(timeout time.Duration) *GetStoresParams

NewGetStoresParamsWithTimeout creates a new GetStoresParams object with the ability to set a timeout on a request.

func (*GetStoresParams) SetContext

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

SetContext adds the context to the get stores params

func (*GetStoresParams) SetDefaults

func (o *GetStoresParams) SetDefaults()

SetDefaults hydrates default values in the get stores params (not the query body).

All values with no default are reset to their zero value.

func (*GetStoresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get stores params

func (*GetStoresParams) SetTimeout

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

SetTimeout adds the timeout to the get stores params

func (*GetStoresParams) WithContext

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

WithContext adds the context to the get stores params

func (*GetStoresParams) WithDefaults

func (o *GetStoresParams) WithDefaults() *GetStoresParams

WithDefaults hydrates default values in the get stores params (not the query body).

All values with no default are reset to their zero value.

func (*GetStoresParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get stores params

func (*GetStoresParams) WithTimeout

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

WithTimeout adds the timeout to the get stores params

func (*GetStoresParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetStoresReader

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

GetStoresReader is a Reader for the GetStores structure.

func (*GetStoresReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RebrandStoreDefault

type RebrandStoreDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}
RebrandStoreDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewRebrandStoreDefault

func NewRebrandStoreDefault(code int) *RebrandStoreDefault

NewRebrandStoreDefault creates a RebrandStoreDefault with default headers values

func (*RebrandStoreDefault) Code

func (o *RebrandStoreDefault) Code() int

Code gets the status code for the rebrand store default response

func (*RebrandStoreDefault) Error

func (o *RebrandStoreDefault) Error() string

func (*RebrandStoreDefault) GetPayload

func (o *RebrandStoreDefault) GetPayload() *models.RPCStatus

func (*RebrandStoreDefault) IsClientError

func (o *RebrandStoreDefault) IsClientError() bool

IsClientError returns true when this rebrand store default response has a 4xx status code

func (*RebrandStoreDefault) IsCode

func (o *RebrandStoreDefault) IsCode(code int) bool

IsCode returns true when this rebrand store default response a status code equal to that given

func (*RebrandStoreDefault) IsRedirect

func (o *RebrandStoreDefault) IsRedirect() bool

IsRedirect returns true when this rebrand store default response has a 3xx status code

func (*RebrandStoreDefault) IsServerError

func (o *RebrandStoreDefault) IsServerError() bool

IsServerError returns true when this rebrand store default response has a 5xx status code

func (*RebrandStoreDefault) IsSuccess

func (o *RebrandStoreDefault) IsSuccess() bool

IsSuccess returns true when this rebrand store default response has a 2xx status code

func (*RebrandStoreDefault) String

func (o *RebrandStoreDefault) String() string

type RebrandStoreOK

type RebrandStoreOK struct {
	Payload models.StorespbRebrandStoreResponse
}
RebrandStoreOK describes a response with status code 200, with default header values.

A successful response.

func NewRebrandStoreOK

func NewRebrandStoreOK() *RebrandStoreOK

NewRebrandStoreOK creates a RebrandStoreOK with default headers values

func (*RebrandStoreOK) Error

func (o *RebrandStoreOK) Error() string

func (*RebrandStoreOK) GetPayload

func (*RebrandStoreOK) IsClientError

func (o *RebrandStoreOK) IsClientError() bool

IsClientError returns true when this rebrand store o k response has a 4xx status code

func (*RebrandStoreOK) IsCode

func (o *RebrandStoreOK) IsCode(code int) bool

IsCode returns true when this rebrand store o k response a status code equal to that given

func (*RebrandStoreOK) IsRedirect

func (o *RebrandStoreOK) IsRedirect() bool

IsRedirect returns true when this rebrand store o k response has a 3xx status code

func (*RebrandStoreOK) IsServerError

func (o *RebrandStoreOK) IsServerError() bool

IsServerError returns true when this rebrand store o k response has a 5xx status code

func (*RebrandStoreOK) IsSuccess

func (o *RebrandStoreOK) IsSuccess() bool

IsSuccess returns true when this rebrand store o k response has a 2xx status code

func (*RebrandStoreOK) String

func (o *RebrandStoreOK) String() string

type RebrandStoreParams

type RebrandStoreParams struct {

	// Body.
	Body *models.RebrandStoreParamsBody

	// ID.
	ID string

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

RebrandStoreParams contains all the parameters to send to the API endpoint

for the rebrand store operation.

Typically these are written to a http.Request.

func NewRebrandStoreParams

func NewRebrandStoreParams() *RebrandStoreParams

NewRebrandStoreParams creates a new RebrandStoreParams 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 NewRebrandStoreParamsWithContext

func NewRebrandStoreParamsWithContext(ctx context.Context) *RebrandStoreParams

NewRebrandStoreParamsWithContext creates a new RebrandStoreParams object with the ability to set a context for a request.

func NewRebrandStoreParamsWithHTTPClient

func NewRebrandStoreParamsWithHTTPClient(client *http.Client) *RebrandStoreParams

NewRebrandStoreParamsWithHTTPClient creates a new RebrandStoreParams object with the ability to set a custom HTTPClient for a request.

func NewRebrandStoreParamsWithTimeout

func NewRebrandStoreParamsWithTimeout(timeout time.Duration) *RebrandStoreParams

NewRebrandStoreParamsWithTimeout creates a new RebrandStoreParams object with the ability to set a timeout on a request.

func (*RebrandStoreParams) SetBody

SetBody adds the body to the rebrand store params

func (*RebrandStoreParams) SetContext

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

SetContext adds the context to the rebrand store params

func (*RebrandStoreParams) SetDefaults

func (o *RebrandStoreParams) SetDefaults()

SetDefaults hydrates default values in the rebrand store params (not the query body).

All values with no default are reset to their zero value.

func (*RebrandStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rebrand store params

func (*RebrandStoreParams) SetID

func (o *RebrandStoreParams) SetID(id string)

SetID adds the id to the rebrand store params

func (*RebrandStoreParams) SetTimeout

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

SetTimeout adds the timeout to the rebrand store params

func (*RebrandStoreParams) WithBody

WithBody adds the body to the rebrand store params

func (*RebrandStoreParams) WithContext

WithContext adds the context to the rebrand store params

func (*RebrandStoreParams) WithDefaults

func (o *RebrandStoreParams) WithDefaults() *RebrandStoreParams

WithDefaults hydrates default values in the rebrand store params (not the query body).

All values with no default are reset to their zero value.

func (*RebrandStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the rebrand store params

func (*RebrandStoreParams) WithID

WithID adds the id to the rebrand store params

func (*RebrandStoreParams) WithTimeout

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

WithTimeout adds the timeout to the rebrand store params

func (*RebrandStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RebrandStoreReader

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

RebrandStoreReader is a Reader for the RebrandStore structure.

func (*RebrandStoreReader) ReadResponse

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