Documentation ¶
Index ¶
- type Client
- func (a *Client) CustomerGetCustomerCommits(params CustomerGetCustomerCommitsParams) (*CustomerGetCustomerCommitsOK, error)
- func (a *Client) CustomerGetCustomerNotifications(params CustomerGetCustomerNotificationsParams) (*CustomerGetCustomerNotificationsOK, error)
- func (a *Client) CustomerUpdateCustomerNotifications(params CustomerUpdateCustomerNotificationsParams) (*CustomerUpdateCustomerNotificationsOK, error)
- type ClientService
- type CustomerGetCustomerCommitsNotFound
- type CustomerGetCustomerCommitsOK
- type CustomerGetCustomerCommitsParams
- type CustomerGetCustomerNotificationsNotFound
- type CustomerGetCustomerNotificationsOK
- type CustomerGetCustomerNotificationsParams
- type CustomerUpdateCustomerNotificationsBadRequest
- type CustomerUpdateCustomerNotificationsOK
- type CustomerUpdateCustomerNotificationsParams
- type RequestParameters
- func NewRequestParameters() *RequestParameters
- func WriteToRequestCustomerGetCustomerCommitsParams(o CustomerGetCustomerCommitsParams) (RequestParameters, error)
- func WriteToRequestCustomerGetCustomerNotificationsParams(o CustomerGetCustomerNotificationsParams) (RequestParameters, error)
- func WriteToRequestCustomerUpdateCustomerNotificationsParams(o CustomerUpdateCustomerNotificationsParams) (RequestParameters, error)
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
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 ¶
func (o *CustomerGetCustomerCommitsParams) WithDefaults() *CustomerGetCustomerCommitsParams
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 ¶
func (o *CustomerGetCustomerNotificationsParams) WithDefaults() *CustomerGetCustomerNotificationsParams
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 ¶
func (o *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 ¶
func (o *CustomerUpdateCustomerNotificationsParams) WithDefaults() *CustomerUpdateCustomerNotificationsParams
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
Source Files ¶
- customer_client.go
- customer_get_customer_commits_parameters.go
- customer_get_customer_commits_responses.go
- customer_get_customer_notifications_parameters.go
- customer_get_customer_notifications_responses.go
- customer_update_customer_notifications_parameters.go
- customer_update_customer_notifications_responses.go