blog_items

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: Apache-2.0 Imports: 11 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 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

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

WithContext adds the context to the get for direct customers params

func (*GetForDirectCustomersParams) WithCount

WithCount adds the count to the get for direct customers params

func (*GetForDirectCustomersParams) WithHTTPClient

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

WithTimeout adds the timeout to the get for direct customers params

func (*GetForDirectCustomersParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL