Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateStore(params *CreateStoreParams, opts ...ClientOption) (*CreateStoreOK, error)
- func (a *Client) GetStore(params *GetStoreParams, opts ...ClientOption) (*GetStoreOK, error)
- func (a *Client) GetStores(params *GetStoresParams, opts ...ClientOption) (*GetStoresOK, error)
- func (a *Client) RebrandStore(params *RebrandStoreParams, opts ...ClientOption) (*RebrandStoreOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateStoreDefault
- type CreateStoreOK
- type CreateStoreParams
- func (o *CreateStoreParams) SetBody(body *models.StorespbCreateStoreRequest)
- func (o *CreateStoreParams) SetContext(ctx context.Context)
- func (o *CreateStoreParams) SetDefaults()
- func (o *CreateStoreParams) SetHTTPClient(client *http.Client)
- func (o *CreateStoreParams) SetTimeout(timeout time.Duration)
- func (o *CreateStoreParams) WithBody(body *models.StorespbCreateStoreRequest) *CreateStoreParams
- func (o *CreateStoreParams) WithContext(ctx context.Context) *CreateStoreParams
- func (o *CreateStoreParams) WithDefaults() *CreateStoreParams
- func (o *CreateStoreParams) WithHTTPClient(client *http.Client) *CreateStoreParams
- func (o *CreateStoreParams) WithTimeout(timeout time.Duration) *CreateStoreParams
- func (o *CreateStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateStoreReader
- type GetStoreDefault
- type GetStoreOK
- type GetStoreParams
- func (o *GetStoreParams) SetContext(ctx context.Context)
- func (o *GetStoreParams) SetDefaults()
- func (o *GetStoreParams) SetHTTPClient(client *http.Client)
- func (o *GetStoreParams) SetID(id string)
- func (o *GetStoreParams) SetTimeout(timeout time.Duration)
- func (o *GetStoreParams) WithContext(ctx context.Context) *GetStoreParams
- func (o *GetStoreParams) WithDefaults() *GetStoreParams
- func (o *GetStoreParams) WithHTTPClient(client *http.Client) *GetStoreParams
- func (o *GetStoreParams) WithID(id string) *GetStoreParams
- func (o *GetStoreParams) WithTimeout(timeout time.Duration) *GetStoreParams
- func (o *GetStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStoreReader
- type GetStoresDefault
- type GetStoresOK
- type GetStoresParams
- func (o *GetStoresParams) SetContext(ctx context.Context)
- func (o *GetStoresParams) SetDefaults()
- func (o *GetStoresParams) SetHTTPClient(client *http.Client)
- func (o *GetStoresParams) SetTimeout(timeout time.Duration)
- func (o *GetStoresParams) WithContext(ctx context.Context) *GetStoresParams
- func (o *GetStoresParams) WithDefaults() *GetStoresParams
- func (o *GetStoresParams) WithHTTPClient(client *http.Client) *GetStoresParams
- func (o *GetStoresParams) WithTimeout(timeout time.Duration) *GetStoresParams
- func (o *GetStoresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStoresReader
- type RebrandStoreDefault
- type RebrandStoreOK
- type RebrandStoreParams
- func (o *RebrandStoreParams) SetBody(body *models.RebrandStoreParamsBody)
- func (o *RebrandStoreParams) SetContext(ctx context.Context)
- func (o *RebrandStoreParams) SetDefaults()
- func (o *RebrandStoreParams) SetHTTPClient(client *http.Client)
- func (o *RebrandStoreParams) SetID(id string)
- func (o *RebrandStoreParams) SetTimeout(timeout time.Duration)
- func (o *RebrandStoreParams) WithBody(body *models.RebrandStoreParamsBody) *RebrandStoreParams
- func (o *RebrandStoreParams) WithContext(ctx context.Context) *RebrandStoreParams
- func (o *RebrandStoreParams) WithDefaults() *RebrandStoreParams
- func (o *RebrandStoreParams) WithHTTPClient(client *http.Client) *RebrandStoreParams
- func (o *RebrandStoreParams) WithID(id string) *RebrandStoreParams
- func (o *RebrandStoreParams) WithTimeout(timeout time.Duration) *RebrandStoreParams
- func (o *RebrandStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RebrandStoreReader
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
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 (o *CreateStoreOK) GetPayload() *models.StorespbCreateStoreResponse
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 ¶
func (o *CreateStoreParams) SetBody(body *models.StorespbCreateStoreRequest)
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 ¶
func (o *CreateStoreParams) WithBody(body *models.StorespbCreateStoreRequest) *CreateStoreParams
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 ¶
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
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
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
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
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
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 (o *RebrandStoreOK) GetPayload() models.StorespbRebrandStoreResponse
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 ¶
func (o *RebrandStoreParams) SetBody(body *models.RebrandStoreParamsBody)
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 ¶
func (o *RebrandStoreParams) WithBody(body *models.RebrandStoreParamsBody) *RebrandStoreParams
WithBody adds the body to the rebrand store params
func (*RebrandStoreParams) WithContext ¶
func (o *RebrandStoreParams) WithContext(ctx context.Context) *RebrandStoreParams
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 ¶
func (o *RebrandStoreParams) WithID(id string) *RebrandStoreParams
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.