customer

package
v0.1.25 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 7 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 customer API

func (*Client) CustomerGetCustomerCommits

func (a *Client) CustomerGetCustomerCommits(params CustomerGetCustomerCommitsParams) (*CustomerGetCustomerCommitsOK, error)

CustomerGetCustomerCommits customer get customer commits API

func (*Client) CustomerGetCustomerNotifications

func (a *Client) CustomerGetCustomerNotifications(params CustomerGetCustomerNotificationsParams) (*CustomerGetCustomerNotificationsOK, error)

CustomerGetCustomerNotifications customer get customer notifications API

func (*Client) CustomerUpdateCustomerNotifications

func (a *Client) CustomerUpdateCustomerNotifications(params CustomerUpdateCustomerNotificationsParams) (*CustomerUpdateCustomerNotificationsOK, error)

CustomerUpdateCustomerNotifications customer update customer notifications API

type ClientService

type ClientService interface {
	CustomerGetCustomerCommits(params CustomerGetCustomerCommitsParams) (*CustomerGetCustomerCommitsOK, error)

	CustomerGetCustomerNotifications(params CustomerGetCustomerNotificationsParams) (*CustomerGetCustomerNotificationsOK, error)

	CustomerUpdateCustomerNotifications(params CustomerUpdateCustomerNotificationsParams) (*CustomerUpdateCustomerNotificationsOK, error)
}

ClientService is the interface for Client methods

func New

func New(c ecclient.APIClient, baseAPIURL string) ClientService

New creates a new customer API client.

type CustomerGetCustomerCommitsNotFound

type CustomerGetCustomerCommitsNotFound struct {
	models.HyperionErrorReponse
}
CustomerGetCustomerCommitsNotFound describes a response with status code 404, with default header values.

Not Found

func NewCustomerGetCustomerCommitsNotFound

func NewCustomerGetCustomerCommitsNotFound() *CustomerGetCustomerCommitsNotFound

NewCustomerGetCustomerCommitsNotFound creates a CustomerGetCustomerCommitsNotFound with default headers values

type CustomerGetCustomerCommitsOK

type CustomerGetCustomerCommitsOK struct {
	models.CustomerCommit
}
CustomerGetCustomerCommitsOK describes a response with status code 200, with default header values.

Success

func NewCustomerGetCustomerCommitsOK

func NewCustomerGetCustomerCommitsOK() *CustomerGetCustomerCommitsOK

NewCustomerGetCustomerCommitsOK creates a CustomerGetCustomerCommitsOK with default headers values

type CustomerGetCustomerCommitsParams

type CustomerGetCustomerCommitsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CustomerGetCustomerCommitsParams contains all the parameters to send to the API endpoint for the customer get customer commits operation. Typically these are written to a http.Request.

func NewCustomerGetCustomerCommitsParams

func NewCustomerGetCustomerCommitsParams() CustomerGetCustomerCommitsParams

NewCustomerGetCustomerCommitsParams creates a new CustomerGetCustomerCommitsParams 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 (*CustomerGetCustomerCommitsParams) SetDefaults

func (o *CustomerGetCustomerCommitsParams) SetDefaults()

SetDefaults hydrates default values in the customer get customer commits params (not the query body).

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

func (*CustomerGetCustomerCommitsParams) WithDefaults

WithDefaults hydrates default values in the customer get customer commits params (not the query body).

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

type CustomerGetCustomerNotificationsNotFound

type CustomerGetCustomerNotificationsNotFound struct {
	models.HyperionErrorReponse
}
CustomerGetCustomerNotificationsNotFound describes a response with status code 404, with default header values.

Not Found

func NewCustomerGetCustomerNotificationsNotFound

func NewCustomerGetCustomerNotificationsNotFound() *CustomerGetCustomerNotificationsNotFound

NewCustomerGetCustomerNotificationsNotFound creates a CustomerGetCustomerNotificationsNotFound with default headers values

type CustomerGetCustomerNotificationsOK

type CustomerGetCustomerNotificationsOK struct {
	models.HyperionCollectionEmailNotification
}
CustomerGetCustomerNotificationsOK describes a response with status code 200, with default header values.

Success

func NewCustomerGetCustomerNotificationsOK

func NewCustomerGetCustomerNotificationsOK() *CustomerGetCustomerNotificationsOK

NewCustomerGetCustomerNotificationsOK creates a CustomerGetCustomerNotificationsOK with default headers values

type CustomerGetCustomerNotificationsParams

type CustomerGetCustomerNotificationsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CustomerGetCustomerNotificationsParams contains all the parameters to send to the API endpoint for the customer get customer notifications operation. Typically these are written to a http.Request.

func NewCustomerGetCustomerNotificationsParams

func NewCustomerGetCustomerNotificationsParams() CustomerGetCustomerNotificationsParams

NewCustomerGetCustomerNotificationsParams creates a new CustomerGetCustomerNotificationsParams 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 (*CustomerGetCustomerNotificationsParams) SetDefaults

func (o *CustomerGetCustomerNotificationsParams) SetDefaults()

SetDefaults hydrates default values in the customer get customer notifications params (not the query body).

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

func (*CustomerGetCustomerNotificationsParams) WithDefaults

WithDefaults hydrates default values in the customer get customer notifications params (not the query body).

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

type CustomerUpdateCustomerNotificationsBadRequest

type CustomerUpdateCustomerNotificationsBadRequest struct {
	models.HyperionErrorReponse
}
CustomerUpdateCustomerNotificationsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCustomerUpdateCustomerNotificationsBadRequest

func NewCustomerUpdateCustomerNotificationsBadRequest() *CustomerUpdateCustomerNotificationsBadRequest

NewCustomerUpdateCustomerNotificationsBadRequest creates a CustomerUpdateCustomerNotificationsBadRequest with default headers values

type CustomerUpdateCustomerNotificationsOK

type CustomerUpdateCustomerNotificationsOK struct {
	models.HyperionCollectionEmailNotification
}
CustomerUpdateCustomerNotificationsOK describes a response with status code 200, with default header values.

Success

func NewCustomerUpdateCustomerNotificationsOK

func NewCustomerUpdateCustomerNotificationsOK() *CustomerUpdateCustomerNotificationsOK

NewCustomerUpdateCustomerNotificationsOK creates a CustomerUpdateCustomerNotificationsOK with default headers values

type CustomerUpdateCustomerNotificationsParams

type CustomerUpdateCustomerNotificationsParams struct {

	// Notifications.
	Notifications []*models.EmailNotification

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

CustomerUpdateCustomerNotificationsParams contains all the parameters to send to the API endpoint for the customer update customer notifications operation. Typically these are written to a http.Request.

func NewCustomerUpdateCustomerNotificationsParams

func NewCustomerUpdateCustomerNotificationsParams() CustomerUpdateCustomerNotificationsParams

NewCustomerUpdateCustomerNotificationsParams creates a new CustomerUpdateCustomerNotificationsParams 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 (*CustomerUpdateCustomerNotificationsParams) SetDefaults

SetDefaults hydrates default values in the customer update customer notifications params (not the query body).

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

func (*CustomerUpdateCustomerNotificationsParams) WithDefaults

WithDefaults hydrates default values in the customer update customer notifications params (not the query body).

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

type RequestParameters

type RequestParameters struct {
	QueryParams map[string]string
	PathParams  map[string]string
	Body        interface{}
}

func NewRequestParameters

func NewRequestParameters() *RequestParameters

func WriteToRequestCustomerGetCustomerCommitsParams

func WriteToRequestCustomerGetCustomerCommitsParams(o CustomerGetCustomerCommitsParams) (RequestParameters, error)

WriteToRequest extracts parameters and sets for the request to be consumed

func WriteToRequestCustomerGetCustomerNotificationsParams

func WriteToRequestCustomerGetCustomerNotificationsParams(o CustomerGetCustomerNotificationsParams) (RequestParameters, error)

WriteToRequest extracts parameters and sets for the request to be consumed

func WriteToRequestCustomerUpdateCustomerNotificationsParams

func WriteToRequestCustomerUpdateCustomerNotificationsParams(o CustomerUpdateCustomerNotificationsParams) (RequestParameters, error)

WriteToRequest extracts parameters and sets for the request to be consumed

Jump to

Keyboard shortcuts

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