Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateMarket(params *CreateMarketParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMarketOK, error)
- func (a *Client) DeleteMarkets(params *DeleteMarketsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMarketsOK, error)
- func (a *Client) DescribeMarketUsers(params *DescribeMarketUsersParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeMarketUsersOK, error)
- func (a *Client) DescribeMarkets(params *DescribeMarketsParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeMarketsOK, error)
- func (a *Client) ModifyMarket(params *ModifyMarketParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyMarketOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UserJoinMarket(params *UserJoinMarketParams, authInfo runtime.ClientAuthInfoWriter) (*UserJoinMarketOK, error)
- func (a *Client) UserLeaveMarket(params *UserLeaveMarketParams, authInfo runtime.ClientAuthInfoWriter) (*UserLeaveMarketOK, error)
- type CreateMarketOK
- type CreateMarketParams
- func (o *CreateMarketParams) SetBody(body *models.OpenpitrixCreateMarketRequest)
- func (o *CreateMarketParams) SetContext(ctx context.Context)
- func (o *CreateMarketParams) SetHTTPClient(client *http.Client)
- func (o *CreateMarketParams) SetTimeout(timeout time.Duration)
- func (o *CreateMarketParams) WithBody(body *models.OpenpitrixCreateMarketRequest) *CreateMarketParams
- func (o *CreateMarketParams) WithContext(ctx context.Context) *CreateMarketParams
- func (o *CreateMarketParams) WithHTTPClient(client *http.Client) *CreateMarketParams
- func (o *CreateMarketParams) WithTimeout(timeout time.Duration) *CreateMarketParams
- func (o *CreateMarketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMarketReader
- type DeleteMarketsOK
- type DeleteMarketsParams
- func (o *DeleteMarketsParams) SetBody(body *models.OpenpitrixDeleteMarketsRequest)
- func (o *DeleteMarketsParams) SetContext(ctx context.Context)
- func (o *DeleteMarketsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMarketsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMarketsParams) WithBody(body *models.OpenpitrixDeleteMarketsRequest) *DeleteMarketsParams
- func (o *DeleteMarketsParams) WithContext(ctx context.Context) *DeleteMarketsParams
- func (o *DeleteMarketsParams) WithHTTPClient(client *http.Client) *DeleteMarketsParams
- func (o *DeleteMarketsParams) WithTimeout(timeout time.Duration) *DeleteMarketsParams
- func (o *DeleteMarketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMarketsReader
- type DescribeMarketUsersOK
- type DescribeMarketUsersParams
- func NewDescribeMarketUsersParams() *DescribeMarketUsersParams
- func NewDescribeMarketUsersParamsWithContext(ctx context.Context) *DescribeMarketUsersParams
- func NewDescribeMarketUsersParamsWithHTTPClient(client *http.Client) *DescribeMarketUsersParams
- func NewDescribeMarketUsersParamsWithTimeout(timeout time.Duration) *DescribeMarketUsersParams
- func (o *DescribeMarketUsersParams) SetContext(ctx context.Context)
- func (o *DescribeMarketUsersParams) SetHTTPClient(client *http.Client)
- func (o *DescribeMarketUsersParams) SetLimit(limit *int64)
- func (o *DescribeMarketUsersParams) SetMarketID(marketID []string)
- func (o *DescribeMarketUsersParams) SetOffset(offset *int64)
- func (o *DescribeMarketUsersParams) SetOwner(owner []string)
- func (o *DescribeMarketUsersParams) SetReverse(reverse *bool)
- func (o *DescribeMarketUsersParams) SetSearchWord(searchWord *string)
- func (o *DescribeMarketUsersParams) SetSortKey(sortKey *string)
- func (o *DescribeMarketUsersParams) SetTimeout(timeout time.Duration)
- func (o *DescribeMarketUsersParams) SetUserID(userID []string)
- func (o *DescribeMarketUsersParams) WithContext(ctx context.Context) *DescribeMarketUsersParams
- func (o *DescribeMarketUsersParams) WithHTTPClient(client *http.Client) *DescribeMarketUsersParams
- func (o *DescribeMarketUsersParams) WithLimit(limit *int64) *DescribeMarketUsersParams
- func (o *DescribeMarketUsersParams) WithMarketID(marketID []string) *DescribeMarketUsersParams
- func (o *DescribeMarketUsersParams) WithOffset(offset *int64) *DescribeMarketUsersParams
- func (o *DescribeMarketUsersParams) WithOwner(owner []string) *DescribeMarketUsersParams
- func (o *DescribeMarketUsersParams) WithReverse(reverse *bool) *DescribeMarketUsersParams
- func (o *DescribeMarketUsersParams) WithSearchWord(searchWord *string) *DescribeMarketUsersParams
- func (o *DescribeMarketUsersParams) WithSortKey(sortKey *string) *DescribeMarketUsersParams
- func (o *DescribeMarketUsersParams) WithTimeout(timeout time.Duration) *DescribeMarketUsersParams
- func (o *DescribeMarketUsersParams) WithUserID(userID []string) *DescribeMarketUsersParams
- func (o *DescribeMarketUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeMarketUsersReader
- type DescribeMarketsOK
- type DescribeMarketsParams
- func NewDescribeMarketsParams() *DescribeMarketsParams
- func NewDescribeMarketsParamsWithContext(ctx context.Context) *DescribeMarketsParams
- func NewDescribeMarketsParamsWithHTTPClient(client *http.Client) *DescribeMarketsParams
- func NewDescribeMarketsParamsWithTimeout(timeout time.Duration) *DescribeMarketsParams
- func (o *DescribeMarketsParams) SetContext(ctx context.Context)
- func (o *DescribeMarketsParams) SetHTTPClient(client *http.Client)
- func (o *DescribeMarketsParams) SetLimit(limit *int64)
- func (o *DescribeMarketsParams) SetMarketID(marketID []string)
- func (o *DescribeMarketsParams) SetName(name []string)
- func (o *DescribeMarketsParams) SetOffset(offset *int64)
- func (o *DescribeMarketsParams) SetOwner(owner []string)
- func (o *DescribeMarketsParams) SetReverse(reverse *bool)
- func (o *DescribeMarketsParams) SetSearchWord(searchWord *string)
- func (o *DescribeMarketsParams) SetSortKey(sortKey *string)
- func (o *DescribeMarketsParams) SetStatus(status []string)
- func (o *DescribeMarketsParams) SetTimeout(timeout time.Duration)
- func (o *DescribeMarketsParams) SetUserID(userID []string)
- func (o *DescribeMarketsParams) SetVisibility(visibility []string)
- func (o *DescribeMarketsParams) WithContext(ctx context.Context) *DescribeMarketsParams
- func (o *DescribeMarketsParams) WithHTTPClient(client *http.Client) *DescribeMarketsParams
- func (o *DescribeMarketsParams) WithLimit(limit *int64) *DescribeMarketsParams
- func (o *DescribeMarketsParams) WithMarketID(marketID []string) *DescribeMarketsParams
- func (o *DescribeMarketsParams) WithName(name []string) *DescribeMarketsParams
- func (o *DescribeMarketsParams) WithOffset(offset *int64) *DescribeMarketsParams
- func (o *DescribeMarketsParams) WithOwner(owner []string) *DescribeMarketsParams
- func (o *DescribeMarketsParams) WithReverse(reverse *bool) *DescribeMarketsParams
- func (o *DescribeMarketsParams) WithSearchWord(searchWord *string) *DescribeMarketsParams
- func (o *DescribeMarketsParams) WithSortKey(sortKey *string) *DescribeMarketsParams
- func (o *DescribeMarketsParams) WithStatus(status []string) *DescribeMarketsParams
- func (o *DescribeMarketsParams) WithTimeout(timeout time.Duration) *DescribeMarketsParams
- func (o *DescribeMarketsParams) WithUserID(userID []string) *DescribeMarketsParams
- func (o *DescribeMarketsParams) WithVisibility(visibility []string) *DescribeMarketsParams
- func (o *DescribeMarketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeMarketsReader
- type ModifyMarketOK
- type ModifyMarketParams
- func (o *ModifyMarketParams) SetBody(body *models.OpenpitrixModifyMarketRequest)
- func (o *ModifyMarketParams) SetContext(ctx context.Context)
- func (o *ModifyMarketParams) SetHTTPClient(client *http.Client)
- func (o *ModifyMarketParams) SetTimeout(timeout time.Duration)
- func (o *ModifyMarketParams) WithBody(body *models.OpenpitrixModifyMarketRequest) *ModifyMarketParams
- func (o *ModifyMarketParams) WithContext(ctx context.Context) *ModifyMarketParams
- func (o *ModifyMarketParams) WithHTTPClient(client *http.Client) *ModifyMarketParams
- func (o *ModifyMarketParams) WithTimeout(timeout time.Duration) *ModifyMarketParams
- func (o *ModifyMarketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyMarketReader
- type UserJoinMarketOK
- type UserJoinMarketParams
- func NewUserJoinMarketParams() *UserJoinMarketParams
- func NewUserJoinMarketParamsWithContext(ctx context.Context) *UserJoinMarketParams
- func NewUserJoinMarketParamsWithHTTPClient(client *http.Client) *UserJoinMarketParams
- func NewUserJoinMarketParamsWithTimeout(timeout time.Duration) *UserJoinMarketParams
- func (o *UserJoinMarketParams) SetBody(body *models.OpenpitrixUserJoinMarketRequest)
- func (o *UserJoinMarketParams) SetContext(ctx context.Context)
- func (o *UserJoinMarketParams) SetHTTPClient(client *http.Client)
- func (o *UserJoinMarketParams) SetTimeout(timeout time.Duration)
- func (o *UserJoinMarketParams) WithBody(body *models.OpenpitrixUserJoinMarketRequest) *UserJoinMarketParams
- func (o *UserJoinMarketParams) WithContext(ctx context.Context) *UserJoinMarketParams
- func (o *UserJoinMarketParams) WithHTTPClient(client *http.Client) *UserJoinMarketParams
- func (o *UserJoinMarketParams) WithTimeout(timeout time.Duration) *UserJoinMarketParams
- func (o *UserJoinMarketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserJoinMarketReader
- type UserLeaveMarketOK
- type UserLeaveMarketParams
- func NewUserLeaveMarketParams() *UserLeaveMarketParams
- func NewUserLeaveMarketParamsWithContext(ctx context.Context) *UserLeaveMarketParams
- func NewUserLeaveMarketParamsWithHTTPClient(client *http.Client) *UserLeaveMarketParams
- func NewUserLeaveMarketParamsWithTimeout(timeout time.Duration) *UserLeaveMarketParams
- func (o *UserLeaveMarketParams) SetBody(body *models.OpenpitrixUserLeaveMarketRequest)
- func (o *UserLeaveMarketParams) SetContext(ctx context.Context)
- func (o *UserLeaveMarketParams) SetHTTPClient(client *http.Client)
- func (o *UserLeaveMarketParams) SetTimeout(timeout time.Duration)
- func (o *UserLeaveMarketParams) WithBody(body *models.OpenpitrixUserLeaveMarketRequest) *UserLeaveMarketParams
- func (o *UserLeaveMarketParams) WithContext(ctx context.Context) *UserLeaveMarketParams
- func (o *UserLeaveMarketParams) WithHTTPClient(client *http.Client) *UserLeaveMarketParams
- func (o *UserLeaveMarketParams) WithTimeout(timeout time.Duration) *UserLeaveMarketParams
- func (o *UserLeaveMarketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserLeaveMarketReader
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 market manager API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new market manager API client.
func (*Client) CreateMarket ¶
func (a *Client) CreateMarket(params *CreateMarketParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMarketOK, error)
CreateMarket creates market
func (*Client) DeleteMarkets ¶
func (a *Client) DeleteMarkets(params *DeleteMarketsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMarketsOK, error)
DeleteMarkets deletes markets
func (*Client) DescribeMarketUsers ¶
func (a *Client) DescribeMarketUsers(params *DescribeMarketUsersParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeMarketUsersOK, error)
DescribeMarketUsers describes users with filter
func (*Client) DescribeMarkets ¶
func (a *Client) DescribeMarkets(params *DescribeMarketsParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeMarketsOK, error)
DescribeMarkets describes markets with filter
func (*Client) ModifyMarket ¶
func (a *Client) ModifyMarket(params *ModifyMarketParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyMarketOK, error)
ModifyMarket modifies market
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UserJoinMarket ¶
func (a *Client) UserJoinMarket(params *UserJoinMarketParams, authInfo runtime.ClientAuthInfoWriter) (*UserJoinMarketOK, error)
UserJoinMarket users join market
func (*Client) UserLeaveMarket ¶
func (a *Client) UserLeaveMarket(params *UserLeaveMarketParams, authInfo runtime.ClientAuthInfoWriter) (*UserLeaveMarketOK, error)
UserLeaveMarket users leave market
type CreateMarketOK ¶
type CreateMarketOK struct {
Payload *models.OpenpitrixCreateMarketResponse
}
CreateMarketOK handles this case with default header values.
A successful response.
func NewCreateMarketOK ¶
func NewCreateMarketOK() *CreateMarketOK
NewCreateMarketOK creates a CreateMarketOK with default headers values
func (*CreateMarketOK) Error ¶
func (o *CreateMarketOK) Error() string
type CreateMarketParams ¶
type CreateMarketParams struct { /*Body*/ Body *models.OpenpitrixCreateMarketRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMarketParams contains all the parameters to send to the API endpoint for the create market operation typically these are written to a http.Request
func NewCreateMarketParams ¶
func NewCreateMarketParams() *CreateMarketParams
NewCreateMarketParams creates a new CreateMarketParams object with the default values initialized.
func NewCreateMarketParamsWithContext ¶
func NewCreateMarketParamsWithContext(ctx context.Context) *CreateMarketParams
NewCreateMarketParamsWithContext creates a new CreateMarketParams object with the default values initialized, and the ability to set a context for a request
func NewCreateMarketParamsWithHTTPClient ¶
func NewCreateMarketParamsWithHTTPClient(client *http.Client) *CreateMarketParams
NewCreateMarketParamsWithHTTPClient creates a new CreateMarketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateMarketParamsWithTimeout ¶
func NewCreateMarketParamsWithTimeout(timeout time.Duration) *CreateMarketParams
NewCreateMarketParamsWithTimeout creates a new CreateMarketParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateMarketParams) SetBody ¶
func (o *CreateMarketParams) SetBody(body *models.OpenpitrixCreateMarketRequest)
SetBody adds the body to the create market params
func (*CreateMarketParams) SetContext ¶
func (o *CreateMarketParams) SetContext(ctx context.Context)
SetContext adds the context to the create market params
func (*CreateMarketParams) SetHTTPClient ¶
func (o *CreateMarketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create market params
func (*CreateMarketParams) SetTimeout ¶
func (o *CreateMarketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create market params
func (*CreateMarketParams) WithBody ¶
func (o *CreateMarketParams) WithBody(body *models.OpenpitrixCreateMarketRequest) *CreateMarketParams
WithBody adds the body to the create market params
func (*CreateMarketParams) WithContext ¶
func (o *CreateMarketParams) WithContext(ctx context.Context) *CreateMarketParams
WithContext adds the context to the create market params
func (*CreateMarketParams) WithHTTPClient ¶
func (o *CreateMarketParams) WithHTTPClient(client *http.Client) *CreateMarketParams
WithHTTPClient adds the HTTPClient to the create market params
func (*CreateMarketParams) WithTimeout ¶
func (o *CreateMarketParams) WithTimeout(timeout time.Duration) *CreateMarketParams
WithTimeout adds the timeout to the create market params
func (*CreateMarketParams) WriteToRequest ¶
func (o *CreateMarketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMarketReader ¶
type CreateMarketReader struct {
// contains filtered or unexported fields
}
CreateMarketReader is a Reader for the CreateMarket structure.
func (*CreateMarketReader) ReadResponse ¶
func (o *CreateMarketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMarketsOK ¶
type DeleteMarketsOK struct {
Payload *models.OpenpitrixDeleteMarketsResponse
}
DeleteMarketsOK handles this case with default header values.
A successful response.
func NewDeleteMarketsOK ¶
func NewDeleteMarketsOK() *DeleteMarketsOK
NewDeleteMarketsOK creates a DeleteMarketsOK with default headers values
func (*DeleteMarketsOK) Error ¶
func (o *DeleteMarketsOK) Error() string
type DeleteMarketsParams ¶
type DeleteMarketsParams struct { /*Body*/ Body *models.OpenpitrixDeleteMarketsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMarketsParams contains all the parameters to send to the API endpoint for the delete markets operation typically these are written to a http.Request
func NewDeleteMarketsParams ¶
func NewDeleteMarketsParams() *DeleteMarketsParams
NewDeleteMarketsParams creates a new DeleteMarketsParams object with the default values initialized.
func NewDeleteMarketsParamsWithContext ¶
func NewDeleteMarketsParamsWithContext(ctx context.Context) *DeleteMarketsParams
NewDeleteMarketsParamsWithContext creates a new DeleteMarketsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteMarketsParamsWithHTTPClient ¶
func NewDeleteMarketsParamsWithHTTPClient(client *http.Client) *DeleteMarketsParams
NewDeleteMarketsParamsWithHTTPClient creates a new DeleteMarketsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteMarketsParamsWithTimeout ¶
func NewDeleteMarketsParamsWithTimeout(timeout time.Duration) *DeleteMarketsParams
NewDeleteMarketsParamsWithTimeout creates a new DeleteMarketsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteMarketsParams) SetBody ¶
func (o *DeleteMarketsParams) SetBody(body *models.OpenpitrixDeleteMarketsRequest)
SetBody adds the body to the delete markets params
func (*DeleteMarketsParams) SetContext ¶
func (o *DeleteMarketsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete markets params
func (*DeleteMarketsParams) SetHTTPClient ¶
func (o *DeleteMarketsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete markets params
func (*DeleteMarketsParams) SetTimeout ¶
func (o *DeleteMarketsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete markets params
func (*DeleteMarketsParams) WithBody ¶
func (o *DeleteMarketsParams) WithBody(body *models.OpenpitrixDeleteMarketsRequest) *DeleteMarketsParams
WithBody adds the body to the delete markets params
func (*DeleteMarketsParams) WithContext ¶
func (o *DeleteMarketsParams) WithContext(ctx context.Context) *DeleteMarketsParams
WithContext adds the context to the delete markets params
func (*DeleteMarketsParams) WithHTTPClient ¶
func (o *DeleteMarketsParams) WithHTTPClient(client *http.Client) *DeleteMarketsParams
WithHTTPClient adds the HTTPClient to the delete markets params
func (*DeleteMarketsParams) WithTimeout ¶
func (o *DeleteMarketsParams) WithTimeout(timeout time.Duration) *DeleteMarketsParams
WithTimeout adds the timeout to the delete markets params
func (*DeleteMarketsParams) WriteToRequest ¶
func (o *DeleteMarketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMarketsReader ¶
type DeleteMarketsReader struct {
// contains filtered or unexported fields
}
DeleteMarketsReader is a Reader for the DeleteMarkets structure.
func (*DeleteMarketsReader) ReadResponse ¶
func (o *DeleteMarketsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DescribeMarketUsersOK ¶
type DescribeMarketUsersOK struct {
Payload *models.OpenpitrixDescribeMarketUsersResponse
}
DescribeMarketUsersOK handles this case with default header values.
A successful response.
func NewDescribeMarketUsersOK ¶
func NewDescribeMarketUsersOK() *DescribeMarketUsersOK
NewDescribeMarketUsersOK creates a DescribeMarketUsersOK with default headers values
func (*DescribeMarketUsersOK) Error ¶
func (o *DescribeMarketUsersOK) Error() string
type DescribeMarketUsersParams ¶
type DescribeMarketUsersParams struct { /*Limit*/ Limit *int64 /*MarketID*/ MarketID []string /*Offset*/ Offset *int64 /*Owner*/ Owner []string /*Reverse*/ Reverse *bool /*SearchWord*/ SearchWord *string /*SortKey*/ SortKey *string /*UserID*/ UserID []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DescribeMarketUsersParams contains all the parameters to send to the API endpoint for the describe market users operation typically these are written to a http.Request
func NewDescribeMarketUsersParams ¶
func NewDescribeMarketUsersParams() *DescribeMarketUsersParams
NewDescribeMarketUsersParams creates a new DescribeMarketUsersParams object with the default values initialized.
func NewDescribeMarketUsersParamsWithContext ¶
func NewDescribeMarketUsersParamsWithContext(ctx context.Context) *DescribeMarketUsersParams
NewDescribeMarketUsersParamsWithContext creates a new DescribeMarketUsersParams object with the default values initialized, and the ability to set a context for a request
func NewDescribeMarketUsersParamsWithHTTPClient ¶
func NewDescribeMarketUsersParamsWithHTTPClient(client *http.Client) *DescribeMarketUsersParams
NewDescribeMarketUsersParamsWithHTTPClient creates a new DescribeMarketUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDescribeMarketUsersParamsWithTimeout ¶
func NewDescribeMarketUsersParamsWithTimeout(timeout time.Duration) *DescribeMarketUsersParams
NewDescribeMarketUsersParamsWithTimeout creates a new DescribeMarketUsersParams object with the default values initialized, and the ability to set a timeout on a request
func (*DescribeMarketUsersParams) SetContext ¶
func (o *DescribeMarketUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the describe market users params
func (*DescribeMarketUsersParams) SetHTTPClient ¶
func (o *DescribeMarketUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe market users params
func (*DescribeMarketUsersParams) SetLimit ¶
func (o *DescribeMarketUsersParams) SetLimit(limit *int64)
SetLimit adds the limit to the describe market users params
func (*DescribeMarketUsersParams) SetMarketID ¶
func (o *DescribeMarketUsersParams) SetMarketID(marketID []string)
SetMarketID adds the marketId to the describe market users params
func (*DescribeMarketUsersParams) SetOffset ¶
func (o *DescribeMarketUsersParams) SetOffset(offset *int64)
SetOffset adds the offset to the describe market users params
func (*DescribeMarketUsersParams) SetOwner ¶
func (o *DescribeMarketUsersParams) SetOwner(owner []string)
SetOwner adds the owner to the describe market users params
func (*DescribeMarketUsersParams) SetReverse ¶
func (o *DescribeMarketUsersParams) SetReverse(reverse *bool)
SetReverse adds the reverse to the describe market users params
func (*DescribeMarketUsersParams) SetSearchWord ¶
func (o *DescribeMarketUsersParams) SetSearchWord(searchWord *string)
SetSearchWord adds the searchWord to the describe market users params
func (*DescribeMarketUsersParams) SetSortKey ¶
func (o *DescribeMarketUsersParams) SetSortKey(sortKey *string)
SetSortKey adds the sortKey to the describe market users params
func (*DescribeMarketUsersParams) SetTimeout ¶
func (o *DescribeMarketUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe market users params
func (*DescribeMarketUsersParams) SetUserID ¶
func (o *DescribeMarketUsersParams) SetUserID(userID []string)
SetUserID adds the userId to the describe market users params
func (*DescribeMarketUsersParams) WithContext ¶
func (o *DescribeMarketUsersParams) WithContext(ctx context.Context) *DescribeMarketUsersParams
WithContext adds the context to the describe market users params
func (*DescribeMarketUsersParams) WithHTTPClient ¶
func (o *DescribeMarketUsersParams) WithHTTPClient(client *http.Client) *DescribeMarketUsersParams
WithHTTPClient adds the HTTPClient to the describe market users params
func (*DescribeMarketUsersParams) WithLimit ¶
func (o *DescribeMarketUsersParams) WithLimit(limit *int64) *DescribeMarketUsersParams
WithLimit adds the limit to the describe market users params
func (*DescribeMarketUsersParams) WithMarketID ¶
func (o *DescribeMarketUsersParams) WithMarketID(marketID []string) *DescribeMarketUsersParams
WithMarketID adds the marketID to the describe market users params
func (*DescribeMarketUsersParams) WithOffset ¶
func (o *DescribeMarketUsersParams) WithOffset(offset *int64) *DescribeMarketUsersParams
WithOffset adds the offset to the describe market users params
func (*DescribeMarketUsersParams) WithOwner ¶
func (o *DescribeMarketUsersParams) WithOwner(owner []string) *DescribeMarketUsersParams
WithOwner adds the owner to the describe market users params
func (*DescribeMarketUsersParams) WithReverse ¶
func (o *DescribeMarketUsersParams) WithReverse(reverse *bool) *DescribeMarketUsersParams
WithReverse adds the reverse to the describe market users params
func (*DescribeMarketUsersParams) WithSearchWord ¶
func (o *DescribeMarketUsersParams) WithSearchWord(searchWord *string) *DescribeMarketUsersParams
WithSearchWord adds the searchWord to the describe market users params
func (*DescribeMarketUsersParams) WithSortKey ¶
func (o *DescribeMarketUsersParams) WithSortKey(sortKey *string) *DescribeMarketUsersParams
WithSortKey adds the sortKey to the describe market users params
func (*DescribeMarketUsersParams) WithTimeout ¶
func (o *DescribeMarketUsersParams) WithTimeout(timeout time.Duration) *DescribeMarketUsersParams
WithTimeout adds the timeout to the describe market users params
func (*DescribeMarketUsersParams) WithUserID ¶
func (o *DescribeMarketUsersParams) WithUserID(userID []string) *DescribeMarketUsersParams
WithUserID adds the userID to the describe market users params
func (*DescribeMarketUsersParams) WriteToRequest ¶
func (o *DescribeMarketUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribeMarketUsersReader ¶
type DescribeMarketUsersReader struct {
// contains filtered or unexported fields
}
DescribeMarketUsersReader is a Reader for the DescribeMarketUsers structure.
func (*DescribeMarketUsersReader) ReadResponse ¶
func (o *DescribeMarketUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DescribeMarketsOK ¶
type DescribeMarketsOK struct {
Payload *models.OpenpitrixDescribeMarketsResponse
}
DescribeMarketsOK handles this case with default header values.
A successful response.
func NewDescribeMarketsOK ¶
func NewDescribeMarketsOK() *DescribeMarketsOK
NewDescribeMarketsOK creates a DescribeMarketsOK with default headers values
func (*DescribeMarketsOK) Error ¶
func (o *DescribeMarketsOK) Error() string
type DescribeMarketsParams ¶
type DescribeMarketsParams struct { /*Limit*/ Limit *int64 /*MarketID*/ MarketID []string /*Name*/ Name []string /*Offset*/ Offset *int64 /*Owner*/ Owner []string /*Reverse*/ Reverse *bool /*SearchWord*/ SearchWord *string /*SortKey*/ SortKey *string /*Status*/ Status []string /*UserID*/ UserID []string /*Visibility*/ Visibility []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DescribeMarketsParams contains all the parameters to send to the API endpoint for the describe markets operation typically these are written to a http.Request
func NewDescribeMarketsParams ¶
func NewDescribeMarketsParams() *DescribeMarketsParams
NewDescribeMarketsParams creates a new DescribeMarketsParams object with the default values initialized.
func NewDescribeMarketsParamsWithContext ¶
func NewDescribeMarketsParamsWithContext(ctx context.Context) *DescribeMarketsParams
NewDescribeMarketsParamsWithContext creates a new DescribeMarketsParams object with the default values initialized, and the ability to set a context for a request
func NewDescribeMarketsParamsWithHTTPClient ¶
func NewDescribeMarketsParamsWithHTTPClient(client *http.Client) *DescribeMarketsParams
NewDescribeMarketsParamsWithHTTPClient creates a new DescribeMarketsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDescribeMarketsParamsWithTimeout ¶
func NewDescribeMarketsParamsWithTimeout(timeout time.Duration) *DescribeMarketsParams
NewDescribeMarketsParamsWithTimeout creates a new DescribeMarketsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DescribeMarketsParams) SetContext ¶
func (o *DescribeMarketsParams) SetContext(ctx context.Context)
SetContext adds the context to the describe markets params
func (*DescribeMarketsParams) SetHTTPClient ¶
func (o *DescribeMarketsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe markets params
func (*DescribeMarketsParams) SetLimit ¶
func (o *DescribeMarketsParams) SetLimit(limit *int64)
SetLimit adds the limit to the describe markets params
func (*DescribeMarketsParams) SetMarketID ¶
func (o *DescribeMarketsParams) SetMarketID(marketID []string)
SetMarketID adds the marketId to the describe markets params
func (*DescribeMarketsParams) SetName ¶
func (o *DescribeMarketsParams) SetName(name []string)
SetName adds the name to the describe markets params
func (*DescribeMarketsParams) SetOffset ¶
func (o *DescribeMarketsParams) SetOffset(offset *int64)
SetOffset adds the offset to the describe markets params
func (*DescribeMarketsParams) SetOwner ¶
func (o *DescribeMarketsParams) SetOwner(owner []string)
SetOwner adds the owner to the describe markets params
func (*DescribeMarketsParams) SetReverse ¶
func (o *DescribeMarketsParams) SetReverse(reverse *bool)
SetReverse adds the reverse to the describe markets params
func (*DescribeMarketsParams) SetSearchWord ¶
func (o *DescribeMarketsParams) SetSearchWord(searchWord *string)
SetSearchWord adds the searchWord to the describe markets params
func (*DescribeMarketsParams) SetSortKey ¶
func (o *DescribeMarketsParams) SetSortKey(sortKey *string)
SetSortKey adds the sortKey to the describe markets params
func (*DescribeMarketsParams) SetStatus ¶
func (o *DescribeMarketsParams) SetStatus(status []string)
SetStatus adds the status to the describe markets params
func (*DescribeMarketsParams) SetTimeout ¶
func (o *DescribeMarketsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe markets params
func (*DescribeMarketsParams) SetUserID ¶
func (o *DescribeMarketsParams) SetUserID(userID []string)
SetUserID adds the userId to the describe markets params
func (*DescribeMarketsParams) SetVisibility ¶
func (o *DescribeMarketsParams) SetVisibility(visibility []string)
SetVisibility adds the visibility to the describe markets params
func (*DescribeMarketsParams) WithContext ¶
func (o *DescribeMarketsParams) WithContext(ctx context.Context) *DescribeMarketsParams
WithContext adds the context to the describe markets params
func (*DescribeMarketsParams) WithHTTPClient ¶
func (o *DescribeMarketsParams) WithHTTPClient(client *http.Client) *DescribeMarketsParams
WithHTTPClient adds the HTTPClient to the describe markets params
func (*DescribeMarketsParams) WithLimit ¶
func (o *DescribeMarketsParams) WithLimit(limit *int64) *DescribeMarketsParams
WithLimit adds the limit to the describe markets params
func (*DescribeMarketsParams) WithMarketID ¶
func (o *DescribeMarketsParams) WithMarketID(marketID []string) *DescribeMarketsParams
WithMarketID adds the marketID to the describe markets params
func (*DescribeMarketsParams) WithName ¶
func (o *DescribeMarketsParams) WithName(name []string) *DescribeMarketsParams
WithName adds the name to the describe markets params
func (*DescribeMarketsParams) WithOffset ¶
func (o *DescribeMarketsParams) WithOffset(offset *int64) *DescribeMarketsParams
WithOffset adds the offset to the describe markets params
func (*DescribeMarketsParams) WithOwner ¶
func (o *DescribeMarketsParams) WithOwner(owner []string) *DescribeMarketsParams
WithOwner adds the owner to the describe markets params
func (*DescribeMarketsParams) WithReverse ¶
func (o *DescribeMarketsParams) WithReverse(reverse *bool) *DescribeMarketsParams
WithReverse adds the reverse to the describe markets params
func (*DescribeMarketsParams) WithSearchWord ¶
func (o *DescribeMarketsParams) WithSearchWord(searchWord *string) *DescribeMarketsParams
WithSearchWord adds the searchWord to the describe markets params
func (*DescribeMarketsParams) WithSortKey ¶
func (o *DescribeMarketsParams) WithSortKey(sortKey *string) *DescribeMarketsParams
WithSortKey adds the sortKey to the describe markets params
func (*DescribeMarketsParams) WithStatus ¶
func (o *DescribeMarketsParams) WithStatus(status []string) *DescribeMarketsParams
WithStatus adds the status to the describe markets params
func (*DescribeMarketsParams) WithTimeout ¶
func (o *DescribeMarketsParams) WithTimeout(timeout time.Duration) *DescribeMarketsParams
WithTimeout adds the timeout to the describe markets params
func (*DescribeMarketsParams) WithUserID ¶
func (o *DescribeMarketsParams) WithUserID(userID []string) *DescribeMarketsParams
WithUserID adds the userID to the describe markets params
func (*DescribeMarketsParams) WithVisibility ¶
func (o *DescribeMarketsParams) WithVisibility(visibility []string) *DescribeMarketsParams
WithVisibility adds the visibility to the describe markets params
func (*DescribeMarketsParams) WriteToRequest ¶
func (o *DescribeMarketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribeMarketsReader ¶
type DescribeMarketsReader struct {
// contains filtered or unexported fields
}
DescribeMarketsReader is a Reader for the DescribeMarkets structure.
func (*DescribeMarketsReader) ReadResponse ¶
func (o *DescribeMarketsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifyMarketOK ¶
type ModifyMarketOK struct {
Payload *models.OpenpitrixModifyMarketResponse
}
ModifyMarketOK handles this case with default header values.
A successful response.
func NewModifyMarketOK ¶
func NewModifyMarketOK() *ModifyMarketOK
NewModifyMarketOK creates a ModifyMarketOK with default headers values
func (*ModifyMarketOK) Error ¶
func (o *ModifyMarketOK) Error() string
type ModifyMarketParams ¶
type ModifyMarketParams struct { /*Body*/ Body *models.OpenpitrixModifyMarketRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ModifyMarketParams contains all the parameters to send to the API endpoint for the modify market operation typically these are written to a http.Request
func NewModifyMarketParams ¶
func NewModifyMarketParams() *ModifyMarketParams
NewModifyMarketParams creates a new ModifyMarketParams object with the default values initialized.
func NewModifyMarketParamsWithContext ¶
func NewModifyMarketParamsWithContext(ctx context.Context) *ModifyMarketParams
NewModifyMarketParamsWithContext creates a new ModifyMarketParams object with the default values initialized, and the ability to set a context for a request
func NewModifyMarketParamsWithHTTPClient ¶
func NewModifyMarketParamsWithHTTPClient(client *http.Client) *ModifyMarketParams
NewModifyMarketParamsWithHTTPClient creates a new ModifyMarketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewModifyMarketParamsWithTimeout ¶
func NewModifyMarketParamsWithTimeout(timeout time.Duration) *ModifyMarketParams
NewModifyMarketParamsWithTimeout creates a new ModifyMarketParams object with the default values initialized, and the ability to set a timeout on a request
func (*ModifyMarketParams) SetBody ¶
func (o *ModifyMarketParams) SetBody(body *models.OpenpitrixModifyMarketRequest)
SetBody adds the body to the modify market params
func (*ModifyMarketParams) SetContext ¶
func (o *ModifyMarketParams) SetContext(ctx context.Context)
SetContext adds the context to the modify market params
func (*ModifyMarketParams) SetHTTPClient ¶
func (o *ModifyMarketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify market params
func (*ModifyMarketParams) SetTimeout ¶
func (o *ModifyMarketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify market params
func (*ModifyMarketParams) WithBody ¶
func (o *ModifyMarketParams) WithBody(body *models.OpenpitrixModifyMarketRequest) *ModifyMarketParams
WithBody adds the body to the modify market params
func (*ModifyMarketParams) WithContext ¶
func (o *ModifyMarketParams) WithContext(ctx context.Context) *ModifyMarketParams
WithContext adds the context to the modify market params
func (*ModifyMarketParams) WithHTTPClient ¶
func (o *ModifyMarketParams) WithHTTPClient(client *http.Client) *ModifyMarketParams
WithHTTPClient adds the HTTPClient to the modify market params
func (*ModifyMarketParams) WithTimeout ¶
func (o *ModifyMarketParams) WithTimeout(timeout time.Duration) *ModifyMarketParams
WithTimeout adds the timeout to the modify market params
func (*ModifyMarketParams) WriteToRequest ¶
func (o *ModifyMarketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyMarketReader ¶
type ModifyMarketReader struct {
// contains filtered or unexported fields
}
ModifyMarketReader is a Reader for the ModifyMarket structure.
func (*ModifyMarketReader) ReadResponse ¶
func (o *ModifyMarketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserJoinMarketOK ¶
type UserJoinMarketOK struct {
Payload *models.OpenpitrixUserJoinMarketResponse
}
UserJoinMarketOK handles this case with default header values.
A successful response.
func NewUserJoinMarketOK ¶
func NewUserJoinMarketOK() *UserJoinMarketOK
NewUserJoinMarketOK creates a UserJoinMarketOK with default headers values
func (*UserJoinMarketOK) Error ¶
func (o *UserJoinMarketOK) Error() string
type UserJoinMarketParams ¶
type UserJoinMarketParams struct { /*Body*/ Body *models.OpenpitrixUserJoinMarketRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserJoinMarketParams contains all the parameters to send to the API endpoint for the user join market operation typically these are written to a http.Request
func NewUserJoinMarketParams ¶
func NewUserJoinMarketParams() *UserJoinMarketParams
NewUserJoinMarketParams creates a new UserJoinMarketParams object with the default values initialized.
func NewUserJoinMarketParamsWithContext ¶
func NewUserJoinMarketParamsWithContext(ctx context.Context) *UserJoinMarketParams
NewUserJoinMarketParamsWithContext creates a new UserJoinMarketParams object with the default values initialized, and the ability to set a context for a request
func NewUserJoinMarketParamsWithHTTPClient ¶
func NewUserJoinMarketParamsWithHTTPClient(client *http.Client) *UserJoinMarketParams
NewUserJoinMarketParamsWithHTTPClient creates a new UserJoinMarketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserJoinMarketParamsWithTimeout ¶
func NewUserJoinMarketParamsWithTimeout(timeout time.Duration) *UserJoinMarketParams
NewUserJoinMarketParamsWithTimeout creates a new UserJoinMarketParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserJoinMarketParams) SetBody ¶
func (o *UserJoinMarketParams) SetBody(body *models.OpenpitrixUserJoinMarketRequest)
SetBody adds the body to the user join market params
func (*UserJoinMarketParams) SetContext ¶
func (o *UserJoinMarketParams) SetContext(ctx context.Context)
SetContext adds the context to the user join market params
func (*UserJoinMarketParams) SetHTTPClient ¶
func (o *UserJoinMarketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user join market params
func (*UserJoinMarketParams) SetTimeout ¶
func (o *UserJoinMarketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user join market params
func (*UserJoinMarketParams) WithBody ¶
func (o *UserJoinMarketParams) WithBody(body *models.OpenpitrixUserJoinMarketRequest) *UserJoinMarketParams
WithBody adds the body to the user join market params
func (*UserJoinMarketParams) WithContext ¶
func (o *UserJoinMarketParams) WithContext(ctx context.Context) *UserJoinMarketParams
WithContext adds the context to the user join market params
func (*UserJoinMarketParams) WithHTTPClient ¶
func (o *UserJoinMarketParams) WithHTTPClient(client *http.Client) *UserJoinMarketParams
WithHTTPClient adds the HTTPClient to the user join market params
func (*UserJoinMarketParams) WithTimeout ¶
func (o *UserJoinMarketParams) WithTimeout(timeout time.Duration) *UserJoinMarketParams
WithTimeout adds the timeout to the user join market params
func (*UserJoinMarketParams) WriteToRequest ¶
func (o *UserJoinMarketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserJoinMarketReader ¶
type UserJoinMarketReader struct {
// contains filtered or unexported fields
}
UserJoinMarketReader is a Reader for the UserJoinMarket structure.
func (*UserJoinMarketReader) ReadResponse ¶
func (o *UserJoinMarketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserLeaveMarketOK ¶
type UserLeaveMarketOK struct {
Payload *models.OpenpitrixUserLeaveMarketResponse
}
UserLeaveMarketOK handles this case with default header values.
A successful response.
func NewUserLeaveMarketOK ¶
func NewUserLeaveMarketOK() *UserLeaveMarketOK
NewUserLeaveMarketOK creates a UserLeaveMarketOK with default headers values
func (*UserLeaveMarketOK) Error ¶
func (o *UserLeaveMarketOK) Error() string
type UserLeaveMarketParams ¶
type UserLeaveMarketParams struct { /*Body*/ Body *models.OpenpitrixUserLeaveMarketRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserLeaveMarketParams contains all the parameters to send to the API endpoint for the user leave market operation typically these are written to a http.Request
func NewUserLeaveMarketParams ¶
func NewUserLeaveMarketParams() *UserLeaveMarketParams
NewUserLeaveMarketParams creates a new UserLeaveMarketParams object with the default values initialized.
func NewUserLeaveMarketParamsWithContext ¶
func NewUserLeaveMarketParamsWithContext(ctx context.Context) *UserLeaveMarketParams
NewUserLeaveMarketParamsWithContext creates a new UserLeaveMarketParams object with the default values initialized, and the ability to set a context for a request
func NewUserLeaveMarketParamsWithHTTPClient ¶
func NewUserLeaveMarketParamsWithHTTPClient(client *http.Client) *UserLeaveMarketParams
NewUserLeaveMarketParamsWithHTTPClient creates a new UserLeaveMarketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserLeaveMarketParamsWithTimeout ¶
func NewUserLeaveMarketParamsWithTimeout(timeout time.Duration) *UserLeaveMarketParams
NewUserLeaveMarketParamsWithTimeout creates a new UserLeaveMarketParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserLeaveMarketParams) SetBody ¶
func (o *UserLeaveMarketParams) SetBody(body *models.OpenpitrixUserLeaveMarketRequest)
SetBody adds the body to the user leave market params
func (*UserLeaveMarketParams) SetContext ¶
func (o *UserLeaveMarketParams) SetContext(ctx context.Context)
SetContext adds the context to the user leave market params
func (*UserLeaveMarketParams) SetHTTPClient ¶
func (o *UserLeaveMarketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user leave market params
func (*UserLeaveMarketParams) SetTimeout ¶
func (o *UserLeaveMarketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user leave market params
func (*UserLeaveMarketParams) WithBody ¶
func (o *UserLeaveMarketParams) WithBody(body *models.OpenpitrixUserLeaveMarketRequest) *UserLeaveMarketParams
WithBody adds the body to the user leave market params
func (*UserLeaveMarketParams) WithContext ¶
func (o *UserLeaveMarketParams) WithContext(ctx context.Context) *UserLeaveMarketParams
WithContext adds the context to the user leave market params
func (*UserLeaveMarketParams) WithHTTPClient ¶
func (o *UserLeaveMarketParams) WithHTTPClient(client *http.Client) *UserLeaveMarketParams
WithHTTPClient adds the HTTPClient to the user leave market params
func (*UserLeaveMarketParams) WithTimeout ¶
func (o *UserLeaveMarketParams) WithTimeout(timeout time.Duration) *UserLeaveMarketParams
WithTimeout adds the timeout to the user leave market params
func (*UserLeaveMarketParams) WriteToRequest ¶
func (o *UserLeaveMarketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserLeaveMarketReader ¶
type UserLeaveMarketReader struct {
// contains filtered or unexported fields
}
UserLeaveMarketReader is a Reader for the UserLeaveMarket structure.
func (*UserLeaveMarketReader) ReadResponse ¶
func (o *UserLeaveMarketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_market_parameters.go
- create_market_responses.go
- delete_markets_parameters.go
- delete_markets_responses.go
- describe_market_users_parameters.go
- describe_market_users_responses.go
- describe_markets_parameters.go
- describe_markets_responses.go
- market_manager_client.go
- modify_market_parameters.go
- modify_market_responses.go
- user_join_market_parameters.go
- user_join_market_responses.go
- user_leave_market_parameters.go
- user_leave_market_responses.go