salesmodules

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 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 salesmodules API

func (*Client) CompanySalesmodulesGet

func (a *Client) CompanySalesmodulesGet(params *CompanySalesmodulesGetParams, authInfo runtime.ClientAuthInfoWriter) (*CompanySalesmodulesGetOK, error)

CompanySalesmodulesGet bs e t a get active sales modules

func (*Client) CompanySalesmodulesPost

CompanySalesmodulesPost bs e t a add activate a new sales module

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	CompanySalesmodulesGet(params *CompanySalesmodulesGetParams, authInfo runtime.ClientAuthInfoWriter) (*CompanySalesmodulesGetOK, error)

	CompanySalesmodulesPost(params *CompanySalesmodulesPostParams, authInfo runtime.ClientAuthInfoWriter) (*CompanySalesmodulesPostCreated, 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 salesmodules API client.

type CompanySalesmodulesGetOK

type CompanySalesmodulesGetOK struct {
	Payload *models.ListResponseSalesModuleDTO
}

CompanySalesmodulesGetOK handles this case with default header values.

successful operation

func NewCompanySalesmodulesGetOK

func NewCompanySalesmodulesGetOK() *CompanySalesmodulesGetOK

NewCompanySalesmodulesGetOK creates a CompanySalesmodulesGetOK with default headers values

func (*CompanySalesmodulesGetOK) Error

func (o *CompanySalesmodulesGetOK) Error() string

func (*CompanySalesmodulesGetOK) GetPayload

type CompanySalesmodulesGetParams

type CompanySalesmodulesGetParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CompanySalesmodulesGetParams contains all the parameters to send to the API endpoint for the company salesmodules get operation typically these are written to a http.Request

func NewCompanySalesmodulesGetParams

func NewCompanySalesmodulesGetParams() *CompanySalesmodulesGetParams

NewCompanySalesmodulesGetParams creates a new CompanySalesmodulesGetParams object with the default values initialized.

func NewCompanySalesmodulesGetParamsWithContext

func NewCompanySalesmodulesGetParamsWithContext(ctx context.Context) *CompanySalesmodulesGetParams

NewCompanySalesmodulesGetParamsWithContext creates a new CompanySalesmodulesGetParams object with the default values initialized, and the ability to set a context for a request

func NewCompanySalesmodulesGetParamsWithHTTPClient

func NewCompanySalesmodulesGetParamsWithHTTPClient(client *http.Client) *CompanySalesmodulesGetParams

NewCompanySalesmodulesGetParamsWithHTTPClient creates a new CompanySalesmodulesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCompanySalesmodulesGetParamsWithTimeout

func NewCompanySalesmodulesGetParamsWithTimeout(timeout time.Duration) *CompanySalesmodulesGetParams

NewCompanySalesmodulesGetParamsWithTimeout creates a new CompanySalesmodulesGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*CompanySalesmodulesGetParams) SetContext

func (o *CompanySalesmodulesGetParams) SetContext(ctx context.Context)

SetContext adds the context to the company salesmodules get params

func (*CompanySalesmodulesGetParams) SetCount

func (o *CompanySalesmodulesGetParams) SetCount(count *int64)

SetCount adds the count to the company salesmodules get params

func (*CompanySalesmodulesGetParams) SetFields

func (o *CompanySalesmodulesGetParams) SetFields(fields *string)

SetFields adds the fields to the company salesmodules get params

func (*CompanySalesmodulesGetParams) SetFrom

func (o *CompanySalesmodulesGetParams) SetFrom(from *int64)

SetFrom adds the from to the company salesmodules get params

func (*CompanySalesmodulesGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the company salesmodules get params

func (*CompanySalesmodulesGetParams) SetSorting

func (o *CompanySalesmodulesGetParams) SetSorting(sorting *string)

SetSorting adds the sorting to the company salesmodules get params

func (*CompanySalesmodulesGetParams) SetTimeout

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

SetTimeout adds the timeout to the company salesmodules get params

func (*CompanySalesmodulesGetParams) WithContext

WithContext adds the context to the company salesmodules get params

func (*CompanySalesmodulesGetParams) WithCount

WithCount adds the count to the company salesmodules get params

func (*CompanySalesmodulesGetParams) WithFields

WithFields adds the fields to the company salesmodules get params

func (*CompanySalesmodulesGetParams) WithFrom

WithFrom adds the from to the company salesmodules get params

func (*CompanySalesmodulesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the company salesmodules get params

func (*CompanySalesmodulesGetParams) WithSorting

WithSorting adds the sorting to the company salesmodules get params

func (*CompanySalesmodulesGetParams) WithTimeout

WithTimeout adds the timeout to the company salesmodules get params

func (*CompanySalesmodulesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CompanySalesmodulesGetReader

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

CompanySalesmodulesGetReader is a Reader for the CompanySalesmodulesGet structure.

func (*CompanySalesmodulesGetReader) ReadResponse

func (o *CompanySalesmodulesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CompanySalesmodulesPostCreated

type CompanySalesmodulesPostCreated struct {
	Payload *models.ResponseWrapperSalesModuleDTO
}

CompanySalesmodulesPostCreated handles this case with default header values.

successfully created

func NewCompanySalesmodulesPostCreated

func NewCompanySalesmodulesPostCreated() *CompanySalesmodulesPostCreated

NewCompanySalesmodulesPostCreated creates a CompanySalesmodulesPostCreated with default headers values

func (*CompanySalesmodulesPostCreated) Error

func (*CompanySalesmodulesPostCreated) GetPayload

type CompanySalesmodulesPostParams

type CompanySalesmodulesPostParams struct {

	/*Body
	  JSON representing the new object to be created. Should not have ID and version set.

	*/
	Body *models.SalesModuleDTO

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CompanySalesmodulesPostParams contains all the parameters to send to the API endpoint for the company salesmodules post operation typically these are written to a http.Request

func NewCompanySalesmodulesPostParams

func NewCompanySalesmodulesPostParams() *CompanySalesmodulesPostParams

NewCompanySalesmodulesPostParams creates a new CompanySalesmodulesPostParams object with the default values initialized.

func NewCompanySalesmodulesPostParamsWithContext

func NewCompanySalesmodulesPostParamsWithContext(ctx context.Context) *CompanySalesmodulesPostParams

NewCompanySalesmodulesPostParamsWithContext creates a new CompanySalesmodulesPostParams object with the default values initialized, and the ability to set a context for a request

func NewCompanySalesmodulesPostParamsWithHTTPClient

func NewCompanySalesmodulesPostParamsWithHTTPClient(client *http.Client) *CompanySalesmodulesPostParams

NewCompanySalesmodulesPostParamsWithHTTPClient creates a new CompanySalesmodulesPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCompanySalesmodulesPostParamsWithTimeout

func NewCompanySalesmodulesPostParamsWithTimeout(timeout time.Duration) *CompanySalesmodulesPostParams

NewCompanySalesmodulesPostParamsWithTimeout creates a new CompanySalesmodulesPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*CompanySalesmodulesPostParams) SetBody

SetBody adds the body to the company salesmodules post params

func (*CompanySalesmodulesPostParams) SetContext

func (o *CompanySalesmodulesPostParams) SetContext(ctx context.Context)

SetContext adds the context to the company salesmodules post params

func (*CompanySalesmodulesPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the company salesmodules post params

func (*CompanySalesmodulesPostParams) SetTimeout

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

SetTimeout adds the timeout to the company salesmodules post params

func (*CompanySalesmodulesPostParams) WithBody

WithBody adds the body to the company salesmodules post params

func (*CompanySalesmodulesPostParams) WithContext

WithContext adds the context to the company salesmodules post params

func (*CompanySalesmodulesPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the company salesmodules post params

func (*CompanySalesmodulesPostParams) WithTimeout

WithTimeout adds the timeout to the company salesmodules post params

func (*CompanySalesmodulesPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CompanySalesmodulesPostReader

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

CompanySalesmodulesPostReader is a Reader for the CompanySalesmodulesPost structure.

func (*CompanySalesmodulesPostReader) ReadResponse

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