Versions in this module Expand all Collapse all v0 v0.0.3 Jul 1, 2020 v0.0.2 Jul 1, 2020 Changes in this version + type Client struct + func (a *Client) DeleteCustomers(params *DeleteCustomersParams) (*DeleteCustomersOK, error) + func (a *Client) GetCustomers(params *GetCustomersParams) (*GetCustomersOK, error) + func (a *Client) PostCustomers(params *PostCustomersParams) (*PostCustomersOK, error) + func (a *Client) PostUpdateCustomerContacts(params *PostUpdateCustomerContactsParams) (*PostUpdateCustomerContactsOK, error) + func (a *Client) PutCustomFields(params *PutCustomFieldsParams) (*PutCustomFieldsOK, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + type ClientService interface + DeleteCustomers func(params *DeleteCustomersParams) (*DeleteCustomersOK, error) + GetCustomers func(params *GetCustomersParams) (*GetCustomersOK, error) + PostCustomers func(params *PostCustomersParams) (*PostCustomersOK, error) + PostUpdateCustomerContacts func(params *PostUpdateCustomerContactsParams) (*PostUpdateCustomerContactsOK, error) + PutCustomFields func(params *PutCustomFieldsParams) (*PutCustomFieldsOK, error) + SetTransport func(transport runtime.ClientTransport) + func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService + type DeleteCustomersBadRequest struct + func NewDeleteCustomersBadRequest() *DeleteCustomersBadRequest + func (o *DeleteCustomersBadRequest) Error() string + type DeleteCustomersForbidden struct + func NewDeleteCustomersForbidden() *DeleteCustomersForbidden + func (o *DeleteCustomersForbidden) Error() string + type DeleteCustomersGone struct + func NewDeleteCustomersGone() *DeleteCustomersGone + func (o *DeleteCustomersGone) Error() string + type DeleteCustomersInternalServerError struct + func NewDeleteCustomersInternalServerError() *DeleteCustomersInternalServerError + func (o *DeleteCustomersInternalServerError) Error() string + type DeleteCustomersMethodNotAllowed struct + func NewDeleteCustomersMethodNotAllowed() *DeleteCustomersMethodNotAllowed + func (o *DeleteCustomersMethodNotAllowed) Error() string + type DeleteCustomersNotFound struct + func NewDeleteCustomersNotFound() *DeleteCustomersNotFound + func (o *DeleteCustomersNotFound) Error() string + type DeleteCustomersOK struct + Payload *DeleteCustomersOKBody + func NewDeleteCustomersOK() *DeleteCustomersOK + func (o *DeleteCustomersOK) Error() string + func (o *DeleteCustomersOK) GetPayload() *DeleteCustomersOKBody + type DeleteCustomersOKBody struct + Deleted interface{} + ID interface{} + func (o *DeleteCustomersOKBody) MarshalBinary() ([]byte, error) + func (o *DeleteCustomersOKBody) UnmarshalBinary(b []byte) error + func (o *DeleteCustomersOKBody) Validate(formats strfmt.Registry) error + type DeleteCustomersParams struct + Context context.Context + HTTPClient *http.Client + ID int64 + func NewDeleteCustomersParams() *DeleteCustomersParams + func NewDeleteCustomersParamsWithContext(ctx context.Context) *DeleteCustomersParams + func NewDeleteCustomersParamsWithHTTPClient(client *http.Client) *DeleteCustomersParams + func NewDeleteCustomersParamsWithTimeout(timeout time.Duration) *DeleteCustomersParams + func (o *DeleteCustomersParams) SetContext(ctx context.Context) + func (o *DeleteCustomersParams) SetHTTPClient(client *http.Client) + func (o *DeleteCustomersParams) SetID(id int64) + func (o *DeleteCustomersParams) SetTimeout(timeout time.Duration) + func (o *DeleteCustomersParams) WithContext(ctx context.Context) *DeleteCustomersParams + func (o *DeleteCustomersParams) WithHTTPClient(client *http.Client) *DeleteCustomersParams + func (o *DeleteCustomersParams) WithID(id int64) *DeleteCustomersParams + func (o *DeleteCustomersParams) WithTimeout(timeout time.Duration) *DeleteCustomersParams + func (o *DeleteCustomersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type DeleteCustomersReader struct + func (o *DeleteCustomersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type DeleteCustomersServiceUnavailable struct + func NewDeleteCustomersServiceUnavailable() *DeleteCustomersServiceUnavailable + func (o *DeleteCustomersServiceUnavailable) Error() string + type DeleteCustomersUnauthorized struct + func NewDeleteCustomersUnauthorized() *DeleteCustomersUnauthorized + func (o *DeleteCustomersUnauthorized) Error() string + type GetCustomersBadRequest struct + func NewGetCustomersBadRequest() *GetCustomersBadRequest + func (o *GetCustomersBadRequest) Error() string + type GetCustomersForbidden struct + func NewGetCustomersForbidden() *GetCustomersForbidden + func (o *GetCustomersForbidden) Error() string + type GetCustomersGone struct + func NewGetCustomersGone() *GetCustomersGone + func (o *GetCustomersGone) Error() string + type GetCustomersInternalServerError struct + func NewGetCustomersInternalServerError() *GetCustomersInternalServerError + func (o *GetCustomersInternalServerError) Error() string + type GetCustomersMethodNotAllowed struct + func NewGetCustomersMethodNotAllowed() *GetCustomersMethodNotAllowed + func (o *GetCustomersMethodNotAllowed) Error() string + type GetCustomersNotFound struct + func NewGetCustomersNotFound() *GetCustomersNotFound + func (o *GetCustomersNotFound) Error() string + type GetCustomersOK struct + Payload *GetCustomersOKBody + func NewGetCustomersOK() *GetCustomersOK + func (o *GetCustomersOK) Error() string + func (o *GetCustomersOK) GetPayload() *GetCustomersOKBody + type GetCustomersOKBody struct + Customers []*models.Customers + func (o *GetCustomersOKBody) MarshalBinary() ([]byte, error) + func (o *GetCustomersOKBody) UnmarshalBinary(b []byte) error + func (o *GetCustomersOKBody) Validate(formats strfmt.Registry) error + type GetCustomersParams struct + Context context.Context + HTTPClient *http.Client + IncludeCols *string + func NewGetCustomersParams() *GetCustomersParams + func NewGetCustomersParamsWithContext(ctx context.Context) *GetCustomersParams + func NewGetCustomersParamsWithHTTPClient(client *http.Client) *GetCustomersParams + func NewGetCustomersParamsWithTimeout(timeout time.Duration) *GetCustomersParams + func (o *GetCustomersParams) SetContext(ctx context.Context) + func (o *GetCustomersParams) SetHTTPClient(client *http.Client) + func (o *GetCustomersParams) SetIncludeCols(includeCols *string) + func (o *GetCustomersParams) SetTimeout(timeout time.Duration) + func (o *GetCustomersParams) WithContext(ctx context.Context) *GetCustomersParams + func (o *GetCustomersParams) WithHTTPClient(client *http.Client) *GetCustomersParams + func (o *GetCustomersParams) WithIncludeCols(includeCols *string) *GetCustomersParams + func (o *GetCustomersParams) WithTimeout(timeout time.Duration) *GetCustomersParams + func (o *GetCustomersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetCustomersReader struct + func (o *GetCustomersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetCustomersServiceUnavailable struct + func NewGetCustomersServiceUnavailable() *GetCustomersServiceUnavailable + func (o *GetCustomersServiceUnavailable) Error() string + type GetCustomersUnauthorized struct + func NewGetCustomersUnauthorized() *GetCustomersUnauthorized + func (o *GetCustomersUnauthorized) Error() string + type PostCustomersBadRequest struct + func NewPostCustomersBadRequest() *PostCustomersBadRequest + func (o *PostCustomersBadRequest) Error() string + type PostCustomersForbidden struct + func NewPostCustomersForbidden() *PostCustomersForbidden + func (o *PostCustomersForbidden) Error() string + type PostCustomersGone struct + func NewPostCustomersGone() *PostCustomersGone + func (o *PostCustomersGone) Error() string + type PostCustomersInternalServerError struct + func NewPostCustomersInternalServerError() *PostCustomersInternalServerError + func (o *PostCustomersInternalServerError) Error() string + type PostCustomersMethodNotAllowed struct + func NewPostCustomersMethodNotAllowed() *PostCustomersMethodNotAllowed + func (o *PostCustomersMethodNotAllowed) Error() string + type PostCustomersNotFound struct + func NewPostCustomersNotFound() *PostCustomersNotFound + func (o *PostCustomersNotFound) Error() string + type PostCustomersOK struct + Payload *PostCustomersOKBody + func NewPostCustomersOK() *PostCustomersOK + func (o *PostCustomersOK) Error() string + func (o *PostCustomersOK) GetPayload() *PostCustomersOKBody + type PostCustomersOKBody struct + Code interface{} + Msg interface{} + func (o *PostCustomersOKBody) MarshalBinary() ([]byte, error) + func (o *PostCustomersOKBody) UnmarshalBinary(b []byte) error + func (o *PostCustomersOKBody) Validate(formats strfmt.Registry) error + type PostCustomersParams struct + ContactInfo *string + Context context.Context + Groups *string + HTTPClient *http.Client + Name string + Notes *string + Type *string + func NewPostCustomersParams() *PostCustomersParams + func NewPostCustomersParamsWithContext(ctx context.Context) *PostCustomersParams + func NewPostCustomersParamsWithHTTPClient(client *http.Client) *PostCustomersParams + func NewPostCustomersParamsWithTimeout(timeout time.Duration) *PostCustomersParams + func (o *PostCustomersParams) SetContactInfo(contactInfo *string) + func (o *PostCustomersParams) SetContext(ctx context.Context) + func (o *PostCustomersParams) SetGroups(groups *string) + func (o *PostCustomersParams) SetHTTPClient(client *http.Client) + func (o *PostCustomersParams) SetName(name string) + func (o *PostCustomersParams) SetNotes(notes *string) + func (o *PostCustomersParams) SetTimeout(timeout time.Duration) + func (o *PostCustomersParams) SetType(typeVar *string) + func (o *PostCustomersParams) WithContactInfo(contactInfo *string) *PostCustomersParams + func (o *PostCustomersParams) WithContext(ctx context.Context) *PostCustomersParams + func (o *PostCustomersParams) WithGroups(groups *string) *PostCustomersParams + func (o *PostCustomersParams) WithHTTPClient(client *http.Client) *PostCustomersParams + func (o *PostCustomersParams) WithName(name string) *PostCustomersParams + func (o *PostCustomersParams) WithNotes(notes *string) *PostCustomersParams + func (o *PostCustomersParams) WithTimeout(timeout time.Duration) *PostCustomersParams + func (o *PostCustomersParams) WithType(typeVar *string) *PostCustomersParams + func (o *PostCustomersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type PostCustomersReader struct + func (o *PostCustomersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type PostCustomersServiceUnavailable struct + func NewPostCustomersServiceUnavailable() *PostCustomersServiceUnavailable + func (o *PostCustomersServiceUnavailable) Error() string + type PostCustomersUnauthorized struct + func NewPostCustomersUnauthorized() *PostCustomersUnauthorized + func (o *PostCustomersUnauthorized) Error() string + type PostUpdateCustomerContactsBadRequest struct + func NewPostUpdateCustomerContactsBadRequest() *PostUpdateCustomerContactsBadRequest + func (o *PostUpdateCustomerContactsBadRequest) Error() string + type PostUpdateCustomerContactsForbidden struct + func NewPostUpdateCustomerContactsForbidden() *PostUpdateCustomerContactsForbidden + func (o *PostUpdateCustomerContactsForbidden) Error() string + type PostUpdateCustomerContactsGone struct + func NewPostUpdateCustomerContactsGone() *PostUpdateCustomerContactsGone + func (o *PostUpdateCustomerContactsGone) Error() string + type PostUpdateCustomerContactsInternalServerError struct + func NewPostUpdateCustomerContactsInternalServerError() *PostUpdateCustomerContactsInternalServerError + func (o *PostUpdateCustomerContactsInternalServerError) Error() string + type PostUpdateCustomerContactsMethodNotAllowed struct + func NewPostUpdateCustomerContactsMethodNotAllowed() *PostUpdateCustomerContactsMethodNotAllowed + func (o *PostUpdateCustomerContactsMethodNotAllowed) Error() string + type PostUpdateCustomerContactsNotFound struct + func NewPostUpdateCustomerContactsNotFound() *PostUpdateCustomerContactsNotFound + func (o *PostUpdateCustomerContactsNotFound) Error() string + type PostUpdateCustomerContactsOK struct + Payload *PostUpdateCustomerContactsOKBody + func NewPostUpdateCustomerContactsOK() *PostUpdateCustomerContactsOK + func (o *PostUpdateCustomerContactsOK) Error() string + func (o *PostUpdateCustomerContactsOK) GetPayload() *PostUpdateCustomerContactsOKBody + type PostUpdateCustomerContactsOKBody struct + Code interface{} + Msg interface{} + func (o *PostUpdateCustomerContactsOKBody) MarshalBinary() ([]byte, error) + func (o *PostUpdateCustomerContactsOKBody) UnmarshalBinary(b []byte) error + func (o *PostUpdateCustomerContactsOKBody) Validate(formats strfmt.Registry) error + type PostUpdateCustomerContactsParams struct + Address *string + Context context.Context + Customer string + Email *string + HTTPClient *http.Client + Name string + Phone *string + Type string + func NewPostUpdateCustomerContactsParams() *PostUpdateCustomerContactsParams + func NewPostUpdateCustomerContactsParamsWithContext(ctx context.Context) *PostUpdateCustomerContactsParams + func NewPostUpdateCustomerContactsParamsWithHTTPClient(client *http.Client) *PostUpdateCustomerContactsParams + func NewPostUpdateCustomerContactsParamsWithTimeout(timeout time.Duration) *PostUpdateCustomerContactsParams + func (o *PostUpdateCustomerContactsParams) SetAddress(address *string) + func (o *PostUpdateCustomerContactsParams) SetContext(ctx context.Context) + func (o *PostUpdateCustomerContactsParams) SetCustomer(customer string) + func (o *PostUpdateCustomerContactsParams) SetEmail(email *string) + func (o *PostUpdateCustomerContactsParams) SetHTTPClient(client *http.Client) + func (o *PostUpdateCustomerContactsParams) SetName(name string) + func (o *PostUpdateCustomerContactsParams) SetPhone(phone *string) + func (o *PostUpdateCustomerContactsParams) SetTimeout(timeout time.Duration) + func (o *PostUpdateCustomerContactsParams) SetType(typeVar string) + func (o *PostUpdateCustomerContactsParams) WithAddress(address *string) *PostUpdateCustomerContactsParams + func (o *PostUpdateCustomerContactsParams) WithContext(ctx context.Context) *PostUpdateCustomerContactsParams + func (o *PostUpdateCustomerContactsParams) WithCustomer(customer string) *PostUpdateCustomerContactsParams + func (o *PostUpdateCustomerContactsParams) WithEmail(email *string) *PostUpdateCustomerContactsParams + func (o *PostUpdateCustomerContactsParams) WithHTTPClient(client *http.Client) *PostUpdateCustomerContactsParams + func (o *PostUpdateCustomerContactsParams) WithName(name string) *PostUpdateCustomerContactsParams + func (o *PostUpdateCustomerContactsParams) WithPhone(phone *string) *PostUpdateCustomerContactsParams + func (o *PostUpdateCustomerContactsParams) WithTimeout(timeout time.Duration) *PostUpdateCustomerContactsParams + func (o *PostUpdateCustomerContactsParams) WithType(typeVar string) *PostUpdateCustomerContactsParams + func (o *PostUpdateCustomerContactsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type PostUpdateCustomerContactsReader struct + func (o *PostUpdateCustomerContactsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type PostUpdateCustomerContactsServiceUnavailable struct + func NewPostUpdateCustomerContactsServiceUnavailable() *PostUpdateCustomerContactsServiceUnavailable + func (o *PostUpdateCustomerContactsServiceUnavailable) Error() string + type PostUpdateCustomerContactsUnauthorized struct + func NewPostUpdateCustomerContactsUnauthorized() *PostUpdateCustomerContactsUnauthorized + func (o *PostUpdateCustomerContactsUnauthorized) Error() string + type PutCustomFieldsBadRequest struct + func NewPutCustomFieldsBadRequest() *PutCustomFieldsBadRequest + func (o *PutCustomFieldsBadRequest) Error() string + type PutCustomFieldsForbidden struct + func NewPutCustomFieldsForbidden() *PutCustomFieldsForbidden + func (o *PutCustomFieldsForbidden) Error() string + type PutCustomFieldsGone struct + func NewPutCustomFieldsGone() *PutCustomFieldsGone + func (o *PutCustomFieldsGone) Error() string + type PutCustomFieldsInternalServerError struct + func NewPutCustomFieldsInternalServerError() *PutCustomFieldsInternalServerError + func (o *PutCustomFieldsInternalServerError) Error() string + type PutCustomFieldsMethodNotAllowed struct + func NewPutCustomFieldsMethodNotAllowed() *PutCustomFieldsMethodNotAllowed + func (o *PutCustomFieldsMethodNotAllowed) Error() string + type PutCustomFieldsNotFound struct + func NewPutCustomFieldsNotFound() *PutCustomFieldsNotFound + func (o *PutCustomFieldsNotFound) Error() string + type PutCustomFieldsOK struct + Payload *PutCustomFieldsOKBody + func NewPutCustomFieldsOK() *PutCustomFieldsOK + func (o *PutCustomFieldsOK) Error() string + func (o *PutCustomFieldsOK) GetPayload() *PutCustomFieldsOKBody + type PutCustomFieldsOKBody struct + Code interface{} + Msg interface{} + func (o *PutCustomFieldsOKBody) MarshalBinary() ([]byte, error) + func (o *PutCustomFieldsOKBody) UnmarshalBinary(b []byte) error + func (o *PutCustomFieldsOKBody) Validate(formats strfmt.Registry) error + type PutCustomFieldsParams struct + BulkFields *string + ClearValue *string + Context context.Context + HTTPClient *http.Client + Key string + Name string + Notes *string + RelatedFieldName *string + Type *string + Value *string + func NewPutCustomFieldsParams() *PutCustomFieldsParams + func NewPutCustomFieldsParamsWithContext(ctx context.Context) *PutCustomFieldsParams + func NewPutCustomFieldsParamsWithHTTPClient(client *http.Client) *PutCustomFieldsParams + func NewPutCustomFieldsParamsWithTimeout(timeout time.Duration) *PutCustomFieldsParams + func (o *PutCustomFieldsParams) SetBulkFields(bulkFields *string) + func (o *PutCustomFieldsParams) SetClearValue(clearValue *string) + func (o *PutCustomFieldsParams) SetContext(ctx context.Context) + func (o *PutCustomFieldsParams) SetHTTPClient(client *http.Client) + func (o *PutCustomFieldsParams) SetKey(key string) + func (o *PutCustomFieldsParams) SetName(name string) + func (o *PutCustomFieldsParams) SetNotes(notes *string) + func (o *PutCustomFieldsParams) SetRelatedFieldName(relatedFieldName *string) + func (o *PutCustomFieldsParams) SetTimeout(timeout time.Duration) + func (o *PutCustomFieldsParams) SetType(typeVar *string) + func (o *PutCustomFieldsParams) SetValue(value *string) + func (o *PutCustomFieldsParams) WithBulkFields(bulkFields *string) *PutCustomFieldsParams + func (o *PutCustomFieldsParams) WithClearValue(clearValue *string) *PutCustomFieldsParams + func (o *PutCustomFieldsParams) WithContext(ctx context.Context) *PutCustomFieldsParams + func (o *PutCustomFieldsParams) WithHTTPClient(client *http.Client) *PutCustomFieldsParams + func (o *PutCustomFieldsParams) WithKey(key string) *PutCustomFieldsParams + func (o *PutCustomFieldsParams) WithName(name string) *PutCustomFieldsParams + func (o *PutCustomFieldsParams) WithNotes(notes *string) *PutCustomFieldsParams + func (o *PutCustomFieldsParams) WithRelatedFieldName(relatedFieldName *string) *PutCustomFieldsParams + func (o *PutCustomFieldsParams) WithTimeout(timeout time.Duration) *PutCustomFieldsParams + func (o *PutCustomFieldsParams) WithType(typeVar *string) *PutCustomFieldsParams + func (o *PutCustomFieldsParams) WithValue(value *string) *PutCustomFieldsParams + func (o *PutCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type PutCustomFieldsReader struct + func (o *PutCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type PutCustomFieldsServiceUnavailable struct + func NewPutCustomFieldsServiceUnavailable() *PutCustomFieldsServiceUnavailable + func (o *PutCustomFieldsServiceUnavailable) Error() string + type PutCustomFieldsUnauthorized struct + func NewPutCustomFieldsUnauthorized() *PutCustomFieldsUnauthorized + func (o *PutCustomFieldsUnauthorized) Error() string