Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetForDirectCustomersOK
- type GetForDirectCustomersParams
- func NewGetForDirectCustomersParams() *GetForDirectCustomersParams
- func NewGetForDirectCustomersParamsWithContext(ctx context.Context) *GetForDirectCustomersParams
- func NewGetForDirectCustomersParamsWithHTTPClient(client *http.Client) *GetForDirectCustomersParams
- func NewGetForDirectCustomersParamsWithTimeout(timeout time.Duration) *GetForDirectCustomersParams
- func (o *GetForDirectCustomersParams) SetContext(ctx context.Context)
- func (o *GetForDirectCustomersParams) SetCount(count *int32)
- func (o *GetForDirectCustomersParams) SetHTTPClient(client *http.Client)
- func (o *GetForDirectCustomersParams) SetOrganizationID(organizationID *int32)
- func (o *GetForDirectCustomersParams) SetTimeout(timeout time.Duration)
- func (o *GetForDirectCustomersParams) WithContext(ctx context.Context) *GetForDirectCustomersParams
- func (o *GetForDirectCustomersParams) WithCount(count *int32) *GetForDirectCustomersParams
- func (o *GetForDirectCustomersParams) WithHTTPClient(client *http.Client) *GetForDirectCustomersParams
- func (o *GetForDirectCustomersParams) WithOrganizationID(organizationID *int32) *GetForDirectCustomersParams
- func (o *GetForDirectCustomersParams) WithTimeout(timeout time.Duration) *GetForDirectCustomersParams
- func (o *GetForDirectCustomersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetForDirectCustomersReader
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 blog items API
func (*Client) GetForDirectCustomers ¶
func (a *Client) GetForDirectCustomers(params *GetForDirectCustomersParams, authInfo runtime.ClientAuthInfoWriter) (*GetForDirectCustomersOK, error)
GetForDirectCustomers get for direct customers API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetForDirectCustomers(params *GetForDirectCustomersParams, authInfo runtime.ClientAuthInfoWriter) (*GetForDirectCustomersOK, 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 blog items API client.
type GetForDirectCustomersOK ¶
type GetForDirectCustomersOK struct {
Payload *models.APICollectionOfBlogItem
}
GetForDirectCustomersOK handles this case with default header values.
Success
func NewGetForDirectCustomersOK ¶
func NewGetForDirectCustomersOK() *GetForDirectCustomersOK
NewGetForDirectCustomersOK creates a GetForDirectCustomersOK with default headers values
func (*GetForDirectCustomersOK) Error ¶
func (o *GetForDirectCustomersOK) Error() string
func (*GetForDirectCustomersOK) GetPayload ¶
func (o *GetForDirectCustomersOK) GetPayload() *models.APICollectionOfBlogItem
type GetForDirectCustomersParams ¶
type GetForDirectCustomersParams struct { /*Count*/ Count *int32 /*OrganizationID*/ OrganizationID *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetForDirectCustomersParams contains all the parameters to send to the API endpoint for the get for direct customers operation typically these are written to a http.Request
func NewGetForDirectCustomersParams ¶
func NewGetForDirectCustomersParams() *GetForDirectCustomersParams
NewGetForDirectCustomersParams creates a new GetForDirectCustomersParams object with the default values initialized.
func NewGetForDirectCustomersParamsWithContext ¶
func NewGetForDirectCustomersParamsWithContext(ctx context.Context) *GetForDirectCustomersParams
NewGetForDirectCustomersParamsWithContext creates a new GetForDirectCustomersParams object with the default values initialized, and the ability to set a context for a request
func NewGetForDirectCustomersParamsWithHTTPClient ¶
func NewGetForDirectCustomersParamsWithHTTPClient(client *http.Client) *GetForDirectCustomersParams
NewGetForDirectCustomersParamsWithHTTPClient creates a new GetForDirectCustomersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetForDirectCustomersParamsWithTimeout ¶
func NewGetForDirectCustomersParamsWithTimeout(timeout time.Duration) *GetForDirectCustomersParams
NewGetForDirectCustomersParamsWithTimeout creates a new GetForDirectCustomersParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetForDirectCustomersParams) SetContext ¶
func (o *GetForDirectCustomersParams) SetContext(ctx context.Context)
SetContext adds the context to the get for direct customers params
func (*GetForDirectCustomersParams) SetCount ¶
func (o *GetForDirectCustomersParams) SetCount(count *int32)
SetCount adds the count to the get for direct customers params
func (*GetForDirectCustomersParams) SetHTTPClient ¶
func (o *GetForDirectCustomersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get for direct customers params
func (*GetForDirectCustomersParams) SetOrganizationID ¶
func (o *GetForDirectCustomersParams) SetOrganizationID(organizationID *int32)
SetOrganizationID adds the organizationId to the get for direct customers params
func (*GetForDirectCustomersParams) SetTimeout ¶
func (o *GetForDirectCustomersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get for direct customers params
func (*GetForDirectCustomersParams) WithContext ¶
func (o *GetForDirectCustomersParams) WithContext(ctx context.Context) *GetForDirectCustomersParams
WithContext adds the context to the get for direct customers params
func (*GetForDirectCustomersParams) WithCount ¶
func (o *GetForDirectCustomersParams) WithCount(count *int32) *GetForDirectCustomersParams
WithCount adds the count to the get for direct customers params
func (*GetForDirectCustomersParams) WithHTTPClient ¶
func (o *GetForDirectCustomersParams) WithHTTPClient(client *http.Client) *GetForDirectCustomersParams
WithHTTPClient adds the HTTPClient to the get for direct customers params
func (*GetForDirectCustomersParams) WithOrganizationID ¶
func (o *GetForDirectCustomersParams) WithOrganizationID(organizationID *int32) *GetForDirectCustomersParams
WithOrganizationID adds the organizationID to the get for direct customers params
func (*GetForDirectCustomersParams) WithTimeout ¶
func (o *GetForDirectCustomersParams) WithTimeout(timeout time.Duration) *GetForDirectCustomersParams
WithTimeout adds the timeout to the get for direct customers params
func (*GetForDirectCustomersParams) WriteToRequest ¶
func (o *GetForDirectCustomersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetForDirectCustomersReader ¶
type GetForDirectCustomersReader struct {
// contains filtered or unexported fields
}
GetForDirectCustomersReader is a Reader for the GetForDirectCustomers structure.
func (*GetForDirectCustomersReader) ReadResponse ¶
func (o *GetForDirectCustomersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.