crayon_accounts

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 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 crayon accounts API

func (*Client) CreateCrayonAccounts added in v1.2.0

func (a *Client) CreateCrayonAccounts(params *CreateCrayonAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCrayonAccountsOK, error)

CreateCrayonAccounts create crayon accounts API

func (*Client) GetCrayonAccountByID

func (a *Client) GetCrayonAccountByID(params *GetCrayonAccountByIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetCrayonAccountByIDOK, error)

GetCrayonAccountByID get crayon account by Id API

func (*Client) GetCrayonAccounts

func (a *Client) GetCrayonAccounts(params *GetCrayonAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCrayonAccountsOK, error)

GetCrayonAccounts get crayon accounts API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCrayonAccounts added in v1.2.0

func (a *Client) UpdateCrayonAccounts(params *UpdateCrayonAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCrayonAccountsOK, error)

UpdateCrayonAccounts update crayon accounts API

type ClientService

type ClientService interface {
	CreateCrayonAccounts(params *CreateCrayonAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCrayonAccountsOK, error)

	GetCrayonAccountByID(params *GetCrayonAccountByIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetCrayonAccountByIDOK, error)

	GetCrayonAccounts(params *GetCrayonAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCrayonAccountsOK, error)

	UpdateCrayonAccounts(params *UpdateCrayonAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCrayonAccountsOK, 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 crayon accounts API client.

type CreateCrayonAccountsOK added in v1.2.0

type CreateCrayonAccountsOK struct {
	Payload *models.CrayonAccount
}

CreateCrayonAccountsOK handles this case with default header values.

Success

func NewCreateCrayonAccountsOK added in v1.2.0

func NewCreateCrayonAccountsOK() *CreateCrayonAccountsOK

NewCreateCrayonAccountsOK creates a CreateCrayonAccountsOK with default headers values

func (*CreateCrayonAccountsOK) Error added in v1.2.0

func (o *CreateCrayonAccountsOK) Error() string

func (*CreateCrayonAccountsOK) GetPayload added in v1.2.0

func (o *CreateCrayonAccountsOK) GetPayload() *models.CrayonAccount

type CreateCrayonAccountsParams added in v1.2.0

type CreateCrayonAccountsParams struct {

	/*CrayonAccount*/
	CrayonAccount *models.CrayonAccount

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

CreateCrayonAccountsParams contains all the parameters to send to the API endpoint for the create crayon accounts operation typically these are written to a http.Request

func NewCreateCrayonAccountsParams added in v1.2.0

func NewCreateCrayonAccountsParams() *CreateCrayonAccountsParams

NewCreateCrayonAccountsParams creates a new CreateCrayonAccountsParams object with the default values initialized.

func NewCreateCrayonAccountsParamsWithContext added in v1.2.0

func NewCreateCrayonAccountsParamsWithContext(ctx context.Context) *CreateCrayonAccountsParams

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

func NewCreateCrayonAccountsParamsWithHTTPClient added in v1.2.0

func NewCreateCrayonAccountsParamsWithHTTPClient(client *http.Client) *CreateCrayonAccountsParams

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

func NewCreateCrayonAccountsParamsWithTimeout added in v1.2.0

func NewCreateCrayonAccountsParamsWithTimeout(timeout time.Duration) *CreateCrayonAccountsParams

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

func (*CreateCrayonAccountsParams) SetContext added in v1.2.0

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

SetContext adds the context to the create crayon accounts params

func (*CreateCrayonAccountsParams) SetCrayonAccount added in v1.2.0

func (o *CreateCrayonAccountsParams) SetCrayonAccount(crayonAccount *models.CrayonAccount)

SetCrayonAccount adds the crayonAccount to the create crayon accounts params

func (*CreateCrayonAccountsParams) SetHTTPClient added in v1.2.0

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

SetHTTPClient adds the HTTPClient to the create crayon accounts params

func (*CreateCrayonAccountsParams) SetTimeout added in v1.2.0

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

SetTimeout adds the timeout to the create crayon accounts params

func (*CreateCrayonAccountsParams) WithContext added in v1.2.0

WithContext adds the context to the create crayon accounts params

func (*CreateCrayonAccountsParams) WithCrayonAccount added in v1.2.0

func (o *CreateCrayonAccountsParams) WithCrayonAccount(crayonAccount *models.CrayonAccount) *CreateCrayonAccountsParams

WithCrayonAccount adds the crayonAccount to the create crayon accounts params

func (*CreateCrayonAccountsParams) WithHTTPClient added in v1.2.0

WithHTTPClient adds the HTTPClient to the create crayon accounts params

func (*CreateCrayonAccountsParams) WithTimeout added in v1.2.0

WithTimeout adds the timeout to the create crayon accounts params

func (*CreateCrayonAccountsParams) WriteToRequest added in v1.2.0

WriteToRequest writes these params to a swagger request

type CreateCrayonAccountsReader added in v1.2.0

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

CreateCrayonAccountsReader is a Reader for the CreateCrayonAccounts structure.

func (*CreateCrayonAccountsReader) ReadResponse added in v1.2.0

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

ReadResponse reads a server response into the received o.

type GetCrayonAccountByIDOK

type GetCrayonAccountByIDOK struct {
	Payload *models.CrayonAccount
}

GetCrayonAccountByIDOK handles this case with default header values.

Success

func NewGetCrayonAccountByIDOK

func NewGetCrayonAccountByIDOK() *GetCrayonAccountByIDOK

NewGetCrayonAccountByIDOK creates a GetCrayonAccountByIDOK with default headers values

func (*GetCrayonAccountByIDOK) Error

func (o *GetCrayonAccountByIDOK) Error() string

func (*GetCrayonAccountByIDOK) GetPayload

func (o *GetCrayonAccountByIDOK) GetPayload() *models.CrayonAccount

type GetCrayonAccountByIDParams

type GetCrayonAccountByIDParams struct {

	/*ID*/
	ID int32

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

GetCrayonAccountByIDParams contains all the parameters to send to the API endpoint for the get crayon account by Id operation typically these are written to a http.Request

func NewGetCrayonAccountByIDParams

func NewGetCrayonAccountByIDParams() *GetCrayonAccountByIDParams

NewGetCrayonAccountByIDParams creates a new GetCrayonAccountByIDParams object with the default values initialized.

func NewGetCrayonAccountByIDParamsWithContext

func NewGetCrayonAccountByIDParamsWithContext(ctx context.Context) *GetCrayonAccountByIDParams

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

func NewGetCrayonAccountByIDParamsWithHTTPClient

func NewGetCrayonAccountByIDParamsWithHTTPClient(client *http.Client) *GetCrayonAccountByIDParams

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

func NewGetCrayonAccountByIDParamsWithTimeout

func NewGetCrayonAccountByIDParamsWithTimeout(timeout time.Duration) *GetCrayonAccountByIDParams

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

func (*GetCrayonAccountByIDParams) SetContext

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

SetContext adds the context to the get crayon account by Id params

func (*GetCrayonAccountByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get crayon account by Id params

func (*GetCrayonAccountByIDParams) SetID

func (o *GetCrayonAccountByIDParams) SetID(id int32)

SetID adds the id to the get crayon account by Id params

func (*GetCrayonAccountByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get crayon account by Id params

func (*GetCrayonAccountByIDParams) WithContext

WithContext adds the context to the get crayon account by Id params

func (*GetCrayonAccountByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get crayon account by Id params

func (*GetCrayonAccountByIDParams) WithID

WithID adds the id to the get crayon account by Id params

func (*GetCrayonAccountByIDParams) WithTimeout

WithTimeout adds the timeout to the get crayon account by Id params

func (*GetCrayonAccountByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCrayonAccountByIDReader

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

GetCrayonAccountByIDReader is a Reader for the GetCrayonAccountByID structure.

func (*GetCrayonAccountByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCrayonAccountsOK

type GetCrayonAccountsOK struct {
	Payload *models.APICollectionOfCrayonAccount
}

GetCrayonAccountsOK handles this case with default header values.

Success

func NewGetCrayonAccountsOK

func NewGetCrayonAccountsOK() *GetCrayonAccountsOK

NewGetCrayonAccountsOK creates a GetCrayonAccountsOK with default headers values

func (*GetCrayonAccountsOK) Error

func (o *GetCrayonAccountsOK) Error() string

func (*GetCrayonAccountsOK) GetPayload

type GetCrayonAccountsParams

type GetCrayonAccountsParams struct {

	/*ConsumerID*/
	ConsumerID *int32
	/*CustomerTenantType*/
	CustomerTenantType *string
	/*OrganizationID*/
	OrganizationID *int32
	/*Page*/
	Page *int32
	/*PageSize*/
	PageSize *int32
	/*PublisherID*/
	PublisherID *int32
	/*Search*/
	Search *string

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

GetCrayonAccountsParams contains all the parameters to send to the API endpoint for the get crayon accounts operation typically these are written to a http.Request

func NewGetCrayonAccountsParams

func NewGetCrayonAccountsParams() *GetCrayonAccountsParams

NewGetCrayonAccountsParams creates a new GetCrayonAccountsParams object with the default values initialized.

func NewGetCrayonAccountsParamsWithContext

func NewGetCrayonAccountsParamsWithContext(ctx context.Context) *GetCrayonAccountsParams

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

func NewGetCrayonAccountsParamsWithHTTPClient

func NewGetCrayonAccountsParamsWithHTTPClient(client *http.Client) *GetCrayonAccountsParams

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

func NewGetCrayonAccountsParamsWithTimeout

func NewGetCrayonAccountsParamsWithTimeout(timeout time.Duration) *GetCrayonAccountsParams

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

func (*GetCrayonAccountsParams) SetConsumerID

func (o *GetCrayonAccountsParams) SetConsumerID(consumerID *int32)

SetConsumerID adds the consumerId to the get crayon accounts params

func (*GetCrayonAccountsParams) SetContext

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

SetContext adds the context to the get crayon accounts params

func (*GetCrayonAccountsParams) SetCustomerTenantType

func (o *GetCrayonAccountsParams) SetCustomerTenantType(customerTenantType *string)

SetCustomerTenantType adds the customerTenantType to the get crayon accounts params

func (*GetCrayonAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get crayon accounts params

func (*GetCrayonAccountsParams) SetOrganizationID

func (o *GetCrayonAccountsParams) SetOrganizationID(organizationID *int32)

SetOrganizationID adds the organizationId to the get crayon accounts params

func (*GetCrayonAccountsParams) SetPage

func (o *GetCrayonAccountsParams) SetPage(page *int32)

SetPage adds the page to the get crayon accounts params

func (*GetCrayonAccountsParams) SetPageSize

func (o *GetCrayonAccountsParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get crayon accounts params

func (*GetCrayonAccountsParams) SetPublisherID

func (o *GetCrayonAccountsParams) SetPublisherID(publisherID *int32)

SetPublisherID adds the publisherId to the get crayon accounts params

func (*GetCrayonAccountsParams) SetSearch

func (o *GetCrayonAccountsParams) SetSearch(search *string)

SetSearch adds the search to the get crayon accounts params

func (*GetCrayonAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the get crayon accounts params

func (*GetCrayonAccountsParams) WithConsumerID

func (o *GetCrayonAccountsParams) WithConsumerID(consumerID *int32) *GetCrayonAccountsParams

WithConsumerID adds the consumerID to the get crayon accounts params

func (*GetCrayonAccountsParams) WithContext

WithContext adds the context to the get crayon accounts params

func (*GetCrayonAccountsParams) WithCustomerTenantType

func (o *GetCrayonAccountsParams) WithCustomerTenantType(customerTenantType *string) *GetCrayonAccountsParams

WithCustomerTenantType adds the customerTenantType to the get crayon accounts params

func (*GetCrayonAccountsParams) WithHTTPClient

func (o *GetCrayonAccountsParams) WithHTTPClient(client *http.Client) *GetCrayonAccountsParams

WithHTTPClient adds the HTTPClient to the get crayon accounts params

func (*GetCrayonAccountsParams) WithOrganizationID

func (o *GetCrayonAccountsParams) WithOrganizationID(organizationID *int32) *GetCrayonAccountsParams

WithOrganizationID adds the organizationID to the get crayon accounts params

func (*GetCrayonAccountsParams) WithPage

WithPage adds the page to the get crayon accounts params

func (*GetCrayonAccountsParams) WithPageSize

func (o *GetCrayonAccountsParams) WithPageSize(pageSize *int32) *GetCrayonAccountsParams

WithPageSize adds the pageSize to the get crayon accounts params

func (*GetCrayonAccountsParams) WithPublisherID

func (o *GetCrayonAccountsParams) WithPublisherID(publisherID *int32) *GetCrayonAccountsParams

WithPublisherID adds the publisherID to the get crayon accounts params

func (*GetCrayonAccountsParams) WithSearch

func (o *GetCrayonAccountsParams) WithSearch(search *string) *GetCrayonAccountsParams

WithSearch adds the search to the get crayon accounts params

func (*GetCrayonAccountsParams) WithTimeout

WithTimeout adds the timeout to the get crayon accounts params

func (*GetCrayonAccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCrayonAccountsReader

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

GetCrayonAccountsReader is a Reader for the GetCrayonAccounts structure.

func (*GetCrayonAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCrayonAccountsOK added in v1.2.0

type UpdateCrayonAccountsOK struct {
	Payload *models.CrayonAccount
}

UpdateCrayonAccountsOK handles this case with default header values.

Success

func NewUpdateCrayonAccountsOK added in v1.2.0

func NewUpdateCrayonAccountsOK() *UpdateCrayonAccountsOK

NewUpdateCrayonAccountsOK creates a UpdateCrayonAccountsOK with default headers values

func (*UpdateCrayonAccountsOK) Error added in v1.2.0

func (o *UpdateCrayonAccountsOK) Error() string

func (*UpdateCrayonAccountsOK) GetPayload added in v1.2.0

func (o *UpdateCrayonAccountsOK) GetPayload() *models.CrayonAccount

type UpdateCrayonAccountsParams added in v1.2.0

type UpdateCrayonAccountsParams struct {

	/*CrayonAccount*/
	CrayonAccount *models.CrayonAccount
	/*ID*/
	ID int32

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

UpdateCrayonAccountsParams contains all the parameters to send to the API endpoint for the update crayon accounts operation typically these are written to a http.Request

func NewUpdateCrayonAccountsParams added in v1.2.0

func NewUpdateCrayonAccountsParams() *UpdateCrayonAccountsParams

NewUpdateCrayonAccountsParams creates a new UpdateCrayonAccountsParams object with the default values initialized.

func NewUpdateCrayonAccountsParamsWithContext added in v1.2.0

func NewUpdateCrayonAccountsParamsWithContext(ctx context.Context) *UpdateCrayonAccountsParams

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

func NewUpdateCrayonAccountsParamsWithHTTPClient added in v1.2.0

func NewUpdateCrayonAccountsParamsWithHTTPClient(client *http.Client) *UpdateCrayonAccountsParams

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

func NewUpdateCrayonAccountsParamsWithTimeout added in v1.2.0

func NewUpdateCrayonAccountsParamsWithTimeout(timeout time.Duration) *UpdateCrayonAccountsParams

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

func (*UpdateCrayonAccountsParams) SetContext added in v1.2.0

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

SetContext adds the context to the update crayon accounts params

func (*UpdateCrayonAccountsParams) SetCrayonAccount added in v1.2.0

func (o *UpdateCrayonAccountsParams) SetCrayonAccount(crayonAccount *models.CrayonAccount)

SetCrayonAccount adds the crayonAccount to the update crayon accounts params

func (*UpdateCrayonAccountsParams) SetHTTPClient added in v1.2.0

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

SetHTTPClient adds the HTTPClient to the update crayon accounts params

func (*UpdateCrayonAccountsParams) SetID added in v1.2.0

func (o *UpdateCrayonAccountsParams) SetID(id int32)

SetID adds the id to the update crayon accounts params

func (*UpdateCrayonAccountsParams) SetTimeout added in v1.2.0

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

SetTimeout adds the timeout to the update crayon accounts params

func (*UpdateCrayonAccountsParams) WithContext added in v1.2.0

WithContext adds the context to the update crayon accounts params

func (*UpdateCrayonAccountsParams) WithCrayonAccount added in v1.2.0

func (o *UpdateCrayonAccountsParams) WithCrayonAccount(crayonAccount *models.CrayonAccount) *UpdateCrayonAccountsParams

WithCrayonAccount adds the crayonAccount to the update crayon accounts params

func (*UpdateCrayonAccountsParams) WithHTTPClient added in v1.2.0

WithHTTPClient adds the HTTPClient to the update crayon accounts params

func (*UpdateCrayonAccountsParams) WithID added in v1.2.0

WithID adds the id to the update crayon accounts params

func (*UpdateCrayonAccountsParams) WithTimeout added in v1.2.0

WithTimeout adds the timeout to the update crayon accounts params

func (*UpdateCrayonAccountsParams) WriteToRequest added in v1.2.0

WriteToRequest writes these params to a swagger request

type UpdateCrayonAccountsReader added in v1.2.0

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

UpdateCrayonAccountsReader is a Reader for the UpdateCrayonAccounts structure.

func (*UpdateCrayonAccountsReader) ReadResponse added in v1.2.0

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