operations

package
v0.0.0-...-c4b140d Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2023 License: GPL-3.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 ApplyLinkSuggestionBadRequest

type ApplyLinkSuggestionBadRequest struct {
	Payload *models.ErrorResponse
}
ApplyLinkSuggestionBadRequest describes a response with status code 400, with default header values.

Error

func NewApplyLinkSuggestionBadRequest

func NewApplyLinkSuggestionBadRequest() *ApplyLinkSuggestionBadRequest

NewApplyLinkSuggestionBadRequest creates a ApplyLinkSuggestionBadRequest with default headers values

func (*ApplyLinkSuggestionBadRequest) Error

func (*ApplyLinkSuggestionBadRequest) GetPayload

type ApplyLinkSuggestionBody

type ApplyLinkSuggestionBody struct {

	// unified ids
	UnifiedIds []string `json:"unified_ids"`
}

ApplyLinkSuggestionBody apply link suggestion body swagger:model ApplyLinkSuggestionBody

func (*ApplyLinkSuggestionBody) ContextValidate

func (o *ApplyLinkSuggestionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this apply link suggestion body based on context it is used

func (*ApplyLinkSuggestionBody) MarshalBinary

func (o *ApplyLinkSuggestionBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApplyLinkSuggestionBody) UnmarshalBinary

func (o *ApplyLinkSuggestionBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApplyLinkSuggestionBody) Validate

func (o *ApplyLinkSuggestionBody) Validate(formats strfmt.Registry) error

Validate validates this apply link suggestion body

type ApplyLinkSuggestionInternalServerError

type ApplyLinkSuggestionInternalServerError struct {
	Payload *models.ErrorResponse
}
ApplyLinkSuggestionInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewApplyLinkSuggestionInternalServerError

func NewApplyLinkSuggestionInternalServerError() *ApplyLinkSuggestionInternalServerError

NewApplyLinkSuggestionInternalServerError creates a ApplyLinkSuggestionInternalServerError with default headers values

func (*ApplyLinkSuggestionInternalServerError) Error

func (*ApplyLinkSuggestionInternalServerError) GetPayload

type ApplyLinkSuggestionOK

type ApplyLinkSuggestionOK struct {
	Location string
}
ApplyLinkSuggestionOK describes a response with status code 200, with default header values.

Applied

func NewApplyLinkSuggestionOK

func NewApplyLinkSuggestionOK() *ApplyLinkSuggestionOK

NewApplyLinkSuggestionOK creates a ApplyLinkSuggestionOK with default headers values

func (*ApplyLinkSuggestionOK) Error

func (o *ApplyLinkSuggestionOK) Error() string

type ApplyLinkSuggestionParams

type ApplyLinkSuggestionParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// Body.
	Body ApplyLinkSuggestionBody

	/* SuggestionID.

	   suggestion id
	*/
	SuggestionID string

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

ApplyLinkSuggestionParams contains all the parameters to send to the API endpoint

for the apply link suggestion operation.

Typically these are written to a http.Request.

func NewApplyLinkSuggestionParams

func NewApplyLinkSuggestionParams() *ApplyLinkSuggestionParams

NewApplyLinkSuggestionParams creates a new ApplyLinkSuggestionParams 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 NewApplyLinkSuggestionParamsWithContext

func NewApplyLinkSuggestionParamsWithContext(ctx context.Context) *ApplyLinkSuggestionParams

NewApplyLinkSuggestionParamsWithContext creates a new ApplyLinkSuggestionParams object with the ability to set a context for a request.

func NewApplyLinkSuggestionParamsWithHTTPClient

func NewApplyLinkSuggestionParamsWithHTTPClient(client *http.Client) *ApplyLinkSuggestionParams

NewApplyLinkSuggestionParamsWithHTTPClient creates a new ApplyLinkSuggestionParams object with the ability to set a custom HTTPClient for a request.

func NewApplyLinkSuggestionParamsWithTimeout

func NewApplyLinkSuggestionParamsWithTimeout(timeout time.Duration) *ApplyLinkSuggestionParams

NewApplyLinkSuggestionParamsWithTimeout creates a new ApplyLinkSuggestionParams object with the ability to set a timeout on a request.

func (*ApplyLinkSuggestionParams) SetBody

SetBody adds the body to the apply link suggestion params

func (*ApplyLinkSuggestionParams) SetContext

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

SetContext adds the context to the apply link suggestion params

func (*ApplyLinkSuggestionParams) SetDefaults

func (o *ApplyLinkSuggestionParams) SetDefaults()

SetDefaults hydrates default values in the apply link suggestion params (not the query body).

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

func (*ApplyLinkSuggestionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the apply link suggestion params

func (*ApplyLinkSuggestionParams) SetSuggestionID

func (o *ApplyLinkSuggestionParams) SetSuggestionID(suggestionID string)

SetSuggestionID adds the suggestionId to the apply link suggestion params

func (*ApplyLinkSuggestionParams) SetTimeout

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

SetTimeout adds the timeout to the apply link suggestion params

func (*ApplyLinkSuggestionParams) SetXApigatewayAPIUserinfo

func (o *ApplyLinkSuggestionParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the apply link suggestion params

func (*ApplyLinkSuggestionParams) WithBody

WithBody adds the body to the apply link suggestion params

func (*ApplyLinkSuggestionParams) WithContext

WithContext adds the context to the apply link suggestion params

func (*ApplyLinkSuggestionParams) WithDefaults

WithDefaults hydrates default values in the apply link suggestion params (not the query body).

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

func (*ApplyLinkSuggestionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the apply link suggestion params

func (*ApplyLinkSuggestionParams) WithSuggestionID

func (o *ApplyLinkSuggestionParams) WithSuggestionID(suggestionID string) *ApplyLinkSuggestionParams

WithSuggestionID adds the suggestionID to the apply link suggestion params

func (*ApplyLinkSuggestionParams) WithTimeout

WithTimeout adds the timeout to the apply link suggestion params

func (*ApplyLinkSuggestionParams) WithXApigatewayAPIUserinfo

func (o *ApplyLinkSuggestionParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *ApplyLinkSuggestionParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the apply link suggestion params

func (*ApplyLinkSuggestionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ApplyLinkSuggestionReader

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

ApplyLinkSuggestionReader is a Reader for the ApplyLinkSuggestion structure.

func (*ApplyLinkSuggestionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ApplyLinkSuggestionUnauthorized

type ApplyLinkSuggestionUnauthorized struct {
	Payload *models.ErrorResponse
}
ApplyLinkSuggestionUnauthorized describes a response with status code 401, with default header values.

Error

func NewApplyLinkSuggestionUnauthorized

func NewApplyLinkSuggestionUnauthorized() *ApplyLinkSuggestionUnauthorized

NewApplyLinkSuggestionUnauthorized creates a ApplyLinkSuggestionUnauthorized with default headers values

func (*ApplyLinkSuggestionUnauthorized) Error

func (*ApplyLinkSuggestionUnauthorized) GetPayload

type Client

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

Client for operations API

func (*Client) ApplyLinkSuggestion

func (a *Client) ApplyLinkSuggestion(params *ApplyLinkSuggestionParams, opts ...ClientOption) (*ApplyLinkSuggestionOK, error)

ApplyLinkSuggestion redirects user to google consent page

func (*Client) CreateUser

func (a *Client) CreateUser(params *CreateUserParams, opts ...ClientOption) (*CreateUserOK, error)

CreateUser creates user

func (*Client) CreateUserContact

func (a *Client) CreateUserContact(params *CreateUserContactParams, opts ...ClientOption) (*CreateUserContactOK, error)

CreateUserContact creates user s contact

func (*Client) DeleteContactNote

func (a *Client) DeleteContactNote(params *DeleteContactNoteParams, opts ...ClientOption) (*DeleteContactNoteOK, error)

DeleteContactNote deletes contact note

func (*Client) DeleteContactSource

func (a *Client) DeleteContactSource(params *DeleteContactSourceParams, opts ...ClientOption) (*DeleteContactSourceOK, error)

DeleteContactSource deletes contact source by id

func (*Client) DeleteContactTag

func (a *Client) DeleteContactTag(params *DeleteContactTagParams, opts ...ClientOption) (*DeleteContactTagOK, error)

DeleteContactTag deletes contact tag

func (*Client) DeleteUser

func (a *Client) DeleteUser(params *DeleteUserParams, opts ...ClientOption) (*DeleteUserOK, error)

DeleteUser deletes user

func (*Client) DeleteUserContact

func (a *Client) DeleteUserContact(params *DeleteUserContactParams, opts ...ClientOption) (*DeleteUserContactOK, error)

DeleteUserContact deletes user s contact by id

func (*Client) GetContactNotes

func (a *Client) GetContactNotes(params *GetContactNotesParams, opts ...ClientOption) (*GetContactNotesOK, error)

GetContactNotes gets contact notes

func (*Client) GetContactSources

func (a *Client) GetContactSources(params *GetContactSourcesParams, opts ...ClientOption) (*GetContactSourcesOK, error)

GetContactSources gets user s contact source list

func (*Client) GetContactTags

func (a *Client) GetContactTags(params *GetContactTagsParams, opts ...ClientOption) (*GetContactTagsOK, error)

GetContactTags gets contact tags

func (*Client) GetLinkSuggestions

func (a *Client) GetLinkSuggestions(params *GetLinkSuggestionsParams, opts ...ClientOption) (*GetLinkSuggestionsOK, error)

GetLinkSuggestions gets list of contact link suggestions to remove duplicates

func (*Client) GetPendingFollowUps

func (a *Client) GetPendingFollowUps(params *GetPendingFollowUpsParams, opts ...ClientOption) (*GetPendingFollowUpsOK, error)

GetPendingFollowUps gets pending follow ups

func (*Client) GetRecentContacts

func (a *Client) GetRecentContacts(params *GetRecentContactsParams, opts ...ClientOption) (*GetRecentContactsOK, error)

GetRecentContacts gets pending follow ups

func (*Client) GetUnifiedContacts

func (a *Client) GetUnifiedContacts(params *GetUnifiedContactsParams, opts ...ClientOption) (*GetUnifiedContactsOK, error)

GetUnifiedContacts gets unified list of contacts

func (*Client) GetUser

func (a *Client) GetUser(params *GetUserParams, opts ...ClientOption) (*GetUserOK, error)

GetUser gets user

func (*Client) GetUserContactByID

func (a *Client) GetUserContactByID(params *GetUserContactByIDParams, opts ...ClientOption) (*GetUserContactByIDOK, error)

GetUserContactByID gets user s contact by id

func (*Client) InitGoogleContactSource

func (a *Client) InitGoogleContactSource(params *InitGoogleContactSourceParams, opts ...ClientOption) (*InitGoogleContactSourceOK, error)

InitGoogleContactSource returns redirect url

func (*Client) LinkGoogleContactSource

func (a *Client) LinkGoogleContactSource(params *LinkGoogleContactSourceParams, opts ...ClientOption) (*LinkGoogleContactSourceOK, error)

LinkGoogleContactSource redirects user to google consent page

func (*Client) PatchContactNote

func (a *Client) PatchContactNote(params *PatchContactNoteParams, opts ...ClientOption) (*PatchContactNoteOK, error)

PatchContactNote patches contact note

func (*Client) PatchContactTag

func (a *Client) PatchContactTag(params *PatchContactTagParams, opts ...ClientOption) (*PatchContactTagOK, error)

PatchContactTag patches contact tag

func (*Client) PostContactNote

func (a *Client) PostContactNote(params *PostContactNoteParams, opts ...ClientOption) (*PostContactNoteOK, error)

PostContactNote posts contact note

func (*Client) PostContactTag

func (a *Client) PostContactTag(params *PostContactTagParams, opts ...ClientOption) (*PostContactTagOK, error)

PostContactTag posts contact tag

func (*Client) SearchUserContact

func (a *Client) SearchUserContact(params *SearchUserContactParams, opts ...ClientOption) (*SearchUserContactOK, error)

SearchUserContact searches user s contact

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateContactCategory

func (a *Client) UpdateContactCategory(params *UpdateContactCategoryParams, opts ...ClientOption) (*UpdateContactCategoryOK, error)

UpdateContactCategory updates category

func (*Client) UpdateUser

func (a *Client) UpdateUser(params *UpdateUserParams, opts ...ClientOption) (*UpdateUserOK, error)

UpdateUser updates user

func (*Client) UpdateUserContact

func (a *Client) UpdateUserContact(params *UpdateUserContactParams, opts ...ClientOption) (*UpdateUserContactOK, error)

UpdateUserContact updates user s contact by id

func (*Client) UploadContactsCsv

func (a *Client) UploadContactsCsv(params *UploadContactsCsvParams, opts ...ClientOption) (*UploadContactsCsvOK, error)

UploadContactsCsv uploads contacts csv

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ApplyLinkSuggestion(params *ApplyLinkSuggestionParams, opts ...ClientOption) (*ApplyLinkSuggestionOK, error)

	CreateUser(params *CreateUserParams, opts ...ClientOption) (*CreateUserOK, error)

	CreateUserContact(params *CreateUserContactParams, opts ...ClientOption) (*CreateUserContactOK, error)

	DeleteContactNote(params *DeleteContactNoteParams, opts ...ClientOption) (*DeleteContactNoteOK, error)

	DeleteContactSource(params *DeleteContactSourceParams, opts ...ClientOption) (*DeleteContactSourceOK, error)

	DeleteContactTag(params *DeleteContactTagParams, opts ...ClientOption) (*DeleteContactTagOK, error)

	DeleteUser(params *DeleteUserParams, opts ...ClientOption) (*DeleteUserOK, error)

	DeleteUserContact(params *DeleteUserContactParams, opts ...ClientOption) (*DeleteUserContactOK, error)

	GetContactNotes(params *GetContactNotesParams, opts ...ClientOption) (*GetContactNotesOK, error)

	GetContactSources(params *GetContactSourcesParams, opts ...ClientOption) (*GetContactSourcesOK, error)

	GetContactTags(params *GetContactTagsParams, opts ...ClientOption) (*GetContactTagsOK, error)

	GetLinkSuggestions(params *GetLinkSuggestionsParams, opts ...ClientOption) (*GetLinkSuggestionsOK, error)

	GetPendingFollowUps(params *GetPendingFollowUpsParams, opts ...ClientOption) (*GetPendingFollowUpsOK, error)

	GetRecentContacts(params *GetRecentContactsParams, opts ...ClientOption) (*GetRecentContactsOK, error)

	GetUnifiedContacts(params *GetUnifiedContactsParams, opts ...ClientOption) (*GetUnifiedContactsOK, error)

	GetUser(params *GetUserParams, opts ...ClientOption) (*GetUserOK, error)

	GetUserContactByID(params *GetUserContactByIDParams, opts ...ClientOption) (*GetUserContactByIDOK, error)

	InitGoogleContactSource(params *InitGoogleContactSourceParams, opts ...ClientOption) (*InitGoogleContactSourceOK, error)

	LinkGoogleContactSource(params *LinkGoogleContactSourceParams, opts ...ClientOption) (*LinkGoogleContactSourceOK, error)

	PatchContactNote(params *PatchContactNoteParams, opts ...ClientOption) (*PatchContactNoteOK, error)

	PatchContactTag(params *PatchContactTagParams, opts ...ClientOption) (*PatchContactTagOK, error)

	PostContactNote(params *PostContactNoteParams, opts ...ClientOption) (*PostContactNoteOK, error)

	PostContactTag(params *PostContactTagParams, opts ...ClientOption) (*PostContactTagOK, error)

	SearchUserContact(params *SearchUserContactParams, opts ...ClientOption) (*SearchUserContactOK, error)

	UpdateContactCategory(params *UpdateContactCategoryParams, opts ...ClientOption) (*UpdateContactCategoryOK, error)

	UpdateUser(params *UpdateUserParams, opts ...ClientOption) (*UpdateUserOK, error)

	UpdateUserContact(params *UpdateUserContactParams, opts ...ClientOption) (*UpdateUserContactOK, error)

	UploadContactsCsv(params *UploadContactsCsvParams, opts ...ClientOption) (*UploadContactsCsvOK, 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 operations API client.

type CreateUserBadRequest

type CreateUserBadRequest struct {
	Payload *models.ErrorResponse
}
CreateUserBadRequest describes a response with status code 400, with default header values.

Error

func NewCreateUserBadRequest

func NewCreateUserBadRequest() *CreateUserBadRequest

NewCreateUserBadRequest creates a CreateUserBadRequest with default headers values

func (*CreateUserBadRequest) Error

func (o *CreateUserBadRequest) Error() string

func (*CreateUserBadRequest) GetPayload

func (o *CreateUserBadRequest) GetPayload() *models.ErrorResponse

type CreateUserContactBadRequest

type CreateUserContactBadRequest struct {
	Payload *models.ErrorResponse
}
CreateUserContactBadRequest describes a response with status code 400, with default header values.

Error

func NewCreateUserContactBadRequest

func NewCreateUserContactBadRequest() *CreateUserContactBadRequest

NewCreateUserContactBadRequest creates a CreateUserContactBadRequest with default headers values

func (*CreateUserContactBadRequest) Error

func (*CreateUserContactBadRequest) GetPayload

type CreateUserContactInternalServerError

type CreateUserContactInternalServerError struct {
	Payload *models.ErrorResponse
}
CreateUserContactInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewCreateUserContactInternalServerError

func NewCreateUserContactInternalServerError() *CreateUserContactInternalServerError

NewCreateUserContactInternalServerError creates a CreateUserContactInternalServerError with default headers values

func (*CreateUserContactInternalServerError) Error

func (*CreateUserContactInternalServerError) GetPayload

type CreateUserContactOK

type CreateUserContactOK struct {
	Payload *models.Unified
}
CreateUserContactOK describes a response with status code 200, with default header values.

Created

func NewCreateUserContactOK

func NewCreateUserContactOK() *CreateUserContactOK

NewCreateUserContactOK creates a CreateUserContactOK with default headers values

func (*CreateUserContactOK) Error

func (o *CreateUserContactOK) Error() string

func (*CreateUserContactOK) GetPayload

func (o *CreateUserContactOK) GetPayload() *models.Unified

type CreateUserContactParams

type CreateUserContactParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// Body.
	Body *models.CreateContactDto

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

CreateUserContactParams contains all the parameters to send to the API endpoint

for the create user contact operation.

Typically these are written to a http.Request.

func NewCreateUserContactParams

func NewCreateUserContactParams() *CreateUserContactParams

NewCreateUserContactParams creates a new CreateUserContactParams 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 NewCreateUserContactParamsWithContext

func NewCreateUserContactParamsWithContext(ctx context.Context) *CreateUserContactParams

NewCreateUserContactParamsWithContext creates a new CreateUserContactParams object with the ability to set a context for a request.

func NewCreateUserContactParamsWithHTTPClient

func NewCreateUserContactParamsWithHTTPClient(client *http.Client) *CreateUserContactParams

NewCreateUserContactParamsWithHTTPClient creates a new CreateUserContactParams object with the ability to set a custom HTTPClient for a request.

func NewCreateUserContactParamsWithTimeout

func NewCreateUserContactParamsWithTimeout(timeout time.Duration) *CreateUserContactParams

NewCreateUserContactParamsWithTimeout creates a new CreateUserContactParams object with the ability to set a timeout on a request.

func (*CreateUserContactParams) SetBody

SetBody adds the body to the create user contact params

func (*CreateUserContactParams) SetContext

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

SetContext adds the context to the create user contact params

func (*CreateUserContactParams) SetDefaults

func (o *CreateUserContactParams) SetDefaults()

SetDefaults hydrates default values in the create user contact params (not the query body).

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

func (*CreateUserContactParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create user contact params

func (*CreateUserContactParams) SetTimeout

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

SetTimeout adds the timeout to the create user contact params

func (*CreateUserContactParams) SetXApigatewayAPIUserinfo

func (o *CreateUserContactParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the create user contact params

func (*CreateUserContactParams) WithBody

WithBody adds the body to the create user contact params

func (*CreateUserContactParams) WithContext

WithContext adds the context to the create user contact params

func (*CreateUserContactParams) WithDefaults

WithDefaults hydrates default values in the create user contact params (not the query body).

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

func (*CreateUserContactParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create user contact params

func (*CreateUserContactParams) WithTimeout

WithTimeout adds the timeout to the create user contact params

func (*CreateUserContactParams) WithXApigatewayAPIUserinfo

func (o *CreateUserContactParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *CreateUserContactParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the create user contact params

func (*CreateUserContactParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateUserContactReader

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

CreateUserContactReader is a Reader for the CreateUserContact structure.

func (*CreateUserContactReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateUserContactUnauthorized

type CreateUserContactUnauthorized struct {
	Payload *models.ErrorResponse
}
CreateUserContactUnauthorized describes a response with status code 401, with default header values.

Error

func NewCreateUserContactUnauthorized

func NewCreateUserContactUnauthorized() *CreateUserContactUnauthorized

NewCreateUserContactUnauthorized creates a CreateUserContactUnauthorized with default headers values

func (*CreateUserContactUnauthorized) Error

func (*CreateUserContactUnauthorized) GetPayload

type CreateUserInternalServerError

type CreateUserInternalServerError struct {
	Payload *models.ErrorResponse
}
CreateUserInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewCreateUserInternalServerError

func NewCreateUserInternalServerError() *CreateUserInternalServerError

NewCreateUserInternalServerError creates a CreateUserInternalServerError with default headers values

func (*CreateUserInternalServerError) Error

func (*CreateUserInternalServerError) GetPayload

type CreateUserOK

type CreateUserOK struct {
	Payload *models.User
}
CreateUserOK describes a response with status code 200, with default header values.

Created

func NewCreateUserOK

func NewCreateUserOK() *CreateUserOK

NewCreateUserOK creates a CreateUserOK with default headers values

func (*CreateUserOK) Error

func (o *CreateUserOK) Error() string

func (*CreateUserOK) GetPayload

func (o *CreateUserOK) GetPayload() *models.User

type CreateUserParams

type CreateUserParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// Body.
	Body *models.User

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

CreateUserParams contains all the parameters to send to the API endpoint

for the create user operation.

Typically these are written to a http.Request.

func NewCreateUserParams

func NewCreateUserParams() *CreateUserParams

NewCreateUserParams creates a new CreateUserParams 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 NewCreateUserParamsWithContext

func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams

NewCreateUserParamsWithContext creates a new CreateUserParams object with the ability to set a context for a request.

func NewCreateUserParamsWithHTTPClient

func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams

NewCreateUserParamsWithHTTPClient creates a new CreateUserParams object with the ability to set a custom HTTPClient for a request.

func NewCreateUserParamsWithTimeout

func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams

NewCreateUserParamsWithTimeout creates a new CreateUserParams object with the ability to set a timeout on a request.

func (*CreateUserParams) SetBody

func (o *CreateUserParams) SetBody(body *models.User)

SetBody adds the body to the create user params

func (*CreateUserParams) SetContext

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

SetContext adds the context to the create user params

func (*CreateUserParams) SetDefaults

func (o *CreateUserParams) SetDefaults()

SetDefaults hydrates default values in the create user params (not the query body).

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

func (*CreateUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create user params

func (*CreateUserParams) SetTimeout

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

SetTimeout adds the timeout to the create user params

func (*CreateUserParams) SetXApigatewayAPIUserinfo

func (o *CreateUserParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the create user params

func (*CreateUserParams) WithBody

func (o *CreateUserParams) WithBody(body *models.User) *CreateUserParams

WithBody adds the body to the create user params

func (*CreateUserParams) WithContext

func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams

WithContext adds the context to the create user params

func (*CreateUserParams) WithDefaults

func (o *CreateUserParams) WithDefaults() *CreateUserParams

WithDefaults hydrates default values in the create user params (not the query body).

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

func (*CreateUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create user params

func (*CreateUserParams) WithTimeout

func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams

WithTimeout adds the timeout to the create user params

func (*CreateUserParams) WithXApigatewayAPIUserinfo

func (o *CreateUserParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *CreateUserParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the create user params

func (*CreateUserParams) WriteToRequest

func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateUserReader

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

CreateUserReader is a Reader for the CreateUser structure.

func (*CreateUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateUserUnauthorized

type CreateUserUnauthorized struct {
	Payload *models.ErrorResponse
}
CreateUserUnauthorized describes a response with status code 401, with default header values.

Error

func NewCreateUserUnauthorized

func NewCreateUserUnauthorized() *CreateUserUnauthorized

NewCreateUserUnauthorized creates a CreateUserUnauthorized with default headers values

func (*CreateUserUnauthorized) Error

func (o *CreateUserUnauthorized) Error() string

func (*CreateUserUnauthorized) GetPayload

func (o *CreateUserUnauthorized) GetPayload() *models.ErrorResponse

type DeleteContactNoteBadRequest

type DeleteContactNoteBadRequest struct {
	Payload *models.ErrorResponse
}
DeleteContactNoteBadRequest describes a response with status code 400, with default header values.

Error

func NewDeleteContactNoteBadRequest

func NewDeleteContactNoteBadRequest() *DeleteContactNoteBadRequest

NewDeleteContactNoteBadRequest creates a DeleteContactNoteBadRequest with default headers values

func (*DeleteContactNoteBadRequest) Error

func (*DeleteContactNoteBadRequest) GetPayload

type DeleteContactNoteInternalServerError

type DeleteContactNoteInternalServerError struct {
	Payload *models.ErrorResponse
}
DeleteContactNoteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteContactNoteInternalServerError

func NewDeleteContactNoteInternalServerError() *DeleteContactNoteInternalServerError

NewDeleteContactNoteInternalServerError creates a DeleteContactNoteInternalServerError with default headers values

func (*DeleteContactNoteInternalServerError) Error

func (*DeleteContactNoteInternalServerError) GetPayload

type DeleteContactNoteOK

type DeleteContactNoteOK struct {
	Payload *models.Message
}
DeleteContactNoteOK describes a response with status code 200, with default header values.

Deleted

func NewDeleteContactNoteOK

func NewDeleteContactNoteOK() *DeleteContactNoteOK

NewDeleteContactNoteOK creates a DeleteContactNoteOK with default headers values

func (*DeleteContactNoteOK) Error

func (o *DeleteContactNoteOK) Error() string

func (*DeleteContactNoteOK) GetPayload

func (o *DeleteContactNoteOK) GetPayload() *models.Message

type DeleteContactNoteParams

type DeleteContactNoteParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	/* NoteID.

	   note id
	*/
	NoteID string

	/* UnifiedID.

	   contact id
	*/
	UnifiedID string

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

DeleteContactNoteParams contains all the parameters to send to the API endpoint

for the delete contact note operation.

Typically these are written to a http.Request.

func NewDeleteContactNoteParams

func NewDeleteContactNoteParams() *DeleteContactNoteParams

NewDeleteContactNoteParams creates a new DeleteContactNoteParams 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 NewDeleteContactNoteParamsWithContext

func NewDeleteContactNoteParamsWithContext(ctx context.Context) *DeleteContactNoteParams

NewDeleteContactNoteParamsWithContext creates a new DeleteContactNoteParams object with the ability to set a context for a request.

func NewDeleteContactNoteParamsWithHTTPClient

func NewDeleteContactNoteParamsWithHTTPClient(client *http.Client) *DeleteContactNoteParams

NewDeleteContactNoteParamsWithHTTPClient creates a new DeleteContactNoteParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteContactNoteParamsWithTimeout

func NewDeleteContactNoteParamsWithTimeout(timeout time.Duration) *DeleteContactNoteParams

NewDeleteContactNoteParamsWithTimeout creates a new DeleteContactNoteParams object with the ability to set a timeout on a request.

func (*DeleteContactNoteParams) SetContext

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

SetContext adds the context to the delete contact note params

func (*DeleteContactNoteParams) SetDefaults

func (o *DeleteContactNoteParams) SetDefaults()

SetDefaults hydrates default values in the delete contact note params (not the query body).

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

func (*DeleteContactNoteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete contact note params

func (*DeleteContactNoteParams) SetNoteID

func (o *DeleteContactNoteParams) SetNoteID(noteID string)

SetNoteID adds the noteId to the delete contact note params

func (*DeleteContactNoteParams) SetTimeout

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

SetTimeout adds the timeout to the delete contact note params

func (*DeleteContactNoteParams) SetUnifiedID

func (o *DeleteContactNoteParams) SetUnifiedID(unifiedID string)

SetUnifiedID adds the unifiedId to the delete contact note params

func (*DeleteContactNoteParams) SetXApigatewayAPIUserinfo

func (o *DeleteContactNoteParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the delete contact note params

func (*DeleteContactNoteParams) WithContext

WithContext adds the context to the delete contact note params

func (*DeleteContactNoteParams) WithDefaults

WithDefaults hydrates default values in the delete contact note params (not the query body).

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

func (*DeleteContactNoteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete contact note params

func (*DeleteContactNoteParams) WithNoteID

WithNoteID adds the noteID to the delete contact note params

func (*DeleteContactNoteParams) WithTimeout

WithTimeout adds the timeout to the delete contact note params

func (*DeleteContactNoteParams) WithUnifiedID

func (o *DeleteContactNoteParams) WithUnifiedID(unifiedID string) *DeleteContactNoteParams

WithUnifiedID adds the unifiedID to the delete contact note params

func (*DeleteContactNoteParams) WithXApigatewayAPIUserinfo

func (o *DeleteContactNoteParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *DeleteContactNoteParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the delete contact note params

func (*DeleteContactNoteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteContactNoteReader

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

DeleteContactNoteReader is a Reader for the DeleteContactNote structure.

func (*DeleteContactNoteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteContactNoteUnauthorized

type DeleteContactNoteUnauthorized struct {
	Payload *models.ErrorResponse
}
DeleteContactNoteUnauthorized describes a response with status code 401, with default header values.

Error

func NewDeleteContactNoteUnauthorized

func NewDeleteContactNoteUnauthorized() *DeleteContactNoteUnauthorized

NewDeleteContactNoteUnauthorized creates a DeleteContactNoteUnauthorized with default headers values

func (*DeleteContactNoteUnauthorized) Error

func (*DeleteContactNoteUnauthorized) GetPayload

type DeleteContactSourceBadRequest

type DeleteContactSourceBadRequest struct {
	Payload *models.ErrorResponse
}
DeleteContactSourceBadRequest describes a response with status code 400, with default header values.

Error

func NewDeleteContactSourceBadRequest

func NewDeleteContactSourceBadRequest() *DeleteContactSourceBadRequest

NewDeleteContactSourceBadRequest creates a DeleteContactSourceBadRequest with default headers values

func (*DeleteContactSourceBadRequest) Error

func (*DeleteContactSourceBadRequest) GetPayload

type DeleteContactSourceBody

type DeleteContactSourceBody struct {

	// flag to indicate whether contacts should be removed from unified as well
	RemoveFromUnified bool `json:"remove_from_unified,omitempty"`
}

DeleteContactSourceBody delete contact source body swagger:model DeleteContactSourceBody

func (*DeleteContactSourceBody) ContextValidate

func (o *DeleteContactSourceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete contact source body based on context it is used

func (*DeleteContactSourceBody) MarshalBinary

func (o *DeleteContactSourceBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteContactSourceBody) UnmarshalBinary

func (o *DeleteContactSourceBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteContactSourceBody) Validate

func (o *DeleteContactSourceBody) Validate(formats strfmt.Registry) error

Validate validates this delete contact source body

type DeleteContactSourceInternalServerError

type DeleteContactSourceInternalServerError struct {
	Payload *models.ErrorResponse
}
DeleteContactSourceInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteContactSourceInternalServerError

func NewDeleteContactSourceInternalServerError() *DeleteContactSourceInternalServerError

NewDeleteContactSourceInternalServerError creates a DeleteContactSourceInternalServerError with default headers values

func (*DeleteContactSourceInternalServerError) Error

func (*DeleteContactSourceInternalServerError) GetPayload

type DeleteContactSourceOK

type DeleteContactSourceOK struct {
	Payload *models.Message
}
DeleteContactSourceOK describes a response with status code 200, with default header values.

Deleted

func NewDeleteContactSourceOK

func NewDeleteContactSourceOK() *DeleteContactSourceOK

NewDeleteContactSourceOK creates a DeleteContactSourceOK with default headers values

func (*DeleteContactSourceOK) Error

func (o *DeleteContactSourceOK) Error() string

func (*DeleteContactSourceOK) GetPayload

func (o *DeleteContactSourceOK) GetPayload() *models.Message

type DeleteContactSourceParams

type DeleteContactSourceParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// Body.
	Body DeleteContactSourceBody

	/* SourceID.

	   source id
	*/
	SourceID string

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

DeleteContactSourceParams contains all the parameters to send to the API endpoint

for the delete contact source operation.

Typically these are written to a http.Request.

func NewDeleteContactSourceParams

func NewDeleteContactSourceParams() *DeleteContactSourceParams

NewDeleteContactSourceParams creates a new DeleteContactSourceParams 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 NewDeleteContactSourceParamsWithContext

func NewDeleteContactSourceParamsWithContext(ctx context.Context) *DeleteContactSourceParams

NewDeleteContactSourceParamsWithContext creates a new DeleteContactSourceParams object with the ability to set a context for a request.

func NewDeleteContactSourceParamsWithHTTPClient

func NewDeleteContactSourceParamsWithHTTPClient(client *http.Client) *DeleteContactSourceParams

NewDeleteContactSourceParamsWithHTTPClient creates a new DeleteContactSourceParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteContactSourceParamsWithTimeout

func NewDeleteContactSourceParamsWithTimeout(timeout time.Duration) *DeleteContactSourceParams

NewDeleteContactSourceParamsWithTimeout creates a new DeleteContactSourceParams object with the ability to set a timeout on a request.

func (*DeleteContactSourceParams) SetBody

SetBody adds the body to the delete contact source params

func (*DeleteContactSourceParams) SetContext

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

SetContext adds the context to the delete contact source params

func (*DeleteContactSourceParams) SetDefaults

func (o *DeleteContactSourceParams) SetDefaults()

SetDefaults hydrates default values in the delete contact source params (not the query body).

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

func (*DeleteContactSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete contact source params

func (*DeleteContactSourceParams) SetSourceID

func (o *DeleteContactSourceParams) SetSourceID(sourceID string)

SetSourceID adds the sourceId to the delete contact source params

func (*DeleteContactSourceParams) SetTimeout

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

SetTimeout adds the timeout to the delete contact source params

func (*DeleteContactSourceParams) SetXApigatewayAPIUserinfo

func (o *DeleteContactSourceParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the delete contact source params

func (*DeleteContactSourceParams) WithBody

WithBody adds the body to the delete contact source params

func (*DeleteContactSourceParams) WithContext

WithContext adds the context to the delete contact source params

func (*DeleteContactSourceParams) WithDefaults

WithDefaults hydrates default values in the delete contact source params (not the query body).

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

func (*DeleteContactSourceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete contact source params

func (*DeleteContactSourceParams) WithSourceID

func (o *DeleteContactSourceParams) WithSourceID(sourceID string) *DeleteContactSourceParams

WithSourceID adds the sourceID to the delete contact source params

func (*DeleteContactSourceParams) WithTimeout

WithTimeout adds the timeout to the delete contact source params

func (*DeleteContactSourceParams) WithXApigatewayAPIUserinfo

func (o *DeleteContactSourceParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *DeleteContactSourceParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the delete contact source params

func (*DeleteContactSourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteContactSourceReader

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

DeleteContactSourceReader is a Reader for the DeleteContactSource structure.

func (*DeleteContactSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteContactSourceUnauthorized

type DeleteContactSourceUnauthorized struct {
	Payload *models.ErrorResponse
}
DeleteContactSourceUnauthorized describes a response with status code 401, with default header values.

Error

func NewDeleteContactSourceUnauthorized

func NewDeleteContactSourceUnauthorized() *DeleteContactSourceUnauthorized

NewDeleteContactSourceUnauthorized creates a DeleteContactSourceUnauthorized with default headers values

func (*DeleteContactSourceUnauthorized) Error

func (*DeleteContactSourceUnauthorized) GetPayload

type DeleteContactTagBadRequest

type DeleteContactTagBadRequest struct {
	Payload *models.ErrorResponse
}
DeleteContactTagBadRequest describes a response with status code 400, with default header values.

Error

func NewDeleteContactTagBadRequest

func NewDeleteContactTagBadRequest() *DeleteContactTagBadRequest

NewDeleteContactTagBadRequest creates a DeleteContactTagBadRequest with default headers values

func (*DeleteContactTagBadRequest) Error

func (*DeleteContactTagBadRequest) GetPayload

type DeleteContactTagInternalServerError

type DeleteContactTagInternalServerError struct {
	Payload *models.ErrorResponse
}
DeleteContactTagInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteContactTagInternalServerError

func NewDeleteContactTagInternalServerError() *DeleteContactTagInternalServerError

NewDeleteContactTagInternalServerError creates a DeleteContactTagInternalServerError with default headers values

func (*DeleteContactTagInternalServerError) Error

func (*DeleteContactTagInternalServerError) GetPayload

type DeleteContactTagOK

type DeleteContactTagOK struct {
	Payload *models.Message
}
DeleteContactTagOK describes a response with status code 200, with default header values.

Deleted

func NewDeleteContactTagOK

func NewDeleteContactTagOK() *DeleteContactTagOK

NewDeleteContactTagOK creates a DeleteContactTagOK with default headers values

func (*DeleteContactTagOK) Error

func (o *DeleteContactTagOK) Error() string

func (*DeleteContactTagOK) GetPayload

func (o *DeleteContactTagOK) GetPayload() *models.Message

type DeleteContactTagParams

type DeleteContactTagParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	/* TagID.

	   tag id
	*/
	TagID string

	/* UnifiedID.

	   contact id
	*/
	UnifiedID string

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

DeleteContactTagParams contains all the parameters to send to the API endpoint

for the delete contact tag operation.

Typically these are written to a http.Request.

func NewDeleteContactTagParams

func NewDeleteContactTagParams() *DeleteContactTagParams

NewDeleteContactTagParams creates a new DeleteContactTagParams 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 NewDeleteContactTagParamsWithContext

func NewDeleteContactTagParamsWithContext(ctx context.Context) *DeleteContactTagParams

NewDeleteContactTagParamsWithContext creates a new DeleteContactTagParams object with the ability to set a context for a request.

func NewDeleteContactTagParamsWithHTTPClient

func NewDeleteContactTagParamsWithHTTPClient(client *http.Client) *DeleteContactTagParams

NewDeleteContactTagParamsWithHTTPClient creates a new DeleteContactTagParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteContactTagParamsWithTimeout

func NewDeleteContactTagParamsWithTimeout(timeout time.Duration) *DeleteContactTagParams

NewDeleteContactTagParamsWithTimeout creates a new DeleteContactTagParams object with the ability to set a timeout on a request.

func (*DeleteContactTagParams) SetContext

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

SetContext adds the context to the delete contact tag params

func (*DeleteContactTagParams) SetDefaults

func (o *DeleteContactTagParams) SetDefaults()

SetDefaults hydrates default values in the delete contact tag params (not the query body).

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

func (*DeleteContactTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete contact tag params

func (*DeleteContactTagParams) SetTagID

func (o *DeleteContactTagParams) SetTagID(tagID string)

SetTagID adds the tagId to the delete contact tag params

func (*DeleteContactTagParams) SetTimeout

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

SetTimeout adds the timeout to the delete contact tag params

func (*DeleteContactTagParams) SetUnifiedID

func (o *DeleteContactTagParams) SetUnifiedID(unifiedID string)

SetUnifiedID adds the unifiedId to the delete contact tag params

func (*DeleteContactTagParams) SetXApigatewayAPIUserinfo

func (o *DeleteContactTagParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the delete contact tag params

func (*DeleteContactTagParams) WithContext

WithContext adds the context to the delete contact tag params

func (*DeleteContactTagParams) WithDefaults

WithDefaults hydrates default values in the delete contact tag params (not the query body).

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

func (*DeleteContactTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete contact tag params

func (*DeleteContactTagParams) WithTagID

WithTagID adds the tagID to the delete contact tag params

func (*DeleteContactTagParams) WithTimeout

WithTimeout adds the timeout to the delete contact tag params

func (*DeleteContactTagParams) WithUnifiedID

func (o *DeleteContactTagParams) WithUnifiedID(unifiedID string) *DeleteContactTagParams

WithUnifiedID adds the unifiedID to the delete contact tag params

func (*DeleteContactTagParams) WithXApigatewayAPIUserinfo

func (o *DeleteContactTagParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *DeleteContactTagParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the delete contact tag params

func (*DeleteContactTagParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteContactTagReader

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

DeleteContactTagReader is a Reader for the DeleteContactTag structure.

func (*DeleteContactTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteContactTagUnauthorized

type DeleteContactTagUnauthorized struct {
	Payload *models.ErrorResponse
}
DeleteContactTagUnauthorized describes a response with status code 401, with default header values.

Error

func NewDeleteContactTagUnauthorized

func NewDeleteContactTagUnauthorized() *DeleteContactTagUnauthorized

NewDeleteContactTagUnauthorized creates a DeleteContactTagUnauthorized with default headers values

func (*DeleteContactTagUnauthorized) Error

func (*DeleteContactTagUnauthorized) GetPayload

type DeleteUserBadRequest

type DeleteUserBadRequest struct {
	Payload *models.ErrorResponse
}
DeleteUserBadRequest describes a response with status code 400, with default header values.

Error

func NewDeleteUserBadRequest

func NewDeleteUserBadRequest() *DeleteUserBadRequest

NewDeleteUserBadRequest creates a DeleteUserBadRequest with default headers values

func (*DeleteUserBadRequest) Error

func (o *DeleteUserBadRequest) Error() string

func (*DeleteUserBadRequest) GetPayload

func (o *DeleteUserBadRequest) GetPayload() *models.ErrorResponse

type DeleteUserContactBadRequest

type DeleteUserContactBadRequest struct {
	Payload *models.ErrorResponse
}
DeleteUserContactBadRequest describes a response with status code 400, with default header values.

Error

func NewDeleteUserContactBadRequest

func NewDeleteUserContactBadRequest() *DeleteUserContactBadRequest

NewDeleteUserContactBadRequest creates a DeleteUserContactBadRequest with default headers values

func (*DeleteUserContactBadRequest) Error

func (*DeleteUserContactBadRequest) GetPayload

type DeleteUserContactInternalServerError

type DeleteUserContactInternalServerError struct {
	Payload *models.ErrorResponse
}
DeleteUserContactInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteUserContactInternalServerError

func NewDeleteUserContactInternalServerError() *DeleteUserContactInternalServerError

NewDeleteUserContactInternalServerError creates a DeleteUserContactInternalServerError with default headers values

func (*DeleteUserContactInternalServerError) Error

func (*DeleteUserContactInternalServerError) GetPayload

type DeleteUserContactOK

type DeleteUserContactOK struct {
	Payload *models.Message
}
DeleteUserContactOK describes a response with status code 200, with default header values.

Deleted

func NewDeleteUserContactOK

func NewDeleteUserContactOK() *DeleteUserContactOK

NewDeleteUserContactOK creates a DeleteUserContactOK with default headers values

func (*DeleteUserContactOK) Error

func (o *DeleteUserContactOK) Error() string

func (*DeleteUserContactOK) GetPayload

func (o *DeleteUserContactOK) GetPayload() *models.Message

type DeleteUserContactParams

type DeleteUserContactParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	/* UnifiedID.

	   contact id
	*/
	UnifiedID string

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

DeleteUserContactParams contains all the parameters to send to the API endpoint

for the delete user contact operation.

Typically these are written to a http.Request.

func NewDeleteUserContactParams

func NewDeleteUserContactParams() *DeleteUserContactParams

NewDeleteUserContactParams creates a new DeleteUserContactParams 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 NewDeleteUserContactParamsWithContext

func NewDeleteUserContactParamsWithContext(ctx context.Context) *DeleteUserContactParams

NewDeleteUserContactParamsWithContext creates a new DeleteUserContactParams object with the ability to set a context for a request.

func NewDeleteUserContactParamsWithHTTPClient

func NewDeleteUserContactParamsWithHTTPClient(client *http.Client) *DeleteUserContactParams

NewDeleteUserContactParamsWithHTTPClient creates a new DeleteUserContactParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUserContactParamsWithTimeout

func NewDeleteUserContactParamsWithTimeout(timeout time.Duration) *DeleteUserContactParams

NewDeleteUserContactParamsWithTimeout creates a new DeleteUserContactParams object with the ability to set a timeout on a request.

func (*DeleteUserContactParams) SetContext

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

SetContext adds the context to the delete user contact params

func (*DeleteUserContactParams) SetDefaults

func (o *DeleteUserContactParams) SetDefaults()

SetDefaults hydrates default values in the delete user contact params (not the query body).

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

func (*DeleteUserContactParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user contact params

func (*DeleteUserContactParams) SetTimeout

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

SetTimeout adds the timeout to the delete user contact params

func (*DeleteUserContactParams) SetUnifiedID

func (o *DeleteUserContactParams) SetUnifiedID(unifiedID string)

SetUnifiedID adds the unifiedId to the delete user contact params

func (*DeleteUserContactParams) SetXApigatewayAPIUserinfo

func (o *DeleteUserContactParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the delete user contact params

func (*DeleteUserContactParams) WithContext

WithContext adds the context to the delete user contact params

func (*DeleteUserContactParams) WithDefaults

WithDefaults hydrates default values in the delete user contact params (not the query body).

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

func (*DeleteUserContactParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user contact params

func (*DeleteUserContactParams) WithTimeout

WithTimeout adds the timeout to the delete user contact params

func (*DeleteUserContactParams) WithUnifiedID

func (o *DeleteUserContactParams) WithUnifiedID(unifiedID string) *DeleteUserContactParams

WithUnifiedID adds the unifiedID to the delete user contact params

func (*DeleteUserContactParams) WithXApigatewayAPIUserinfo

func (o *DeleteUserContactParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *DeleteUserContactParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the delete user contact params

func (*DeleteUserContactParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserContactReader

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

DeleteUserContactReader is a Reader for the DeleteUserContact structure.

func (*DeleteUserContactReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserContactUnauthorized

type DeleteUserContactUnauthorized struct {
	Payload *models.ErrorResponse
}
DeleteUserContactUnauthorized describes a response with status code 401, with default header values.

Error

func NewDeleteUserContactUnauthorized

func NewDeleteUserContactUnauthorized() *DeleteUserContactUnauthorized

NewDeleteUserContactUnauthorized creates a DeleteUserContactUnauthorized with default headers values

func (*DeleteUserContactUnauthorized) Error

func (*DeleteUserContactUnauthorized) GetPayload

type DeleteUserInternalServerError

type DeleteUserInternalServerError struct {
	Payload *models.ErrorResponse
}
DeleteUserInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteUserInternalServerError

func NewDeleteUserInternalServerError() *DeleteUserInternalServerError

NewDeleteUserInternalServerError creates a DeleteUserInternalServerError with default headers values

func (*DeleteUserInternalServerError) Error

func (*DeleteUserInternalServerError) GetPayload

type DeleteUserOK

type DeleteUserOK struct {
	Payload *models.Message
}
DeleteUserOK describes a response with status code 200, with default header values.

Deleted

func NewDeleteUserOK

func NewDeleteUserOK() *DeleteUserOK

NewDeleteUserOK creates a DeleteUserOK with default headers values

func (*DeleteUserOK) Error

func (o *DeleteUserOK) Error() string

func (*DeleteUserOK) GetPayload

func (o *DeleteUserOK) GetPayload() *models.Message

type DeleteUserParams

type DeleteUserParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	/* UserID.

	   user id
	*/
	UserID string

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

DeleteUserParams contains all the parameters to send to the API endpoint

for the delete user operation.

Typically these are written to a http.Request.

func NewDeleteUserParams

func NewDeleteUserParams() *DeleteUserParams

NewDeleteUserParams creates a new DeleteUserParams 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 NewDeleteUserParamsWithContext

func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams

NewDeleteUserParamsWithContext creates a new DeleteUserParams object with the ability to set a context for a request.

func NewDeleteUserParamsWithHTTPClient

func NewDeleteUserParamsWithHTTPClient(client *http.Client) *DeleteUserParams

NewDeleteUserParamsWithHTTPClient creates a new DeleteUserParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUserParamsWithTimeout

func NewDeleteUserParamsWithTimeout(timeout time.Duration) *DeleteUserParams

NewDeleteUserParamsWithTimeout creates a new DeleteUserParams object with the ability to set a timeout on a request.

func (*DeleteUserParams) SetContext

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

SetContext adds the context to the delete user params

func (*DeleteUserParams) SetDefaults

func (o *DeleteUserParams) SetDefaults()

SetDefaults hydrates default values in the delete user params (not the query body).

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

func (*DeleteUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user params

func (*DeleteUserParams) SetTimeout

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

SetTimeout adds the timeout to the delete user params

func (*DeleteUserParams) SetUserID

func (o *DeleteUserParams) SetUserID(userID string)

SetUserID adds the userId to the delete user params

func (*DeleteUserParams) SetXApigatewayAPIUserinfo

func (o *DeleteUserParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the delete user params

func (*DeleteUserParams) WithContext

func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams

WithContext adds the context to the delete user params

func (*DeleteUserParams) WithDefaults

func (o *DeleteUserParams) WithDefaults() *DeleteUserParams

WithDefaults hydrates default values in the delete user params (not the query body).

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

func (*DeleteUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user params

func (*DeleteUserParams) WithTimeout

func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams

WithTimeout adds the timeout to the delete user params

func (*DeleteUserParams) WithUserID

func (o *DeleteUserParams) WithUserID(userID string) *DeleteUserParams

WithUserID adds the userID to the delete user params

func (*DeleteUserParams) WithXApigatewayAPIUserinfo

func (o *DeleteUserParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *DeleteUserParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the delete user params

func (*DeleteUserParams) WriteToRequest

func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteUserReader

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

DeleteUserReader is a Reader for the DeleteUser structure.

func (*DeleteUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserUnauthorized

type DeleteUserUnauthorized struct {
	Payload *models.ErrorResponse
}
DeleteUserUnauthorized describes a response with status code 401, with default header values.

Error

func NewDeleteUserUnauthorized

func NewDeleteUserUnauthorized() *DeleteUserUnauthorized

NewDeleteUserUnauthorized creates a DeleteUserUnauthorized with default headers values

func (*DeleteUserUnauthorized) Error

func (o *DeleteUserUnauthorized) Error() string

func (*DeleteUserUnauthorized) GetPayload

func (o *DeleteUserUnauthorized) GetPayload() *models.ErrorResponse

type GetContactNotesBadRequest

type GetContactNotesBadRequest struct {
	Payload *models.ErrorResponse
}
GetContactNotesBadRequest describes a response with status code 400, with default header values.

Error

func NewGetContactNotesBadRequest

func NewGetContactNotesBadRequest() *GetContactNotesBadRequest

NewGetContactNotesBadRequest creates a GetContactNotesBadRequest with default headers values

func (*GetContactNotesBadRequest) Error

func (o *GetContactNotesBadRequest) Error() string

func (*GetContactNotesBadRequest) GetPayload

type GetContactNotesInternalServerError

type GetContactNotesInternalServerError struct {
	Payload *models.ErrorResponse
}
GetContactNotesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetContactNotesInternalServerError

func NewGetContactNotesInternalServerError() *GetContactNotesInternalServerError

NewGetContactNotesInternalServerError creates a GetContactNotesInternalServerError with default headers values

func (*GetContactNotesInternalServerError) Error

func (*GetContactNotesInternalServerError) GetPayload

type GetContactNotesOK

type GetContactNotesOK struct {
	Payload []*models.Note
}
GetContactNotesOK describes a response with status code 200, with default header values.

Retrieved

func NewGetContactNotesOK

func NewGetContactNotesOK() *GetContactNotesOK

NewGetContactNotesOK creates a GetContactNotesOK with default headers values

func (*GetContactNotesOK) Error

func (o *GetContactNotesOK) Error() string

func (*GetContactNotesOK) GetPayload

func (o *GetContactNotesOK) GetPayload() []*models.Note

type GetContactNotesParams

type GetContactNotesParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// LastDocumentID.
	LastDocumentID *string

	// Limit.
	Limit *int64

	/* UnifiedID.

	   contact id
	*/
	UnifiedID string

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

GetContactNotesParams contains all the parameters to send to the API endpoint

for the get contact notes operation.

Typically these are written to a http.Request.

func NewGetContactNotesParams

func NewGetContactNotesParams() *GetContactNotesParams

NewGetContactNotesParams creates a new GetContactNotesParams 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 NewGetContactNotesParamsWithContext

func NewGetContactNotesParamsWithContext(ctx context.Context) *GetContactNotesParams

NewGetContactNotesParamsWithContext creates a new GetContactNotesParams object with the ability to set a context for a request.

func NewGetContactNotesParamsWithHTTPClient

func NewGetContactNotesParamsWithHTTPClient(client *http.Client) *GetContactNotesParams

NewGetContactNotesParamsWithHTTPClient creates a new GetContactNotesParams object with the ability to set a custom HTTPClient for a request.

func NewGetContactNotesParamsWithTimeout

func NewGetContactNotesParamsWithTimeout(timeout time.Duration) *GetContactNotesParams

NewGetContactNotesParamsWithTimeout creates a new GetContactNotesParams object with the ability to set a timeout on a request.

func (*GetContactNotesParams) SetContext

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

SetContext adds the context to the get contact notes params

func (*GetContactNotesParams) SetDefaults

func (o *GetContactNotesParams) SetDefaults()

SetDefaults hydrates default values in the get contact notes params (not the query body).

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

func (*GetContactNotesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get contact notes params

func (*GetContactNotesParams) SetLastDocumentID

func (o *GetContactNotesParams) SetLastDocumentID(lastDocumentID *string)

SetLastDocumentID adds the lastDocumentId to the get contact notes params

func (*GetContactNotesParams) SetLimit

func (o *GetContactNotesParams) SetLimit(limit *int64)

SetLimit adds the limit to the get contact notes params

func (*GetContactNotesParams) SetTimeout

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

SetTimeout adds the timeout to the get contact notes params

func (*GetContactNotesParams) SetUnifiedID

func (o *GetContactNotesParams) SetUnifiedID(unifiedID string)

SetUnifiedID adds the unifiedId to the get contact notes params

func (*GetContactNotesParams) SetXApigatewayAPIUserinfo

func (o *GetContactNotesParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the get contact notes params

func (*GetContactNotesParams) WithContext

WithContext adds the context to the get contact notes params

func (*GetContactNotesParams) WithDefaults

func (o *GetContactNotesParams) WithDefaults() *GetContactNotesParams

WithDefaults hydrates default values in the get contact notes params (not the query body).

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

func (*GetContactNotesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get contact notes params

func (*GetContactNotesParams) WithLastDocumentID

func (o *GetContactNotesParams) WithLastDocumentID(lastDocumentID *string) *GetContactNotesParams

WithLastDocumentID adds the lastDocumentID to the get contact notes params

func (*GetContactNotesParams) WithLimit

func (o *GetContactNotesParams) WithLimit(limit *int64) *GetContactNotesParams

WithLimit adds the limit to the get contact notes params

func (*GetContactNotesParams) WithTimeout

func (o *GetContactNotesParams) WithTimeout(timeout time.Duration) *GetContactNotesParams

WithTimeout adds the timeout to the get contact notes params

func (*GetContactNotesParams) WithUnifiedID

func (o *GetContactNotesParams) WithUnifiedID(unifiedID string) *GetContactNotesParams

WithUnifiedID adds the unifiedID to the get contact notes params

func (*GetContactNotesParams) WithXApigatewayAPIUserinfo

func (o *GetContactNotesParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *GetContactNotesParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the get contact notes params

func (*GetContactNotesParams) WriteToRequest

func (o *GetContactNotesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetContactNotesReader

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

GetContactNotesReader is a Reader for the GetContactNotes structure.

func (*GetContactNotesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetContactNotesUnauthorized

type GetContactNotesUnauthorized struct {
	Payload *models.ErrorResponse
}
GetContactNotesUnauthorized describes a response with status code 401, with default header values.

Error

func NewGetContactNotesUnauthorized

func NewGetContactNotesUnauthorized() *GetContactNotesUnauthorized

NewGetContactNotesUnauthorized creates a GetContactNotesUnauthorized with default headers values

func (*GetContactNotesUnauthorized) Error

func (*GetContactNotesUnauthorized) GetPayload

type GetContactSourcesBadRequest

type GetContactSourcesBadRequest struct {
	Payload *models.ErrorResponse
}
GetContactSourcesBadRequest describes a response with status code 400, with default header values.

Error

func NewGetContactSourcesBadRequest

func NewGetContactSourcesBadRequest() *GetContactSourcesBadRequest

NewGetContactSourcesBadRequest creates a GetContactSourcesBadRequest with default headers values

func (*GetContactSourcesBadRequest) Error

func (*GetContactSourcesBadRequest) GetPayload

type GetContactSourcesInternalServerError

type GetContactSourcesInternalServerError struct {
	Payload *models.ErrorResponse
}
GetContactSourcesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetContactSourcesInternalServerError

func NewGetContactSourcesInternalServerError() *GetContactSourcesInternalServerError

NewGetContactSourcesInternalServerError creates a GetContactSourcesInternalServerError with default headers values

func (*GetContactSourcesInternalServerError) Error

func (*GetContactSourcesInternalServerError) GetPayload

type GetContactSourcesOK

type GetContactSourcesOK struct {
	Payload []*models.ContactSource
}
GetContactSourcesOK describes a response with status code 200, with default header values.

Retrieved

func NewGetContactSourcesOK

func NewGetContactSourcesOK() *GetContactSourcesOK

NewGetContactSourcesOK creates a GetContactSourcesOK with default headers values

func (*GetContactSourcesOK) Error

func (o *GetContactSourcesOK) Error() string

func (*GetContactSourcesOK) GetPayload

func (o *GetContactSourcesOK) GetPayload() []*models.ContactSource

type GetContactSourcesParams

type GetContactSourcesParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// LastDocumentID.
	LastDocumentID *string

	// Limit.
	Limit *int64

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

GetContactSourcesParams contains all the parameters to send to the API endpoint

for the get contact sources operation.

Typically these are written to a http.Request.

func NewGetContactSourcesParams

func NewGetContactSourcesParams() *GetContactSourcesParams

NewGetContactSourcesParams creates a new GetContactSourcesParams 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 NewGetContactSourcesParamsWithContext

func NewGetContactSourcesParamsWithContext(ctx context.Context) *GetContactSourcesParams

NewGetContactSourcesParamsWithContext creates a new GetContactSourcesParams object with the ability to set a context for a request.

func NewGetContactSourcesParamsWithHTTPClient

func NewGetContactSourcesParamsWithHTTPClient(client *http.Client) *GetContactSourcesParams

NewGetContactSourcesParamsWithHTTPClient creates a new GetContactSourcesParams object with the ability to set a custom HTTPClient for a request.

func NewGetContactSourcesParamsWithTimeout

func NewGetContactSourcesParamsWithTimeout(timeout time.Duration) *GetContactSourcesParams

NewGetContactSourcesParamsWithTimeout creates a new GetContactSourcesParams object with the ability to set a timeout on a request.

func (*GetContactSourcesParams) SetContext

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

SetContext adds the context to the get contact sources params

func (*GetContactSourcesParams) SetDefaults

func (o *GetContactSourcesParams) SetDefaults()

SetDefaults hydrates default values in the get contact sources params (not the query body).

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

func (*GetContactSourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get contact sources params

func (*GetContactSourcesParams) SetLastDocumentID

func (o *GetContactSourcesParams) SetLastDocumentID(lastDocumentID *string)

SetLastDocumentID adds the lastDocumentId to the get contact sources params

func (*GetContactSourcesParams) SetLimit

func (o *GetContactSourcesParams) SetLimit(limit *int64)

SetLimit adds the limit to the get contact sources params

func (*GetContactSourcesParams) SetTimeout

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

SetTimeout adds the timeout to the get contact sources params

func (*GetContactSourcesParams) SetXApigatewayAPIUserinfo

func (o *GetContactSourcesParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the get contact sources params

func (*GetContactSourcesParams) WithContext

WithContext adds the context to the get contact sources params

func (*GetContactSourcesParams) WithDefaults

WithDefaults hydrates default values in the get contact sources params (not the query body).

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

func (*GetContactSourcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get contact sources params

func (*GetContactSourcesParams) WithLastDocumentID

func (o *GetContactSourcesParams) WithLastDocumentID(lastDocumentID *string) *GetContactSourcesParams

WithLastDocumentID adds the lastDocumentID to the get contact sources params

func (*GetContactSourcesParams) WithLimit

WithLimit adds the limit to the get contact sources params

func (*GetContactSourcesParams) WithTimeout

WithTimeout adds the timeout to the get contact sources params

func (*GetContactSourcesParams) WithXApigatewayAPIUserinfo

func (o *GetContactSourcesParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *GetContactSourcesParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the get contact sources params

func (*GetContactSourcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetContactSourcesReader

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

GetContactSourcesReader is a Reader for the GetContactSources structure.

func (*GetContactSourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetContactSourcesUnauthorized

type GetContactSourcesUnauthorized struct {
	Payload *models.ErrorResponse
}
GetContactSourcesUnauthorized describes a response with status code 401, with default header values.

Error

func NewGetContactSourcesUnauthorized

func NewGetContactSourcesUnauthorized() *GetContactSourcesUnauthorized

NewGetContactSourcesUnauthorized creates a GetContactSourcesUnauthorized with default headers values

func (*GetContactSourcesUnauthorized) Error

func (*GetContactSourcesUnauthorized) GetPayload

type GetContactTagsBadRequest

type GetContactTagsBadRequest struct {
	Payload *models.ErrorResponse
}
GetContactTagsBadRequest describes a response with status code 400, with default header values.

Error

func NewGetContactTagsBadRequest

func NewGetContactTagsBadRequest() *GetContactTagsBadRequest

NewGetContactTagsBadRequest creates a GetContactTagsBadRequest with default headers values

func (*GetContactTagsBadRequest) Error

func (o *GetContactTagsBadRequest) Error() string

func (*GetContactTagsBadRequest) GetPayload

type GetContactTagsInternalServerError

type GetContactTagsInternalServerError struct {
	Payload *models.ErrorResponse
}
GetContactTagsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetContactTagsInternalServerError

func NewGetContactTagsInternalServerError() *GetContactTagsInternalServerError

NewGetContactTagsInternalServerError creates a GetContactTagsInternalServerError with default headers values

func (*GetContactTagsInternalServerError) Error

func (*GetContactTagsInternalServerError) GetPayload

type GetContactTagsOK

type GetContactTagsOK struct {
	Payload []*models.Tag
}
GetContactTagsOK describes a response with status code 200, with default header values.

Retrieved

func NewGetContactTagsOK

func NewGetContactTagsOK() *GetContactTagsOK

NewGetContactTagsOK creates a GetContactTagsOK with default headers values

func (*GetContactTagsOK) Error

func (o *GetContactTagsOK) Error() string

func (*GetContactTagsOK) GetPayload

func (o *GetContactTagsOK) GetPayload() []*models.Tag

type GetContactTagsParams

type GetContactTagsParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// LastDocumentID.
	LastDocumentID *string

	// Limit.
	Limit *int64

	/* UnifiedID.

	   contact id
	*/
	UnifiedID string

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

GetContactTagsParams contains all the parameters to send to the API endpoint

for the get contact tags operation.

Typically these are written to a http.Request.

func NewGetContactTagsParams

func NewGetContactTagsParams() *GetContactTagsParams

NewGetContactTagsParams creates a new GetContactTagsParams 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 NewGetContactTagsParamsWithContext

func NewGetContactTagsParamsWithContext(ctx context.Context) *GetContactTagsParams

NewGetContactTagsParamsWithContext creates a new GetContactTagsParams object with the ability to set a context for a request.

func NewGetContactTagsParamsWithHTTPClient

func NewGetContactTagsParamsWithHTTPClient(client *http.Client) *GetContactTagsParams

NewGetContactTagsParamsWithHTTPClient creates a new GetContactTagsParams object with the ability to set a custom HTTPClient for a request.

func NewGetContactTagsParamsWithTimeout

func NewGetContactTagsParamsWithTimeout(timeout time.Duration) *GetContactTagsParams

NewGetContactTagsParamsWithTimeout creates a new GetContactTagsParams object with the ability to set a timeout on a request.

func (*GetContactTagsParams) SetContext

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

SetContext adds the context to the get contact tags params

func (*GetContactTagsParams) SetDefaults

func (o *GetContactTagsParams) SetDefaults()

SetDefaults hydrates default values in the get contact tags params (not the query body).

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

func (*GetContactTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get contact tags params

func (*GetContactTagsParams) SetLastDocumentID

func (o *GetContactTagsParams) SetLastDocumentID(lastDocumentID *string)

SetLastDocumentID adds the lastDocumentId to the get contact tags params

func (*GetContactTagsParams) SetLimit

func (o *GetContactTagsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get contact tags params

func (*GetContactTagsParams) SetTimeout

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

SetTimeout adds the timeout to the get contact tags params

func (*GetContactTagsParams) SetUnifiedID

func (o *GetContactTagsParams) SetUnifiedID(unifiedID string)

SetUnifiedID adds the unifiedId to the get contact tags params

func (*GetContactTagsParams) SetXApigatewayAPIUserinfo

func (o *GetContactTagsParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the get contact tags params

func (*GetContactTagsParams) WithContext

WithContext adds the context to the get contact tags params

func (*GetContactTagsParams) WithDefaults

func (o *GetContactTagsParams) WithDefaults() *GetContactTagsParams

WithDefaults hydrates default values in the get contact tags params (not the query body).

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

func (*GetContactTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get contact tags params

func (*GetContactTagsParams) WithLastDocumentID

func (o *GetContactTagsParams) WithLastDocumentID(lastDocumentID *string) *GetContactTagsParams

WithLastDocumentID adds the lastDocumentID to the get contact tags params

func (*GetContactTagsParams) WithLimit

func (o *GetContactTagsParams) WithLimit(limit *int64) *GetContactTagsParams

WithLimit adds the limit to the get contact tags params

func (*GetContactTagsParams) WithTimeout

func (o *GetContactTagsParams) WithTimeout(timeout time.Duration) *GetContactTagsParams

WithTimeout adds the timeout to the get contact tags params

func (*GetContactTagsParams) WithUnifiedID

func (o *GetContactTagsParams) WithUnifiedID(unifiedID string) *GetContactTagsParams

WithUnifiedID adds the unifiedID to the get contact tags params

func (*GetContactTagsParams) WithXApigatewayAPIUserinfo

func (o *GetContactTagsParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *GetContactTagsParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the get contact tags params

func (*GetContactTagsParams) WriteToRequest

func (o *GetContactTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetContactTagsReader

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

GetContactTagsReader is a Reader for the GetContactTags structure.

func (*GetContactTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetContactTagsUnauthorized

type GetContactTagsUnauthorized struct {
	Payload *models.ErrorResponse
}
GetContactTagsUnauthorized describes a response with status code 401, with default header values.

Error

func NewGetContactTagsUnauthorized

func NewGetContactTagsUnauthorized() *GetContactTagsUnauthorized

NewGetContactTagsUnauthorized creates a GetContactTagsUnauthorized with default headers values

func (*GetContactTagsUnauthorized) Error

func (*GetContactTagsUnauthorized) GetPayload

type GetLinkSuggestionsBadRequest

type GetLinkSuggestionsBadRequest struct {
	Payload *models.ErrorResponse
}
GetLinkSuggestionsBadRequest describes a response with status code 400, with default header values.

Error

func NewGetLinkSuggestionsBadRequest

func NewGetLinkSuggestionsBadRequest() *GetLinkSuggestionsBadRequest

NewGetLinkSuggestionsBadRequest creates a GetLinkSuggestionsBadRequest with default headers values

func (*GetLinkSuggestionsBadRequest) Error

func (*GetLinkSuggestionsBadRequest) GetPayload

type GetLinkSuggestionsInternalServerError

type GetLinkSuggestionsInternalServerError struct {
	Payload *models.ErrorResponse
}
GetLinkSuggestionsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetLinkSuggestionsInternalServerError

func NewGetLinkSuggestionsInternalServerError() *GetLinkSuggestionsInternalServerError

NewGetLinkSuggestionsInternalServerError creates a GetLinkSuggestionsInternalServerError with default headers values

func (*GetLinkSuggestionsInternalServerError) Error

func (*GetLinkSuggestionsInternalServerError) GetPayload

type GetLinkSuggestionsOK

type GetLinkSuggestionsOK struct {
	Payload []*models.LinkSuggestion
}
GetLinkSuggestionsOK describes a response with status code 200, with default header values.

Retrieved

func NewGetLinkSuggestionsOK

func NewGetLinkSuggestionsOK() *GetLinkSuggestionsOK

NewGetLinkSuggestionsOK creates a GetLinkSuggestionsOK with default headers values

func (*GetLinkSuggestionsOK) Error

func (o *GetLinkSuggestionsOK) Error() string

func (*GetLinkSuggestionsOK) GetPayload

func (o *GetLinkSuggestionsOK) GetPayload() []*models.LinkSuggestion

type GetLinkSuggestionsParams

type GetLinkSuggestionsParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// LastDocumentID.
	LastDocumentID *string

	// Limit.
	Limit *int64

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

GetLinkSuggestionsParams contains all the parameters to send to the API endpoint

for the get link suggestions operation.

Typically these are written to a http.Request.

func NewGetLinkSuggestionsParams

func NewGetLinkSuggestionsParams() *GetLinkSuggestionsParams

NewGetLinkSuggestionsParams creates a new GetLinkSuggestionsParams 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 NewGetLinkSuggestionsParamsWithContext

func NewGetLinkSuggestionsParamsWithContext(ctx context.Context) *GetLinkSuggestionsParams

NewGetLinkSuggestionsParamsWithContext creates a new GetLinkSuggestionsParams object with the ability to set a context for a request.

func NewGetLinkSuggestionsParamsWithHTTPClient

func NewGetLinkSuggestionsParamsWithHTTPClient(client *http.Client) *GetLinkSuggestionsParams

NewGetLinkSuggestionsParamsWithHTTPClient creates a new GetLinkSuggestionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetLinkSuggestionsParamsWithTimeout

func NewGetLinkSuggestionsParamsWithTimeout(timeout time.Duration) *GetLinkSuggestionsParams

NewGetLinkSuggestionsParamsWithTimeout creates a new GetLinkSuggestionsParams object with the ability to set a timeout on a request.

func (*GetLinkSuggestionsParams) SetContext

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

SetContext adds the context to the get link suggestions params

func (*GetLinkSuggestionsParams) SetDefaults

func (o *GetLinkSuggestionsParams) SetDefaults()

SetDefaults hydrates default values in the get link suggestions params (not the query body).

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

func (*GetLinkSuggestionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get link suggestions params

func (*GetLinkSuggestionsParams) SetLastDocumentID

func (o *GetLinkSuggestionsParams) SetLastDocumentID(lastDocumentID *string)

SetLastDocumentID adds the lastDocumentId to the get link suggestions params

func (*GetLinkSuggestionsParams) SetLimit

func (o *GetLinkSuggestionsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get link suggestions params

func (*GetLinkSuggestionsParams) SetTimeout

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

SetTimeout adds the timeout to the get link suggestions params

func (*GetLinkSuggestionsParams) SetXApigatewayAPIUserinfo

func (o *GetLinkSuggestionsParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the get link suggestions params

func (*GetLinkSuggestionsParams) WithContext

WithContext adds the context to the get link suggestions params

func (*GetLinkSuggestionsParams) WithDefaults

WithDefaults hydrates default values in the get link suggestions params (not the query body).

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

func (*GetLinkSuggestionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get link suggestions params

func (*GetLinkSuggestionsParams) WithLastDocumentID

func (o *GetLinkSuggestionsParams) WithLastDocumentID(lastDocumentID *string) *GetLinkSuggestionsParams

WithLastDocumentID adds the lastDocumentID to the get link suggestions params

func (*GetLinkSuggestionsParams) WithLimit

WithLimit adds the limit to the get link suggestions params

func (*GetLinkSuggestionsParams) WithTimeout

WithTimeout adds the timeout to the get link suggestions params

func (*GetLinkSuggestionsParams) WithXApigatewayAPIUserinfo

func (o *GetLinkSuggestionsParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *GetLinkSuggestionsParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the get link suggestions params

func (*GetLinkSuggestionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLinkSuggestionsReader

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

GetLinkSuggestionsReader is a Reader for the GetLinkSuggestions structure.

func (*GetLinkSuggestionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLinkSuggestionsUnauthorized

type GetLinkSuggestionsUnauthorized struct {
	Payload *models.ErrorResponse
}
GetLinkSuggestionsUnauthorized describes a response with status code 401, with default header values.

Error

func NewGetLinkSuggestionsUnauthorized

func NewGetLinkSuggestionsUnauthorized() *GetLinkSuggestionsUnauthorized

NewGetLinkSuggestionsUnauthorized creates a GetLinkSuggestionsUnauthorized with default headers values

func (*GetLinkSuggestionsUnauthorized) Error

func (*GetLinkSuggestionsUnauthorized) GetPayload

type GetPendingFollowUpsBadRequest

type GetPendingFollowUpsBadRequest struct {
	Payload *models.ErrorResponse
}
GetPendingFollowUpsBadRequest describes a response with status code 400, with default header values.

Error

func NewGetPendingFollowUpsBadRequest

func NewGetPendingFollowUpsBadRequest() *GetPendingFollowUpsBadRequest

NewGetPendingFollowUpsBadRequest creates a GetPendingFollowUpsBadRequest with default headers values

func (*GetPendingFollowUpsBadRequest) Error

func (*GetPendingFollowUpsBadRequest) GetPayload

type GetPendingFollowUpsInternalServerError

type GetPendingFollowUpsInternalServerError struct {
	Payload *models.ErrorResponse
}
GetPendingFollowUpsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetPendingFollowUpsInternalServerError

func NewGetPendingFollowUpsInternalServerError() *GetPendingFollowUpsInternalServerError

NewGetPendingFollowUpsInternalServerError creates a GetPendingFollowUpsInternalServerError with default headers values

func (*GetPendingFollowUpsInternalServerError) Error

func (*GetPendingFollowUpsInternalServerError) GetPayload

type GetPendingFollowUpsOK

type GetPendingFollowUpsOK struct {
	Payload []*models.Unified
}
GetPendingFollowUpsOK describes a response with status code 200, with default header values.

Retrieved

func NewGetPendingFollowUpsOK

func NewGetPendingFollowUpsOK() *GetPendingFollowUpsOK

NewGetPendingFollowUpsOK creates a GetPendingFollowUpsOK with default headers values

func (*GetPendingFollowUpsOK) Error

func (o *GetPendingFollowUpsOK) Error() string

func (*GetPendingFollowUpsOK) GetPayload

func (o *GetPendingFollowUpsOK) GetPayload() []*models.Unified

type GetPendingFollowUpsParams

type GetPendingFollowUpsParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// LastDocumentID.
	LastDocumentID *string

	// LastDocumentNextContact.
	//
	// Format: date-time
	LastDocumentNextContact *strfmt.DateTime

	// Limit.
	Limit *int64

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

GetPendingFollowUpsParams contains all the parameters to send to the API endpoint

for the get pending follow ups operation.

Typically these are written to a http.Request.

func NewGetPendingFollowUpsParams

func NewGetPendingFollowUpsParams() *GetPendingFollowUpsParams

NewGetPendingFollowUpsParams creates a new GetPendingFollowUpsParams 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 NewGetPendingFollowUpsParamsWithContext

func NewGetPendingFollowUpsParamsWithContext(ctx context.Context) *GetPendingFollowUpsParams

NewGetPendingFollowUpsParamsWithContext creates a new GetPendingFollowUpsParams object with the ability to set a context for a request.

func NewGetPendingFollowUpsParamsWithHTTPClient

func NewGetPendingFollowUpsParamsWithHTTPClient(client *http.Client) *GetPendingFollowUpsParams

NewGetPendingFollowUpsParamsWithHTTPClient creates a new GetPendingFollowUpsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPendingFollowUpsParamsWithTimeout

func NewGetPendingFollowUpsParamsWithTimeout(timeout time.Duration) *GetPendingFollowUpsParams

NewGetPendingFollowUpsParamsWithTimeout creates a new GetPendingFollowUpsParams object with the ability to set a timeout on a request.

func (*GetPendingFollowUpsParams) SetContext

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

SetContext adds the context to the get pending follow ups params

func (*GetPendingFollowUpsParams) SetDefaults

func (o *GetPendingFollowUpsParams) SetDefaults()

SetDefaults hydrates default values in the get pending follow ups params (not the query body).

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

func (*GetPendingFollowUpsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get pending follow ups params

func (*GetPendingFollowUpsParams) SetLastDocumentID

func (o *GetPendingFollowUpsParams) SetLastDocumentID(lastDocumentID *string)

SetLastDocumentID adds the lastDocumentId to the get pending follow ups params

func (*GetPendingFollowUpsParams) SetLastDocumentNextContact

func (o *GetPendingFollowUpsParams) SetLastDocumentNextContact(lastDocumentNextContact *strfmt.DateTime)

SetLastDocumentNextContact adds the lastDocumentNextContact to the get pending follow ups params

func (*GetPendingFollowUpsParams) SetLimit

func (o *GetPendingFollowUpsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get pending follow ups params

func (*GetPendingFollowUpsParams) SetTimeout

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

SetTimeout adds the timeout to the get pending follow ups params

func (*GetPendingFollowUpsParams) SetXApigatewayAPIUserinfo

func (o *GetPendingFollowUpsParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the get pending follow ups params

func (*GetPendingFollowUpsParams) WithContext

WithContext adds the context to the get pending follow ups params

func (*GetPendingFollowUpsParams) WithDefaults

WithDefaults hydrates default values in the get pending follow ups params (not the query body).

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

func (*GetPendingFollowUpsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get pending follow ups params

func (*GetPendingFollowUpsParams) WithLastDocumentID

func (o *GetPendingFollowUpsParams) WithLastDocumentID(lastDocumentID *string) *GetPendingFollowUpsParams

WithLastDocumentID adds the lastDocumentID to the get pending follow ups params

func (*GetPendingFollowUpsParams) WithLastDocumentNextContact

func (o *GetPendingFollowUpsParams) WithLastDocumentNextContact(lastDocumentNextContact *strfmt.DateTime) *GetPendingFollowUpsParams

WithLastDocumentNextContact adds the lastDocumentNextContact to the get pending follow ups params

func (*GetPendingFollowUpsParams) WithLimit

WithLimit adds the limit to the get pending follow ups params

func (*GetPendingFollowUpsParams) WithTimeout

WithTimeout adds the timeout to the get pending follow ups params

func (*GetPendingFollowUpsParams) WithXApigatewayAPIUserinfo

func (o *GetPendingFollowUpsParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *GetPendingFollowUpsParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the get pending follow ups params

func (*GetPendingFollowUpsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPendingFollowUpsReader

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

GetPendingFollowUpsReader is a Reader for the GetPendingFollowUps structure.

func (*GetPendingFollowUpsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPendingFollowUpsUnauthorized

type GetPendingFollowUpsUnauthorized struct {
	Payload *models.ErrorResponse
}
GetPendingFollowUpsUnauthorized describes a response with status code 401, with default header values.

Error

func NewGetPendingFollowUpsUnauthorized

func NewGetPendingFollowUpsUnauthorized() *GetPendingFollowUpsUnauthorized

NewGetPendingFollowUpsUnauthorized creates a GetPendingFollowUpsUnauthorized with default headers values

func (*GetPendingFollowUpsUnauthorized) Error

func (*GetPendingFollowUpsUnauthorized) GetPayload

type GetRecentContactsBadRequest

type GetRecentContactsBadRequest struct {
	Payload *models.ErrorResponse
}
GetRecentContactsBadRequest describes a response with status code 400, with default header values.

Error

func NewGetRecentContactsBadRequest

func NewGetRecentContactsBadRequest() *GetRecentContactsBadRequest

NewGetRecentContactsBadRequest creates a GetRecentContactsBadRequest with default headers values

func (*GetRecentContactsBadRequest) Error

func (*GetRecentContactsBadRequest) GetPayload

type GetRecentContactsInternalServerError

type GetRecentContactsInternalServerError struct {
	Payload *models.ErrorResponse
}
GetRecentContactsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetRecentContactsInternalServerError

func NewGetRecentContactsInternalServerError() *GetRecentContactsInternalServerError

NewGetRecentContactsInternalServerError creates a GetRecentContactsInternalServerError with default headers values

func (*GetRecentContactsInternalServerError) Error

func (*GetRecentContactsInternalServerError) GetPayload

type GetRecentContactsOK

type GetRecentContactsOK struct {
	Payload []*models.Unified
}
GetRecentContactsOK describes a response with status code 200, with default header values.

Retrieved

func NewGetRecentContactsOK

func NewGetRecentContactsOK() *GetRecentContactsOK

NewGetRecentContactsOK creates a GetRecentContactsOK with default headers values

func (*GetRecentContactsOK) Error

func (o *GetRecentContactsOK) Error() string

func (*GetRecentContactsOK) GetPayload

func (o *GetRecentContactsOK) GetPayload() []*models.Unified

type GetRecentContactsParams

type GetRecentContactsParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// LastDocumentID.
	LastDocumentID *string

	// LastDocumentLastContact.
	//
	// Format: date-time
	LastDocumentLastContact *strfmt.DateTime

	// Limit.
	Limit *int64

	// MaxDays.
	MaxDays *int64

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

GetRecentContactsParams contains all the parameters to send to the API endpoint

for the get recent contacts operation.

Typically these are written to a http.Request.

func NewGetRecentContactsParams

func NewGetRecentContactsParams() *GetRecentContactsParams

NewGetRecentContactsParams creates a new GetRecentContactsParams 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 NewGetRecentContactsParamsWithContext

func NewGetRecentContactsParamsWithContext(ctx context.Context) *GetRecentContactsParams

NewGetRecentContactsParamsWithContext creates a new GetRecentContactsParams object with the ability to set a context for a request.

func NewGetRecentContactsParamsWithHTTPClient

func NewGetRecentContactsParamsWithHTTPClient(client *http.Client) *GetRecentContactsParams

NewGetRecentContactsParamsWithHTTPClient creates a new GetRecentContactsParams object with the ability to set a custom HTTPClient for a request.

func NewGetRecentContactsParamsWithTimeout

func NewGetRecentContactsParamsWithTimeout(timeout time.Duration) *GetRecentContactsParams

NewGetRecentContactsParamsWithTimeout creates a new GetRecentContactsParams object with the ability to set a timeout on a request.

func (*GetRecentContactsParams) SetContext

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

SetContext adds the context to the get recent contacts params

func (*GetRecentContactsParams) SetDefaults

func (o *GetRecentContactsParams) SetDefaults()

SetDefaults hydrates default values in the get recent contacts params (not the query body).

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

func (*GetRecentContactsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get recent contacts params

func (*GetRecentContactsParams) SetLastDocumentID

func (o *GetRecentContactsParams) SetLastDocumentID(lastDocumentID *string)

SetLastDocumentID adds the lastDocumentId to the get recent contacts params

func (*GetRecentContactsParams) SetLastDocumentLastContact

func (o *GetRecentContactsParams) SetLastDocumentLastContact(lastDocumentLastContact *strfmt.DateTime)

SetLastDocumentLastContact adds the lastDocumentLastContact to the get recent contacts params

func (*GetRecentContactsParams) SetLimit

func (o *GetRecentContactsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get recent contacts params

func (*GetRecentContactsParams) SetMaxDays

func (o *GetRecentContactsParams) SetMaxDays(maxDays *int64)

SetMaxDays adds the maxDays to the get recent contacts params

func (*GetRecentContactsParams) SetTimeout

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

SetTimeout adds the timeout to the get recent contacts params

func (*GetRecentContactsParams) SetXApigatewayAPIUserinfo

func (o *GetRecentContactsParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the get recent contacts params

func (*GetRecentContactsParams) WithContext

WithContext adds the context to the get recent contacts params

func (*GetRecentContactsParams) WithDefaults

WithDefaults hydrates default values in the get recent contacts params (not the query body).

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

func (*GetRecentContactsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get recent contacts params

func (*GetRecentContactsParams) WithLastDocumentID

func (o *GetRecentContactsParams) WithLastDocumentID(lastDocumentID *string) *GetRecentContactsParams

WithLastDocumentID adds the lastDocumentID to the get recent contacts params

func (*GetRecentContactsParams) WithLastDocumentLastContact

func (o *GetRecentContactsParams) WithLastDocumentLastContact(lastDocumentLastContact *strfmt.DateTime) *GetRecentContactsParams

WithLastDocumentLastContact adds the lastDocumentLastContact to the get recent contacts params

func (*GetRecentContactsParams) WithLimit

WithLimit adds the limit to the get recent contacts params

func (*GetRecentContactsParams) WithMaxDays

func (o *GetRecentContactsParams) WithMaxDays(maxDays *int64) *GetRecentContactsParams

WithMaxDays adds the maxDays to the get recent contacts params

func (*GetRecentContactsParams) WithTimeout

WithTimeout adds the timeout to the get recent contacts params

func (*GetRecentContactsParams) WithXApigatewayAPIUserinfo

func (o *GetRecentContactsParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *GetRecentContactsParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the get recent contacts params

func (*GetRecentContactsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRecentContactsReader

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

GetRecentContactsReader is a Reader for the GetRecentContacts structure.

func (*GetRecentContactsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRecentContactsUnauthorized

type GetRecentContactsUnauthorized struct {
	Payload *models.ErrorResponse
}
GetRecentContactsUnauthorized describes a response with status code 401, with default header values.

Error

func NewGetRecentContactsUnauthorized

func NewGetRecentContactsUnauthorized() *GetRecentContactsUnauthorized

NewGetRecentContactsUnauthorized creates a GetRecentContactsUnauthorized with default headers values

func (*GetRecentContactsUnauthorized) Error

func (*GetRecentContactsUnauthorized) GetPayload

type GetUnifiedContactsBadRequest

type GetUnifiedContactsBadRequest struct {
	Payload *models.ErrorResponse
}
GetUnifiedContactsBadRequest describes a response with status code 400, with default header values.

Error

func NewGetUnifiedContactsBadRequest

func NewGetUnifiedContactsBadRequest() *GetUnifiedContactsBadRequest

NewGetUnifiedContactsBadRequest creates a GetUnifiedContactsBadRequest with default headers values

func (*GetUnifiedContactsBadRequest) Error

func (*GetUnifiedContactsBadRequest) GetPayload

type GetUnifiedContactsInternalServerError

type GetUnifiedContactsInternalServerError struct {
	Payload *models.ErrorResponse
}
GetUnifiedContactsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetUnifiedContactsInternalServerError

func NewGetUnifiedContactsInternalServerError() *GetUnifiedContactsInternalServerError

NewGetUnifiedContactsInternalServerError creates a GetUnifiedContactsInternalServerError with default headers values

func (*GetUnifiedContactsInternalServerError) Error

func (*GetUnifiedContactsInternalServerError) GetPayload

type GetUnifiedContactsOK

type GetUnifiedContactsOK struct {
	Payload []*models.Unified
}
GetUnifiedContactsOK describes a response with status code 200, with default header values.

Retrieved

func NewGetUnifiedContactsOK

func NewGetUnifiedContactsOK() *GetUnifiedContactsOK

NewGetUnifiedContactsOK creates a GetUnifiedContactsOK with default headers values

func (*GetUnifiedContactsOK) Error

func (o *GetUnifiedContactsOK) Error() string

func (*GetUnifiedContactsOK) GetPayload

func (o *GetUnifiedContactsOK) GetPayload() []*models.Unified

type GetUnifiedContactsParams

type GetUnifiedContactsParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// LastDocumentID.
	LastDocumentID *string

	// Limit.
	Limit *int64

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

GetUnifiedContactsParams contains all the parameters to send to the API endpoint

for the get unified contacts operation.

Typically these are written to a http.Request.

func NewGetUnifiedContactsParams

func NewGetUnifiedContactsParams() *GetUnifiedContactsParams

NewGetUnifiedContactsParams creates a new GetUnifiedContactsParams 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 NewGetUnifiedContactsParamsWithContext

func NewGetUnifiedContactsParamsWithContext(ctx context.Context) *GetUnifiedContactsParams

NewGetUnifiedContactsParamsWithContext creates a new GetUnifiedContactsParams object with the ability to set a context for a request.

func NewGetUnifiedContactsParamsWithHTTPClient

func NewGetUnifiedContactsParamsWithHTTPClient(client *http.Client) *GetUnifiedContactsParams

NewGetUnifiedContactsParamsWithHTTPClient creates a new GetUnifiedContactsParams object with the ability to set a custom HTTPClient for a request.

func NewGetUnifiedContactsParamsWithTimeout

func NewGetUnifiedContactsParamsWithTimeout(timeout time.Duration) *GetUnifiedContactsParams

NewGetUnifiedContactsParamsWithTimeout creates a new GetUnifiedContactsParams object with the ability to set a timeout on a request.

func (*GetUnifiedContactsParams) SetContext

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

SetContext adds the context to the get unified contacts params

func (*GetUnifiedContactsParams) SetDefaults

func (o *GetUnifiedContactsParams) SetDefaults()

SetDefaults hydrates default values in the get unified contacts params (not the query body).

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

func (*GetUnifiedContactsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get unified contacts params

func (*GetUnifiedContactsParams) SetLastDocumentID

func (o *GetUnifiedContactsParams) SetLastDocumentID(lastDocumentID *string)

SetLastDocumentID adds the lastDocumentId to the get unified contacts params

func (*GetUnifiedContactsParams) SetLimit

func (o *GetUnifiedContactsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get unified contacts params

func (*GetUnifiedContactsParams) SetTimeout

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

SetTimeout adds the timeout to the get unified contacts params

func (*GetUnifiedContactsParams) SetXApigatewayAPIUserinfo

func (o *GetUnifiedContactsParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the get unified contacts params

func (*GetUnifiedContactsParams) WithContext

WithContext adds the context to the get unified contacts params

func (*GetUnifiedContactsParams) WithDefaults

WithDefaults hydrates default values in the get unified contacts params (not the query body).

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

func (*GetUnifiedContactsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get unified contacts params

func (*GetUnifiedContactsParams) WithLastDocumentID

func (o *GetUnifiedContactsParams) WithLastDocumentID(lastDocumentID *string) *GetUnifiedContactsParams

WithLastDocumentID adds the lastDocumentID to the get unified contacts params

func (*GetUnifiedContactsParams) WithLimit

WithLimit adds the limit to the get unified contacts params

func (*GetUnifiedContactsParams) WithTimeout

WithTimeout adds the timeout to the get unified contacts params

func (*GetUnifiedContactsParams) WithXApigatewayAPIUserinfo

func (o *GetUnifiedContactsParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *GetUnifiedContactsParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the get unified contacts params

func (*GetUnifiedContactsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUnifiedContactsReader

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

GetUnifiedContactsReader is a Reader for the GetUnifiedContacts structure.

func (*GetUnifiedContactsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUnifiedContactsUnauthorized

type GetUnifiedContactsUnauthorized struct {
	Payload *models.ErrorResponse
}
GetUnifiedContactsUnauthorized describes a response with status code 401, with default header values.

Error

func NewGetUnifiedContactsUnauthorized

func NewGetUnifiedContactsUnauthorized() *GetUnifiedContactsUnauthorized

NewGetUnifiedContactsUnauthorized creates a GetUnifiedContactsUnauthorized with default headers values

func (*GetUnifiedContactsUnauthorized) Error

func (*GetUnifiedContactsUnauthorized) GetPayload

type GetUserBadRequest

type GetUserBadRequest struct {
	Payload *models.ErrorResponse
}
GetUserBadRequest describes a response with status code 400, with default header values.

Error

func NewGetUserBadRequest

func NewGetUserBadRequest() *GetUserBadRequest

NewGetUserBadRequest creates a GetUserBadRequest with default headers values

func (*GetUserBadRequest) Error

func (o *GetUserBadRequest) Error() string

func (*GetUserBadRequest) GetPayload

func (o *GetUserBadRequest) GetPayload() *models.ErrorResponse

type GetUserContactByIDBadRequest

type GetUserContactByIDBadRequest struct {
	Payload *models.ErrorResponse
}
GetUserContactByIDBadRequest describes a response with status code 400, with default header values.

Error

func NewGetUserContactByIDBadRequest

func NewGetUserContactByIDBadRequest() *GetUserContactByIDBadRequest

NewGetUserContactByIDBadRequest creates a GetUserContactByIDBadRequest with default headers values

func (*GetUserContactByIDBadRequest) Error

func (*GetUserContactByIDBadRequest) GetPayload

type GetUserContactByIDInternalServerError

type GetUserContactByIDInternalServerError struct {
	Payload *models.ErrorResponse
}
GetUserContactByIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetUserContactByIDInternalServerError

func NewGetUserContactByIDInternalServerError() *GetUserContactByIDInternalServerError

NewGetUserContactByIDInternalServerError creates a GetUserContactByIDInternalServerError with default headers values

func (*GetUserContactByIDInternalServerError) Error

func (*GetUserContactByIDInternalServerError) GetPayload

type GetUserContactByIDNotFound

type GetUserContactByIDNotFound struct {
	Payload *models.ErrorResponse
}
GetUserContactByIDNotFound describes a response with status code 404, with default header values.

Error

func NewGetUserContactByIDNotFound

func NewGetUserContactByIDNotFound() *GetUserContactByIDNotFound

NewGetUserContactByIDNotFound creates a GetUserContactByIDNotFound with default headers values

func (*GetUserContactByIDNotFound) Error

func (*GetUserContactByIDNotFound) GetPayload

type GetUserContactByIDOK

type GetUserContactByIDOK struct {
	Payload *models.Unified
}
GetUserContactByIDOK describes a response with status code 200, with default header values.

Retrieved

func NewGetUserContactByIDOK

func NewGetUserContactByIDOK() *GetUserContactByIDOK

NewGetUserContactByIDOK creates a GetUserContactByIDOK with default headers values

func (*GetUserContactByIDOK) Error

func (o *GetUserContactByIDOK) Error() string

func (*GetUserContactByIDOK) GetPayload

func (o *GetUserContactByIDOK) GetPayload() *models.Unified

type GetUserContactByIDParams

type GetUserContactByIDParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	/* UnifiedID.

	   contact id
	*/
	UnifiedID string

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

GetUserContactByIDParams contains all the parameters to send to the API endpoint

for the get user contact by id operation.

Typically these are written to a http.Request.

func NewGetUserContactByIDParams

func NewGetUserContactByIDParams() *GetUserContactByIDParams

NewGetUserContactByIDParams creates a new GetUserContactByIDParams 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 NewGetUserContactByIDParamsWithContext

func NewGetUserContactByIDParamsWithContext(ctx context.Context) *GetUserContactByIDParams

NewGetUserContactByIDParamsWithContext creates a new GetUserContactByIDParams object with the ability to set a context for a request.

func NewGetUserContactByIDParamsWithHTTPClient

func NewGetUserContactByIDParamsWithHTTPClient(client *http.Client) *GetUserContactByIDParams

NewGetUserContactByIDParamsWithHTTPClient creates a new GetUserContactByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserContactByIDParamsWithTimeout

func NewGetUserContactByIDParamsWithTimeout(timeout time.Duration) *GetUserContactByIDParams

NewGetUserContactByIDParamsWithTimeout creates a new GetUserContactByIDParams object with the ability to set a timeout on a request.

func (*GetUserContactByIDParams) SetContext

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

SetContext adds the context to the get user contact by id params

func (*GetUserContactByIDParams) SetDefaults

func (o *GetUserContactByIDParams) SetDefaults()

SetDefaults hydrates default values in the get user contact by id params (not the query body).

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

func (*GetUserContactByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user contact by id params

func (*GetUserContactByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get user contact by id params

func (*GetUserContactByIDParams) SetUnifiedID

func (o *GetUserContactByIDParams) SetUnifiedID(unifiedID string)

SetUnifiedID adds the unifiedId to the get user contact by id params

func (*GetUserContactByIDParams) SetXApigatewayAPIUserinfo

func (o *GetUserContactByIDParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the get user contact by id params

func (*GetUserContactByIDParams) WithContext

WithContext adds the context to the get user contact by id params

func (*GetUserContactByIDParams) WithDefaults

WithDefaults hydrates default values in the get user contact by id params (not the query body).

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

func (*GetUserContactByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user contact by id params

func (*GetUserContactByIDParams) WithTimeout

WithTimeout adds the timeout to the get user contact by id params

func (*GetUserContactByIDParams) WithUnifiedID

func (o *GetUserContactByIDParams) WithUnifiedID(unifiedID string) *GetUserContactByIDParams

WithUnifiedID adds the unifiedID to the get user contact by id params

func (*GetUserContactByIDParams) WithXApigatewayAPIUserinfo

func (o *GetUserContactByIDParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *GetUserContactByIDParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the get user contact by id params

func (*GetUserContactByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserContactByIDReader

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

GetUserContactByIDReader is a Reader for the GetUserContactByID structure.

func (*GetUserContactByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserContactByIDUnauthorized

type GetUserContactByIDUnauthorized struct {
	Payload *models.ErrorResponse
}
GetUserContactByIDUnauthorized describes a response with status code 401, with default header values.

Error

func NewGetUserContactByIDUnauthorized

func NewGetUserContactByIDUnauthorized() *GetUserContactByIDUnauthorized

NewGetUserContactByIDUnauthorized creates a GetUserContactByIDUnauthorized with default headers values

func (*GetUserContactByIDUnauthorized) Error

func (*GetUserContactByIDUnauthorized) GetPayload

type GetUserInternalServerError

type GetUserInternalServerError struct {
	Payload *models.ErrorResponse
}
GetUserInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetUserInternalServerError

func NewGetUserInternalServerError() *GetUserInternalServerError

NewGetUserInternalServerError creates a GetUserInternalServerError with default headers values

func (*GetUserInternalServerError) Error

func (*GetUserInternalServerError) GetPayload

type GetUserOK

type GetUserOK struct {
	Payload *models.User
}
GetUserOK describes a response with status code 200, with default header values.

retrieved

func NewGetUserOK

func NewGetUserOK() *GetUserOK

NewGetUserOK creates a GetUserOK with default headers values

func (*GetUserOK) Error

func (o *GetUserOK) Error() string

func (*GetUserOK) GetPayload

func (o *GetUserOK) GetPayload() *models.User

type GetUserParams

type GetUserParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	/* UserID.

	   user id
	*/
	UserID string

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

GetUserParams contains all the parameters to send to the API endpoint

for the get user operation.

Typically these are written to a http.Request.

func NewGetUserParams

func NewGetUserParams() *GetUserParams

NewGetUserParams creates a new GetUserParams 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 NewGetUserParamsWithContext

func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams

NewGetUserParamsWithContext creates a new GetUserParams object with the ability to set a context for a request.

func NewGetUserParamsWithHTTPClient

func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams

NewGetUserParamsWithHTTPClient creates a new GetUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserParamsWithTimeout

func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams

NewGetUserParamsWithTimeout creates a new GetUserParams object with the ability to set a timeout on a request.

func (*GetUserParams) SetContext

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

SetContext adds the context to the get user params

func (*GetUserParams) SetDefaults

func (o *GetUserParams) SetDefaults()

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

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

func (*GetUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) SetTimeout

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

SetTimeout adds the timeout to the get user params

func (*GetUserParams) SetUserID

func (o *GetUserParams) SetUserID(userID string)

SetUserID adds the userId to the get user params

func (*GetUserParams) SetXApigatewayAPIUserinfo

func (o *GetUserParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the get user params

func (*GetUserParams) WithContext

func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams

WithContext adds the context to the get user params

func (*GetUserParams) WithDefaults

func (o *GetUserParams) WithDefaults() *GetUserParams

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

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

func (*GetUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) WithTimeout

func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams

WithTimeout adds the timeout to the get user params

func (*GetUserParams) WithUserID

func (o *GetUserParams) WithUserID(userID string) *GetUserParams

WithUserID adds the userID to the get user params

func (*GetUserParams) WithXApigatewayAPIUserinfo

func (o *GetUserParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *GetUserParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the get user params

func (*GetUserParams) WriteToRequest

func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetUserReader

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

GetUserReader is a Reader for the GetUser structure.

func (*GetUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserUnauthorized

type GetUserUnauthorized struct {
	Payload *models.ErrorResponse
}
GetUserUnauthorized describes a response with status code 401, with default header values.

Error

func NewGetUserUnauthorized

func NewGetUserUnauthorized() *GetUserUnauthorized

NewGetUserUnauthorized creates a GetUserUnauthorized with default headers values

func (*GetUserUnauthorized) Error

func (o *GetUserUnauthorized) Error() string

func (*GetUserUnauthorized) GetPayload

func (o *GetUserUnauthorized) GetPayload() *models.ErrorResponse

type InitGoogleContactSourceBadRequest

type InitGoogleContactSourceBadRequest struct {
	Payload *models.ErrorResponse
}
InitGoogleContactSourceBadRequest describes a response with status code 400, with default header values.

Error

func NewInitGoogleContactSourceBadRequest

func NewInitGoogleContactSourceBadRequest() *InitGoogleContactSourceBadRequest

NewInitGoogleContactSourceBadRequest creates a InitGoogleContactSourceBadRequest with default headers values

func (*InitGoogleContactSourceBadRequest) Error

func (*InitGoogleContactSourceBadRequest) GetPayload

type InitGoogleContactSourceInternalServerError

type InitGoogleContactSourceInternalServerError struct {
	Payload *models.ErrorResponse
}
InitGoogleContactSourceInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewInitGoogleContactSourceInternalServerError

func NewInitGoogleContactSourceInternalServerError() *InitGoogleContactSourceInternalServerError

NewInitGoogleContactSourceInternalServerError creates a InitGoogleContactSourceInternalServerError with default headers values

func (*InitGoogleContactSourceInternalServerError) Error

func (*InitGoogleContactSourceInternalServerError) GetPayload

type InitGoogleContactSourceNotFound

type InitGoogleContactSourceNotFound struct {
	Payload *models.ErrorResponse
}
InitGoogleContactSourceNotFound describes a response with status code 404, with default header values.

Error

func NewInitGoogleContactSourceNotFound

func NewInitGoogleContactSourceNotFound() *InitGoogleContactSourceNotFound

NewInitGoogleContactSourceNotFound creates a InitGoogleContactSourceNotFound with default headers values

func (*InitGoogleContactSourceNotFound) Error

func (*InitGoogleContactSourceNotFound) GetPayload

type InitGoogleContactSourceOK

type InitGoogleContactSourceOK struct {
	Payload *models.InitResponse
}
InitGoogleContactSourceOK describes a response with status code 200, with default header values.

Init Response

func NewInitGoogleContactSourceOK

func NewInitGoogleContactSourceOK() *InitGoogleContactSourceOK

NewInitGoogleContactSourceOK creates a InitGoogleContactSourceOK with default headers values

func (*InitGoogleContactSourceOK) Error

func (o *InitGoogleContactSourceOK) Error() string

func (*InitGoogleContactSourceOK) GetPayload

type InitGoogleContactSourceParams

type InitGoogleContactSourceParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

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

InitGoogleContactSourceParams contains all the parameters to send to the API endpoint

for the init google contact source operation.

Typically these are written to a http.Request.

func NewInitGoogleContactSourceParams

func NewInitGoogleContactSourceParams() *InitGoogleContactSourceParams

NewInitGoogleContactSourceParams creates a new InitGoogleContactSourceParams 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 NewInitGoogleContactSourceParamsWithContext

func NewInitGoogleContactSourceParamsWithContext(ctx context.Context) *InitGoogleContactSourceParams

NewInitGoogleContactSourceParamsWithContext creates a new InitGoogleContactSourceParams object with the ability to set a context for a request.

func NewInitGoogleContactSourceParamsWithHTTPClient

func NewInitGoogleContactSourceParamsWithHTTPClient(client *http.Client) *InitGoogleContactSourceParams

NewInitGoogleContactSourceParamsWithHTTPClient creates a new InitGoogleContactSourceParams object with the ability to set a custom HTTPClient for a request.

func NewInitGoogleContactSourceParamsWithTimeout

func NewInitGoogleContactSourceParamsWithTimeout(timeout time.Duration) *InitGoogleContactSourceParams

NewInitGoogleContactSourceParamsWithTimeout creates a new InitGoogleContactSourceParams object with the ability to set a timeout on a request.

func (*InitGoogleContactSourceParams) SetContext

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

SetContext adds the context to the init google contact source params

func (*InitGoogleContactSourceParams) SetDefaults

func (o *InitGoogleContactSourceParams) SetDefaults()

SetDefaults hydrates default values in the init google contact source params (not the query body).

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

func (*InitGoogleContactSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the init google contact source params

func (*InitGoogleContactSourceParams) SetTimeout

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

SetTimeout adds the timeout to the init google contact source params

func (*InitGoogleContactSourceParams) SetXApigatewayAPIUserinfo

func (o *InitGoogleContactSourceParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the init google contact source params

func (*InitGoogleContactSourceParams) WithContext

WithContext adds the context to the init google contact source params

func (*InitGoogleContactSourceParams) WithDefaults

WithDefaults hydrates default values in the init google contact source params (not the query body).

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

func (*InitGoogleContactSourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the init google contact source params

func (*InitGoogleContactSourceParams) WithTimeout

WithTimeout adds the timeout to the init google contact source params

func (*InitGoogleContactSourceParams) WithXApigatewayAPIUserinfo

func (o *InitGoogleContactSourceParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *InitGoogleContactSourceParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the init google contact source params

func (*InitGoogleContactSourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InitGoogleContactSourceReader

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

InitGoogleContactSourceReader is a Reader for the InitGoogleContactSource structure.

func (*InitGoogleContactSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InitGoogleContactSourceUnauthorized

type InitGoogleContactSourceUnauthorized struct {
	Payload *models.ErrorResponse
}
InitGoogleContactSourceUnauthorized describes a response with status code 401, with default header values.

Error

func NewInitGoogleContactSourceUnauthorized

func NewInitGoogleContactSourceUnauthorized() *InitGoogleContactSourceUnauthorized

NewInitGoogleContactSourceUnauthorized creates a InitGoogleContactSourceUnauthorized with default headers values

func (*InitGoogleContactSourceUnauthorized) Error

func (*InitGoogleContactSourceUnauthorized) GetPayload

type LinkGoogleContactSourceBadRequest

type LinkGoogleContactSourceBadRequest struct {
	Payload *models.ErrorResponse
}
LinkGoogleContactSourceBadRequest describes a response with status code 400, with default header values.

Error

func NewLinkGoogleContactSourceBadRequest

func NewLinkGoogleContactSourceBadRequest() *LinkGoogleContactSourceBadRequest

NewLinkGoogleContactSourceBadRequest creates a LinkGoogleContactSourceBadRequest with default headers values

func (*LinkGoogleContactSourceBadRequest) Error

func (*LinkGoogleContactSourceBadRequest) GetPayload

type LinkGoogleContactSourceBody

type LinkGoogleContactSourceBody struct {

	// auth code
	AuthCode string `json:"auth_code,omitempty"`
}

LinkGoogleContactSourceBody link google contact source body swagger:model LinkGoogleContactSourceBody

func (*LinkGoogleContactSourceBody) ContextValidate

func (o *LinkGoogleContactSourceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this link google contact source body based on context it is used

func (*LinkGoogleContactSourceBody) MarshalBinary

func (o *LinkGoogleContactSourceBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LinkGoogleContactSourceBody) UnmarshalBinary

func (o *LinkGoogleContactSourceBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LinkGoogleContactSourceBody) Validate

func (o *LinkGoogleContactSourceBody) Validate(formats strfmt.Registry) error

Validate validates this link google contact source body

type LinkGoogleContactSourceForbidden

type LinkGoogleContactSourceForbidden struct {
	Payload *models.ErrorResponse
}
LinkGoogleContactSourceForbidden describes a response with status code 403, with default header values.

quota limit reached

func NewLinkGoogleContactSourceForbidden

func NewLinkGoogleContactSourceForbidden() *LinkGoogleContactSourceForbidden

NewLinkGoogleContactSourceForbidden creates a LinkGoogleContactSourceForbidden with default headers values

func (*LinkGoogleContactSourceForbidden) Error

func (*LinkGoogleContactSourceForbidden) GetPayload

type LinkGoogleContactSourceInternalServerError

type LinkGoogleContactSourceInternalServerError struct {
	Payload *models.ErrorResponse
}
LinkGoogleContactSourceInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewLinkGoogleContactSourceInternalServerError

func NewLinkGoogleContactSourceInternalServerError() *LinkGoogleContactSourceInternalServerError

NewLinkGoogleContactSourceInternalServerError creates a LinkGoogleContactSourceInternalServerError with default headers values

func (*LinkGoogleContactSourceInternalServerError) Error

func (*LinkGoogleContactSourceInternalServerError) GetPayload

type LinkGoogleContactSourceOK

type LinkGoogleContactSourceOK struct {
	Location string
}
LinkGoogleContactSourceOK describes a response with status code 200, with default header values.

Linked

func NewLinkGoogleContactSourceOK

func NewLinkGoogleContactSourceOK() *LinkGoogleContactSourceOK

NewLinkGoogleContactSourceOK creates a LinkGoogleContactSourceOK with default headers values

func (*LinkGoogleContactSourceOK) Error

func (o *LinkGoogleContactSourceOK) Error() string

type LinkGoogleContactSourceParams

type LinkGoogleContactSourceParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// Body.
	Body LinkGoogleContactSourceBody

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

LinkGoogleContactSourceParams contains all the parameters to send to the API endpoint

for the link google contact source operation.

Typically these are written to a http.Request.

func NewLinkGoogleContactSourceParams

func NewLinkGoogleContactSourceParams() *LinkGoogleContactSourceParams

NewLinkGoogleContactSourceParams creates a new LinkGoogleContactSourceParams 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 NewLinkGoogleContactSourceParamsWithContext

func NewLinkGoogleContactSourceParamsWithContext(ctx context.Context) *LinkGoogleContactSourceParams

NewLinkGoogleContactSourceParamsWithContext creates a new LinkGoogleContactSourceParams object with the ability to set a context for a request.

func NewLinkGoogleContactSourceParamsWithHTTPClient

func NewLinkGoogleContactSourceParamsWithHTTPClient(client *http.Client) *LinkGoogleContactSourceParams

NewLinkGoogleContactSourceParamsWithHTTPClient creates a new LinkGoogleContactSourceParams object with the ability to set a custom HTTPClient for a request.

func NewLinkGoogleContactSourceParamsWithTimeout

func NewLinkGoogleContactSourceParamsWithTimeout(timeout time.Duration) *LinkGoogleContactSourceParams

NewLinkGoogleContactSourceParamsWithTimeout creates a new LinkGoogleContactSourceParams object with the ability to set a timeout on a request.

func (*LinkGoogleContactSourceParams) SetBody

SetBody adds the body to the link google contact source params

func (*LinkGoogleContactSourceParams) SetContext

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

SetContext adds the context to the link google contact source params

func (*LinkGoogleContactSourceParams) SetDefaults

func (o *LinkGoogleContactSourceParams) SetDefaults()

SetDefaults hydrates default values in the link google contact source params (not the query body).

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

func (*LinkGoogleContactSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the link google contact source params

func (*LinkGoogleContactSourceParams) SetTimeout

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

SetTimeout adds the timeout to the link google contact source params

func (*LinkGoogleContactSourceParams) SetXApigatewayAPIUserinfo

func (o *LinkGoogleContactSourceParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the link google contact source params

func (*LinkGoogleContactSourceParams) WithBody

WithBody adds the body to the link google contact source params

func (*LinkGoogleContactSourceParams) WithContext

WithContext adds the context to the link google contact source params

func (*LinkGoogleContactSourceParams) WithDefaults

WithDefaults hydrates default values in the link google contact source params (not the query body).

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

func (*LinkGoogleContactSourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the link google contact source params

func (*LinkGoogleContactSourceParams) WithTimeout

WithTimeout adds the timeout to the link google contact source params

func (*LinkGoogleContactSourceParams) WithXApigatewayAPIUserinfo

func (o *LinkGoogleContactSourceParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *LinkGoogleContactSourceParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the link google contact source params

func (*LinkGoogleContactSourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LinkGoogleContactSourceReader

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

LinkGoogleContactSourceReader is a Reader for the LinkGoogleContactSource structure.

func (*LinkGoogleContactSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LinkGoogleContactSourceUnauthorized

type LinkGoogleContactSourceUnauthorized struct {
	Payload *models.ErrorResponse
}
LinkGoogleContactSourceUnauthorized describes a response with status code 401, with default header values.

Error

func NewLinkGoogleContactSourceUnauthorized

func NewLinkGoogleContactSourceUnauthorized() *LinkGoogleContactSourceUnauthorized

NewLinkGoogleContactSourceUnauthorized creates a LinkGoogleContactSourceUnauthorized with default headers values

func (*LinkGoogleContactSourceUnauthorized) Error

func (*LinkGoogleContactSourceUnauthorized) GetPayload

type PatchContactNoteBadRequest

type PatchContactNoteBadRequest struct {
	Payload *models.ErrorResponse
}
PatchContactNoteBadRequest describes a response with status code 400, with default header values.

Error

func NewPatchContactNoteBadRequest

func NewPatchContactNoteBadRequest() *PatchContactNoteBadRequest

NewPatchContactNoteBadRequest creates a PatchContactNoteBadRequest with default headers values

func (*PatchContactNoteBadRequest) Error

func (*PatchContactNoteBadRequest) GetPayload

type PatchContactNoteInternalServerError

type PatchContactNoteInternalServerError struct {
	Payload *models.ErrorResponse
}
PatchContactNoteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPatchContactNoteInternalServerError

func NewPatchContactNoteInternalServerError() *PatchContactNoteInternalServerError

NewPatchContactNoteInternalServerError creates a PatchContactNoteInternalServerError with default headers values

func (*PatchContactNoteInternalServerError) Error

func (*PatchContactNoteInternalServerError) GetPayload

type PatchContactNoteNotFound

type PatchContactNoteNotFound struct {
	Payload *models.ErrorResponse
}
PatchContactNoteNotFound describes a response with status code 404, with default header values.

Error

func NewPatchContactNoteNotFound

func NewPatchContactNoteNotFound() *PatchContactNoteNotFound

NewPatchContactNoteNotFound creates a PatchContactNoteNotFound with default headers values

func (*PatchContactNoteNotFound) Error

func (o *PatchContactNoteNotFound) Error() string

func (*PatchContactNoteNotFound) GetPayload

type PatchContactNoteOK

type PatchContactNoteOK struct {
	Payload *models.Note
}
PatchContactNoteOK describes a response with status code 200, with default header values.

Updated

func NewPatchContactNoteOK

func NewPatchContactNoteOK() *PatchContactNoteOK

NewPatchContactNoteOK creates a PatchContactNoteOK with default headers values

func (*PatchContactNoteOK) Error

func (o *PatchContactNoteOK) Error() string

func (*PatchContactNoteOK) GetPayload

func (o *PatchContactNoteOK) GetPayload() *models.Note

type PatchContactNoteParams

type PatchContactNoteParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// Body.
	Body *models.Note

	/* NoteID.

	   note id
	*/
	NoteID string

	/* UnifiedID.

	   contact id
	*/
	UnifiedID string

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

PatchContactNoteParams contains all the parameters to send to the API endpoint

for the patch contact note operation.

Typically these are written to a http.Request.

func NewPatchContactNoteParams

func NewPatchContactNoteParams() *PatchContactNoteParams

NewPatchContactNoteParams creates a new PatchContactNoteParams 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 NewPatchContactNoteParamsWithContext

func NewPatchContactNoteParamsWithContext(ctx context.Context) *PatchContactNoteParams

NewPatchContactNoteParamsWithContext creates a new PatchContactNoteParams object with the ability to set a context for a request.

func NewPatchContactNoteParamsWithHTTPClient

func NewPatchContactNoteParamsWithHTTPClient(client *http.Client) *PatchContactNoteParams

NewPatchContactNoteParamsWithHTTPClient creates a new PatchContactNoteParams object with the ability to set a custom HTTPClient for a request.

func NewPatchContactNoteParamsWithTimeout

func NewPatchContactNoteParamsWithTimeout(timeout time.Duration) *PatchContactNoteParams

NewPatchContactNoteParamsWithTimeout creates a new PatchContactNoteParams object with the ability to set a timeout on a request.

func (*PatchContactNoteParams) SetBody

func (o *PatchContactNoteParams) SetBody(body *models.Note)

SetBody adds the body to the patch contact note params

func (*PatchContactNoteParams) SetContext

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

SetContext adds the context to the patch contact note params

func (*PatchContactNoteParams) SetDefaults

func (o *PatchContactNoteParams) SetDefaults()

SetDefaults hydrates default values in the patch contact note params (not the query body).

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

func (*PatchContactNoteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch contact note params

func (*PatchContactNoteParams) SetNoteID

func (o *PatchContactNoteParams) SetNoteID(noteID string)

SetNoteID adds the noteId to the patch contact note params

func (*PatchContactNoteParams) SetTimeout

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

SetTimeout adds the timeout to the patch contact note params

func (*PatchContactNoteParams) SetUnifiedID

func (o *PatchContactNoteParams) SetUnifiedID(unifiedID string)

SetUnifiedID adds the unifiedId to the patch contact note params

func (*PatchContactNoteParams) SetXApigatewayAPIUserinfo

func (o *PatchContactNoteParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the patch contact note params

func (*PatchContactNoteParams) WithBody

WithBody adds the body to the patch contact note params

func (*PatchContactNoteParams) WithContext

WithContext adds the context to the patch contact note params

func (*PatchContactNoteParams) WithDefaults

WithDefaults hydrates default values in the patch contact note params (not the query body).

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

func (*PatchContactNoteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch contact note params

func (*PatchContactNoteParams) WithNoteID

func (o *PatchContactNoteParams) WithNoteID(noteID string) *PatchContactNoteParams

WithNoteID adds the noteID to the patch contact note params

func (*PatchContactNoteParams) WithTimeout

WithTimeout adds the timeout to the patch contact note params

func (*PatchContactNoteParams) WithUnifiedID

func (o *PatchContactNoteParams) WithUnifiedID(unifiedID string) *PatchContactNoteParams

WithUnifiedID adds the unifiedID to the patch contact note params

func (*PatchContactNoteParams) WithXApigatewayAPIUserinfo

func (o *PatchContactNoteParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *PatchContactNoteParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the patch contact note params

func (*PatchContactNoteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchContactNoteReader

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

PatchContactNoteReader is a Reader for the PatchContactNote structure.

func (*PatchContactNoteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchContactNoteUnauthorized

type PatchContactNoteUnauthorized struct {
	Payload *models.ErrorResponse
}
PatchContactNoteUnauthorized describes a response with status code 401, with default header values.

Error

func NewPatchContactNoteUnauthorized

func NewPatchContactNoteUnauthorized() *PatchContactNoteUnauthorized

NewPatchContactNoteUnauthorized creates a PatchContactNoteUnauthorized with default headers values

func (*PatchContactNoteUnauthorized) Error

func (*PatchContactNoteUnauthorized) GetPayload

type PatchContactTagBadRequest

type PatchContactTagBadRequest struct {
	Payload *models.ErrorResponse
}
PatchContactTagBadRequest describes a response with status code 400, with default header values.

Error

func NewPatchContactTagBadRequest

func NewPatchContactTagBadRequest() *PatchContactTagBadRequest

NewPatchContactTagBadRequest creates a PatchContactTagBadRequest with default headers values

func (*PatchContactTagBadRequest) Error

func (o *PatchContactTagBadRequest) Error() string

func (*PatchContactTagBadRequest) GetPayload

type PatchContactTagInternalServerError

type PatchContactTagInternalServerError struct {
	Payload *models.ErrorResponse
}
PatchContactTagInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPatchContactTagInternalServerError

func NewPatchContactTagInternalServerError() *PatchContactTagInternalServerError

NewPatchContactTagInternalServerError creates a PatchContactTagInternalServerError with default headers values

func (*PatchContactTagInternalServerError) Error

func (*PatchContactTagInternalServerError) GetPayload

type PatchContactTagNotFound

type PatchContactTagNotFound struct {
	Payload *models.ErrorResponse
}
PatchContactTagNotFound describes a response with status code 404, with default header values.

Error

func NewPatchContactTagNotFound

func NewPatchContactTagNotFound() *PatchContactTagNotFound

NewPatchContactTagNotFound creates a PatchContactTagNotFound with default headers values

func (*PatchContactTagNotFound) Error

func (o *PatchContactTagNotFound) Error() string

func (*PatchContactTagNotFound) GetPayload

func (o *PatchContactTagNotFound) GetPayload() *models.ErrorResponse

type PatchContactTagOK

type PatchContactTagOK struct {
	Payload *models.Tag
}
PatchContactTagOK describes a response with status code 200, with default header values.

Updated

func NewPatchContactTagOK

func NewPatchContactTagOK() *PatchContactTagOK

NewPatchContactTagOK creates a PatchContactTagOK with default headers values

func (*PatchContactTagOK) Error

func (o *PatchContactTagOK) Error() string

func (*PatchContactTagOK) GetPayload

func (o *PatchContactTagOK) GetPayload() *models.Tag

type PatchContactTagParams

type PatchContactTagParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// Body.
	Body *models.Tag

	/* TagID.

	   tag id
	*/
	TagID string

	/* UnifiedID.

	   contact id
	*/
	UnifiedID string

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

PatchContactTagParams contains all the parameters to send to the API endpoint

for the patch contact tag operation.

Typically these are written to a http.Request.

func NewPatchContactTagParams

func NewPatchContactTagParams() *PatchContactTagParams

NewPatchContactTagParams creates a new PatchContactTagParams 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 NewPatchContactTagParamsWithContext

func NewPatchContactTagParamsWithContext(ctx context.Context) *PatchContactTagParams

NewPatchContactTagParamsWithContext creates a new PatchContactTagParams object with the ability to set a context for a request.

func NewPatchContactTagParamsWithHTTPClient

func NewPatchContactTagParamsWithHTTPClient(client *http.Client) *PatchContactTagParams

NewPatchContactTagParamsWithHTTPClient creates a new PatchContactTagParams object with the ability to set a custom HTTPClient for a request.

func NewPatchContactTagParamsWithTimeout

func NewPatchContactTagParamsWithTimeout(timeout time.Duration) *PatchContactTagParams

NewPatchContactTagParamsWithTimeout creates a new PatchContactTagParams object with the ability to set a timeout on a request.

func (*PatchContactTagParams) SetBody

func (o *PatchContactTagParams) SetBody(body *models.Tag)

SetBody adds the body to the patch contact tag params

func (*PatchContactTagParams) SetContext

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

SetContext adds the context to the patch contact tag params

func (*PatchContactTagParams) SetDefaults

func (o *PatchContactTagParams) SetDefaults()

SetDefaults hydrates default values in the patch contact tag params (not the query body).

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

func (*PatchContactTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch contact tag params

func (*PatchContactTagParams) SetTagID

func (o *PatchContactTagParams) SetTagID(tagID string)

SetTagID adds the tagId to the patch contact tag params

func (*PatchContactTagParams) SetTimeout

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

SetTimeout adds the timeout to the patch contact tag params

func (*PatchContactTagParams) SetUnifiedID

func (o *PatchContactTagParams) SetUnifiedID(unifiedID string)

SetUnifiedID adds the unifiedId to the patch contact tag params

func (*PatchContactTagParams) SetXApigatewayAPIUserinfo

func (o *PatchContactTagParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the patch contact tag params

func (*PatchContactTagParams) WithBody

WithBody adds the body to the patch contact tag params

func (*PatchContactTagParams) WithContext

WithContext adds the context to the patch contact tag params

func (*PatchContactTagParams) WithDefaults

func (o *PatchContactTagParams) WithDefaults() *PatchContactTagParams

WithDefaults hydrates default values in the patch contact tag params (not the query body).

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

func (*PatchContactTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch contact tag params

func (*PatchContactTagParams) WithTagID

func (o *PatchContactTagParams) WithTagID(tagID string) *PatchContactTagParams

WithTagID adds the tagID to the patch contact tag params

func (*PatchContactTagParams) WithTimeout

func (o *PatchContactTagParams) WithTimeout(timeout time.Duration) *PatchContactTagParams

WithTimeout adds the timeout to the patch contact tag params

func (*PatchContactTagParams) WithUnifiedID

func (o *PatchContactTagParams) WithUnifiedID(unifiedID string) *PatchContactTagParams

WithUnifiedID adds the unifiedID to the patch contact tag params

func (*PatchContactTagParams) WithXApigatewayAPIUserinfo

func (o *PatchContactTagParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *PatchContactTagParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the patch contact tag params

func (*PatchContactTagParams) WriteToRequest

func (o *PatchContactTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PatchContactTagReader

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

PatchContactTagReader is a Reader for the PatchContactTag structure.

func (*PatchContactTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchContactTagUnauthorized

type PatchContactTagUnauthorized struct {
	Payload *models.ErrorResponse
}
PatchContactTagUnauthorized describes a response with status code 401, with default header values.

Error

func NewPatchContactTagUnauthorized

func NewPatchContactTagUnauthorized() *PatchContactTagUnauthorized

NewPatchContactTagUnauthorized creates a PatchContactTagUnauthorized with default headers values

func (*PatchContactTagUnauthorized) Error

func (*PatchContactTagUnauthorized) GetPayload

type PostContactNoteBadRequest

type PostContactNoteBadRequest struct {
	Payload *models.ErrorResponse
}
PostContactNoteBadRequest describes a response with status code 400, with default header values.

Error

func NewPostContactNoteBadRequest

func NewPostContactNoteBadRequest() *PostContactNoteBadRequest

NewPostContactNoteBadRequest creates a PostContactNoteBadRequest with default headers values

func (*PostContactNoteBadRequest) Error

func (o *PostContactNoteBadRequest) Error() string

func (*PostContactNoteBadRequest) GetPayload

type PostContactNoteInternalServerError

type PostContactNoteInternalServerError struct {
	Payload *models.ErrorResponse
}
PostContactNoteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostContactNoteInternalServerError

func NewPostContactNoteInternalServerError() *PostContactNoteInternalServerError

NewPostContactNoteInternalServerError creates a PostContactNoteInternalServerError with default headers values

func (*PostContactNoteInternalServerError) Error

func (*PostContactNoteInternalServerError) GetPayload

type PostContactNoteOK

type PostContactNoteOK struct {
	Payload *models.Message
}
PostContactNoteOK describes a response with status code 200, with default header values.

Created

func NewPostContactNoteOK

func NewPostContactNoteOK() *PostContactNoteOK

NewPostContactNoteOK creates a PostContactNoteOK with default headers values

func (*PostContactNoteOK) Error

func (o *PostContactNoteOK) Error() string

func (*PostContactNoteOK) GetPayload

func (o *PostContactNoteOK) GetPayload() *models.Message

type PostContactNoteParams

type PostContactNoteParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// Body.
	Body *models.Note

	/* UnifiedID.

	   contact id
	*/
	UnifiedID string

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

PostContactNoteParams contains all the parameters to send to the API endpoint

for the post contact note operation.

Typically these are written to a http.Request.

func NewPostContactNoteParams

func NewPostContactNoteParams() *PostContactNoteParams

NewPostContactNoteParams creates a new PostContactNoteParams 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 NewPostContactNoteParamsWithContext

func NewPostContactNoteParamsWithContext(ctx context.Context) *PostContactNoteParams

NewPostContactNoteParamsWithContext creates a new PostContactNoteParams object with the ability to set a context for a request.

func NewPostContactNoteParamsWithHTTPClient

func NewPostContactNoteParamsWithHTTPClient(client *http.Client) *PostContactNoteParams

NewPostContactNoteParamsWithHTTPClient creates a new PostContactNoteParams object with the ability to set a custom HTTPClient for a request.

func NewPostContactNoteParamsWithTimeout

func NewPostContactNoteParamsWithTimeout(timeout time.Duration) *PostContactNoteParams

NewPostContactNoteParamsWithTimeout creates a new PostContactNoteParams object with the ability to set a timeout on a request.

func (*PostContactNoteParams) SetBody

func (o *PostContactNoteParams) SetBody(body *models.Note)

SetBody adds the body to the post contact note params

func (*PostContactNoteParams) SetContext

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

SetContext adds the context to the post contact note params

func (*PostContactNoteParams) SetDefaults

func (o *PostContactNoteParams) SetDefaults()

SetDefaults hydrates default values in the post contact note params (not the query body).

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

func (*PostContactNoteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post contact note params

func (*PostContactNoteParams) SetTimeout

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

SetTimeout adds the timeout to the post contact note params

func (*PostContactNoteParams) SetUnifiedID

func (o *PostContactNoteParams) SetUnifiedID(unifiedID string)

SetUnifiedID adds the unifiedId to the post contact note params

func (*PostContactNoteParams) SetXApigatewayAPIUserinfo

func (o *PostContactNoteParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the post contact note params

func (*PostContactNoteParams) WithBody

WithBody adds the body to the post contact note params

func (*PostContactNoteParams) WithContext

WithContext adds the context to the post contact note params

func (*PostContactNoteParams) WithDefaults

func (o *PostContactNoteParams) WithDefaults() *PostContactNoteParams

WithDefaults hydrates default values in the post contact note params (not the query body).

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

func (*PostContactNoteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post contact note params

func (*PostContactNoteParams) WithTimeout

func (o *PostContactNoteParams) WithTimeout(timeout time.Duration) *PostContactNoteParams

WithTimeout adds the timeout to the post contact note params

func (*PostContactNoteParams) WithUnifiedID

func (o *PostContactNoteParams) WithUnifiedID(unifiedID string) *PostContactNoteParams

WithUnifiedID adds the unifiedID to the post contact note params

func (*PostContactNoteParams) WithXApigatewayAPIUserinfo

func (o *PostContactNoteParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *PostContactNoteParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the post contact note params

func (*PostContactNoteParams) WriteToRequest

func (o *PostContactNoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostContactNoteReader

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

PostContactNoteReader is a Reader for the PostContactNote structure.

func (*PostContactNoteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostContactNoteUnauthorized

type PostContactNoteUnauthorized struct {
	Payload *models.ErrorResponse
}
PostContactNoteUnauthorized describes a response with status code 401, with default header values.

Error

func NewPostContactNoteUnauthorized

func NewPostContactNoteUnauthorized() *PostContactNoteUnauthorized

NewPostContactNoteUnauthorized creates a PostContactNoteUnauthorized with default headers values

func (*PostContactNoteUnauthorized) Error

func (*PostContactNoteUnauthorized) GetPayload

type PostContactTagBadRequest

type PostContactTagBadRequest struct {
	Payload *models.ErrorResponse
}
PostContactTagBadRequest describes a response with status code 400, with default header values.

Error

func NewPostContactTagBadRequest

func NewPostContactTagBadRequest() *PostContactTagBadRequest

NewPostContactTagBadRequest creates a PostContactTagBadRequest with default headers values

func (*PostContactTagBadRequest) Error

func (o *PostContactTagBadRequest) Error() string

func (*PostContactTagBadRequest) GetPayload

type PostContactTagInternalServerError

type PostContactTagInternalServerError struct {
	Payload *models.ErrorResponse
}
PostContactTagInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostContactTagInternalServerError

func NewPostContactTagInternalServerError() *PostContactTagInternalServerError

NewPostContactTagInternalServerError creates a PostContactTagInternalServerError with default headers values

func (*PostContactTagInternalServerError) Error

func (*PostContactTagInternalServerError) GetPayload

type PostContactTagOK

type PostContactTagOK struct {
	Payload *models.Message
}
PostContactTagOK describes a response with status code 200, with default header values.

Created

func NewPostContactTagOK

func NewPostContactTagOK() *PostContactTagOK

NewPostContactTagOK creates a PostContactTagOK with default headers values

func (*PostContactTagOK) Error

func (o *PostContactTagOK) Error() string

func (*PostContactTagOK) GetPayload

func (o *PostContactTagOK) GetPayload() *models.Message

type PostContactTagParams

type PostContactTagParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// Body.
	Body *models.Tag

	/* UnifiedID.

	   contact id
	*/
	UnifiedID string

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

PostContactTagParams contains all the parameters to send to the API endpoint

for the post contact tag operation.

Typically these are written to a http.Request.

func NewPostContactTagParams

func NewPostContactTagParams() *PostContactTagParams

NewPostContactTagParams creates a new PostContactTagParams 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 NewPostContactTagParamsWithContext

func NewPostContactTagParamsWithContext(ctx context.Context) *PostContactTagParams

NewPostContactTagParamsWithContext creates a new PostContactTagParams object with the ability to set a context for a request.

func NewPostContactTagParamsWithHTTPClient

func NewPostContactTagParamsWithHTTPClient(client *http.Client) *PostContactTagParams

NewPostContactTagParamsWithHTTPClient creates a new PostContactTagParams object with the ability to set a custom HTTPClient for a request.

func NewPostContactTagParamsWithTimeout

func NewPostContactTagParamsWithTimeout(timeout time.Duration) *PostContactTagParams

NewPostContactTagParamsWithTimeout creates a new PostContactTagParams object with the ability to set a timeout on a request.

func (*PostContactTagParams) SetBody

func (o *PostContactTagParams) SetBody(body *models.Tag)

SetBody adds the body to the post contact tag params

func (*PostContactTagParams) SetContext

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

SetContext adds the context to the post contact tag params

func (*PostContactTagParams) SetDefaults

func (o *PostContactTagParams) SetDefaults()

SetDefaults hydrates default values in the post contact tag params (not the query body).

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

func (*PostContactTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post contact tag params

func (*PostContactTagParams) SetTimeout

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

SetTimeout adds the timeout to the post contact tag params

func (*PostContactTagParams) SetUnifiedID

func (o *PostContactTagParams) SetUnifiedID(unifiedID string)

SetUnifiedID adds the unifiedId to the post contact tag params

func (*PostContactTagParams) SetXApigatewayAPIUserinfo

func (o *PostContactTagParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the post contact tag params

func (*PostContactTagParams) WithBody

WithBody adds the body to the post contact tag params

func (*PostContactTagParams) WithContext

WithContext adds the context to the post contact tag params

func (*PostContactTagParams) WithDefaults

func (o *PostContactTagParams) WithDefaults() *PostContactTagParams

WithDefaults hydrates default values in the post contact tag params (not the query body).

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

func (*PostContactTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post contact tag params

func (*PostContactTagParams) WithTimeout

func (o *PostContactTagParams) WithTimeout(timeout time.Duration) *PostContactTagParams

WithTimeout adds the timeout to the post contact tag params

func (*PostContactTagParams) WithUnifiedID

func (o *PostContactTagParams) WithUnifiedID(unifiedID string) *PostContactTagParams

WithUnifiedID adds the unifiedID to the post contact tag params

func (*PostContactTagParams) WithXApigatewayAPIUserinfo

func (o *PostContactTagParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *PostContactTagParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the post contact tag params

func (*PostContactTagParams) WriteToRequest

func (o *PostContactTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostContactTagReader

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

PostContactTagReader is a Reader for the PostContactTag structure.

func (*PostContactTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostContactTagUnauthorized

type PostContactTagUnauthorized struct {
	Payload *models.ErrorResponse
}
PostContactTagUnauthorized describes a response with status code 401, with default header values.

Error

func NewPostContactTagUnauthorized

func NewPostContactTagUnauthorized() *PostContactTagUnauthorized

NewPostContactTagUnauthorized creates a PostContactTagUnauthorized with default headers values

func (*PostContactTagUnauthorized) Error

func (*PostContactTagUnauthorized) GetPayload

type SearchUserContactBadRequest

type SearchUserContactBadRequest struct {
	Payload *models.ErrorResponse
}
SearchUserContactBadRequest describes a response with status code 400, with default header values.

Error

func NewSearchUserContactBadRequest

func NewSearchUserContactBadRequest() *SearchUserContactBadRequest

NewSearchUserContactBadRequest creates a SearchUserContactBadRequest with default headers values

func (*SearchUserContactBadRequest) Error

func (*SearchUserContactBadRequest) GetPayload

type SearchUserContactInternalServerError

type SearchUserContactInternalServerError struct {
	Payload *models.ErrorResponse
}
SearchUserContactInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewSearchUserContactInternalServerError

func NewSearchUserContactInternalServerError() *SearchUserContactInternalServerError

NewSearchUserContactInternalServerError creates a SearchUserContactInternalServerError with default headers values

func (*SearchUserContactInternalServerError) Error

func (*SearchUserContactInternalServerError) GetPayload

type SearchUserContactOK

type SearchUserContactOK struct {
	Payload []*models.Unified
}
SearchUserContactOK describes a response with status code 200, with default header values.

Created

func NewSearchUserContactOK

func NewSearchUserContactOK() *SearchUserContactOK

NewSearchUserContactOK creates a SearchUserContactOK with default headers values

func (*SearchUserContactOK) Error

func (o *SearchUserContactOK) Error() string

func (*SearchUserContactOK) GetPayload

func (o *SearchUserContactOK) GetPayload() []*models.Unified

type SearchUserContactParams

type SearchUserContactParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// Body.
	Body *models.SearchContactDto

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

SearchUserContactParams contains all the parameters to send to the API endpoint

for the search user contact operation.

Typically these are written to a http.Request.

func NewSearchUserContactParams

func NewSearchUserContactParams() *SearchUserContactParams

NewSearchUserContactParams creates a new SearchUserContactParams 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 NewSearchUserContactParamsWithContext

func NewSearchUserContactParamsWithContext(ctx context.Context) *SearchUserContactParams

NewSearchUserContactParamsWithContext creates a new SearchUserContactParams object with the ability to set a context for a request.

func NewSearchUserContactParamsWithHTTPClient

func NewSearchUserContactParamsWithHTTPClient(client *http.Client) *SearchUserContactParams

NewSearchUserContactParamsWithHTTPClient creates a new SearchUserContactParams object with the ability to set a custom HTTPClient for a request.

func NewSearchUserContactParamsWithTimeout

func NewSearchUserContactParamsWithTimeout(timeout time.Duration) *SearchUserContactParams

NewSearchUserContactParamsWithTimeout creates a new SearchUserContactParams object with the ability to set a timeout on a request.

func (*SearchUserContactParams) SetBody

SetBody adds the body to the search user contact params

func (*SearchUserContactParams) SetContext

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

SetContext adds the context to the search user contact params

func (*SearchUserContactParams) SetDefaults

func (o *SearchUserContactParams) SetDefaults()

SetDefaults hydrates default values in the search user contact params (not the query body).

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

func (*SearchUserContactParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search user contact params

func (*SearchUserContactParams) SetTimeout

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

SetTimeout adds the timeout to the search user contact params

func (*SearchUserContactParams) SetXApigatewayAPIUserinfo

func (o *SearchUserContactParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the search user contact params

func (*SearchUserContactParams) WithBody

WithBody adds the body to the search user contact params

func (*SearchUserContactParams) WithContext

WithContext adds the context to the search user contact params

func (*SearchUserContactParams) WithDefaults

WithDefaults hydrates default values in the search user contact params (not the query body).

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

func (*SearchUserContactParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search user contact params

func (*SearchUserContactParams) WithTimeout

WithTimeout adds the timeout to the search user contact params

func (*SearchUserContactParams) WithXApigatewayAPIUserinfo

func (o *SearchUserContactParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *SearchUserContactParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the search user contact params

func (*SearchUserContactParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SearchUserContactReader

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

SearchUserContactReader is a Reader for the SearchUserContact structure.

func (*SearchUserContactReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchUserContactUnauthorized

type SearchUserContactUnauthorized struct {
	Payload *models.ErrorResponse
}
SearchUserContactUnauthorized describes a response with status code 401, with default header values.

Error

func NewSearchUserContactUnauthorized

func NewSearchUserContactUnauthorized() *SearchUserContactUnauthorized

NewSearchUserContactUnauthorized creates a SearchUserContactUnauthorized with default headers values

func (*SearchUserContactUnauthorized) Error

func (*SearchUserContactUnauthorized) GetPayload

type UpdateContactCategoryBadRequest

type UpdateContactCategoryBadRequest struct {
	Payload *models.ErrorResponse
}
UpdateContactCategoryBadRequest describes a response with status code 400, with default header values.

Error

func NewUpdateContactCategoryBadRequest

func NewUpdateContactCategoryBadRequest() *UpdateContactCategoryBadRequest

NewUpdateContactCategoryBadRequest creates a UpdateContactCategoryBadRequest with default headers values

func (*UpdateContactCategoryBadRequest) Error

func (*UpdateContactCategoryBadRequest) GetPayload

type UpdateContactCategoryInternalServerError

type UpdateContactCategoryInternalServerError struct {
	Payload *models.ErrorResponse
}
UpdateContactCategoryInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewUpdateContactCategoryInternalServerError

func NewUpdateContactCategoryInternalServerError() *UpdateContactCategoryInternalServerError

NewUpdateContactCategoryInternalServerError creates a UpdateContactCategoryInternalServerError with default headers values

func (*UpdateContactCategoryInternalServerError) Error

func (*UpdateContactCategoryInternalServerError) GetPayload

type UpdateContactCategoryNotFound

type UpdateContactCategoryNotFound struct {
	Payload *models.ErrorResponse
}
UpdateContactCategoryNotFound describes a response with status code 404, with default header values.

Error

func NewUpdateContactCategoryNotFound

func NewUpdateContactCategoryNotFound() *UpdateContactCategoryNotFound

NewUpdateContactCategoryNotFound creates a UpdateContactCategoryNotFound with default headers values

func (*UpdateContactCategoryNotFound) Error

func (*UpdateContactCategoryNotFound) GetPayload

type UpdateContactCategoryOK

type UpdateContactCategoryOK struct {
	Payload *models.Unified
}
UpdateContactCategoryOK describes a response with status code 200, with default header values.

Updated

func NewUpdateContactCategoryOK

func NewUpdateContactCategoryOK() *UpdateContactCategoryOK

NewUpdateContactCategoryOK creates a UpdateContactCategoryOK with default headers values

func (*UpdateContactCategoryOK) Error

func (o *UpdateContactCategoryOK) Error() string

func (*UpdateContactCategoryOK) GetPayload

func (o *UpdateContactCategoryOK) GetPayload() *models.Unified

type UpdateContactCategoryParams

type UpdateContactCategoryParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// Body.
	Body *models.UpdateCategoryDto

	/* UnifiedID.

	   contact id
	*/
	UnifiedID string

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

UpdateContactCategoryParams contains all the parameters to send to the API endpoint

for the update contact category operation.

Typically these are written to a http.Request.

func NewUpdateContactCategoryParams

func NewUpdateContactCategoryParams() *UpdateContactCategoryParams

NewUpdateContactCategoryParams creates a new UpdateContactCategoryParams 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 NewUpdateContactCategoryParamsWithContext

func NewUpdateContactCategoryParamsWithContext(ctx context.Context) *UpdateContactCategoryParams

NewUpdateContactCategoryParamsWithContext creates a new UpdateContactCategoryParams object with the ability to set a context for a request.

func NewUpdateContactCategoryParamsWithHTTPClient

func NewUpdateContactCategoryParamsWithHTTPClient(client *http.Client) *UpdateContactCategoryParams

NewUpdateContactCategoryParamsWithHTTPClient creates a new UpdateContactCategoryParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateContactCategoryParamsWithTimeout

func NewUpdateContactCategoryParamsWithTimeout(timeout time.Duration) *UpdateContactCategoryParams

NewUpdateContactCategoryParamsWithTimeout creates a new UpdateContactCategoryParams object with the ability to set a timeout on a request.

func (*UpdateContactCategoryParams) SetBody

SetBody adds the body to the update contact category params

func (*UpdateContactCategoryParams) SetContext

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

SetContext adds the context to the update contact category params

func (*UpdateContactCategoryParams) SetDefaults

func (o *UpdateContactCategoryParams) SetDefaults()

SetDefaults hydrates default values in the update contact category params (not the query body).

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

func (*UpdateContactCategoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update contact category params

func (*UpdateContactCategoryParams) SetTimeout

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

SetTimeout adds the timeout to the update contact category params

func (*UpdateContactCategoryParams) SetUnifiedID

func (o *UpdateContactCategoryParams) SetUnifiedID(unifiedID string)

SetUnifiedID adds the unifiedId to the update contact category params

func (*UpdateContactCategoryParams) SetXApigatewayAPIUserinfo

func (o *UpdateContactCategoryParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the update contact category params

func (*UpdateContactCategoryParams) WithBody

WithBody adds the body to the update contact category params

func (*UpdateContactCategoryParams) WithContext

WithContext adds the context to the update contact category params

func (*UpdateContactCategoryParams) WithDefaults

WithDefaults hydrates default values in the update contact category params (not the query body).

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

func (*UpdateContactCategoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update contact category params

func (*UpdateContactCategoryParams) WithTimeout

WithTimeout adds the timeout to the update contact category params

func (*UpdateContactCategoryParams) WithUnifiedID

func (o *UpdateContactCategoryParams) WithUnifiedID(unifiedID string) *UpdateContactCategoryParams

WithUnifiedID adds the unifiedID to the update contact category params

func (*UpdateContactCategoryParams) WithXApigatewayAPIUserinfo

func (o *UpdateContactCategoryParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *UpdateContactCategoryParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the update contact category params

func (*UpdateContactCategoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateContactCategoryReader

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

UpdateContactCategoryReader is a Reader for the UpdateContactCategory structure.

func (*UpdateContactCategoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateContactCategoryUnauthorized

type UpdateContactCategoryUnauthorized struct {
	Payload *models.ErrorResponse
}
UpdateContactCategoryUnauthorized describes a response with status code 401, with default header values.

Error

func NewUpdateContactCategoryUnauthorized

func NewUpdateContactCategoryUnauthorized() *UpdateContactCategoryUnauthorized

NewUpdateContactCategoryUnauthorized creates a UpdateContactCategoryUnauthorized with default headers values

func (*UpdateContactCategoryUnauthorized) Error

func (*UpdateContactCategoryUnauthorized) GetPayload

type UpdateUserBadRequest

type UpdateUserBadRequest struct {
	Payload *models.ErrorResponse
}
UpdateUserBadRequest describes a response with status code 400, with default header values.

Error

func NewUpdateUserBadRequest

func NewUpdateUserBadRequest() *UpdateUserBadRequest

NewUpdateUserBadRequest creates a UpdateUserBadRequest with default headers values

func (*UpdateUserBadRequest) Error

func (o *UpdateUserBadRequest) Error() string

func (*UpdateUserBadRequest) GetPayload

func (o *UpdateUserBadRequest) GetPayload() *models.ErrorResponse

type UpdateUserContactBadRequest

type UpdateUserContactBadRequest struct {
	Payload *models.ErrorResponse
}
UpdateUserContactBadRequest describes a response with status code 400, with default header values.

Error

func NewUpdateUserContactBadRequest

func NewUpdateUserContactBadRequest() *UpdateUserContactBadRequest

NewUpdateUserContactBadRequest creates a UpdateUserContactBadRequest with default headers values

func (*UpdateUserContactBadRequest) Error

func (*UpdateUserContactBadRequest) GetPayload

type UpdateUserContactInternalServerError

type UpdateUserContactInternalServerError struct {
	Payload *models.ErrorResponse
}
UpdateUserContactInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewUpdateUserContactInternalServerError

func NewUpdateUserContactInternalServerError() *UpdateUserContactInternalServerError

NewUpdateUserContactInternalServerError creates a UpdateUserContactInternalServerError with default headers values

func (*UpdateUserContactInternalServerError) Error

func (*UpdateUserContactInternalServerError) GetPayload

type UpdateUserContactNotFound

type UpdateUserContactNotFound struct {
	Payload *models.ErrorResponse
}
UpdateUserContactNotFound describes a response with status code 404, with default header values.

Error

func NewUpdateUserContactNotFound

func NewUpdateUserContactNotFound() *UpdateUserContactNotFound

NewUpdateUserContactNotFound creates a UpdateUserContactNotFound with default headers values

func (*UpdateUserContactNotFound) Error

func (o *UpdateUserContactNotFound) Error() string

func (*UpdateUserContactNotFound) GetPayload

type UpdateUserContactOK

type UpdateUserContactOK struct {
	Payload *models.Unified
}
UpdateUserContactOK describes a response with status code 200, with default header values.

Updated

func NewUpdateUserContactOK

func NewUpdateUserContactOK() *UpdateUserContactOK

NewUpdateUserContactOK creates a UpdateUserContactOK with default headers values

func (*UpdateUserContactOK) Error

func (o *UpdateUserContactOK) Error() string

func (*UpdateUserContactOK) GetPayload

func (o *UpdateUserContactOK) GetPayload() *models.Unified

type UpdateUserContactParams

type UpdateUserContactParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// Body.
	Body *models.UpdateUnifiedDto

	/* UnifiedID.

	   contact id
	*/
	UnifiedID string

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

UpdateUserContactParams contains all the parameters to send to the API endpoint

for the update user contact operation.

Typically these are written to a http.Request.

func NewUpdateUserContactParams

func NewUpdateUserContactParams() *UpdateUserContactParams

NewUpdateUserContactParams creates a new UpdateUserContactParams 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 NewUpdateUserContactParamsWithContext

func NewUpdateUserContactParamsWithContext(ctx context.Context) *UpdateUserContactParams

NewUpdateUserContactParamsWithContext creates a new UpdateUserContactParams object with the ability to set a context for a request.

func NewUpdateUserContactParamsWithHTTPClient

func NewUpdateUserContactParamsWithHTTPClient(client *http.Client) *UpdateUserContactParams

NewUpdateUserContactParamsWithHTTPClient creates a new UpdateUserContactParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateUserContactParamsWithTimeout

func NewUpdateUserContactParamsWithTimeout(timeout time.Duration) *UpdateUserContactParams

NewUpdateUserContactParamsWithTimeout creates a new UpdateUserContactParams object with the ability to set a timeout on a request.

func (*UpdateUserContactParams) SetBody

SetBody adds the body to the update user contact params

func (*UpdateUserContactParams) SetContext

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

SetContext adds the context to the update user contact params

func (*UpdateUserContactParams) SetDefaults

func (o *UpdateUserContactParams) SetDefaults()

SetDefaults hydrates default values in the update user contact params (not the query body).

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

func (*UpdateUserContactParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update user contact params

func (*UpdateUserContactParams) SetTimeout

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

SetTimeout adds the timeout to the update user contact params

func (*UpdateUserContactParams) SetUnifiedID

func (o *UpdateUserContactParams) SetUnifiedID(unifiedID string)

SetUnifiedID adds the unifiedId to the update user contact params

func (*UpdateUserContactParams) SetXApigatewayAPIUserinfo

func (o *UpdateUserContactParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the update user contact params

func (*UpdateUserContactParams) WithBody

WithBody adds the body to the update user contact params

func (*UpdateUserContactParams) WithContext

WithContext adds the context to the update user contact params

func (*UpdateUserContactParams) WithDefaults

WithDefaults hydrates default values in the update user contact params (not the query body).

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

func (*UpdateUserContactParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update user contact params

func (*UpdateUserContactParams) WithTimeout

WithTimeout adds the timeout to the update user contact params

func (*UpdateUserContactParams) WithUnifiedID

func (o *UpdateUserContactParams) WithUnifiedID(unifiedID string) *UpdateUserContactParams

WithUnifiedID adds the unifiedID to the update user contact params

func (*UpdateUserContactParams) WithXApigatewayAPIUserinfo

func (o *UpdateUserContactParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *UpdateUserContactParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the update user contact params

func (*UpdateUserContactParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateUserContactReader

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

UpdateUserContactReader is a Reader for the UpdateUserContact structure.

func (*UpdateUserContactReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUserContactUnauthorized

type UpdateUserContactUnauthorized struct {
	Payload *models.ErrorResponse
}
UpdateUserContactUnauthorized describes a response with status code 401, with default header values.

Error

func NewUpdateUserContactUnauthorized

func NewUpdateUserContactUnauthorized() *UpdateUserContactUnauthorized

NewUpdateUserContactUnauthorized creates a UpdateUserContactUnauthorized with default headers values

func (*UpdateUserContactUnauthorized) Error

func (*UpdateUserContactUnauthorized) GetPayload

type UpdateUserInternalServerError

type UpdateUserInternalServerError struct {
	Payload *models.ErrorResponse
}
UpdateUserInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewUpdateUserInternalServerError

func NewUpdateUserInternalServerError() *UpdateUserInternalServerError

NewUpdateUserInternalServerError creates a UpdateUserInternalServerError with default headers values

func (*UpdateUserInternalServerError) Error

func (*UpdateUserInternalServerError) GetPayload

type UpdateUserOK

type UpdateUserOK struct {
	Payload *models.User
}
UpdateUserOK describes a response with status code 200, with default header values.

Updated

func NewUpdateUserOK

func NewUpdateUserOK() *UpdateUserOK

NewUpdateUserOK creates a UpdateUserOK with default headers values

func (*UpdateUserOK) Error

func (o *UpdateUserOK) Error() string

func (*UpdateUserOK) GetPayload

func (o *UpdateUserOK) GetPayload() *models.User

type UpdateUserParams

type UpdateUserParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	// Body.
	Body *models.User

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

UpdateUserParams contains all the parameters to send to the API endpoint

for the update user operation.

Typically these are written to a http.Request.

func NewUpdateUserParams

func NewUpdateUserParams() *UpdateUserParams

NewUpdateUserParams creates a new UpdateUserParams 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 NewUpdateUserParamsWithContext

func NewUpdateUserParamsWithContext(ctx context.Context) *UpdateUserParams

NewUpdateUserParamsWithContext creates a new UpdateUserParams object with the ability to set a context for a request.

func NewUpdateUserParamsWithHTTPClient

func NewUpdateUserParamsWithHTTPClient(client *http.Client) *UpdateUserParams

NewUpdateUserParamsWithHTTPClient creates a new UpdateUserParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateUserParamsWithTimeout

func NewUpdateUserParamsWithTimeout(timeout time.Duration) *UpdateUserParams

NewUpdateUserParamsWithTimeout creates a new UpdateUserParams object with the ability to set a timeout on a request.

func (*UpdateUserParams) SetBody

func (o *UpdateUserParams) SetBody(body *models.User)

SetBody adds the body to the update user params

func (*UpdateUserParams) SetContext

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

SetContext adds the context to the update user params

func (*UpdateUserParams) SetDefaults

func (o *UpdateUserParams) SetDefaults()

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

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

func (*UpdateUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update user params

func (*UpdateUserParams) SetTimeout

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

SetTimeout adds the timeout to the update user params

func (*UpdateUserParams) SetXApigatewayAPIUserinfo

func (o *UpdateUserParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the update user params

func (*UpdateUserParams) WithBody

func (o *UpdateUserParams) WithBody(body *models.User) *UpdateUserParams

WithBody adds the body to the update user params

func (*UpdateUserParams) WithContext

func (o *UpdateUserParams) WithContext(ctx context.Context) *UpdateUserParams

WithContext adds the context to the update user params

func (*UpdateUserParams) WithDefaults

func (o *UpdateUserParams) WithDefaults() *UpdateUserParams

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

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

func (*UpdateUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update user params

func (*UpdateUserParams) WithTimeout

func (o *UpdateUserParams) WithTimeout(timeout time.Duration) *UpdateUserParams

WithTimeout adds the timeout to the update user params

func (*UpdateUserParams) WithXApigatewayAPIUserinfo

func (o *UpdateUserParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *UpdateUserParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the update user params

func (*UpdateUserParams) WriteToRequest

func (o *UpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateUserReader

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

UpdateUserReader is a Reader for the UpdateUser structure.

func (*UpdateUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUserUnauthorized

type UpdateUserUnauthorized struct {
	Payload *models.ErrorResponse
}
UpdateUserUnauthorized describes a response with status code 401, with default header values.

Error

func NewUpdateUserUnauthorized

func NewUpdateUserUnauthorized() *UpdateUserUnauthorized

NewUpdateUserUnauthorized creates a UpdateUserUnauthorized with default headers values

func (*UpdateUserUnauthorized) Error

func (o *UpdateUserUnauthorized) Error() string

func (*UpdateUserUnauthorized) GetPayload

func (o *UpdateUserUnauthorized) GetPayload() *models.ErrorResponse

type UploadContactsCsvBadRequest

type UploadContactsCsvBadRequest struct {
	Payload *models.ErrorResponse
}
UploadContactsCsvBadRequest describes a response with status code 400, with default header values.

Error

func NewUploadContactsCsvBadRequest

func NewUploadContactsCsvBadRequest() *UploadContactsCsvBadRequest

NewUploadContactsCsvBadRequest creates a UploadContactsCsvBadRequest with default headers values

func (*UploadContactsCsvBadRequest) Error

func (*UploadContactsCsvBadRequest) GetPayload

type UploadContactsCsvInternalServerError

type UploadContactsCsvInternalServerError struct {
	Payload *models.ErrorResponse
}
UploadContactsCsvInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewUploadContactsCsvInternalServerError

func NewUploadContactsCsvInternalServerError() *UploadContactsCsvInternalServerError

NewUploadContactsCsvInternalServerError creates a UploadContactsCsvInternalServerError with default headers values

func (*UploadContactsCsvInternalServerError) Error

func (*UploadContactsCsvInternalServerError) GetPayload

type UploadContactsCsvOK

type UploadContactsCsvOK struct {
	Payload *models.Message
}
UploadContactsCsvOK describes a response with status code 200, with default header values.

Uploaded

func NewUploadContactsCsvOK

func NewUploadContactsCsvOK() *UploadContactsCsvOK

NewUploadContactsCsvOK creates a UploadContactsCsvOK with default headers values

func (*UploadContactsCsvOK) Error

func (o *UploadContactsCsvOK) Error() string

func (*UploadContactsCsvOK) GetPayload

func (o *UploadContactsCsvOK) GetPayload() *models.Message

type UploadContactsCsvParams

type UploadContactsCsvParams struct {

	// XApigatewayAPIUserinfo.
	XApigatewayAPIUserinfo string

	/* File.

	   The uploaded file data
	*/
	File runtime.NamedReadCloser

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

UploadContactsCsvParams contains all the parameters to send to the API endpoint

for the upload contacts csv operation.

Typically these are written to a http.Request.

func NewUploadContactsCsvParams

func NewUploadContactsCsvParams() *UploadContactsCsvParams

NewUploadContactsCsvParams creates a new UploadContactsCsvParams 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 NewUploadContactsCsvParamsWithContext

func NewUploadContactsCsvParamsWithContext(ctx context.Context) *UploadContactsCsvParams

NewUploadContactsCsvParamsWithContext creates a new UploadContactsCsvParams object with the ability to set a context for a request.

func NewUploadContactsCsvParamsWithHTTPClient

func NewUploadContactsCsvParamsWithHTTPClient(client *http.Client) *UploadContactsCsvParams

NewUploadContactsCsvParamsWithHTTPClient creates a new UploadContactsCsvParams object with the ability to set a custom HTTPClient for a request.

func NewUploadContactsCsvParamsWithTimeout

func NewUploadContactsCsvParamsWithTimeout(timeout time.Duration) *UploadContactsCsvParams

NewUploadContactsCsvParamsWithTimeout creates a new UploadContactsCsvParams object with the ability to set a timeout on a request.

func (*UploadContactsCsvParams) SetContext

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

SetContext adds the context to the upload contacts csv params

func (*UploadContactsCsvParams) SetDefaults

func (o *UploadContactsCsvParams) SetDefaults()

SetDefaults hydrates default values in the upload contacts csv params (not the query body).

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

func (*UploadContactsCsvParams) SetFile

SetFile adds the file to the upload contacts csv params

func (*UploadContactsCsvParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload contacts csv params

func (*UploadContactsCsvParams) SetTimeout

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

SetTimeout adds the timeout to the upload contacts csv params

func (*UploadContactsCsvParams) SetXApigatewayAPIUserinfo

func (o *UploadContactsCsvParams) SetXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string)

SetXApigatewayAPIUserinfo adds the xApigatewayApiUserinfo to the upload contacts csv params

func (*UploadContactsCsvParams) WithContext

WithContext adds the context to the upload contacts csv params

func (*UploadContactsCsvParams) WithDefaults

WithDefaults hydrates default values in the upload contacts csv params (not the query body).

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

func (*UploadContactsCsvParams) WithFile

WithFile adds the file to the upload contacts csv params

func (*UploadContactsCsvParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload contacts csv params

func (*UploadContactsCsvParams) WithTimeout

WithTimeout adds the timeout to the upload contacts csv params

func (*UploadContactsCsvParams) WithXApigatewayAPIUserinfo

func (o *UploadContactsCsvParams) WithXApigatewayAPIUserinfo(xApigatewayAPIUserinfo string) *UploadContactsCsvParams

WithXApigatewayAPIUserinfo adds the xApigatewayAPIUserinfo to the upload contacts csv params

func (*UploadContactsCsvParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadContactsCsvReader

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

UploadContactsCsvReader is a Reader for the UploadContactsCsv structure.

func (*UploadContactsCsvReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadContactsCsvUnauthorized

type UploadContactsCsvUnauthorized struct {
	Payload *models.ErrorResponse
}
UploadContactsCsvUnauthorized describes a response with status code 401, with default header values.

Error

func NewUploadContactsCsvUnauthorized

func NewUploadContactsCsvUnauthorized() *UploadContactsCsvUnauthorized

NewUploadContactsCsvUnauthorized creates a UploadContactsCsvUnauthorized with default headers values

func (*UploadContactsCsvUnauthorized) Error

func (*UploadContactsCsvUnauthorized) GetPayload

Source Files

Jump to

Keyboard shortcuts

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