store_group_repository_v1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 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 group repository v1 API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StoreGroupRepositoryV1GetListGet

func (a *Client) StoreGroupRepositoryV1GetListGet(params *StoreGroupRepositoryV1GetListGetParams, opts ...ClientOption) (*StoreGroupRepositoryV1GetListGetOK, error)

StoreGroupRepositoryV1GetListGet Retrieve list of all groups

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	StoreGroupRepositoryV1GetListGet(params *StoreGroupRepositoryV1GetListGetParams, opts ...ClientOption) (*StoreGroupRepositoryV1GetListGetOK, 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 group repository v1 API client.

type StoreGroupRepositoryV1GetListGetDefault

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

Unexpected error

func NewStoreGroupRepositoryV1GetListGetDefault

func NewStoreGroupRepositoryV1GetListGetDefault(code int) *StoreGroupRepositoryV1GetListGetDefault

NewStoreGroupRepositoryV1GetListGetDefault creates a StoreGroupRepositoryV1GetListGetDefault with default headers values

func (*StoreGroupRepositoryV1GetListGetDefault) Code

Code gets the status code for the store group repository v1 get list get default response

func (*StoreGroupRepositoryV1GetListGetDefault) Error

func (*StoreGroupRepositoryV1GetListGetDefault) GetPayload

type StoreGroupRepositoryV1GetListGetOK

type StoreGroupRepositoryV1GetListGetOK struct {
	Payload []*models.StoreDataGroupInterface
}
StoreGroupRepositoryV1GetListGetOK describes a response with status code 200, with default header values.

200 Success.

func NewStoreGroupRepositoryV1GetListGetOK

func NewStoreGroupRepositoryV1GetListGetOK() *StoreGroupRepositoryV1GetListGetOK

NewStoreGroupRepositoryV1GetListGetOK creates a StoreGroupRepositoryV1GetListGetOK with default headers values

func (*StoreGroupRepositoryV1GetListGetOK) Error

func (*StoreGroupRepositoryV1GetListGetOK) GetPayload

type StoreGroupRepositoryV1GetListGetParams

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

StoreGroupRepositoryV1GetListGetParams contains all the parameters to send to the API endpoint

for the store group repository v1 get list get operation.

Typically these are written to a http.Request.

func NewStoreGroupRepositoryV1GetListGetParams

func NewStoreGroupRepositoryV1GetListGetParams() *StoreGroupRepositoryV1GetListGetParams

NewStoreGroupRepositoryV1GetListGetParams creates a new StoreGroupRepositoryV1GetListGetParams 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 NewStoreGroupRepositoryV1GetListGetParamsWithContext

func NewStoreGroupRepositoryV1GetListGetParamsWithContext(ctx context.Context) *StoreGroupRepositoryV1GetListGetParams

NewStoreGroupRepositoryV1GetListGetParamsWithContext creates a new StoreGroupRepositoryV1GetListGetParams object with the ability to set a context for a request.

func NewStoreGroupRepositoryV1GetListGetParamsWithHTTPClient

func NewStoreGroupRepositoryV1GetListGetParamsWithHTTPClient(client *http.Client) *StoreGroupRepositoryV1GetListGetParams

NewStoreGroupRepositoryV1GetListGetParamsWithHTTPClient creates a new StoreGroupRepositoryV1GetListGetParams object with the ability to set a custom HTTPClient for a request.

func NewStoreGroupRepositoryV1GetListGetParamsWithTimeout

func NewStoreGroupRepositoryV1GetListGetParamsWithTimeout(timeout time.Duration) *StoreGroupRepositoryV1GetListGetParams

NewStoreGroupRepositoryV1GetListGetParamsWithTimeout creates a new StoreGroupRepositoryV1GetListGetParams object with the ability to set a timeout on a request.

func (*StoreGroupRepositoryV1GetListGetParams) SetContext

SetContext adds the context to the store group repository v1 get list get params

func (*StoreGroupRepositoryV1GetListGetParams) SetDefaults

func (o *StoreGroupRepositoryV1GetListGetParams) SetDefaults()

SetDefaults hydrates default values in the store group repository v1 get list get params (not the query body).

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

func (*StoreGroupRepositoryV1GetListGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the store group repository v1 get list get params

func (*StoreGroupRepositoryV1GetListGetParams) SetTimeout

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

SetTimeout adds the timeout to the store group repository v1 get list get params

func (*StoreGroupRepositoryV1GetListGetParams) WithContext

WithContext adds the context to the store group repository v1 get list get params

func (*StoreGroupRepositoryV1GetListGetParams) WithDefaults

WithDefaults hydrates default values in the store group repository v1 get list get params (not the query body).

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

func (*StoreGroupRepositoryV1GetListGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the store group repository v1 get list get params

func (*StoreGroupRepositoryV1GetListGetParams) WithTimeout

WithTimeout adds the timeout to the store group repository v1 get list get params

func (*StoreGroupRepositoryV1GetListGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StoreGroupRepositoryV1GetListGetReader

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

StoreGroupRepositoryV1GetListGetReader is a Reader for the StoreGroupRepositoryV1GetListGet structure.

func (*StoreGroupRepositoryV1GetListGetReader) ReadResponse

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