blog_items

package
v0.0.0-...-4ac4f36 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 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, opts ...ClientOption) (*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 ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetForDirectCustomers(params *GetForDirectCustomersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 describes a response with status code 200, 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.
	//
	// Format: int32
	// Default: 6
	Count *int32

	// OrganizationID.
	//
	// Format: int32
	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 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 NewGetForDirectCustomersParamsWithContext

func NewGetForDirectCustomersParamsWithContext(ctx context.Context) *GetForDirectCustomersParams

NewGetForDirectCustomersParamsWithContext creates a new GetForDirectCustomersParams object with 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 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 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) SetDefaults

func (o *GetForDirectCustomersParams) SetDefaults()

SetDefaults hydrates default values in the get for direct customers params (not the query body).

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

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) WithDefaults

WithDefaults hydrates default values in the get for direct customers params (not the query body).

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

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