Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateCrayonAccounts(params *CreateCrayonAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCrayonAccountsOK, error)
- func (a *Client) GetCrayonAccountByID(params *GetCrayonAccountByIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetCrayonAccountByIDOK, error)
- func (a *Client) GetCrayonAccounts(params *GetCrayonAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCrayonAccountsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCrayonAccounts(params *UpdateCrayonAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCrayonAccountsOK, error)
- type ClientService
- type CreateCrayonAccountsOK
- type CreateCrayonAccountsParams
- func NewCreateCrayonAccountsParams() *CreateCrayonAccountsParams
- func NewCreateCrayonAccountsParamsWithContext(ctx context.Context) *CreateCrayonAccountsParams
- func NewCreateCrayonAccountsParamsWithHTTPClient(client *http.Client) *CreateCrayonAccountsParams
- func NewCreateCrayonAccountsParamsWithTimeout(timeout time.Duration) *CreateCrayonAccountsParams
- func (o *CreateCrayonAccountsParams) SetContext(ctx context.Context)
- func (o *CreateCrayonAccountsParams) SetCrayonAccount(crayonAccount *models.CrayonAccount)
- func (o *CreateCrayonAccountsParams) SetHTTPClient(client *http.Client)
- func (o *CreateCrayonAccountsParams) SetTimeout(timeout time.Duration)
- func (o *CreateCrayonAccountsParams) WithContext(ctx context.Context) *CreateCrayonAccountsParams
- func (o *CreateCrayonAccountsParams) WithCrayonAccount(crayonAccount *models.CrayonAccount) *CreateCrayonAccountsParams
- func (o *CreateCrayonAccountsParams) WithHTTPClient(client *http.Client) *CreateCrayonAccountsParams
- func (o *CreateCrayonAccountsParams) WithTimeout(timeout time.Duration) *CreateCrayonAccountsParams
- func (o *CreateCrayonAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCrayonAccountsReader
- type GetCrayonAccountByIDOK
- type GetCrayonAccountByIDParams
- func NewGetCrayonAccountByIDParams() *GetCrayonAccountByIDParams
- func NewGetCrayonAccountByIDParamsWithContext(ctx context.Context) *GetCrayonAccountByIDParams
- func NewGetCrayonAccountByIDParamsWithHTTPClient(client *http.Client) *GetCrayonAccountByIDParams
- func NewGetCrayonAccountByIDParamsWithTimeout(timeout time.Duration) *GetCrayonAccountByIDParams
- func (o *GetCrayonAccountByIDParams) SetContext(ctx context.Context)
- func (o *GetCrayonAccountByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetCrayonAccountByIDParams) SetID(id int32)
- func (o *GetCrayonAccountByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetCrayonAccountByIDParams) WithContext(ctx context.Context) *GetCrayonAccountByIDParams
- func (o *GetCrayonAccountByIDParams) WithHTTPClient(client *http.Client) *GetCrayonAccountByIDParams
- func (o *GetCrayonAccountByIDParams) WithID(id int32) *GetCrayonAccountByIDParams
- func (o *GetCrayonAccountByIDParams) WithTimeout(timeout time.Duration) *GetCrayonAccountByIDParams
- func (o *GetCrayonAccountByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCrayonAccountByIDReader
- type GetCrayonAccountsOK
- type GetCrayonAccountsParams
- func NewGetCrayonAccountsParams() *GetCrayonAccountsParams
- func NewGetCrayonAccountsParamsWithContext(ctx context.Context) *GetCrayonAccountsParams
- func NewGetCrayonAccountsParamsWithHTTPClient(client *http.Client) *GetCrayonAccountsParams
- func NewGetCrayonAccountsParamsWithTimeout(timeout time.Duration) *GetCrayonAccountsParams
- func (o *GetCrayonAccountsParams) SetConsumerID(consumerID *int32)
- func (o *GetCrayonAccountsParams) SetContext(ctx context.Context)
- func (o *GetCrayonAccountsParams) SetCustomerTenantType(customerTenantType *string)
- func (o *GetCrayonAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetCrayonAccountsParams) SetOrganizationID(organizationID *int32)
- func (o *GetCrayonAccountsParams) SetPage(page *int32)
- func (o *GetCrayonAccountsParams) SetPageSize(pageSize *int32)
- func (o *GetCrayonAccountsParams) SetPublisherID(publisherID *int32)
- func (o *GetCrayonAccountsParams) SetSearch(search *string)
- func (o *GetCrayonAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetCrayonAccountsParams) WithConsumerID(consumerID *int32) *GetCrayonAccountsParams
- func (o *GetCrayonAccountsParams) WithContext(ctx context.Context) *GetCrayonAccountsParams
- func (o *GetCrayonAccountsParams) WithCustomerTenantType(customerTenantType *string) *GetCrayonAccountsParams
- func (o *GetCrayonAccountsParams) WithHTTPClient(client *http.Client) *GetCrayonAccountsParams
- func (o *GetCrayonAccountsParams) WithOrganizationID(organizationID *int32) *GetCrayonAccountsParams
- func (o *GetCrayonAccountsParams) WithPage(page *int32) *GetCrayonAccountsParams
- func (o *GetCrayonAccountsParams) WithPageSize(pageSize *int32) *GetCrayonAccountsParams
- func (o *GetCrayonAccountsParams) WithPublisherID(publisherID *int32) *GetCrayonAccountsParams
- func (o *GetCrayonAccountsParams) WithSearch(search *string) *GetCrayonAccountsParams
- func (o *GetCrayonAccountsParams) WithTimeout(timeout time.Duration) *GetCrayonAccountsParams
- func (o *GetCrayonAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCrayonAccountsReader
- type UpdateCrayonAccountsOK
- type UpdateCrayonAccountsParams
- func NewUpdateCrayonAccountsParams() *UpdateCrayonAccountsParams
- func NewUpdateCrayonAccountsParamsWithContext(ctx context.Context) *UpdateCrayonAccountsParams
- func NewUpdateCrayonAccountsParamsWithHTTPClient(client *http.Client) *UpdateCrayonAccountsParams
- func NewUpdateCrayonAccountsParamsWithTimeout(timeout time.Duration) *UpdateCrayonAccountsParams
- func (o *UpdateCrayonAccountsParams) SetContext(ctx context.Context)
- func (o *UpdateCrayonAccountsParams) SetCrayonAccount(crayonAccount *models.CrayonAccount)
- func (o *UpdateCrayonAccountsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCrayonAccountsParams) SetID(id int32)
- func (o *UpdateCrayonAccountsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCrayonAccountsParams) WithContext(ctx context.Context) *UpdateCrayonAccountsParams
- func (o *UpdateCrayonAccountsParams) WithCrayonAccount(crayonAccount *models.CrayonAccount) *UpdateCrayonAccountsParams
- func (o *UpdateCrayonAccountsParams) WithHTTPClient(client *http.Client) *UpdateCrayonAccountsParams
- func (o *UpdateCrayonAccountsParams) WithID(id int32) *UpdateCrayonAccountsParams
- func (o *UpdateCrayonAccountsParams) WithTimeout(timeout time.Duration) *UpdateCrayonAccountsParams
- func (o *UpdateCrayonAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCrayonAccountsReader
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
func (o *CreateCrayonAccountsParams) WithContext(ctx context.Context) *CreateCrayonAccountsParams
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
func (o *CreateCrayonAccountsParams) WithHTTPClient(client *http.Client) *CreateCrayonAccountsParams
WithHTTPClient adds the HTTPClient to the create crayon accounts params
func (*CreateCrayonAccountsParams) WithTimeout ¶ added in v1.2.0
func (o *CreateCrayonAccountsParams) WithTimeout(timeout time.Duration) *CreateCrayonAccountsParams
WithTimeout adds the timeout to the create crayon accounts params
func (*CreateCrayonAccountsParams) WriteToRequest ¶ added in v1.2.0
func (o *CreateCrayonAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetCrayonAccountByIDParams) WithContext(ctx context.Context) *GetCrayonAccountByIDParams
WithContext adds the context to the get crayon account by Id params
func (*GetCrayonAccountByIDParams) WithHTTPClient ¶
func (o *GetCrayonAccountByIDParams) WithHTTPClient(client *http.Client) *GetCrayonAccountByIDParams
WithHTTPClient adds the HTTPClient to the get crayon account by Id params
func (*GetCrayonAccountByIDParams) WithID ¶
func (o *GetCrayonAccountByIDParams) WithID(id int32) *GetCrayonAccountByIDParams
WithID adds the id to the get crayon account by Id params
func (*GetCrayonAccountByIDParams) WithTimeout ¶
func (o *GetCrayonAccountByIDParams) WithTimeout(timeout time.Duration) *GetCrayonAccountByIDParams
WithTimeout adds the timeout to the get crayon account by Id params
func (*GetCrayonAccountByIDParams) WriteToRequest ¶
func (o *GetCrayonAccountByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetCrayonAccountsOK) GetPayload() *models.APICollectionOfCrayonAccount
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 ¶
func (o *GetCrayonAccountsParams) WithContext(ctx context.Context) *GetCrayonAccountsParams
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 ¶
func (o *GetCrayonAccountsParams) WithPage(page *int32) *GetCrayonAccountsParams
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 ¶
func (o *GetCrayonAccountsParams) WithTimeout(timeout time.Duration) *GetCrayonAccountsParams
WithTimeout adds the timeout to the get crayon accounts params
func (*GetCrayonAccountsParams) WriteToRequest ¶
func (o *GetCrayonAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *UpdateCrayonAccountsParams) WithContext(ctx context.Context) *UpdateCrayonAccountsParams
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
func (o *UpdateCrayonAccountsParams) WithHTTPClient(client *http.Client) *UpdateCrayonAccountsParams
WithHTTPClient adds the HTTPClient to the update crayon accounts params
func (*UpdateCrayonAccountsParams) WithID ¶ added in v1.2.0
func (o *UpdateCrayonAccountsParams) WithID(id int32) *UpdateCrayonAccountsParams
WithID adds the id to the update crayon accounts params
func (*UpdateCrayonAccountsParams) WithTimeout ¶ added in v1.2.0
func (o *UpdateCrayonAccountsParams) WithTimeout(timeout time.Duration) *UpdateCrayonAccountsParams
WithTimeout adds the timeout to the update crayon accounts params
func (*UpdateCrayonAccountsParams) WriteToRequest ¶ added in v1.2.0
func (o *UpdateCrayonAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- crayon_accounts_client.go
- create_crayon_accounts_parameters.go
- create_crayon_accounts_responses.go
- get_crayon_account_by_id_parameters.go
- get_crayon_account_by_id_responses.go
- get_crayon_accounts_parameters.go
- get_crayon_accounts_responses.go
- update_crayon_accounts_parameters.go
- update_crayon_accounts_responses.go