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: 19 Imported by: 0

Documentation

Index

Constants

View Source
const ApplyLinkSuggestionBadRequestCode int = 400

ApplyLinkSuggestionBadRequestCode is the HTTP code returned for type ApplyLinkSuggestionBadRequest

View Source
const ApplyLinkSuggestionInternalServerErrorCode int = 500

ApplyLinkSuggestionInternalServerErrorCode is the HTTP code returned for type ApplyLinkSuggestionInternalServerError

View Source
const ApplyLinkSuggestionOKCode int = 200

ApplyLinkSuggestionOKCode is the HTTP code returned for type ApplyLinkSuggestionOK

View Source
const ApplyLinkSuggestionUnauthorizedCode int = 401

ApplyLinkSuggestionUnauthorizedCode is the HTTP code returned for type ApplyLinkSuggestionUnauthorized

View Source
const CreateUserBadRequestCode int = 400

CreateUserBadRequestCode is the HTTP code returned for type CreateUserBadRequest

View Source
const CreateUserContactBadRequestCode int = 400

CreateUserContactBadRequestCode is the HTTP code returned for type CreateUserContactBadRequest

View Source
const CreateUserContactInternalServerErrorCode int = 500

CreateUserContactInternalServerErrorCode is the HTTP code returned for type CreateUserContactInternalServerError

View Source
const CreateUserContactOKCode int = 200

CreateUserContactOKCode is the HTTP code returned for type CreateUserContactOK

View Source
const CreateUserContactUnauthorizedCode int = 401

CreateUserContactUnauthorizedCode is the HTTP code returned for type CreateUserContactUnauthorized

View Source
const CreateUserInternalServerErrorCode int = 500

CreateUserInternalServerErrorCode is the HTTP code returned for type CreateUserInternalServerError

View Source
const CreateUserOKCode int = 200

CreateUserOKCode is the HTTP code returned for type CreateUserOK

View Source
const CreateUserUnauthorizedCode int = 401

CreateUserUnauthorizedCode is the HTTP code returned for type CreateUserUnauthorized

View Source
const DeleteContactNoteBadRequestCode int = 400

DeleteContactNoteBadRequestCode is the HTTP code returned for type DeleteContactNoteBadRequest

View Source
const DeleteContactNoteInternalServerErrorCode int = 500

DeleteContactNoteInternalServerErrorCode is the HTTP code returned for type DeleteContactNoteInternalServerError

View Source
const DeleteContactNoteOKCode int = 200

DeleteContactNoteOKCode is the HTTP code returned for type DeleteContactNoteOK

View Source
const DeleteContactNoteUnauthorizedCode int = 401

DeleteContactNoteUnauthorizedCode is the HTTP code returned for type DeleteContactNoteUnauthorized

View Source
const DeleteContactSourceBadRequestCode int = 400

DeleteContactSourceBadRequestCode is the HTTP code returned for type DeleteContactSourceBadRequest

View Source
const DeleteContactSourceInternalServerErrorCode int = 500

DeleteContactSourceInternalServerErrorCode is the HTTP code returned for type DeleteContactSourceInternalServerError

View Source
const DeleteContactSourceOKCode int = 200

DeleteContactSourceOKCode is the HTTP code returned for type DeleteContactSourceOK

View Source
const DeleteContactSourceUnauthorizedCode int = 401

DeleteContactSourceUnauthorizedCode is the HTTP code returned for type DeleteContactSourceUnauthorized

View Source
const DeleteContactTagBadRequestCode int = 400

DeleteContactTagBadRequestCode is the HTTP code returned for type DeleteContactTagBadRequest

View Source
const DeleteContactTagInternalServerErrorCode int = 500

DeleteContactTagInternalServerErrorCode is the HTTP code returned for type DeleteContactTagInternalServerError

View Source
const DeleteContactTagOKCode int = 200

DeleteContactTagOKCode is the HTTP code returned for type DeleteContactTagOK

View Source
const DeleteContactTagUnauthorizedCode int = 401

DeleteContactTagUnauthorizedCode is the HTTP code returned for type DeleteContactTagUnauthorized

View Source
const DeleteUserBadRequestCode int = 400

DeleteUserBadRequestCode is the HTTP code returned for type DeleteUserBadRequest

View Source
const DeleteUserContactBadRequestCode int = 400

DeleteUserContactBadRequestCode is the HTTP code returned for type DeleteUserContactBadRequest

View Source
const DeleteUserContactInternalServerErrorCode int = 500

DeleteUserContactInternalServerErrorCode is the HTTP code returned for type DeleteUserContactInternalServerError

View Source
const DeleteUserContactOKCode int = 200

DeleteUserContactOKCode is the HTTP code returned for type DeleteUserContactOK

View Source
const DeleteUserContactUnauthorizedCode int = 401

DeleteUserContactUnauthorizedCode is the HTTP code returned for type DeleteUserContactUnauthorized

View Source
const DeleteUserInternalServerErrorCode int = 500

DeleteUserInternalServerErrorCode is the HTTP code returned for type DeleteUserInternalServerError

View Source
const DeleteUserOKCode int = 200

DeleteUserOKCode is the HTTP code returned for type DeleteUserOK

View Source
const DeleteUserUnauthorizedCode int = 401

DeleteUserUnauthorizedCode is the HTTP code returned for type DeleteUserUnauthorized

View Source
const GetContactNotesBadRequestCode int = 400

GetContactNotesBadRequestCode is the HTTP code returned for type GetContactNotesBadRequest

View Source
const GetContactNotesInternalServerErrorCode int = 500

GetContactNotesInternalServerErrorCode is the HTTP code returned for type GetContactNotesInternalServerError

View Source
const GetContactNotesOKCode int = 200

GetContactNotesOKCode is the HTTP code returned for type GetContactNotesOK

View Source
const GetContactNotesUnauthorizedCode int = 401

GetContactNotesUnauthorizedCode is the HTTP code returned for type GetContactNotesUnauthorized

View Source
const GetContactSourcesBadRequestCode int = 400

GetContactSourcesBadRequestCode is the HTTP code returned for type GetContactSourcesBadRequest

View Source
const GetContactSourcesInternalServerErrorCode int = 500

GetContactSourcesInternalServerErrorCode is the HTTP code returned for type GetContactSourcesInternalServerError

View Source
const GetContactSourcesOKCode int = 200

GetContactSourcesOKCode is the HTTP code returned for type GetContactSourcesOK

View Source
const GetContactSourcesUnauthorizedCode int = 401

GetContactSourcesUnauthorizedCode is the HTTP code returned for type GetContactSourcesUnauthorized

View Source
const GetContactTagsBadRequestCode int = 400

GetContactTagsBadRequestCode is the HTTP code returned for type GetContactTagsBadRequest

View Source
const GetContactTagsInternalServerErrorCode int = 500

GetContactTagsInternalServerErrorCode is the HTTP code returned for type GetContactTagsInternalServerError

View Source
const GetContactTagsOKCode int = 200

GetContactTagsOKCode is the HTTP code returned for type GetContactTagsOK

View Source
const GetContactTagsUnauthorizedCode int = 401

GetContactTagsUnauthorizedCode is the HTTP code returned for type GetContactTagsUnauthorized

View Source
const GetLinkSuggestionsBadRequestCode int = 400

GetLinkSuggestionsBadRequestCode is the HTTP code returned for type GetLinkSuggestionsBadRequest

View Source
const GetLinkSuggestionsInternalServerErrorCode int = 500

GetLinkSuggestionsInternalServerErrorCode is the HTTP code returned for type GetLinkSuggestionsInternalServerError

View Source
const GetLinkSuggestionsOKCode int = 200

GetLinkSuggestionsOKCode is the HTTP code returned for type GetLinkSuggestionsOK

View Source
const GetLinkSuggestionsUnauthorizedCode int = 401

GetLinkSuggestionsUnauthorizedCode is the HTTP code returned for type GetLinkSuggestionsUnauthorized

View Source
const GetPendingFollowUpsBadRequestCode int = 400

GetPendingFollowUpsBadRequestCode is the HTTP code returned for type GetPendingFollowUpsBadRequest

View Source
const GetPendingFollowUpsInternalServerErrorCode int = 500

GetPendingFollowUpsInternalServerErrorCode is the HTTP code returned for type GetPendingFollowUpsInternalServerError

View Source
const GetPendingFollowUpsOKCode int = 200

GetPendingFollowUpsOKCode is the HTTP code returned for type GetPendingFollowUpsOK

View Source
const GetPendingFollowUpsUnauthorizedCode int = 401

GetPendingFollowUpsUnauthorizedCode is the HTTP code returned for type GetPendingFollowUpsUnauthorized

View Source
const GetRecentContactsBadRequestCode int = 400

GetRecentContactsBadRequestCode is the HTTP code returned for type GetRecentContactsBadRequest

View Source
const GetRecentContactsInternalServerErrorCode int = 500

GetRecentContactsInternalServerErrorCode is the HTTP code returned for type GetRecentContactsInternalServerError

View Source
const GetRecentContactsOKCode int = 200

GetRecentContactsOKCode is the HTTP code returned for type GetRecentContactsOK

View Source
const GetRecentContactsUnauthorizedCode int = 401

GetRecentContactsUnauthorizedCode is the HTTP code returned for type GetRecentContactsUnauthorized

View Source
const GetUnifiedContactsBadRequestCode int = 400

GetUnifiedContactsBadRequestCode is the HTTP code returned for type GetUnifiedContactsBadRequest

View Source
const GetUnifiedContactsInternalServerErrorCode int = 500

GetUnifiedContactsInternalServerErrorCode is the HTTP code returned for type GetUnifiedContactsInternalServerError

View Source
const GetUnifiedContactsOKCode int = 200

GetUnifiedContactsOKCode is the HTTP code returned for type GetUnifiedContactsOK

View Source
const GetUnifiedContactsUnauthorizedCode int = 401

GetUnifiedContactsUnauthorizedCode is the HTTP code returned for type GetUnifiedContactsUnauthorized

View Source
const GetUserBadRequestCode int = 400

GetUserBadRequestCode is the HTTP code returned for type GetUserBadRequest

View Source
const GetUserContactByIDBadRequestCode int = 400

GetUserContactByIDBadRequestCode is the HTTP code returned for type GetUserContactByIDBadRequest

View Source
const GetUserContactByIDInternalServerErrorCode int = 500

GetUserContactByIDInternalServerErrorCode is the HTTP code returned for type GetUserContactByIDInternalServerError

View Source
const GetUserContactByIDNotFoundCode int = 404

GetUserContactByIDNotFoundCode is the HTTP code returned for type GetUserContactByIDNotFound

View Source
const GetUserContactByIDOKCode int = 200

GetUserContactByIDOKCode is the HTTP code returned for type GetUserContactByIDOK

View Source
const GetUserContactByIDUnauthorizedCode int = 401

GetUserContactByIDUnauthorizedCode is the HTTP code returned for type GetUserContactByIDUnauthorized

View Source
const GetUserInternalServerErrorCode int = 500

GetUserInternalServerErrorCode is the HTTP code returned for type GetUserInternalServerError

View Source
const GetUserOKCode int = 200

GetUserOKCode is the HTTP code returned for type GetUserOK

View Source
const GetUserUnauthorizedCode int = 401

GetUserUnauthorizedCode is the HTTP code returned for type GetUserUnauthorized

View Source
const InitGoogleContactSourceBadRequestCode int = 400

InitGoogleContactSourceBadRequestCode is the HTTP code returned for type InitGoogleContactSourceBadRequest

View Source
const InitGoogleContactSourceInternalServerErrorCode int = 500

InitGoogleContactSourceInternalServerErrorCode is the HTTP code returned for type InitGoogleContactSourceInternalServerError

View Source
const InitGoogleContactSourceNotFoundCode int = 404

InitGoogleContactSourceNotFoundCode is the HTTP code returned for type InitGoogleContactSourceNotFound

View Source
const InitGoogleContactSourceOKCode int = 200

InitGoogleContactSourceOKCode is the HTTP code returned for type InitGoogleContactSourceOK

View Source
const InitGoogleContactSourceUnauthorizedCode int = 401

InitGoogleContactSourceUnauthorizedCode is the HTTP code returned for type InitGoogleContactSourceUnauthorized

View Source
const LinkGoogleContactSourceBadRequestCode int = 400

LinkGoogleContactSourceBadRequestCode is the HTTP code returned for type LinkGoogleContactSourceBadRequest

View Source
const LinkGoogleContactSourceForbiddenCode int = 403

LinkGoogleContactSourceForbiddenCode is the HTTP code returned for type LinkGoogleContactSourceForbidden

View Source
const LinkGoogleContactSourceInternalServerErrorCode int = 500

LinkGoogleContactSourceInternalServerErrorCode is the HTTP code returned for type LinkGoogleContactSourceInternalServerError

View Source
const LinkGoogleContactSourceOKCode int = 200

LinkGoogleContactSourceOKCode is the HTTP code returned for type LinkGoogleContactSourceOK

View Source
const LinkGoogleContactSourceUnauthorizedCode int = 401

LinkGoogleContactSourceUnauthorizedCode is the HTTP code returned for type LinkGoogleContactSourceUnauthorized

View Source
const PatchContactNoteBadRequestCode int = 400

PatchContactNoteBadRequestCode is the HTTP code returned for type PatchContactNoteBadRequest

View Source
const PatchContactNoteInternalServerErrorCode int = 500

PatchContactNoteInternalServerErrorCode is the HTTP code returned for type PatchContactNoteInternalServerError

View Source
const PatchContactNoteNotFoundCode int = 404

PatchContactNoteNotFoundCode is the HTTP code returned for type PatchContactNoteNotFound

View Source
const PatchContactNoteOKCode int = 200

PatchContactNoteOKCode is the HTTP code returned for type PatchContactNoteOK

View Source
const PatchContactNoteUnauthorizedCode int = 401

PatchContactNoteUnauthorizedCode is the HTTP code returned for type PatchContactNoteUnauthorized

View Source
const PatchContactTagBadRequestCode int = 400

PatchContactTagBadRequestCode is the HTTP code returned for type PatchContactTagBadRequest

View Source
const PatchContactTagInternalServerErrorCode int = 500

PatchContactTagInternalServerErrorCode is the HTTP code returned for type PatchContactTagInternalServerError

View Source
const PatchContactTagNotFoundCode int = 404

PatchContactTagNotFoundCode is the HTTP code returned for type PatchContactTagNotFound

View Source
const PatchContactTagOKCode int = 200

PatchContactTagOKCode is the HTTP code returned for type PatchContactTagOK

View Source
const PatchContactTagUnauthorizedCode int = 401

PatchContactTagUnauthorizedCode is the HTTP code returned for type PatchContactTagUnauthorized

View Source
const PostContactNoteBadRequestCode int = 400

PostContactNoteBadRequestCode is the HTTP code returned for type PostContactNoteBadRequest

View Source
const PostContactNoteInternalServerErrorCode int = 500

PostContactNoteInternalServerErrorCode is the HTTP code returned for type PostContactNoteInternalServerError

View Source
const PostContactNoteOKCode int = 200

PostContactNoteOKCode is the HTTP code returned for type PostContactNoteOK

View Source
const PostContactNoteUnauthorizedCode int = 401

PostContactNoteUnauthorizedCode is the HTTP code returned for type PostContactNoteUnauthorized

View Source
const PostContactTagBadRequestCode int = 400

PostContactTagBadRequestCode is the HTTP code returned for type PostContactTagBadRequest

View Source
const PostContactTagInternalServerErrorCode int = 500

PostContactTagInternalServerErrorCode is the HTTP code returned for type PostContactTagInternalServerError

View Source
const PostContactTagOKCode int = 200

PostContactTagOKCode is the HTTP code returned for type PostContactTagOK

View Source
const PostContactTagUnauthorizedCode int = 401

PostContactTagUnauthorizedCode is the HTTP code returned for type PostContactTagUnauthorized

View Source
const SearchUserContactBadRequestCode int = 400

SearchUserContactBadRequestCode is the HTTP code returned for type SearchUserContactBadRequest

View Source
const SearchUserContactInternalServerErrorCode int = 500

SearchUserContactInternalServerErrorCode is the HTTP code returned for type SearchUserContactInternalServerError

View Source
const SearchUserContactOKCode int = 200

SearchUserContactOKCode is the HTTP code returned for type SearchUserContactOK

View Source
const SearchUserContactUnauthorizedCode int = 401

SearchUserContactUnauthorizedCode is the HTTP code returned for type SearchUserContactUnauthorized

View Source
const UpdateContactCategoryBadRequestCode int = 400

UpdateContactCategoryBadRequestCode is the HTTP code returned for type UpdateContactCategoryBadRequest

View Source
const UpdateContactCategoryInternalServerErrorCode int = 500

UpdateContactCategoryInternalServerErrorCode is the HTTP code returned for type UpdateContactCategoryInternalServerError

View Source
const UpdateContactCategoryNotFoundCode int = 404

UpdateContactCategoryNotFoundCode is the HTTP code returned for type UpdateContactCategoryNotFound

View Source
const UpdateContactCategoryOKCode int = 200

UpdateContactCategoryOKCode is the HTTP code returned for type UpdateContactCategoryOK

View Source
const UpdateContactCategoryUnauthorizedCode int = 401

UpdateContactCategoryUnauthorizedCode is the HTTP code returned for type UpdateContactCategoryUnauthorized

View Source
const UpdateUserBadRequestCode int = 400

UpdateUserBadRequestCode is the HTTP code returned for type UpdateUserBadRequest

View Source
const UpdateUserContactBadRequestCode int = 400

UpdateUserContactBadRequestCode is the HTTP code returned for type UpdateUserContactBadRequest

View Source
const UpdateUserContactInternalServerErrorCode int = 500

UpdateUserContactInternalServerErrorCode is the HTTP code returned for type UpdateUserContactInternalServerError

View Source
const UpdateUserContactNotFoundCode int = 404

UpdateUserContactNotFoundCode is the HTTP code returned for type UpdateUserContactNotFound

View Source
const UpdateUserContactOKCode int = 200

UpdateUserContactOKCode is the HTTP code returned for type UpdateUserContactOK

View Source
const UpdateUserContactUnauthorizedCode int = 401

UpdateUserContactUnauthorizedCode is the HTTP code returned for type UpdateUserContactUnauthorized

View Source
const UpdateUserInternalServerErrorCode int = 500

UpdateUserInternalServerErrorCode is the HTTP code returned for type UpdateUserInternalServerError

View Source
const UpdateUserOKCode int = 200

UpdateUserOKCode is the HTTP code returned for type UpdateUserOK

View Source
const UpdateUserUnauthorizedCode int = 401

UpdateUserUnauthorizedCode is the HTTP code returned for type UpdateUserUnauthorized

View Source
const UploadContactsCsvBadRequestCode int = 400

UploadContactsCsvBadRequestCode is the HTTP code returned for type UploadContactsCsvBadRequest

View Source
const UploadContactsCsvInternalServerErrorCode int = 500

UploadContactsCsvInternalServerErrorCode is the HTTP code returned for type UploadContactsCsvInternalServerError

View Source
const UploadContactsCsvOKCode int = 200

UploadContactsCsvOKCode is the HTTP code returned for type UploadContactsCsvOK

View Source
const UploadContactsCsvUnauthorizedCode int = 401

UploadContactsCsvUnauthorizedCode is the HTTP code returned for type UploadContactsCsvUnauthorized

Variables

View Source
var UploadContactsCsvMaxParseMemory int64 = 32 << 20

UploadContactsCsvMaxParseMemory sets the maximum size in bytes for the multipart form parser for this operation.

The default value is 32 MB. The multipart parser stores up to this + 10MB.

Functions

This section is empty.

Types

type ApplyLinkSuggestion

type ApplyLinkSuggestion struct {
	Context *middleware.Context
	Handler ApplyLinkSuggestionHandler
}
ApplyLinkSuggestion swagger:route POST /suggestions/{suggestion_id}/apply applyLinkSuggestion

redirects user to google consent page

func NewApplyLinkSuggestion

func NewApplyLinkSuggestion(ctx *middleware.Context, handler ApplyLinkSuggestionHandler) *ApplyLinkSuggestion

NewApplyLinkSuggestion creates a new http.Handler for the apply link suggestion operation

func (*ApplyLinkSuggestion) ServeHTTP

func (o *ApplyLinkSuggestion) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ApplyLinkSuggestionBadRequest

type ApplyLinkSuggestionBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

ApplyLinkSuggestionBadRequest Error

swagger:response applyLinkSuggestionBadRequest

func NewApplyLinkSuggestionBadRequest

func NewApplyLinkSuggestionBadRequest() *ApplyLinkSuggestionBadRequest

NewApplyLinkSuggestionBadRequest creates ApplyLinkSuggestionBadRequest with default headers values

func (*ApplyLinkSuggestionBadRequest) SetPayload

func (o *ApplyLinkSuggestionBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the apply link suggestion bad request response

func (*ApplyLinkSuggestionBadRequest) WithPayload

WithPayload adds the payload to the apply link suggestion bad request response

func (*ApplyLinkSuggestionBadRequest) WriteResponse

func (o *ApplyLinkSuggestionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

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 ApplyLinkSuggestionHandler

type ApplyLinkSuggestionHandler interface {
	Handle(ApplyLinkSuggestionParams) middleware.Responder
}

ApplyLinkSuggestionHandler interface for that can handle valid apply link suggestion params

type ApplyLinkSuggestionHandlerFunc

type ApplyLinkSuggestionHandlerFunc func(ApplyLinkSuggestionParams) middleware.Responder

ApplyLinkSuggestionHandlerFunc turns a function with the right signature into a apply link suggestion handler

func (ApplyLinkSuggestionHandlerFunc) Handle

Handle executing the request and returning a response

type ApplyLinkSuggestionInternalServerError

type ApplyLinkSuggestionInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

ApplyLinkSuggestionInternalServerError Internal Server Error

swagger:response applyLinkSuggestionInternalServerError

func NewApplyLinkSuggestionInternalServerError

func NewApplyLinkSuggestionInternalServerError() *ApplyLinkSuggestionInternalServerError

NewApplyLinkSuggestionInternalServerError creates ApplyLinkSuggestionInternalServerError with default headers values

func (*ApplyLinkSuggestionInternalServerError) SetPayload

SetPayload sets the payload to the apply link suggestion internal server error response

func (*ApplyLinkSuggestionInternalServerError) WithPayload

WithPayload adds the payload to the apply link suggestion internal server error response

func (*ApplyLinkSuggestionInternalServerError) WriteResponse

WriteResponse to the client

type ApplyLinkSuggestionOK

type ApplyLinkSuggestionOK struct {
	/*

	 */
	Location string `json:"Location"`
}

ApplyLinkSuggestionOK Applied

swagger:response applyLinkSuggestionOK

func NewApplyLinkSuggestionOK

func NewApplyLinkSuggestionOK() *ApplyLinkSuggestionOK

NewApplyLinkSuggestionOK creates ApplyLinkSuggestionOK with default headers values

func (*ApplyLinkSuggestionOK) SetLocation

func (o *ApplyLinkSuggestionOK) SetLocation(location string)

SetLocation sets the location to the apply link suggestion o k response

func (*ApplyLinkSuggestionOK) WithLocation

func (o *ApplyLinkSuggestionOK) WithLocation(location string) *ApplyLinkSuggestionOK

WithLocation adds the location to the apply link suggestion o k response

func (*ApplyLinkSuggestionOK) WriteResponse

func (o *ApplyLinkSuggestionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ApplyLinkSuggestionParams

type ApplyLinkSuggestionParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: body
	*/
	Body ApplyLinkSuggestionBody
	/*suggestion id
	  Required: true
	  In: path
	*/
	SuggestionID string
}

ApplyLinkSuggestionParams contains all the bound params for the apply link suggestion operation typically these are obtained from a http.Request

swagger:parameters apply-link-suggestion

func NewApplyLinkSuggestionParams

func NewApplyLinkSuggestionParams() ApplyLinkSuggestionParams

NewApplyLinkSuggestionParams creates a new ApplyLinkSuggestionParams object

There are no default values defined in the spec.

func (*ApplyLinkSuggestionParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewApplyLinkSuggestionParams() beforehand.

type ApplyLinkSuggestionURL

type ApplyLinkSuggestionURL struct {
	SuggestionID string
	// contains filtered or unexported fields
}

ApplyLinkSuggestionURL generates an URL for the apply link suggestion operation

func (*ApplyLinkSuggestionURL) Build

func (o *ApplyLinkSuggestionURL) Build() (*url.URL, error)

Build a url path and query string

func (*ApplyLinkSuggestionURL) BuildFull

func (o *ApplyLinkSuggestionURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ApplyLinkSuggestionURL) Must

func (o *ApplyLinkSuggestionURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ApplyLinkSuggestionURL) SetBasePath

func (o *ApplyLinkSuggestionURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ApplyLinkSuggestionURL) String

func (o *ApplyLinkSuggestionURL) String() string

String returns the string representation of the path with query string

func (*ApplyLinkSuggestionURL) StringFull

func (o *ApplyLinkSuggestionURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ApplyLinkSuggestionURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ApplyLinkSuggestionUnauthorized

type ApplyLinkSuggestionUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

ApplyLinkSuggestionUnauthorized Error

swagger:response applyLinkSuggestionUnauthorized

func NewApplyLinkSuggestionUnauthorized

func NewApplyLinkSuggestionUnauthorized() *ApplyLinkSuggestionUnauthorized

NewApplyLinkSuggestionUnauthorized creates ApplyLinkSuggestionUnauthorized with default headers values

func (*ApplyLinkSuggestionUnauthorized) SetPayload

func (o *ApplyLinkSuggestionUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the apply link suggestion unauthorized response

func (*ApplyLinkSuggestionUnauthorized) WithPayload

WithPayload adds the payload to the apply link suggestion unauthorized response

func (*ApplyLinkSuggestionUnauthorized) WriteResponse

func (o *ApplyLinkSuggestionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ContactsAPI

type ContactsAPI struct {
	Middleware func(middleware.Builder) http.Handler

	// BasicAuthenticator generates a runtime.Authenticator from the supplied basic auth function.
	// It has a default implementation in the security package, however you can replace it for your particular usage.
	BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator

	// APIKeyAuthenticator generates a runtime.Authenticator from the supplied token auth function.
	// It has a default implementation in the security package, however you can replace it for your particular usage.
	APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator

	// BearerAuthenticator generates a runtime.Authenticator from the supplied bearer token auth function.
	// It has a default implementation in the security package, however you can replace it for your particular usage.
	BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator

	// JSONConsumer registers a consumer for the following mime types:
	//   - application/json
	JSONConsumer runtime.Consumer
	// MultipartformConsumer registers a consumer for the following mime types:
	//   - multipart/form-data
	MultipartformConsumer runtime.Consumer

	// JSONProducer registers a producer for the following mime types:
	//   - application/json
	JSONProducer runtime.Producer

	// ApplyLinkSuggestionHandler sets the operation handler for the apply link suggestion operation
	ApplyLinkSuggestionHandler ApplyLinkSuggestionHandler
	// CreateUserHandler sets the operation handler for the create user operation
	CreateUserHandler CreateUserHandler
	// CreateUserContactHandler sets the operation handler for the create user contact operation
	CreateUserContactHandler CreateUserContactHandler
	// DeleteContactNoteHandler sets the operation handler for the delete contact note operation
	DeleteContactNoteHandler DeleteContactNoteHandler
	// DeleteContactSourceHandler sets the operation handler for the delete contact source operation
	DeleteContactSourceHandler DeleteContactSourceHandler
	// DeleteContactTagHandler sets the operation handler for the delete contact tag operation
	DeleteContactTagHandler DeleteContactTagHandler
	// DeleteUserHandler sets the operation handler for the delete user operation
	DeleteUserHandler DeleteUserHandler
	// DeleteUserContactHandler sets the operation handler for the delete user contact operation
	DeleteUserContactHandler DeleteUserContactHandler
	// GetContactNotesHandler sets the operation handler for the get contact notes operation
	GetContactNotesHandler GetContactNotesHandler
	// GetContactSourcesHandler sets the operation handler for the get contact sources operation
	GetContactSourcesHandler GetContactSourcesHandler
	// GetContactTagsHandler sets the operation handler for the get contact tags operation
	GetContactTagsHandler GetContactTagsHandler
	// GetLinkSuggestionsHandler sets the operation handler for the get link suggestions operation
	GetLinkSuggestionsHandler GetLinkSuggestionsHandler
	// GetPendingFollowUpsHandler sets the operation handler for the get pending follow ups operation
	GetPendingFollowUpsHandler GetPendingFollowUpsHandler
	// GetRecentContactsHandler sets the operation handler for the get recent contacts operation
	GetRecentContactsHandler GetRecentContactsHandler
	// GetUnifiedContactsHandler sets the operation handler for the get unified contacts operation
	GetUnifiedContactsHandler GetUnifiedContactsHandler
	// GetUserHandler sets the operation handler for the get user operation
	GetUserHandler GetUserHandler
	// GetUserContactByIDHandler sets the operation handler for the get user contact by id operation
	GetUserContactByIDHandler GetUserContactByIDHandler
	// InitGoogleContactSourceHandler sets the operation handler for the init google contact source operation
	InitGoogleContactSourceHandler InitGoogleContactSourceHandler
	// LinkGoogleContactSourceHandler sets the operation handler for the link google contact source operation
	LinkGoogleContactSourceHandler LinkGoogleContactSourceHandler
	// PatchContactNoteHandler sets the operation handler for the patch contact note operation
	PatchContactNoteHandler PatchContactNoteHandler
	// PatchContactTagHandler sets the operation handler for the patch contact tag operation
	PatchContactTagHandler PatchContactTagHandler
	// PostContactNoteHandler sets the operation handler for the post contact note operation
	PostContactNoteHandler PostContactNoteHandler
	// PostContactTagHandler sets the operation handler for the post contact tag operation
	PostContactTagHandler PostContactTagHandler
	// SearchUserContactHandler sets the operation handler for the search user contact operation
	SearchUserContactHandler SearchUserContactHandler
	// UpdateContactCategoryHandler sets the operation handler for the update contact category operation
	UpdateContactCategoryHandler UpdateContactCategoryHandler
	// UpdateUserHandler sets the operation handler for the update user operation
	UpdateUserHandler UpdateUserHandler
	// UpdateUserContactHandler sets the operation handler for the update user contact operation
	UpdateUserContactHandler UpdateUserContactHandler
	// UploadContactsCsvHandler sets the operation handler for the upload contacts csv operation
	UploadContactsCsvHandler UploadContactsCsvHandler

	// ServeError is called when an error is received, there is a default handler
	// but you can set your own with this
	ServeError func(http.ResponseWriter, *http.Request, error)

	// PreServerShutdown is called before the HTTP(S) server is shutdown
	// This allows for custom functions to get executed before the HTTP(S) server stops accepting traffic
	PreServerShutdown func()

	// ServerShutdown is called when the HTTP(S) server is shut down and done
	// handling all active connections and does not accept connections any more
	ServerShutdown func()

	// Custom command line argument groups with their descriptions
	CommandLineOptionsGroups []swag.CommandLineOptionsGroup

	// User defined logger function.
	Logger func(string, ...interface{})
	// contains filtered or unexported fields
}

ContactsAPI contact karma service

func NewContactsAPI

func NewContactsAPI(spec *loads.Document) *ContactsAPI

NewContactsAPI creates a new Contacts instance

func (*ContactsAPI) AddMiddlewareFor

func (o *ContactsAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)

AddMiddlewareFor adds a http middleware to existing handler

func (*ContactsAPI) AuthenticatorsFor

func (o *ContactsAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator

AuthenticatorsFor gets the authenticators for the specified security schemes

func (*ContactsAPI) Authorizer

func (o *ContactsAPI) Authorizer() runtime.Authorizer

Authorizer returns the registered authorizer

func (*ContactsAPI) ConsumersFor

func (o *ContactsAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer

ConsumersFor gets the consumers for the specified media types. MIME type parameters are ignored here.

func (*ContactsAPI) Context

func (o *ContactsAPI) Context() *middleware.Context

Context returns the middleware context for the contacts API

func (*ContactsAPI) DefaultConsumes

func (o *ContactsAPI) DefaultConsumes() string

DefaultConsumes returns the default consumes media type

func (*ContactsAPI) DefaultProduces

func (o *ContactsAPI) DefaultProduces() string

DefaultProduces returns the default produces media type

func (*ContactsAPI) Formats

func (o *ContactsAPI) Formats() strfmt.Registry

Formats returns the registered string formats

func (*ContactsAPI) HandlerFor

func (o *ContactsAPI) HandlerFor(method, path string) (http.Handler, bool)

HandlerFor gets a http.Handler for the provided operation method and path

func (*ContactsAPI) Init

func (o *ContactsAPI) Init()

Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit

func (*ContactsAPI) ProducersFor

func (o *ContactsAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer

ProducersFor gets the producers for the specified media types. MIME type parameters are ignored here.

func (*ContactsAPI) RegisterConsumer

func (o *ContactsAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)

RegisterConsumer allows you to add (or override) a consumer for a media type.

func (*ContactsAPI) RegisterFormat

func (o *ContactsAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)

RegisterFormat registers a custom format validator

func (*ContactsAPI) RegisterProducer

func (o *ContactsAPI) RegisterProducer(mediaType string, producer runtime.Producer)

RegisterProducer allows you to add (or override) a producer for a media type.

func (*ContactsAPI) Serve

func (o *ContactsAPI) Serve(builder middleware.Builder) http.Handler

Serve creates a http handler to serve the API over HTTP can be used directly in http.ListenAndServe(":8000", api.Serve(nil))

func (*ContactsAPI) ServeErrorFor

func (o *ContactsAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)

ServeErrorFor gets a error handler for a given operation id

func (*ContactsAPI) SetDefaultConsumes

func (o *ContactsAPI) SetDefaultConsumes(mediaType string)

SetDefaultConsumes returns the default consumes media type

func (*ContactsAPI) SetDefaultProduces

func (o *ContactsAPI) SetDefaultProduces(mediaType string)

SetDefaultProduces sets the default produces media type

func (*ContactsAPI) SetSpec

func (o *ContactsAPI) SetSpec(spec *loads.Document)

SetSpec sets a spec that will be served for the clients.

func (*ContactsAPI) UseRedoc

func (o *ContactsAPI) UseRedoc()

UseRedoc for documentation at /docs

func (*ContactsAPI) UseSwaggerUI

func (o *ContactsAPI) UseSwaggerUI()

UseSwaggerUI for documentation at /docs

func (*ContactsAPI) Validate

func (o *ContactsAPI) Validate() error

Validate validates the registrations in the ContactsAPI

type CreateUser

type CreateUser struct {
	Context *middleware.Context
	Handler CreateUserHandler
}
CreateUser swagger:route POST /users createUser

create user

func NewCreateUser

func NewCreateUser(ctx *middleware.Context, handler CreateUserHandler) *CreateUser

NewCreateUser creates a new http.Handler for the create user operation

func (*CreateUser) ServeHTTP

func (o *CreateUser) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreateUserBadRequest

type CreateUserBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

CreateUserBadRequest Error

swagger:response createUserBadRequest

func NewCreateUserBadRequest

func NewCreateUserBadRequest() *CreateUserBadRequest

NewCreateUserBadRequest creates CreateUserBadRequest with default headers values

func (*CreateUserBadRequest) SetPayload

func (o *CreateUserBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the create user bad request response

func (*CreateUserBadRequest) WithPayload

WithPayload adds the payload to the create user bad request response

func (*CreateUserBadRequest) WriteResponse

func (o *CreateUserBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateUserContact

type CreateUserContact struct {
	Context *middleware.Context
	Handler CreateUserContactHandler
}
CreateUserContact swagger:route POST /unified createUserContact

create user's contact

func NewCreateUserContact

func NewCreateUserContact(ctx *middleware.Context, handler CreateUserContactHandler) *CreateUserContact

NewCreateUserContact creates a new http.Handler for the create user contact operation

func (*CreateUserContact) ServeHTTP

func (o *CreateUserContact) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreateUserContactBadRequest

type CreateUserContactBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

CreateUserContactBadRequest Error

swagger:response createUserContactBadRequest

func NewCreateUserContactBadRequest

func NewCreateUserContactBadRequest() *CreateUserContactBadRequest

NewCreateUserContactBadRequest creates CreateUserContactBadRequest with default headers values

func (*CreateUserContactBadRequest) SetPayload

func (o *CreateUserContactBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the create user contact bad request response

func (*CreateUserContactBadRequest) WithPayload

WithPayload adds the payload to the create user contact bad request response

func (*CreateUserContactBadRequest) WriteResponse

func (o *CreateUserContactBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateUserContactHandler

type CreateUserContactHandler interface {
	Handle(CreateUserContactParams) middleware.Responder
}

CreateUserContactHandler interface for that can handle valid create user contact params

type CreateUserContactHandlerFunc

type CreateUserContactHandlerFunc func(CreateUserContactParams) middleware.Responder

CreateUserContactHandlerFunc turns a function with the right signature into a create user contact handler

func (CreateUserContactHandlerFunc) Handle

Handle executing the request and returning a response

type CreateUserContactInternalServerError

type CreateUserContactInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

CreateUserContactInternalServerError Internal Server Error

swagger:response createUserContactInternalServerError

func NewCreateUserContactInternalServerError

func NewCreateUserContactInternalServerError() *CreateUserContactInternalServerError

NewCreateUserContactInternalServerError creates CreateUserContactInternalServerError with default headers values

func (*CreateUserContactInternalServerError) SetPayload

SetPayload sets the payload to the create user contact internal server error response

func (*CreateUserContactInternalServerError) WithPayload

WithPayload adds the payload to the create user contact internal server error response

func (*CreateUserContactInternalServerError) WriteResponse

WriteResponse to the client

type CreateUserContactOK

type CreateUserContactOK struct {

	/*
	  In: Body
	*/
	Payload *models.Unified `json:"body,omitempty"`
}

CreateUserContactOK Created

swagger:response createUserContactOK

func NewCreateUserContactOK

func NewCreateUserContactOK() *CreateUserContactOK

NewCreateUserContactOK creates CreateUserContactOK with default headers values

func (*CreateUserContactOK) SetPayload

func (o *CreateUserContactOK) SetPayload(payload *models.Unified)

SetPayload sets the payload to the create user contact o k response

func (*CreateUserContactOK) WithPayload

func (o *CreateUserContactOK) WithPayload(payload *models.Unified) *CreateUserContactOK

WithPayload adds the payload to the create user contact o k response

func (*CreateUserContactOK) WriteResponse

func (o *CreateUserContactOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateUserContactParams

type CreateUserContactParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: body
	*/
	Body *models.CreateContactDto
}

CreateUserContactParams contains all the bound params for the create user contact operation typically these are obtained from a http.Request

swagger:parameters create-user-contact

func NewCreateUserContactParams

func NewCreateUserContactParams() CreateUserContactParams

NewCreateUserContactParams creates a new CreateUserContactParams object

There are no default values defined in the spec.

func (*CreateUserContactParams) BindRequest

func (o *CreateUserContactParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCreateUserContactParams() beforehand.

type CreateUserContactURL

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

CreateUserContactURL generates an URL for the create user contact operation

func (*CreateUserContactURL) Build

func (o *CreateUserContactURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateUserContactURL) BuildFull

func (o *CreateUserContactURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateUserContactURL) Must

func (o *CreateUserContactURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateUserContactURL) SetBasePath

func (o *CreateUserContactURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*CreateUserContactURL) String

func (o *CreateUserContactURL) String() string

String returns the string representation of the path with query string

func (*CreateUserContactURL) StringFull

func (o *CreateUserContactURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateUserContactURL) WithBasePath

func (o *CreateUserContactURL) WithBasePath(bp string) *CreateUserContactURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type CreateUserContactUnauthorized

type CreateUserContactUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

CreateUserContactUnauthorized Error

swagger:response createUserContactUnauthorized

func NewCreateUserContactUnauthorized

func NewCreateUserContactUnauthorized() *CreateUserContactUnauthorized

NewCreateUserContactUnauthorized creates CreateUserContactUnauthorized with default headers values

func (*CreateUserContactUnauthorized) SetPayload

func (o *CreateUserContactUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the create user contact unauthorized response

func (*CreateUserContactUnauthorized) WithPayload

WithPayload adds the payload to the create user contact unauthorized response

func (*CreateUserContactUnauthorized) WriteResponse

func (o *CreateUserContactUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateUserHandler

type CreateUserHandler interface {
	Handle(CreateUserParams) middleware.Responder
}

CreateUserHandler interface for that can handle valid create user params

type CreateUserHandlerFunc

type CreateUserHandlerFunc func(CreateUserParams) middleware.Responder

CreateUserHandlerFunc turns a function with the right signature into a create user handler

func (CreateUserHandlerFunc) Handle

Handle executing the request and returning a response

type CreateUserInternalServerError

type CreateUserInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

CreateUserInternalServerError Internal Server Error

swagger:response createUserInternalServerError

func NewCreateUserInternalServerError

func NewCreateUserInternalServerError() *CreateUserInternalServerError

NewCreateUserInternalServerError creates CreateUserInternalServerError with default headers values

func (*CreateUserInternalServerError) SetPayload

func (o *CreateUserInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the create user internal server error response

func (*CreateUserInternalServerError) WithPayload

WithPayload adds the payload to the create user internal server error response

func (*CreateUserInternalServerError) WriteResponse

func (o *CreateUserInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateUserOK

type CreateUserOK struct {

	/*
	  In: Body
	*/
	Payload *models.User `json:"body,omitempty"`
}

CreateUserOK Created

swagger:response createUserOK

func NewCreateUserOK

func NewCreateUserOK() *CreateUserOK

NewCreateUserOK creates CreateUserOK with default headers values

func (*CreateUserOK) SetPayload

func (o *CreateUserOK) SetPayload(payload *models.User)

SetPayload sets the payload to the create user o k response

func (*CreateUserOK) WithPayload

func (o *CreateUserOK) WithPayload(payload *models.User) *CreateUserOK

WithPayload adds the payload to the create user o k response

func (*CreateUserOK) WriteResponse

func (o *CreateUserOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateUserParams

type CreateUserParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: body
	*/
	Body *models.User
}

CreateUserParams contains all the bound params for the create user operation typically these are obtained from a http.Request

swagger:parameters create-user

func NewCreateUserParams

func NewCreateUserParams() CreateUserParams

NewCreateUserParams creates a new CreateUserParams object

There are no default values defined in the spec.

func (*CreateUserParams) BindRequest

func (o *CreateUserParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCreateUserParams() beforehand.

type CreateUserURL

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

CreateUserURL generates an URL for the create user operation

func (*CreateUserURL) Build

func (o *CreateUserURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateUserURL) BuildFull

func (o *CreateUserURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateUserURL) Must

func (o *CreateUserURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateUserURL) SetBasePath

func (o *CreateUserURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*CreateUserURL) String

func (o *CreateUserURL) String() string

String returns the string representation of the path with query string

func (*CreateUserURL) StringFull

func (o *CreateUserURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateUserURL) WithBasePath

func (o *CreateUserURL) WithBasePath(bp string) *CreateUserURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type CreateUserUnauthorized

type CreateUserUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

CreateUserUnauthorized Error

swagger:response createUserUnauthorized

func NewCreateUserUnauthorized

func NewCreateUserUnauthorized() *CreateUserUnauthorized

NewCreateUserUnauthorized creates CreateUserUnauthorized with default headers values

func (*CreateUserUnauthorized) SetPayload

func (o *CreateUserUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the create user unauthorized response

func (*CreateUserUnauthorized) WithPayload

WithPayload adds the payload to the create user unauthorized response

func (*CreateUserUnauthorized) WriteResponse

func (o *CreateUserUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteContactNote

type DeleteContactNote struct {
	Context *middleware.Context
	Handler DeleteContactNoteHandler
}
DeleteContactNote swagger:route DELETE /unified/{unified_id}/notes/{note_id} deleteContactNote

delete contact note

func NewDeleteContactNote

func NewDeleteContactNote(ctx *middleware.Context, handler DeleteContactNoteHandler) *DeleteContactNote

NewDeleteContactNote creates a new http.Handler for the delete contact note operation

func (*DeleteContactNote) ServeHTTP

func (o *DeleteContactNote) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteContactNoteBadRequest

type DeleteContactNoteBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

DeleteContactNoteBadRequest Error

swagger:response deleteContactNoteBadRequest

func NewDeleteContactNoteBadRequest

func NewDeleteContactNoteBadRequest() *DeleteContactNoteBadRequest

NewDeleteContactNoteBadRequest creates DeleteContactNoteBadRequest with default headers values

func (*DeleteContactNoteBadRequest) SetPayload

func (o *DeleteContactNoteBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the delete contact note bad request response

func (*DeleteContactNoteBadRequest) WithPayload

WithPayload adds the payload to the delete contact note bad request response

func (*DeleteContactNoteBadRequest) WriteResponse

func (o *DeleteContactNoteBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteContactNoteHandler

type DeleteContactNoteHandler interface {
	Handle(DeleteContactNoteParams) middleware.Responder
}

DeleteContactNoteHandler interface for that can handle valid delete contact note params

type DeleteContactNoteHandlerFunc

type DeleteContactNoteHandlerFunc func(DeleteContactNoteParams) middleware.Responder

DeleteContactNoteHandlerFunc turns a function with the right signature into a delete contact note handler

func (DeleteContactNoteHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteContactNoteInternalServerError

type DeleteContactNoteInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

DeleteContactNoteInternalServerError Internal Server Error

swagger:response deleteContactNoteInternalServerError

func NewDeleteContactNoteInternalServerError

func NewDeleteContactNoteInternalServerError() *DeleteContactNoteInternalServerError

NewDeleteContactNoteInternalServerError creates DeleteContactNoteInternalServerError with default headers values

func (*DeleteContactNoteInternalServerError) SetPayload

SetPayload sets the payload to the delete contact note internal server error response

func (*DeleteContactNoteInternalServerError) WithPayload

WithPayload adds the payload to the delete contact note internal server error response

func (*DeleteContactNoteInternalServerError) WriteResponse

WriteResponse to the client

type DeleteContactNoteOK

type DeleteContactNoteOK struct {

	/*
	  In: Body
	*/
	Payload *models.Message `json:"body,omitempty"`
}

DeleteContactNoteOK Deleted

swagger:response deleteContactNoteOK

func NewDeleteContactNoteOK

func NewDeleteContactNoteOK() *DeleteContactNoteOK

NewDeleteContactNoteOK creates DeleteContactNoteOK with default headers values

func (*DeleteContactNoteOK) SetPayload

func (o *DeleteContactNoteOK) SetPayload(payload *models.Message)

SetPayload sets the payload to the delete contact note o k response

func (*DeleteContactNoteOK) WithPayload

func (o *DeleteContactNoteOK) WithPayload(payload *models.Message) *DeleteContactNoteOK

WithPayload adds the payload to the delete contact note o k response

func (*DeleteContactNoteOK) WriteResponse

func (o *DeleteContactNoteOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteContactNoteParams

type DeleteContactNoteParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*note id
	  Required: true
	  In: path
	*/
	NoteID string
	/*contact id
	  Required: true
	  In: path
	*/
	UnifiedID string
}

DeleteContactNoteParams contains all the bound params for the delete contact note operation typically these are obtained from a http.Request

swagger:parameters delete-contact-note

func NewDeleteContactNoteParams

func NewDeleteContactNoteParams() DeleteContactNoteParams

NewDeleteContactNoteParams creates a new DeleteContactNoteParams object

There are no default values defined in the spec.

func (*DeleteContactNoteParams) BindRequest

func (o *DeleteContactNoteParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteContactNoteParams() beforehand.

type DeleteContactNoteURL

type DeleteContactNoteURL struct {
	NoteID    string
	UnifiedID string
	// contains filtered or unexported fields
}

DeleteContactNoteURL generates an URL for the delete contact note operation

func (*DeleteContactNoteURL) Build

func (o *DeleteContactNoteURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteContactNoteURL) BuildFull

func (o *DeleteContactNoteURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteContactNoteURL) Must

func (o *DeleteContactNoteURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteContactNoteURL) SetBasePath

func (o *DeleteContactNoteURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteContactNoteURL) String

func (o *DeleteContactNoteURL) String() string

String returns the string representation of the path with query string

func (*DeleteContactNoteURL) StringFull

func (o *DeleteContactNoteURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteContactNoteURL) WithBasePath

func (o *DeleteContactNoteURL) WithBasePath(bp string) *DeleteContactNoteURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteContactNoteUnauthorized

type DeleteContactNoteUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

DeleteContactNoteUnauthorized Error

swagger:response deleteContactNoteUnauthorized

func NewDeleteContactNoteUnauthorized

func NewDeleteContactNoteUnauthorized() *DeleteContactNoteUnauthorized

NewDeleteContactNoteUnauthorized creates DeleteContactNoteUnauthorized with default headers values

func (*DeleteContactNoteUnauthorized) SetPayload

func (o *DeleteContactNoteUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the delete contact note unauthorized response

func (*DeleteContactNoteUnauthorized) WithPayload

WithPayload adds the payload to the delete contact note unauthorized response

func (*DeleteContactNoteUnauthorized) WriteResponse

func (o *DeleteContactNoteUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteContactSource

type DeleteContactSource struct {
	Context *middleware.Context
	Handler DeleteContactSourceHandler
}
DeleteContactSource swagger:route DELETE /contacts/sources/{source_id} deleteContactSource

delete contact source by id

func NewDeleteContactSource

func NewDeleteContactSource(ctx *middleware.Context, handler DeleteContactSourceHandler) *DeleteContactSource

NewDeleteContactSource creates a new http.Handler for the delete contact source operation

func (*DeleteContactSource) ServeHTTP

func (o *DeleteContactSource) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteContactSourceBadRequest

type DeleteContactSourceBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

DeleteContactSourceBadRequest Error

swagger:response deleteContactSourceBadRequest

func NewDeleteContactSourceBadRequest

func NewDeleteContactSourceBadRequest() *DeleteContactSourceBadRequest

NewDeleteContactSourceBadRequest creates DeleteContactSourceBadRequest with default headers values

func (*DeleteContactSourceBadRequest) SetPayload

func (o *DeleteContactSourceBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the delete contact source bad request response

func (*DeleteContactSourceBadRequest) WithPayload

WithPayload adds the payload to the delete contact source bad request response

func (*DeleteContactSourceBadRequest) WriteResponse

func (o *DeleteContactSourceBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

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 DeleteContactSourceHandler

type DeleteContactSourceHandler interface {
	Handle(DeleteContactSourceParams) middleware.Responder
}

DeleteContactSourceHandler interface for that can handle valid delete contact source params

type DeleteContactSourceHandlerFunc

type DeleteContactSourceHandlerFunc func(DeleteContactSourceParams) middleware.Responder

DeleteContactSourceHandlerFunc turns a function with the right signature into a delete contact source handler

func (DeleteContactSourceHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteContactSourceInternalServerError

type DeleteContactSourceInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

DeleteContactSourceInternalServerError Internal Server Error

swagger:response deleteContactSourceInternalServerError

func NewDeleteContactSourceInternalServerError

func NewDeleteContactSourceInternalServerError() *DeleteContactSourceInternalServerError

NewDeleteContactSourceInternalServerError creates DeleteContactSourceInternalServerError with default headers values

func (*DeleteContactSourceInternalServerError) SetPayload

SetPayload sets the payload to the delete contact source internal server error response

func (*DeleteContactSourceInternalServerError) WithPayload

WithPayload adds the payload to the delete contact source internal server error response

func (*DeleteContactSourceInternalServerError) WriteResponse

WriteResponse to the client

type DeleteContactSourceOK

type DeleteContactSourceOK struct {

	/*
	  In: Body
	*/
	Payload *models.Message `json:"body,omitempty"`
}

DeleteContactSourceOK Deleted

swagger:response deleteContactSourceOK

func NewDeleteContactSourceOK

func NewDeleteContactSourceOK() *DeleteContactSourceOK

NewDeleteContactSourceOK creates DeleteContactSourceOK with default headers values

func (*DeleteContactSourceOK) SetPayload

func (o *DeleteContactSourceOK) SetPayload(payload *models.Message)

SetPayload sets the payload to the delete contact source o k response

func (*DeleteContactSourceOK) WithPayload

func (o *DeleteContactSourceOK) WithPayload(payload *models.Message) *DeleteContactSourceOK

WithPayload adds the payload to the delete contact source o k response

func (*DeleteContactSourceOK) WriteResponse

func (o *DeleteContactSourceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteContactSourceParams

type DeleteContactSourceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: body
	*/
	Body DeleteContactSourceBody
	/*source id
	  Required: true
	  In: path
	*/
	SourceID string
}

DeleteContactSourceParams contains all the bound params for the delete contact source operation typically these are obtained from a http.Request

swagger:parameters delete-contact-source

func NewDeleteContactSourceParams

func NewDeleteContactSourceParams() DeleteContactSourceParams

NewDeleteContactSourceParams creates a new DeleteContactSourceParams object

There are no default values defined in the spec.

func (*DeleteContactSourceParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteContactSourceParams() beforehand.

type DeleteContactSourceURL

type DeleteContactSourceURL struct {
	SourceID string
	// contains filtered or unexported fields
}

DeleteContactSourceURL generates an URL for the delete contact source operation

func (*DeleteContactSourceURL) Build

func (o *DeleteContactSourceURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteContactSourceURL) BuildFull

func (o *DeleteContactSourceURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteContactSourceURL) Must

func (o *DeleteContactSourceURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteContactSourceURL) SetBasePath

func (o *DeleteContactSourceURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteContactSourceURL) String

func (o *DeleteContactSourceURL) String() string

String returns the string representation of the path with query string

func (*DeleteContactSourceURL) StringFull

func (o *DeleteContactSourceURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteContactSourceURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteContactSourceUnauthorized

type DeleteContactSourceUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

DeleteContactSourceUnauthorized Error

swagger:response deleteContactSourceUnauthorized

func NewDeleteContactSourceUnauthorized

func NewDeleteContactSourceUnauthorized() *DeleteContactSourceUnauthorized

NewDeleteContactSourceUnauthorized creates DeleteContactSourceUnauthorized with default headers values

func (*DeleteContactSourceUnauthorized) SetPayload

func (o *DeleteContactSourceUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the delete contact source unauthorized response

func (*DeleteContactSourceUnauthorized) WithPayload

WithPayload adds the payload to the delete contact source unauthorized response

func (*DeleteContactSourceUnauthorized) WriteResponse

func (o *DeleteContactSourceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteContactTag

type DeleteContactTag struct {
	Context *middleware.Context
	Handler DeleteContactTagHandler
}
DeleteContactTag swagger:route DELETE /unified/{unified_id}/tags/{tag_id} deleteContactTag

delete contact tag

func NewDeleteContactTag

func NewDeleteContactTag(ctx *middleware.Context, handler DeleteContactTagHandler) *DeleteContactTag

NewDeleteContactTag creates a new http.Handler for the delete contact tag operation

func (*DeleteContactTag) ServeHTTP

func (o *DeleteContactTag) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteContactTagBadRequest

type DeleteContactTagBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

DeleteContactTagBadRequest Error

swagger:response deleteContactTagBadRequest

func NewDeleteContactTagBadRequest

func NewDeleteContactTagBadRequest() *DeleteContactTagBadRequest

NewDeleteContactTagBadRequest creates DeleteContactTagBadRequest with default headers values

func (*DeleteContactTagBadRequest) SetPayload

func (o *DeleteContactTagBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the delete contact tag bad request response

func (*DeleteContactTagBadRequest) WithPayload

WithPayload adds the payload to the delete contact tag bad request response

func (*DeleteContactTagBadRequest) WriteResponse

func (o *DeleteContactTagBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteContactTagHandler

type DeleteContactTagHandler interface {
	Handle(DeleteContactTagParams) middleware.Responder
}

DeleteContactTagHandler interface for that can handle valid delete contact tag params

type DeleteContactTagHandlerFunc

type DeleteContactTagHandlerFunc func(DeleteContactTagParams) middleware.Responder

DeleteContactTagHandlerFunc turns a function with the right signature into a delete contact tag handler

func (DeleteContactTagHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteContactTagInternalServerError

type DeleteContactTagInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

DeleteContactTagInternalServerError Internal Server Error

swagger:response deleteContactTagInternalServerError

func NewDeleteContactTagInternalServerError

func NewDeleteContactTagInternalServerError() *DeleteContactTagInternalServerError

NewDeleteContactTagInternalServerError creates DeleteContactTagInternalServerError with default headers values

func (*DeleteContactTagInternalServerError) SetPayload

SetPayload sets the payload to the delete contact tag internal server error response

func (*DeleteContactTagInternalServerError) WithPayload

WithPayload adds the payload to the delete contact tag internal server error response

func (*DeleteContactTagInternalServerError) WriteResponse

WriteResponse to the client

type DeleteContactTagOK

type DeleteContactTagOK struct {

	/*
	  In: Body
	*/
	Payload *models.Message `json:"body,omitempty"`
}

DeleteContactTagOK Deleted

swagger:response deleteContactTagOK

func NewDeleteContactTagOK

func NewDeleteContactTagOK() *DeleteContactTagOK

NewDeleteContactTagOK creates DeleteContactTagOK with default headers values

func (*DeleteContactTagOK) SetPayload

func (o *DeleteContactTagOK) SetPayload(payload *models.Message)

SetPayload sets the payload to the delete contact tag o k response

func (*DeleteContactTagOK) WithPayload

func (o *DeleteContactTagOK) WithPayload(payload *models.Message) *DeleteContactTagOK

WithPayload adds the payload to the delete contact tag o k response

func (*DeleteContactTagOK) WriteResponse

func (o *DeleteContactTagOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteContactTagParams

type DeleteContactTagParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*tag id
	  Required: true
	  In: path
	*/
	TagID string
	/*contact id
	  Required: true
	  In: path
	*/
	UnifiedID string
}

DeleteContactTagParams contains all the bound params for the delete contact tag operation typically these are obtained from a http.Request

swagger:parameters delete-contact-tag

func NewDeleteContactTagParams

func NewDeleteContactTagParams() DeleteContactTagParams

NewDeleteContactTagParams creates a new DeleteContactTagParams object

There are no default values defined in the spec.

func (*DeleteContactTagParams) BindRequest

func (o *DeleteContactTagParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteContactTagParams() beforehand.

type DeleteContactTagURL

type DeleteContactTagURL struct {
	TagID     string
	UnifiedID string
	// contains filtered or unexported fields
}

DeleteContactTagURL generates an URL for the delete contact tag operation

func (*DeleteContactTagURL) Build

func (o *DeleteContactTagURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteContactTagURL) BuildFull

func (o *DeleteContactTagURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteContactTagURL) Must

func (o *DeleteContactTagURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteContactTagURL) SetBasePath

func (o *DeleteContactTagURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteContactTagURL) String

func (o *DeleteContactTagURL) String() string

String returns the string representation of the path with query string

func (*DeleteContactTagURL) StringFull

func (o *DeleteContactTagURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteContactTagURL) WithBasePath

func (o *DeleteContactTagURL) WithBasePath(bp string) *DeleteContactTagURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteContactTagUnauthorized

type DeleteContactTagUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

DeleteContactTagUnauthorized Error

swagger:response deleteContactTagUnauthorized

func NewDeleteContactTagUnauthorized

func NewDeleteContactTagUnauthorized() *DeleteContactTagUnauthorized

NewDeleteContactTagUnauthorized creates DeleteContactTagUnauthorized with default headers values

func (*DeleteContactTagUnauthorized) SetPayload

func (o *DeleteContactTagUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the delete contact tag unauthorized response

func (*DeleteContactTagUnauthorized) WithPayload

WithPayload adds the payload to the delete contact tag unauthorized response

func (*DeleteContactTagUnauthorized) WriteResponse

func (o *DeleteContactTagUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteUser

type DeleteUser struct {
	Context *middleware.Context
	Handler DeleteUserHandler
}
DeleteUser swagger:route DELETE /users/{user_id} deleteUser

delete user

func NewDeleteUser

func NewDeleteUser(ctx *middleware.Context, handler DeleteUserHandler) *DeleteUser

NewDeleteUser creates a new http.Handler for the delete user operation

func (*DeleteUser) ServeHTTP

func (o *DeleteUser) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteUserBadRequest

type DeleteUserBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

DeleteUserBadRequest Error

swagger:response deleteUserBadRequest

func NewDeleteUserBadRequest

func NewDeleteUserBadRequest() *DeleteUserBadRequest

NewDeleteUserBadRequest creates DeleteUserBadRequest with default headers values

func (*DeleteUserBadRequest) SetPayload

func (o *DeleteUserBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the delete user bad request response

func (*DeleteUserBadRequest) WithPayload

WithPayload adds the payload to the delete user bad request response

func (*DeleteUserBadRequest) WriteResponse

func (o *DeleteUserBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteUserContact

type DeleteUserContact struct {
	Context *middleware.Context
	Handler DeleteUserContactHandler
}
DeleteUserContact swagger:route DELETE /unified/{unified_id} deleteUserContact

delete user's contact by id

func NewDeleteUserContact

func NewDeleteUserContact(ctx *middleware.Context, handler DeleteUserContactHandler) *DeleteUserContact

NewDeleteUserContact creates a new http.Handler for the delete user contact operation

func (*DeleteUserContact) ServeHTTP

func (o *DeleteUserContact) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteUserContactBadRequest

type DeleteUserContactBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

DeleteUserContactBadRequest Error

swagger:response deleteUserContactBadRequest

func NewDeleteUserContactBadRequest

func NewDeleteUserContactBadRequest() *DeleteUserContactBadRequest

NewDeleteUserContactBadRequest creates DeleteUserContactBadRequest with default headers values

func (*DeleteUserContactBadRequest) SetPayload

func (o *DeleteUserContactBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the delete user contact bad request response

func (*DeleteUserContactBadRequest) WithPayload

WithPayload adds the payload to the delete user contact bad request response

func (*DeleteUserContactBadRequest) WriteResponse

func (o *DeleteUserContactBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteUserContactHandler

type DeleteUserContactHandler interface {
	Handle(DeleteUserContactParams) middleware.Responder
}

DeleteUserContactHandler interface for that can handle valid delete user contact params

type DeleteUserContactHandlerFunc

type DeleteUserContactHandlerFunc func(DeleteUserContactParams) middleware.Responder

DeleteUserContactHandlerFunc turns a function with the right signature into a delete user contact handler

func (DeleteUserContactHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteUserContactInternalServerError

type DeleteUserContactInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

DeleteUserContactInternalServerError Internal Server Error

swagger:response deleteUserContactInternalServerError

func NewDeleteUserContactInternalServerError

func NewDeleteUserContactInternalServerError() *DeleteUserContactInternalServerError

NewDeleteUserContactInternalServerError creates DeleteUserContactInternalServerError with default headers values

func (*DeleteUserContactInternalServerError) SetPayload

SetPayload sets the payload to the delete user contact internal server error response

func (*DeleteUserContactInternalServerError) WithPayload

WithPayload adds the payload to the delete user contact internal server error response

func (*DeleteUserContactInternalServerError) WriteResponse

WriteResponse to the client

type DeleteUserContactOK

type DeleteUserContactOK struct {

	/*
	  In: Body
	*/
	Payload *models.Message `json:"body,omitempty"`
}

DeleteUserContactOK Deleted

swagger:response deleteUserContactOK

func NewDeleteUserContactOK

func NewDeleteUserContactOK() *DeleteUserContactOK

NewDeleteUserContactOK creates DeleteUserContactOK with default headers values

func (*DeleteUserContactOK) SetPayload

func (o *DeleteUserContactOK) SetPayload(payload *models.Message)

SetPayload sets the payload to the delete user contact o k response

func (*DeleteUserContactOK) WithPayload

func (o *DeleteUserContactOK) WithPayload(payload *models.Message) *DeleteUserContactOK

WithPayload adds the payload to the delete user contact o k response

func (*DeleteUserContactOK) WriteResponse

func (o *DeleteUserContactOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteUserContactParams

type DeleteUserContactParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*contact id
	  Required: true
	  In: path
	*/
	UnifiedID string
}

DeleteUserContactParams contains all the bound params for the delete user contact operation typically these are obtained from a http.Request

swagger:parameters delete-user-contact

func NewDeleteUserContactParams

func NewDeleteUserContactParams() DeleteUserContactParams

NewDeleteUserContactParams creates a new DeleteUserContactParams object

There are no default values defined in the spec.

func (*DeleteUserContactParams) BindRequest

func (o *DeleteUserContactParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteUserContactParams() beforehand.

type DeleteUserContactURL

type DeleteUserContactURL struct {
	UnifiedID string
	// contains filtered or unexported fields
}

DeleteUserContactURL generates an URL for the delete user contact operation

func (*DeleteUserContactURL) Build

func (o *DeleteUserContactURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteUserContactURL) BuildFull

func (o *DeleteUserContactURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteUserContactURL) Must

func (o *DeleteUserContactURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteUserContactURL) SetBasePath

func (o *DeleteUserContactURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteUserContactURL) String

func (o *DeleteUserContactURL) String() string

String returns the string representation of the path with query string

func (*DeleteUserContactURL) StringFull

func (o *DeleteUserContactURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteUserContactURL) WithBasePath

func (o *DeleteUserContactURL) WithBasePath(bp string) *DeleteUserContactURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteUserContactUnauthorized

type DeleteUserContactUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

DeleteUserContactUnauthorized Error

swagger:response deleteUserContactUnauthorized

func NewDeleteUserContactUnauthorized

func NewDeleteUserContactUnauthorized() *DeleteUserContactUnauthorized

NewDeleteUserContactUnauthorized creates DeleteUserContactUnauthorized with default headers values

func (*DeleteUserContactUnauthorized) SetPayload

func (o *DeleteUserContactUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the delete user contact unauthorized response

func (*DeleteUserContactUnauthorized) WithPayload

WithPayload adds the payload to the delete user contact unauthorized response

func (*DeleteUserContactUnauthorized) WriteResponse

func (o *DeleteUserContactUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteUserHandler

type DeleteUserHandler interface {
	Handle(DeleteUserParams) middleware.Responder
}

DeleteUserHandler interface for that can handle valid delete user params

type DeleteUserHandlerFunc

type DeleteUserHandlerFunc func(DeleteUserParams) middleware.Responder

DeleteUserHandlerFunc turns a function with the right signature into a delete user handler

func (DeleteUserHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteUserInternalServerError

type DeleteUserInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

DeleteUserInternalServerError Internal Server Error

swagger:response deleteUserInternalServerError

func NewDeleteUserInternalServerError

func NewDeleteUserInternalServerError() *DeleteUserInternalServerError

NewDeleteUserInternalServerError creates DeleteUserInternalServerError with default headers values

func (*DeleteUserInternalServerError) SetPayload

func (o *DeleteUserInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the delete user internal server error response

func (*DeleteUserInternalServerError) WithPayload

WithPayload adds the payload to the delete user internal server error response

func (*DeleteUserInternalServerError) WriteResponse

func (o *DeleteUserInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteUserOK

type DeleteUserOK struct {

	/*
	  In: Body
	*/
	Payload *models.Message `json:"body,omitempty"`
}

DeleteUserOK Deleted

swagger:response deleteUserOK

func NewDeleteUserOK

func NewDeleteUserOK() *DeleteUserOK

NewDeleteUserOK creates DeleteUserOK with default headers values

func (*DeleteUserOK) SetPayload

func (o *DeleteUserOK) SetPayload(payload *models.Message)

SetPayload sets the payload to the delete user o k response

func (*DeleteUserOK) WithPayload

func (o *DeleteUserOK) WithPayload(payload *models.Message) *DeleteUserOK

WithPayload adds the payload to the delete user o k response

func (*DeleteUserOK) WriteResponse

func (o *DeleteUserOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteUserParams

type DeleteUserParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*user id
	  Required: true
	  In: path
	*/
	UserID string
}

DeleteUserParams contains all the bound params for the delete user operation typically these are obtained from a http.Request

swagger:parameters delete-user

func NewDeleteUserParams

func NewDeleteUserParams() DeleteUserParams

NewDeleteUserParams creates a new DeleteUserParams object

There are no default values defined in the spec.

func (*DeleteUserParams) BindRequest

func (o *DeleteUserParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteUserParams() beforehand.

type DeleteUserURL

type DeleteUserURL struct {
	UserID string
	// contains filtered or unexported fields
}

DeleteUserURL generates an URL for the delete user operation

func (*DeleteUserURL) Build

func (o *DeleteUserURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteUserURL) BuildFull

func (o *DeleteUserURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteUserURL) Must

func (o *DeleteUserURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteUserURL) SetBasePath

func (o *DeleteUserURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteUserURL) String

func (o *DeleteUserURL) String() string

String returns the string representation of the path with query string

func (*DeleteUserURL) StringFull

func (o *DeleteUserURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteUserURL) WithBasePath

func (o *DeleteUserURL) WithBasePath(bp string) *DeleteUserURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteUserUnauthorized

type DeleteUserUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

DeleteUserUnauthorized Error

swagger:response deleteUserUnauthorized

func NewDeleteUserUnauthorized

func NewDeleteUserUnauthorized() *DeleteUserUnauthorized

NewDeleteUserUnauthorized creates DeleteUserUnauthorized with default headers values

func (*DeleteUserUnauthorized) SetPayload

func (o *DeleteUserUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the delete user unauthorized response

func (*DeleteUserUnauthorized) WithPayload

WithPayload adds the payload to the delete user unauthorized response

func (*DeleteUserUnauthorized) WriteResponse

func (o *DeleteUserUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetContactNotes

type GetContactNotes struct {
	Context *middleware.Context
	Handler GetContactNotesHandler
}
GetContactNotes swagger:route GET /unified/{unified_id}/notes getContactNotes

get contact notes

func NewGetContactNotes

func NewGetContactNotes(ctx *middleware.Context, handler GetContactNotesHandler) *GetContactNotes

NewGetContactNotes creates a new http.Handler for the get contact notes operation

func (*GetContactNotes) ServeHTTP

func (o *GetContactNotes) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetContactNotesBadRequest

type GetContactNotesBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetContactNotesBadRequest Error

swagger:response getContactNotesBadRequest

func NewGetContactNotesBadRequest

func NewGetContactNotesBadRequest() *GetContactNotesBadRequest

NewGetContactNotesBadRequest creates GetContactNotesBadRequest with default headers values

func (*GetContactNotesBadRequest) SetPayload

func (o *GetContactNotesBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get contact notes bad request response

func (*GetContactNotesBadRequest) WithPayload

WithPayload adds the payload to the get contact notes bad request response

func (*GetContactNotesBadRequest) WriteResponse

func (o *GetContactNotesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetContactNotesHandler

type GetContactNotesHandler interface {
	Handle(GetContactNotesParams) middleware.Responder
}

GetContactNotesHandler interface for that can handle valid get contact notes params

type GetContactNotesHandlerFunc

type GetContactNotesHandlerFunc func(GetContactNotesParams) middleware.Responder

GetContactNotesHandlerFunc turns a function with the right signature into a get contact notes handler

func (GetContactNotesHandlerFunc) Handle

Handle executing the request and returning a response

type GetContactNotesInternalServerError

type GetContactNotesInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetContactNotesInternalServerError Internal Server Error

swagger:response getContactNotesInternalServerError

func NewGetContactNotesInternalServerError

func NewGetContactNotesInternalServerError() *GetContactNotesInternalServerError

NewGetContactNotesInternalServerError creates GetContactNotesInternalServerError with default headers values

func (*GetContactNotesInternalServerError) SetPayload

SetPayload sets the payload to the get contact notes internal server error response

func (*GetContactNotesInternalServerError) WithPayload

WithPayload adds the payload to the get contact notes internal server error response

func (*GetContactNotesInternalServerError) WriteResponse

WriteResponse to the client

type GetContactNotesOK

type GetContactNotesOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Note `json:"body,omitempty"`
}

GetContactNotesOK Retrieved

swagger:response getContactNotesOK

func NewGetContactNotesOK

func NewGetContactNotesOK() *GetContactNotesOK

NewGetContactNotesOK creates GetContactNotesOK with default headers values

func (*GetContactNotesOK) SetPayload

func (o *GetContactNotesOK) SetPayload(payload []*models.Note)

SetPayload sets the payload to the get contact notes o k response

func (*GetContactNotesOK) WithPayload

func (o *GetContactNotesOK) WithPayload(payload []*models.Note) *GetContactNotesOK

WithPayload adds the payload to the get contact notes o k response

func (*GetContactNotesOK) WriteResponse

func (o *GetContactNotesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetContactNotesParams

type GetContactNotesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: query
	*/
	LastDocumentID *string
	/*
	  In: query
	*/
	Limit *int64
	/*contact id
	  Required: true
	  In: path
	*/
	UnifiedID string
}

GetContactNotesParams contains all the bound params for the get contact notes operation typically these are obtained from a http.Request

swagger:parameters get-contact-notes

func NewGetContactNotesParams

func NewGetContactNotesParams() GetContactNotesParams

NewGetContactNotesParams creates a new GetContactNotesParams object

There are no default values defined in the spec.

func (*GetContactNotesParams) BindRequest

func (o *GetContactNotesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetContactNotesParams() beforehand.

type GetContactNotesURL

type GetContactNotesURL struct {
	UnifiedID string

	LastDocumentID *string
	Limit          *int64
	// contains filtered or unexported fields
}

GetContactNotesURL generates an URL for the get contact notes operation

func (*GetContactNotesURL) Build

func (o *GetContactNotesURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetContactNotesURL) BuildFull

func (o *GetContactNotesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetContactNotesURL) Must

func (o *GetContactNotesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetContactNotesURL) SetBasePath

func (o *GetContactNotesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetContactNotesURL) String

func (o *GetContactNotesURL) String() string

String returns the string representation of the path with query string

func (*GetContactNotesURL) StringFull

func (o *GetContactNotesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetContactNotesURL) WithBasePath

func (o *GetContactNotesURL) WithBasePath(bp string) *GetContactNotesURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetContactNotesUnauthorized

type GetContactNotesUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetContactNotesUnauthorized Error

swagger:response getContactNotesUnauthorized

func NewGetContactNotesUnauthorized

func NewGetContactNotesUnauthorized() *GetContactNotesUnauthorized

NewGetContactNotesUnauthorized creates GetContactNotesUnauthorized with default headers values

func (*GetContactNotesUnauthorized) SetPayload

func (o *GetContactNotesUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get contact notes unauthorized response

func (*GetContactNotesUnauthorized) WithPayload

WithPayload adds the payload to the get contact notes unauthorized response

func (*GetContactNotesUnauthorized) WriteResponse

func (o *GetContactNotesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetContactSources

type GetContactSources struct {
	Context *middleware.Context
	Handler GetContactSourcesHandler
}
GetContactSources swagger:route GET /contacts/sources getContactSources

get user's contact source list

func NewGetContactSources

func NewGetContactSources(ctx *middleware.Context, handler GetContactSourcesHandler) *GetContactSources

NewGetContactSources creates a new http.Handler for the get contact sources operation

func (*GetContactSources) ServeHTTP

func (o *GetContactSources) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetContactSourcesBadRequest

type GetContactSourcesBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetContactSourcesBadRequest Error

swagger:response getContactSourcesBadRequest

func NewGetContactSourcesBadRequest

func NewGetContactSourcesBadRequest() *GetContactSourcesBadRequest

NewGetContactSourcesBadRequest creates GetContactSourcesBadRequest with default headers values

func (*GetContactSourcesBadRequest) SetPayload

func (o *GetContactSourcesBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get contact sources bad request response

func (*GetContactSourcesBadRequest) WithPayload

WithPayload adds the payload to the get contact sources bad request response

func (*GetContactSourcesBadRequest) WriteResponse

func (o *GetContactSourcesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetContactSourcesHandler

type GetContactSourcesHandler interface {
	Handle(GetContactSourcesParams) middleware.Responder
}

GetContactSourcesHandler interface for that can handle valid get contact sources params

type GetContactSourcesHandlerFunc

type GetContactSourcesHandlerFunc func(GetContactSourcesParams) middleware.Responder

GetContactSourcesHandlerFunc turns a function with the right signature into a get contact sources handler

func (GetContactSourcesHandlerFunc) Handle

Handle executing the request and returning a response

type GetContactSourcesInternalServerError

type GetContactSourcesInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetContactSourcesInternalServerError Internal Server Error

swagger:response getContactSourcesInternalServerError

func NewGetContactSourcesInternalServerError

func NewGetContactSourcesInternalServerError() *GetContactSourcesInternalServerError

NewGetContactSourcesInternalServerError creates GetContactSourcesInternalServerError with default headers values

func (*GetContactSourcesInternalServerError) SetPayload

SetPayload sets the payload to the get contact sources internal server error response

func (*GetContactSourcesInternalServerError) WithPayload

WithPayload adds the payload to the get contact sources internal server error response

func (*GetContactSourcesInternalServerError) WriteResponse

WriteResponse to the client

type GetContactSourcesOK

type GetContactSourcesOK struct {

	/*
	  In: Body
	*/
	Payload []*models.ContactSource `json:"body,omitempty"`
}

GetContactSourcesOK Retrieved

swagger:response getContactSourcesOK

func NewGetContactSourcesOK

func NewGetContactSourcesOK() *GetContactSourcesOK

NewGetContactSourcesOK creates GetContactSourcesOK with default headers values

func (*GetContactSourcesOK) SetPayload

func (o *GetContactSourcesOK) SetPayload(payload []*models.ContactSource)

SetPayload sets the payload to the get contact sources o k response

func (*GetContactSourcesOK) WithPayload

func (o *GetContactSourcesOK) WithPayload(payload []*models.ContactSource) *GetContactSourcesOK

WithPayload adds the payload to the get contact sources o k response

func (*GetContactSourcesOK) WriteResponse

func (o *GetContactSourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetContactSourcesParams

type GetContactSourcesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: query
	*/
	LastDocumentID *string
	/*
	  In: query
	*/
	Limit *int64
}

GetContactSourcesParams contains all the bound params for the get contact sources operation typically these are obtained from a http.Request

swagger:parameters get-contact-sources

func NewGetContactSourcesParams

func NewGetContactSourcesParams() GetContactSourcesParams

NewGetContactSourcesParams creates a new GetContactSourcesParams object

There are no default values defined in the spec.

func (*GetContactSourcesParams) BindRequest

func (o *GetContactSourcesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetContactSourcesParams() beforehand.

type GetContactSourcesURL

type GetContactSourcesURL struct {
	LastDocumentID *string
	Limit          *int64
	// contains filtered or unexported fields
}

GetContactSourcesURL generates an URL for the get contact sources operation

func (*GetContactSourcesURL) Build

func (o *GetContactSourcesURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetContactSourcesURL) BuildFull

func (o *GetContactSourcesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetContactSourcesURL) Must

func (o *GetContactSourcesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetContactSourcesURL) SetBasePath

func (o *GetContactSourcesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetContactSourcesURL) String

func (o *GetContactSourcesURL) String() string

String returns the string representation of the path with query string

func (*GetContactSourcesURL) StringFull

func (o *GetContactSourcesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetContactSourcesURL) WithBasePath

func (o *GetContactSourcesURL) WithBasePath(bp string) *GetContactSourcesURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetContactSourcesUnauthorized

type GetContactSourcesUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetContactSourcesUnauthorized Error

swagger:response getContactSourcesUnauthorized

func NewGetContactSourcesUnauthorized

func NewGetContactSourcesUnauthorized() *GetContactSourcesUnauthorized

NewGetContactSourcesUnauthorized creates GetContactSourcesUnauthorized with default headers values

func (*GetContactSourcesUnauthorized) SetPayload

func (o *GetContactSourcesUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get contact sources unauthorized response

func (*GetContactSourcesUnauthorized) WithPayload

WithPayload adds the payload to the get contact sources unauthorized response

func (*GetContactSourcesUnauthorized) WriteResponse

func (o *GetContactSourcesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetContactTags

type GetContactTags struct {
	Context *middleware.Context
	Handler GetContactTagsHandler
}
GetContactTags swagger:route GET /unified/{unified_id}/tags getContactTags

get contact tags

func NewGetContactTags

func NewGetContactTags(ctx *middleware.Context, handler GetContactTagsHandler) *GetContactTags

NewGetContactTags creates a new http.Handler for the get contact tags operation

func (*GetContactTags) ServeHTTP

func (o *GetContactTags) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetContactTagsBadRequest

type GetContactTagsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetContactTagsBadRequest Error

swagger:response getContactTagsBadRequest

func NewGetContactTagsBadRequest

func NewGetContactTagsBadRequest() *GetContactTagsBadRequest

NewGetContactTagsBadRequest creates GetContactTagsBadRequest with default headers values

func (*GetContactTagsBadRequest) SetPayload

func (o *GetContactTagsBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get contact tags bad request response

func (*GetContactTagsBadRequest) WithPayload

WithPayload adds the payload to the get contact tags bad request response

func (*GetContactTagsBadRequest) WriteResponse

func (o *GetContactTagsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetContactTagsHandler

type GetContactTagsHandler interface {
	Handle(GetContactTagsParams) middleware.Responder
}

GetContactTagsHandler interface for that can handle valid get contact tags params

type GetContactTagsHandlerFunc

type GetContactTagsHandlerFunc func(GetContactTagsParams) middleware.Responder

GetContactTagsHandlerFunc turns a function with the right signature into a get contact tags handler

func (GetContactTagsHandlerFunc) Handle

Handle executing the request and returning a response

type GetContactTagsInternalServerError

type GetContactTagsInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetContactTagsInternalServerError Internal Server Error

swagger:response getContactTagsInternalServerError

func NewGetContactTagsInternalServerError

func NewGetContactTagsInternalServerError() *GetContactTagsInternalServerError

NewGetContactTagsInternalServerError creates GetContactTagsInternalServerError with default headers values

func (*GetContactTagsInternalServerError) SetPayload

func (o *GetContactTagsInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get contact tags internal server error response

func (*GetContactTagsInternalServerError) WithPayload

WithPayload adds the payload to the get contact tags internal server error response

func (*GetContactTagsInternalServerError) WriteResponse

func (o *GetContactTagsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetContactTagsOK

type GetContactTagsOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Tag `json:"body,omitempty"`
}

GetContactTagsOK Retrieved

swagger:response getContactTagsOK

func NewGetContactTagsOK

func NewGetContactTagsOK() *GetContactTagsOK

NewGetContactTagsOK creates GetContactTagsOK with default headers values

func (*GetContactTagsOK) SetPayload

func (o *GetContactTagsOK) SetPayload(payload []*models.Tag)

SetPayload sets the payload to the get contact tags o k response

func (*GetContactTagsOK) WithPayload

func (o *GetContactTagsOK) WithPayload(payload []*models.Tag) *GetContactTagsOK

WithPayload adds the payload to the get contact tags o k response

func (*GetContactTagsOK) WriteResponse

func (o *GetContactTagsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetContactTagsParams

type GetContactTagsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: query
	*/
	LastDocumentID *string
	/*
	  In: query
	*/
	Limit *int64
	/*contact id
	  Required: true
	  In: path
	*/
	UnifiedID string
}

GetContactTagsParams contains all the bound params for the get contact tags operation typically these are obtained from a http.Request

swagger:parameters get-contact-tags

func NewGetContactTagsParams

func NewGetContactTagsParams() GetContactTagsParams

NewGetContactTagsParams creates a new GetContactTagsParams object

There are no default values defined in the spec.

func (*GetContactTagsParams) BindRequest

func (o *GetContactTagsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetContactTagsParams() beforehand.

type GetContactTagsURL

type GetContactTagsURL struct {
	UnifiedID string

	LastDocumentID *string
	Limit          *int64
	// contains filtered or unexported fields
}

GetContactTagsURL generates an URL for the get contact tags operation

func (*GetContactTagsURL) Build

func (o *GetContactTagsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetContactTagsURL) BuildFull

func (o *GetContactTagsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetContactTagsURL) Must

func (o *GetContactTagsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetContactTagsURL) SetBasePath

func (o *GetContactTagsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetContactTagsURL) String

func (o *GetContactTagsURL) String() string

String returns the string representation of the path with query string

func (*GetContactTagsURL) StringFull

func (o *GetContactTagsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetContactTagsURL) WithBasePath

func (o *GetContactTagsURL) WithBasePath(bp string) *GetContactTagsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetContactTagsUnauthorized

type GetContactTagsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetContactTagsUnauthorized Error

swagger:response getContactTagsUnauthorized

func NewGetContactTagsUnauthorized

func NewGetContactTagsUnauthorized() *GetContactTagsUnauthorized

NewGetContactTagsUnauthorized creates GetContactTagsUnauthorized with default headers values

func (*GetContactTagsUnauthorized) SetPayload

func (o *GetContactTagsUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get contact tags unauthorized response

func (*GetContactTagsUnauthorized) WithPayload

WithPayload adds the payload to the get contact tags unauthorized response

func (*GetContactTagsUnauthorized) WriteResponse

func (o *GetContactTagsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetLinkSuggestions

type GetLinkSuggestions struct {
	Context *middleware.Context
	Handler GetLinkSuggestionsHandler
}
GetLinkSuggestions swagger:route GET /suggestions getLinkSuggestions

get list of contact link suggestions to remove duplicates

func NewGetLinkSuggestions

func NewGetLinkSuggestions(ctx *middleware.Context, handler GetLinkSuggestionsHandler) *GetLinkSuggestions

NewGetLinkSuggestions creates a new http.Handler for the get link suggestions operation

func (*GetLinkSuggestions) ServeHTTP

func (o *GetLinkSuggestions) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetLinkSuggestionsBadRequest

type GetLinkSuggestionsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetLinkSuggestionsBadRequest Error

swagger:response getLinkSuggestionsBadRequest

func NewGetLinkSuggestionsBadRequest

func NewGetLinkSuggestionsBadRequest() *GetLinkSuggestionsBadRequest

NewGetLinkSuggestionsBadRequest creates GetLinkSuggestionsBadRequest with default headers values

func (*GetLinkSuggestionsBadRequest) SetPayload

func (o *GetLinkSuggestionsBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get link suggestions bad request response

func (*GetLinkSuggestionsBadRequest) WithPayload

WithPayload adds the payload to the get link suggestions bad request response

func (*GetLinkSuggestionsBadRequest) WriteResponse

func (o *GetLinkSuggestionsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetLinkSuggestionsHandler

type GetLinkSuggestionsHandler interface {
	Handle(GetLinkSuggestionsParams) middleware.Responder
}

GetLinkSuggestionsHandler interface for that can handle valid get link suggestions params

type GetLinkSuggestionsHandlerFunc

type GetLinkSuggestionsHandlerFunc func(GetLinkSuggestionsParams) middleware.Responder

GetLinkSuggestionsHandlerFunc turns a function with the right signature into a get link suggestions handler

func (GetLinkSuggestionsHandlerFunc) Handle

Handle executing the request and returning a response

type GetLinkSuggestionsInternalServerError

type GetLinkSuggestionsInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetLinkSuggestionsInternalServerError Internal Server Error

swagger:response getLinkSuggestionsInternalServerError

func NewGetLinkSuggestionsInternalServerError

func NewGetLinkSuggestionsInternalServerError() *GetLinkSuggestionsInternalServerError

NewGetLinkSuggestionsInternalServerError creates GetLinkSuggestionsInternalServerError with default headers values

func (*GetLinkSuggestionsInternalServerError) SetPayload

SetPayload sets the payload to the get link suggestions internal server error response

func (*GetLinkSuggestionsInternalServerError) WithPayload

WithPayload adds the payload to the get link suggestions internal server error response

func (*GetLinkSuggestionsInternalServerError) WriteResponse

WriteResponse to the client

type GetLinkSuggestionsOK

type GetLinkSuggestionsOK struct {

	/*
	  In: Body
	*/
	Payload []*models.LinkSuggestion `json:"body,omitempty"`
}

GetLinkSuggestionsOK Retrieved

swagger:response getLinkSuggestionsOK

func NewGetLinkSuggestionsOK

func NewGetLinkSuggestionsOK() *GetLinkSuggestionsOK

NewGetLinkSuggestionsOK creates GetLinkSuggestionsOK with default headers values

func (*GetLinkSuggestionsOK) SetPayload

func (o *GetLinkSuggestionsOK) SetPayload(payload []*models.LinkSuggestion)

SetPayload sets the payload to the get link suggestions o k response

func (*GetLinkSuggestionsOK) WithPayload

func (o *GetLinkSuggestionsOK) WithPayload(payload []*models.LinkSuggestion) *GetLinkSuggestionsOK

WithPayload adds the payload to the get link suggestions o k response

func (*GetLinkSuggestionsOK) WriteResponse

func (o *GetLinkSuggestionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetLinkSuggestionsParams

type GetLinkSuggestionsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: query
	*/
	LastDocumentID *string
	/*
	  In: query
	*/
	Limit *int64
}

GetLinkSuggestionsParams contains all the bound params for the get link suggestions operation typically these are obtained from a http.Request

swagger:parameters get-link-suggestions

func NewGetLinkSuggestionsParams

func NewGetLinkSuggestionsParams() GetLinkSuggestionsParams

NewGetLinkSuggestionsParams creates a new GetLinkSuggestionsParams object

There are no default values defined in the spec.

func (*GetLinkSuggestionsParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetLinkSuggestionsParams() beforehand.

type GetLinkSuggestionsURL

type GetLinkSuggestionsURL struct {
	LastDocumentID *string
	Limit          *int64
	// contains filtered or unexported fields
}

GetLinkSuggestionsURL generates an URL for the get link suggestions operation

func (*GetLinkSuggestionsURL) Build

func (o *GetLinkSuggestionsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetLinkSuggestionsURL) BuildFull

func (o *GetLinkSuggestionsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetLinkSuggestionsURL) Must

func (o *GetLinkSuggestionsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetLinkSuggestionsURL) SetBasePath

func (o *GetLinkSuggestionsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetLinkSuggestionsURL) String

func (o *GetLinkSuggestionsURL) String() string

String returns the string representation of the path with query string

func (*GetLinkSuggestionsURL) StringFull

func (o *GetLinkSuggestionsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetLinkSuggestionsURL) WithBasePath

func (o *GetLinkSuggestionsURL) WithBasePath(bp string) *GetLinkSuggestionsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetLinkSuggestionsUnauthorized

type GetLinkSuggestionsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetLinkSuggestionsUnauthorized Error

swagger:response getLinkSuggestionsUnauthorized

func NewGetLinkSuggestionsUnauthorized

func NewGetLinkSuggestionsUnauthorized() *GetLinkSuggestionsUnauthorized

NewGetLinkSuggestionsUnauthorized creates GetLinkSuggestionsUnauthorized with default headers values

func (*GetLinkSuggestionsUnauthorized) SetPayload

func (o *GetLinkSuggestionsUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get link suggestions unauthorized response

func (*GetLinkSuggestionsUnauthorized) WithPayload

WithPayload adds the payload to the get link suggestions unauthorized response

func (*GetLinkSuggestionsUnauthorized) WriteResponse

func (o *GetLinkSuggestionsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetPendingFollowUps

type GetPendingFollowUps struct {
	Context *middleware.Context
	Handler GetPendingFollowUpsHandler
}
GetPendingFollowUps swagger:route GET /pending getPendingFollowUps

get pending follow ups

func NewGetPendingFollowUps

func NewGetPendingFollowUps(ctx *middleware.Context, handler GetPendingFollowUpsHandler) *GetPendingFollowUps

NewGetPendingFollowUps creates a new http.Handler for the get pending follow ups operation

func (*GetPendingFollowUps) ServeHTTP

func (o *GetPendingFollowUps) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetPendingFollowUpsBadRequest

type GetPendingFollowUpsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetPendingFollowUpsBadRequest Error

swagger:response getPendingFollowUpsBadRequest

func NewGetPendingFollowUpsBadRequest

func NewGetPendingFollowUpsBadRequest() *GetPendingFollowUpsBadRequest

NewGetPendingFollowUpsBadRequest creates GetPendingFollowUpsBadRequest with default headers values

func (*GetPendingFollowUpsBadRequest) SetPayload

func (o *GetPendingFollowUpsBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get pending follow ups bad request response

func (*GetPendingFollowUpsBadRequest) WithPayload

WithPayload adds the payload to the get pending follow ups bad request response

func (*GetPendingFollowUpsBadRequest) WriteResponse

func (o *GetPendingFollowUpsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetPendingFollowUpsHandler

type GetPendingFollowUpsHandler interface {
	Handle(GetPendingFollowUpsParams) middleware.Responder
}

GetPendingFollowUpsHandler interface for that can handle valid get pending follow ups params

type GetPendingFollowUpsHandlerFunc

type GetPendingFollowUpsHandlerFunc func(GetPendingFollowUpsParams) middleware.Responder

GetPendingFollowUpsHandlerFunc turns a function with the right signature into a get pending follow ups handler

func (GetPendingFollowUpsHandlerFunc) Handle

Handle executing the request and returning a response

type GetPendingFollowUpsInternalServerError

type GetPendingFollowUpsInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetPendingFollowUpsInternalServerError Internal Server Error

swagger:response getPendingFollowUpsInternalServerError

func NewGetPendingFollowUpsInternalServerError

func NewGetPendingFollowUpsInternalServerError() *GetPendingFollowUpsInternalServerError

NewGetPendingFollowUpsInternalServerError creates GetPendingFollowUpsInternalServerError with default headers values

func (*GetPendingFollowUpsInternalServerError) SetPayload

SetPayload sets the payload to the get pending follow ups internal server error response

func (*GetPendingFollowUpsInternalServerError) WithPayload

WithPayload adds the payload to the get pending follow ups internal server error response

func (*GetPendingFollowUpsInternalServerError) WriteResponse

WriteResponse to the client

type GetPendingFollowUpsOK

type GetPendingFollowUpsOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Unified `json:"body,omitempty"`
}

GetPendingFollowUpsOK Retrieved

swagger:response getPendingFollowUpsOK

func NewGetPendingFollowUpsOK

func NewGetPendingFollowUpsOK() *GetPendingFollowUpsOK

NewGetPendingFollowUpsOK creates GetPendingFollowUpsOK with default headers values

func (*GetPendingFollowUpsOK) SetPayload

func (o *GetPendingFollowUpsOK) SetPayload(payload []*models.Unified)

SetPayload sets the payload to the get pending follow ups o k response

func (*GetPendingFollowUpsOK) WithPayload

func (o *GetPendingFollowUpsOK) WithPayload(payload []*models.Unified) *GetPendingFollowUpsOK

WithPayload adds the payload to the get pending follow ups o k response

func (*GetPendingFollowUpsOK) WriteResponse

func (o *GetPendingFollowUpsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetPendingFollowUpsParams

type GetPendingFollowUpsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: query
	*/
	LastDocumentID *string
	/*
	  In: query
	*/
	LastDocumentNextContact *strfmt.DateTime
	/*
	  In: query
	*/
	Limit *int64
}

GetPendingFollowUpsParams contains all the bound params for the get pending follow ups operation typically these are obtained from a http.Request

swagger:parameters get-pending-follow-ups

func NewGetPendingFollowUpsParams

func NewGetPendingFollowUpsParams() GetPendingFollowUpsParams

NewGetPendingFollowUpsParams creates a new GetPendingFollowUpsParams object

There are no default values defined in the spec.

func (*GetPendingFollowUpsParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetPendingFollowUpsParams() beforehand.

type GetPendingFollowUpsURL

type GetPendingFollowUpsURL struct {
	LastDocumentID          *string
	LastDocumentNextContact *strfmt.DateTime
	Limit                   *int64
	// contains filtered or unexported fields
}

GetPendingFollowUpsURL generates an URL for the get pending follow ups operation

func (*GetPendingFollowUpsURL) Build

func (o *GetPendingFollowUpsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetPendingFollowUpsURL) BuildFull

func (o *GetPendingFollowUpsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetPendingFollowUpsURL) Must

func (o *GetPendingFollowUpsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetPendingFollowUpsURL) SetBasePath

func (o *GetPendingFollowUpsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetPendingFollowUpsURL) String

func (o *GetPendingFollowUpsURL) String() string

String returns the string representation of the path with query string

func (*GetPendingFollowUpsURL) StringFull

func (o *GetPendingFollowUpsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetPendingFollowUpsURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetPendingFollowUpsUnauthorized

type GetPendingFollowUpsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetPendingFollowUpsUnauthorized Error

swagger:response getPendingFollowUpsUnauthorized

func NewGetPendingFollowUpsUnauthorized

func NewGetPendingFollowUpsUnauthorized() *GetPendingFollowUpsUnauthorized

NewGetPendingFollowUpsUnauthorized creates GetPendingFollowUpsUnauthorized with default headers values

func (*GetPendingFollowUpsUnauthorized) SetPayload

func (o *GetPendingFollowUpsUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get pending follow ups unauthorized response

func (*GetPendingFollowUpsUnauthorized) WithPayload

WithPayload adds the payload to the get pending follow ups unauthorized response

func (*GetPendingFollowUpsUnauthorized) WriteResponse

func (o *GetPendingFollowUpsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetRecentContacts

type GetRecentContacts struct {
	Context *middleware.Context
	Handler GetRecentContactsHandler
}
GetRecentContacts swagger:route GET /recent getRecentContacts

get pending follow ups

func NewGetRecentContacts

func NewGetRecentContacts(ctx *middleware.Context, handler GetRecentContactsHandler) *GetRecentContacts

NewGetRecentContacts creates a new http.Handler for the get recent contacts operation

func (*GetRecentContacts) ServeHTTP

func (o *GetRecentContacts) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetRecentContactsBadRequest

type GetRecentContactsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetRecentContactsBadRequest Error

swagger:response getRecentContactsBadRequest

func NewGetRecentContactsBadRequest

func NewGetRecentContactsBadRequest() *GetRecentContactsBadRequest

NewGetRecentContactsBadRequest creates GetRecentContactsBadRequest with default headers values

func (*GetRecentContactsBadRequest) SetPayload

func (o *GetRecentContactsBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get recent contacts bad request response

func (*GetRecentContactsBadRequest) WithPayload

WithPayload adds the payload to the get recent contacts bad request response

func (*GetRecentContactsBadRequest) WriteResponse

func (o *GetRecentContactsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetRecentContactsHandler

type GetRecentContactsHandler interface {
	Handle(GetRecentContactsParams) middleware.Responder
}

GetRecentContactsHandler interface for that can handle valid get recent contacts params

type GetRecentContactsHandlerFunc

type GetRecentContactsHandlerFunc func(GetRecentContactsParams) middleware.Responder

GetRecentContactsHandlerFunc turns a function with the right signature into a get recent contacts handler

func (GetRecentContactsHandlerFunc) Handle

Handle executing the request and returning a response

type GetRecentContactsInternalServerError

type GetRecentContactsInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetRecentContactsInternalServerError Internal Server Error

swagger:response getRecentContactsInternalServerError

func NewGetRecentContactsInternalServerError

func NewGetRecentContactsInternalServerError() *GetRecentContactsInternalServerError

NewGetRecentContactsInternalServerError creates GetRecentContactsInternalServerError with default headers values

func (*GetRecentContactsInternalServerError) SetPayload

SetPayload sets the payload to the get recent contacts internal server error response

func (*GetRecentContactsInternalServerError) WithPayload

WithPayload adds the payload to the get recent contacts internal server error response

func (*GetRecentContactsInternalServerError) WriteResponse

WriteResponse to the client

type GetRecentContactsOK

type GetRecentContactsOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Unified `json:"body,omitempty"`
}

GetRecentContactsOK Retrieved

swagger:response getRecentContactsOK

func NewGetRecentContactsOK

func NewGetRecentContactsOK() *GetRecentContactsOK

NewGetRecentContactsOK creates GetRecentContactsOK with default headers values

func (*GetRecentContactsOK) SetPayload

func (o *GetRecentContactsOK) SetPayload(payload []*models.Unified)

SetPayload sets the payload to the get recent contacts o k response

func (*GetRecentContactsOK) WithPayload

func (o *GetRecentContactsOK) WithPayload(payload []*models.Unified) *GetRecentContactsOK

WithPayload adds the payload to the get recent contacts o k response

func (*GetRecentContactsOK) WriteResponse

func (o *GetRecentContactsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetRecentContactsParams

type GetRecentContactsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: query
	*/
	LastDocumentID *string
	/*
	  In: query
	*/
	LastDocumentLastContact *strfmt.DateTime
	/*
	  In: query
	*/
	Limit *int64
	/*
	  In: query
	*/
	MaxDays *int64
}

GetRecentContactsParams contains all the bound params for the get recent contacts operation typically these are obtained from a http.Request

swagger:parameters get-recent-contacts

func NewGetRecentContactsParams

func NewGetRecentContactsParams() GetRecentContactsParams

NewGetRecentContactsParams creates a new GetRecentContactsParams object

There are no default values defined in the spec.

func (*GetRecentContactsParams) BindRequest

func (o *GetRecentContactsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetRecentContactsParams() beforehand.

type GetRecentContactsURL

type GetRecentContactsURL struct {
	LastDocumentID          *string
	LastDocumentLastContact *strfmt.DateTime
	Limit                   *int64
	MaxDays                 *int64
	// contains filtered or unexported fields
}

GetRecentContactsURL generates an URL for the get recent contacts operation

func (*GetRecentContactsURL) Build

func (o *GetRecentContactsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetRecentContactsURL) BuildFull

func (o *GetRecentContactsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetRecentContactsURL) Must

func (o *GetRecentContactsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetRecentContactsURL) SetBasePath

func (o *GetRecentContactsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetRecentContactsURL) String

func (o *GetRecentContactsURL) String() string

String returns the string representation of the path with query string

func (*GetRecentContactsURL) StringFull

func (o *GetRecentContactsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetRecentContactsURL) WithBasePath

func (o *GetRecentContactsURL) WithBasePath(bp string) *GetRecentContactsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetRecentContactsUnauthorized

type GetRecentContactsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetRecentContactsUnauthorized Error

swagger:response getRecentContactsUnauthorized

func NewGetRecentContactsUnauthorized

func NewGetRecentContactsUnauthorized() *GetRecentContactsUnauthorized

NewGetRecentContactsUnauthorized creates GetRecentContactsUnauthorized with default headers values

func (*GetRecentContactsUnauthorized) SetPayload

func (o *GetRecentContactsUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get recent contacts unauthorized response

func (*GetRecentContactsUnauthorized) WithPayload

WithPayload adds the payload to the get recent contacts unauthorized response

func (*GetRecentContactsUnauthorized) WriteResponse

func (o *GetRecentContactsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUnifiedContacts

type GetUnifiedContacts struct {
	Context *middleware.Context
	Handler GetUnifiedContactsHandler
}
GetUnifiedContacts swagger:route GET /unified getUnifiedContacts

get unified list of contacts

func NewGetUnifiedContacts

func NewGetUnifiedContacts(ctx *middleware.Context, handler GetUnifiedContactsHandler) *GetUnifiedContacts

NewGetUnifiedContacts creates a new http.Handler for the get unified contacts operation

func (*GetUnifiedContacts) ServeHTTP

func (o *GetUnifiedContacts) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetUnifiedContactsBadRequest

type GetUnifiedContactsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetUnifiedContactsBadRequest Error

swagger:response getUnifiedContactsBadRequest

func NewGetUnifiedContactsBadRequest

func NewGetUnifiedContactsBadRequest() *GetUnifiedContactsBadRequest

NewGetUnifiedContactsBadRequest creates GetUnifiedContactsBadRequest with default headers values

func (*GetUnifiedContactsBadRequest) SetPayload

func (o *GetUnifiedContactsBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get unified contacts bad request response

func (*GetUnifiedContactsBadRequest) WithPayload

WithPayload adds the payload to the get unified contacts bad request response

func (*GetUnifiedContactsBadRequest) WriteResponse

func (o *GetUnifiedContactsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUnifiedContactsHandler

type GetUnifiedContactsHandler interface {
	Handle(GetUnifiedContactsParams) middleware.Responder
}

GetUnifiedContactsHandler interface for that can handle valid get unified contacts params

type GetUnifiedContactsHandlerFunc

type GetUnifiedContactsHandlerFunc func(GetUnifiedContactsParams) middleware.Responder

GetUnifiedContactsHandlerFunc turns a function with the right signature into a get unified contacts handler

func (GetUnifiedContactsHandlerFunc) Handle

Handle executing the request and returning a response

type GetUnifiedContactsInternalServerError

type GetUnifiedContactsInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetUnifiedContactsInternalServerError Internal Server Error

swagger:response getUnifiedContactsInternalServerError

func NewGetUnifiedContactsInternalServerError

func NewGetUnifiedContactsInternalServerError() *GetUnifiedContactsInternalServerError

NewGetUnifiedContactsInternalServerError creates GetUnifiedContactsInternalServerError with default headers values

func (*GetUnifiedContactsInternalServerError) SetPayload

SetPayload sets the payload to the get unified contacts internal server error response

func (*GetUnifiedContactsInternalServerError) WithPayload

WithPayload adds the payload to the get unified contacts internal server error response

func (*GetUnifiedContactsInternalServerError) WriteResponse

WriteResponse to the client

type GetUnifiedContactsOK

type GetUnifiedContactsOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Unified `json:"body,omitempty"`
}

GetUnifiedContactsOK Retrieved

swagger:response getUnifiedContactsOK

func NewGetUnifiedContactsOK

func NewGetUnifiedContactsOK() *GetUnifiedContactsOK

NewGetUnifiedContactsOK creates GetUnifiedContactsOK with default headers values

func (*GetUnifiedContactsOK) SetPayload

func (o *GetUnifiedContactsOK) SetPayload(payload []*models.Unified)

SetPayload sets the payload to the get unified contacts o k response

func (*GetUnifiedContactsOK) WithPayload

func (o *GetUnifiedContactsOK) WithPayload(payload []*models.Unified) *GetUnifiedContactsOK

WithPayload adds the payload to the get unified contacts o k response

func (*GetUnifiedContactsOK) WriteResponse

func (o *GetUnifiedContactsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUnifiedContactsParams

type GetUnifiedContactsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: query
	*/
	LastDocumentID *string
	/*
	  In: query
	*/
	Limit *int64
}

GetUnifiedContactsParams contains all the bound params for the get unified contacts operation typically these are obtained from a http.Request

swagger:parameters get-unified-contacts

func NewGetUnifiedContactsParams

func NewGetUnifiedContactsParams() GetUnifiedContactsParams

NewGetUnifiedContactsParams creates a new GetUnifiedContactsParams object

There are no default values defined in the spec.

func (*GetUnifiedContactsParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetUnifiedContactsParams() beforehand.

type GetUnifiedContactsURL

type GetUnifiedContactsURL struct {
	LastDocumentID *string
	Limit          *int64
	// contains filtered or unexported fields
}

GetUnifiedContactsURL generates an URL for the get unified contacts operation

func (*GetUnifiedContactsURL) Build

func (o *GetUnifiedContactsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetUnifiedContactsURL) BuildFull

func (o *GetUnifiedContactsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetUnifiedContactsURL) Must

func (o *GetUnifiedContactsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetUnifiedContactsURL) SetBasePath

func (o *GetUnifiedContactsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetUnifiedContactsURL) String

func (o *GetUnifiedContactsURL) String() string

String returns the string representation of the path with query string

func (*GetUnifiedContactsURL) StringFull

func (o *GetUnifiedContactsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetUnifiedContactsURL) WithBasePath

func (o *GetUnifiedContactsURL) WithBasePath(bp string) *GetUnifiedContactsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetUnifiedContactsUnauthorized

type GetUnifiedContactsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetUnifiedContactsUnauthorized Error

swagger:response getUnifiedContactsUnauthorized

func NewGetUnifiedContactsUnauthorized

func NewGetUnifiedContactsUnauthorized() *GetUnifiedContactsUnauthorized

NewGetUnifiedContactsUnauthorized creates GetUnifiedContactsUnauthorized with default headers values

func (*GetUnifiedContactsUnauthorized) SetPayload

func (o *GetUnifiedContactsUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get unified contacts unauthorized response

func (*GetUnifiedContactsUnauthorized) WithPayload

WithPayload adds the payload to the get unified contacts unauthorized response

func (*GetUnifiedContactsUnauthorized) WriteResponse

func (o *GetUnifiedContactsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUser

type GetUser struct {
	Context *middleware.Context
	Handler GetUserHandler
}
GetUser swagger:route GET /users/{user_id} getUser

get user

func NewGetUser

func NewGetUser(ctx *middleware.Context, handler GetUserHandler) *GetUser

NewGetUser creates a new http.Handler for the get user operation

func (*GetUser) ServeHTTP

func (o *GetUser) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetUserBadRequest

type GetUserBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetUserBadRequest Error

swagger:response getUserBadRequest

func NewGetUserBadRequest

func NewGetUserBadRequest() *GetUserBadRequest

NewGetUserBadRequest creates GetUserBadRequest with default headers values

func (*GetUserBadRequest) SetPayload

func (o *GetUserBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get user bad request response

func (*GetUserBadRequest) WithPayload

func (o *GetUserBadRequest) WithPayload(payload *models.ErrorResponse) *GetUserBadRequest

WithPayload adds the payload to the get user bad request response

func (*GetUserBadRequest) WriteResponse

func (o *GetUserBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUserContactByID

type GetUserContactByID struct {
	Context *middleware.Context
	Handler GetUserContactByIDHandler
}
GetUserContactByID swagger:route GET /unified/{unified_id} getUserContactById

get user's contact by id

func NewGetUserContactByID

func NewGetUserContactByID(ctx *middleware.Context, handler GetUserContactByIDHandler) *GetUserContactByID

NewGetUserContactByID creates a new http.Handler for the get user contact by id operation

func (*GetUserContactByID) ServeHTTP

func (o *GetUserContactByID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetUserContactByIDBadRequest

type GetUserContactByIDBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetUserContactByIDBadRequest Error

swagger:response getUserContactByIdBadRequest

func NewGetUserContactByIDBadRequest

func NewGetUserContactByIDBadRequest() *GetUserContactByIDBadRequest

NewGetUserContactByIDBadRequest creates GetUserContactByIDBadRequest with default headers values

func (*GetUserContactByIDBadRequest) SetPayload

func (o *GetUserContactByIDBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get user contact by Id bad request response

func (*GetUserContactByIDBadRequest) WithPayload

WithPayload adds the payload to the get user contact by Id bad request response

func (*GetUserContactByIDBadRequest) WriteResponse

func (o *GetUserContactByIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUserContactByIDHandler

type GetUserContactByIDHandler interface {
	Handle(GetUserContactByIDParams) middleware.Responder
}

GetUserContactByIDHandler interface for that can handle valid get user contact by id params

type GetUserContactByIDHandlerFunc

type GetUserContactByIDHandlerFunc func(GetUserContactByIDParams) middleware.Responder

GetUserContactByIDHandlerFunc turns a function with the right signature into a get user contact by id handler

func (GetUserContactByIDHandlerFunc) Handle

Handle executing the request and returning a response

type GetUserContactByIDInternalServerError

type GetUserContactByIDInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetUserContactByIDInternalServerError Internal Server Error

swagger:response getUserContactByIdInternalServerError

func NewGetUserContactByIDInternalServerError

func NewGetUserContactByIDInternalServerError() *GetUserContactByIDInternalServerError

NewGetUserContactByIDInternalServerError creates GetUserContactByIDInternalServerError with default headers values

func (*GetUserContactByIDInternalServerError) SetPayload

SetPayload sets the payload to the get user contact by Id internal server error response

func (*GetUserContactByIDInternalServerError) WithPayload

WithPayload adds the payload to the get user contact by Id internal server error response

func (*GetUserContactByIDInternalServerError) WriteResponse

WriteResponse to the client

type GetUserContactByIDNotFound

type GetUserContactByIDNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetUserContactByIDNotFound Error

swagger:response getUserContactByIdNotFound

func NewGetUserContactByIDNotFound

func NewGetUserContactByIDNotFound() *GetUserContactByIDNotFound

NewGetUserContactByIDNotFound creates GetUserContactByIDNotFound with default headers values

func (*GetUserContactByIDNotFound) SetPayload

func (o *GetUserContactByIDNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get user contact by Id not found response

func (*GetUserContactByIDNotFound) WithPayload

WithPayload adds the payload to the get user contact by Id not found response

func (*GetUserContactByIDNotFound) WriteResponse

func (o *GetUserContactByIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUserContactByIDOK

type GetUserContactByIDOK struct {

	/*
	  In: Body
	*/
	Payload *models.Unified `json:"body,omitempty"`
}

GetUserContactByIDOK Retrieved

swagger:response getUserContactByIdOK

func NewGetUserContactByIDOK

func NewGetUserContactByIDOK() *GetUserContactByIDOK

NewGetUserContactByIDOK creates GetUserContactByIDOK with default headers values

func (*GetUserContactByIDOK) SetPayload

func (o *GetUserContactByIDOK) SetPayload(payload *models.Unified)

SetPayload sets the payload to the get user contact by Id o k response

func (*GetUserContactByIDOK) WithPayload

func (o *GetUserContactByIDOK) WithPayload(payload *models.Unified) *GetUserContactByIDOK

WithPayload adds the payload to the get user contact by Id o k response

func (*GetUserContactByIDOK) WriteResponse

func (o *GetUserContactByIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUserContactByIDParams

type GetUserContactByIDParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*contact id
	  Required: true
	  In: path
	*/
	UnifiedID string
}

GetUserContactByIDParams contains all the bound params for the get user contact by id operation typically these are obtained from a http.Request

swagger:parameters get-user-contact-by-id

func NewGetUserContactByIDParams

func NewGetUserContactByIDParams() GetUserContactByIDParams

NewGetUserContactByIDParams creates a new GetUserContactByIDParams object

There are no default values defined in the spec.

func (*GetUserContactByIDParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetUserContactByIDParams() beforehand.

type GetUserContactByIDURL

type GetUserContactByIDURL struct {
	UnifiedID string
	// contains filtered or unexported fields
}

GetUserContactByIDURL generates an URL for the get user contact by id operation

func (*GetUserContactByIDURL) Build

func (o *GetUserContactByIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetUserContactByIDURL) BuildFull

func (o *GetUserContactByIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetUserContactByIDURL) Must

func (o *GetUserContactByIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetUserContactByIDURL) SetBasePath

func (o *GetUserContactByIDURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetUserContactByIDURL) String

func (o *GetUserContactByIDURL) String() string

String returns the string representation of the path with query string

func (*GetUserContactByIDURL) StringFull

func (o *GetUserContactByIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetUserContactByIDURL) WithBasePath

func (o *GetUserContactByIDURL) WithBasePath(bp string) *GetUserContactByIDURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetUserContactByIDUnauthorized

type GetUserContactByIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetUserContactByIDUnauthorized Error

swagger:response getUserContactByIdUnauthorized

func NewGetUserContactByIDUnauthorized

func NewGetUserContactByIDUnauthorized() *GetUserContactByIDUnauthorized

NewGetUserContactByIDUnauthorized creates GetUserContactByIDUnauthorized with default headers values

func (*GetUserContactByIDUnauthorized) SetPayload

func (o *GetUserContactByIDUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get user contact by Id unauthorized response

func (*GetUserContactByIDUnauthorized) WithPayload

WithPayload adds the payload to the get user contact by Id unauthorized response

func (*GetUserContactByIDUnauthorized) WriteResponse

func (o *GetUserContactByIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUserHandler

type GetUserHandler interface {
	Handle(GetUserParams) middleware.Responder
}

GetUserHandler interface for that can handle valid get user params

type GetUserHandlerFunc

type GetUserHandlerFunc func(GetUserParams) middleware.Responder

GetUserHandlerFunc turns a function with the right signature into a get user handler

func (GetUserHandlerFunc) Handle

Handle executing the request and returning a response

type GetUserInternalServerError

type GetUserInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetUserInternalServerError Internal Server Error

swagger:response getUserInternalServerError

func NewGetUserInternalServerError

func NewGetUserInternalServerError() *GetUserInternalServerError

NewGetUserInternalServerError creates GetUserInternalServerError with default headers values

func (*GetUserInternalServerError) SetPayload

func (o *GetUserInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get user internal server error response

func (*GetUserInternalServerError) WithPayload

WithPayload adds the payload to the get user internal server error response

func (*GetUserInternalServerError) WriteResponse

func (o *GetUserInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUserOK

type GetUserOK struct {

	/*
	  In: Body
	*/
	Payload *models.User `json:"body,omitempty"`
}

GetUserOK retrieved

swagger:response getUserOK

func NewGetUserOK

func NewGetUserOK() *GetUserOK

NewGetUserOK creates GetUserOK with default headers values

func (*GetUserOK) SetPayload

func (o *GetUserOK) SetPayload(payload *models.User)

SetPayload sets the payload to the get user o k response

func (*GetUserOK) WithPayload

func (o *GetUserOK) WithPayload(payload *models.User) *GetUserOK

WithPayload adds the payload to the get user o k response

func (*GetUserOK) WriteResponse

func (o *GetUserOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUserParams

type GetUserParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*user id
	  Required: true
	  In: path
	*/
	UserID string
}

GetUserParams contains all the bound params for the get user operation typically these are obtained from a http.Request

swagger:parameters get-user

func NewGetUserParams

func NewGetUserParams() GetUserParams

NewGetUserParams creates a new GetUserParams object

There are no default values defined in the spec.

func (*GetUserParams) BindRequest

func (o *GetUserParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetUserParams() beforehand.

type GetUserURL

type GetUserURL struct {
	UserID string
	// contains filtered or unexported fields
}

GetUserURL generates an URL for the get user operation

func (*GetUserURL) Build

func (o *GetUserURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetUserURL) BuildFull

func (o *GetUserURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetUserURL) Must

func (o *GetUserURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetUserURL) SetBasePath

func (o *GetUserURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetUserURL) String

func (o *GetUserURL) String() string

String returns the string representation of the path with query string

func (*GetUserURL) StringFull

func (o *GetUserURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetUserURL) WithBasePath

func (o *GetUserURL) WithBasePath(bp string) *GetUserURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetUserUnauthorized

type GetUserUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

GetUserUnauthorized Error

swagger:response getUserUnauthorized

func NewGetUserUnauthorized

func NewGetUserUnauthorized() *GetUserUnauthorized

NewGetUserUnauthorized creates GetUserUnauthorized with default headers values

func (*GetUserUnauthorized) SetPayload

func (o *GetUserUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the get user unauthorized response

func (*GetUserUnauthorized) WithPayload

func (o *GetUserUnauthorized) WithPayload(payload *models.ErrorResponse) *GetUserUnauthorized

WithPayload adds the payload to the get user unauthorized response

func (*GetUserUnauthorized) WriteResponse

func (o *GetUserUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type InitGoogleContactSource

type InitGoogleContactSource struct {
	Context *middleware.Context
	Handler InitGoogleContactSourceHandler
}
InitGoogleContactSource swagger:route GET /contacts/sources/google/init initGoogleContactSource

returns redirect url

func NewInitGoogleContactSource

func NewInitGoogleContactSource(ctx *middleware.Context, handler InitGoogleContactSourceHandler) *InitGoogleContactSource

NewInitGoogleContactSource creates a new http.Handler for the init google contact source operation

func (*InitGoogleContactSource) ServeHTTP

type InitGoogleContactSourceBadRequest

type InitGoogleContactSourceBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

InitGoogleContactSourceBadRequest Error

swagger:response initGoogleContactSourceBadRequest

func NewInitGoogleContactSourceBadRequest

func NewInitGoogleContactSourceBadRequest() *InitGoogleContactSourceBadRequest

NewInitGoogleContactSourceBadRequest creates InitGoogleContactSourceBadRequest with default headers values

func (*InitGoogleContactSourceBadRequest) SetPayload

func (o *InitGoogleContactSourceBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the init google contact source bad request response

func (*InitGoogleContactSourceBadRequest) WithPayload

WithPayload adds the payload to the init google contact source bad request response

func (*InitGoogleContactSourceBadRequest) WriteResponse

func (o *InitGoogleContactSourceBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type InitGoogleContactSourceHandler

type InitGoogleContactSourceHandler interface {
	Handle(InitGoogleContactSourceParams) middleware.Responder
}

InitGoogleContactSourceHandler interface for that can handle valid init google contact source params

type InitGoogleContactSourceHandlerFunc

type InitGoogleContactSourceHandlerFunc func(InitGoogleContactSourceParams) middleware.Responder

InitGoogleContactSourceHandlerFunc turns a function with the right signature into a init google contact source handler

func (InitGoogleContactSourceHandlerFunc) Handle

Handle executing the request and returning a response

type InitGoogleContactSourceInternalServerError

type InitGoogleContactSourceInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

InitGoogleContactSourceInternalServerError Internal Server Error

swagger:response initGoogleContactSourceInternalServerError

func NewInitGoogleContactSourceInternalServerError

func NewInitGoogleContactSourceInternalServerError() *InitGoogleContactSourceInternalServerError

NewInitGoogleContactSourceInternalServerError creates InitGoogleContactSourceInternalServerError with default headers values

func (*InitGoogleContactSourceInternalServerError) SetPayload

SetPayload sets the payload to the init google contact source internal server error response

func (*InitGoogleContactSourceInternalServerError) WithPayload

WithPayload adds the payload to the init google contact source internal server error response

func (*InitGoogleContactSourceInternalServerError) WriteResponse

WriteResponse to the client

type InitGoogleContactSourceNotFound

type InitGoogleContactSourceNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

InitGoogleContactSourceNotFound Error

swagger:response initGoogleContactSourceNotFound

func NewInitGoogleContactSourceNotFound

func NewInitGoogleContactSourceNotFound() *InitGoogleContactSourceNotFound

NewInitGoogleContactSourceNotFound creates InitGoogleContactSourceNotFound with default headers values

func (*InitGoogleContactSourceNotFound) SetPayload

func (o *InitGoogleContactSourceNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the init google contact source not found response

func (*InitGoogleContactSourceNotFound) WithPayload

WithPayload adds the payload to the init google contact source not found response

func (*InitGoogleContactSourceNotFound) WriteResponse

func (o *InitGoogleContactSourceNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type InitGoogleContactSourceOK

type InitGoogleContactSourceOK struct {

	/*
	  In: Body
	*/
	Payload *models.InitResponse `json:"body,omitempty"`
}

InitGoogleContactSourceOK Init Response

swagger:response initGoogleContactSourceOK

func NewInitGoogleContactSourceOK

func NewInitGoogleContactSourceOK() *InitGoogleContactSourceOK

NewInitGoogleContactSourceOK creates InitGoogleContactSourceOK with default headers values

func (*InitGoogleContactSourceOK) SetPayload

func (o *InitGoogleContactSourceOK) SetPayload(payload *models.InitResponse)

SetPayload sets the payload to the init google contact source o k response

func (*InitGoogleContactSourceOK) WithPayload

WithPayload adds the payload to the init google contact source o k response

func (*InitGoogleContactSourceOK) WriteResponse

func (o *InitGoogleContactSourceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type InitGoogleContactSourceParams

type InitGoogleContactSourceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
}

InitGoogleContactSourceParams contains all the bound params for the init google contact source operation typically these are obtained from a http.Request

swagger:parameters init-google-contact-source

func NewInitGoogleContactSourceParams

func NewInitGoogleContactSourceParams() InitGoogleContactSourceParams

NewInitGoogleContactSourceParams creates a new InitGoogleContactSourceParams object

There are no default values defined in the spec.

func (*InitGoogleContactSourceParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewInitGoogleContactSourceParams() beforehand.

type InitGoogleContactSourceURL

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

InitGoogleContactSourceURL generates an URL for the init google contact source operation

func (*InitGoogleContactSourceURL) Build

func (o *InitGoogleContactSourceURL) Build() (*url.URL, error)

Build a url path and query string

func (*InitGoogleContactSourceURL) BuildFull

func (o *InitGoogleContactSourceURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*InitGoogleContactSourceURL) Must

func (o *InitGoogleContactSourceURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*InitGoogleContactSourceURL) SetBasePath

func (o *InitGoogleContactSourceURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*InitGoogleContactSourceURL) String

func (o *InitGoogleContactSourceURL) String() string

String returns the string representation of the path with query string

func (*InitGoogleContactSourceURL) StringFull

func (o *InitGoogleContactSourceURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*InitGoogleContactSourceURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type InitGoogleContactSourceUnauthorized

type InitGoogleContactSourceUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

InitGoogleContactSourceUnauthorized Error

swagger:response initGoogleContactSourceUnauthorized

func NewInitGoogleContactSourceUnauthorized

func NewInitGoogleContactSourceUnauthorized() *InitGoogleContactSourceUnauthorized

NewInitGoogleContactSourceUnauthorized creates InitGoogleContactSourceUnauthorized with default headers values

func (*InitGoogleContactSourceUnauthorized) SetPayload

SetPayload sets the payload to the init google contact source unauthorized response

func (*InitGoogleContactSourceUnauthorized) WithPayload

WithPayload adds the payload to the init google contact source unauthorized response

func (*InitGoogleContactSourceUnauthorized) WriteResponse

WriteResponse to the client

type LinkGoogleContactSource

type LinkGoogleContactSource struct {
	Context *middleware.Context
	Handler LinkGoogleContactSourceHandler
}
LinkGoogleContactSource swagger:route POST /contacts/sources/google/link linkGoogleContactSource

redirects user to google consent page

func NewLinkGoogleContactSource

func NewLinkGoogleContactSource(ctx *middleware.Context, handler LinkGoogleContactSourceHandler) *LinkGoogleContactSource

NewLinkGoogleContactSource creates a new http.Handler for the link google contact source operation

func (*LinkGoogleContactSource) ServeHTTP

type LinkGoogleContactSourceBadRequest

type LinkGoogleContactSourceBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

LinkGoogleContactSourceBadRequest Error

swagger:response linkGoogleContactSourceBadRequest

func NewLinkGoogleContactSourceBadRequest

func NewLinkGoogleContactSourceBadRequest() *LinkGoogleContactSourceBadRequest

NewLinkGoogleContactSourceBadRequest creates LinkGoogleContactSourceBadRequest with default headers values

func (*LinkGoogleContactSourceBadRequest) SetPayload

func (o *LinkGoogleContactSourceBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the link google contact source bad request response

func (*LinkGoogleContactSourceBadRequest) WithPayload

WithPayload adds the payload to the link google contact source bad request response

func (*LinkGoogleContactSourceBadRequest) WriteResponse

func (o *LinkGoogleContactSourceBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

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 {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

LinkGoogleContactSourceForbidden quota limit reached

swagger:response linkGoogleContactSourceForbidden

func NewLinkGoogleContactSourceForbidden

func NewLinkGoogleContactSourceForbidden() *LinkGoogleContactSourceForbidden

NewLinkGoogleContactSourceForbidden creates LinkGoogleContactSourceForbidden with default headers values

func (*LinkGoogleContactSourceForbidden) SetPayload

func (o *LinkGoogleContactSourceForbidden) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the link google contact source forbidden response

func (*LinkGoogleContactSourceForbidden) WithPayload

WithPayload adds the payload to the link google contact source forbidden response

func (*LinkGoogleContactSourceForbidden) WriteResponse

func (o *LinkGoogleContactSourceForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type LinkGoogleContactSourceHandler

type LinkGoogleContactSourceHandler interface {
	Handle(LinkGoogleContactSourceParams) middleware.Responder
}

LinkGoogleContactSourceHandler interface for that can handle valid link google contact source params

type LinkGoogleContactSourceHandlerFunc

type LinkGoogleContactSourceHandlerFunc func(LinkGoogleContactSourceParams) middleware.Responder

LinkGoogleContactSourceHandlerFunc turns a function with the right signature into a link google contact source handler

func (LinkGoogleContactSourceHandlerFunc) Handle

Handle executing the request and returning a response

type LinkGoogleContactSourceInternalServerError

type LinkGoogleContactSourceInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

LinkGoogleContactSourceInternalServerError Internal Server Error

swagger:response linkGoogleContactSourceInternalServerError

func NewLinkGoogleContactSourceInternalServerError

func NewLinkGoogleContactSourceInternalServerError() *LinkGoogleContactSourceInternalServerError

NewLinkGoogleContactSourceInternalServerError creates LinkGoogleContactSourceInternalServerError with default headers values

func (*LinkGoogleContactSourceInternalServerError) SetPayload

SetPayload sets the payload to the link google contact source internal server error response

func (*LinkGoogleContactSourceInternalServerError) WithPayload

WithPayload adds the payload to the link google contact source internal server error response

func (*LinkGoogleContactSourceInternalServerError) WriteResponse

WriteResponse to the client

type LinkGoogleContactSourceOK

type LinkGoogleContactSourceOK struct {
	/*

	 */
	Location string `json:"Location"`
}

LinkGoogleContactSourceOK Linked

swagger:response linkGoogleContactSourceOK

func NewLinkGoogleContactSourceOK

func NewLinkGoogleContactSourceOK() *LinkGoogleContactSourceOK

NewLinkGoogleContactSourceOK creates LinkGoogleContactSourceOK with default headers values

func (*LinkGoogleContactSourceOK) SetLocation

func (o *LinkGoogleContactSourceOK) SetLocation(location string)

SetLocation sets the location to the link google contact source o k response

func (*LinkGoogleContactSourceOK) WithLocation

func (o *LinkGoogleContactSourceOK) WithLocation(location string) *LinkGoogleContactSourceOK

WithLocation adds the location to the link google contact source o k response

func (*LinkGoogleContactSourceOK) WriteResponse

func (o *LinkGoogleContactSourceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type LinkGoogleContactSourceParams

type LinkGoogleContactSourceParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: body
	*/
	Body LinkGoogleContactSourceBody
}

LinkGoogleContactSourceParams contains all the bound params for the link google contact source operation typically these are obtained from a http.Request

swagger:parameters link-google-contact-source

func NewLinkGoogleContactSourceParams

func NewLinkGoogleContactSourceParams() LinkGoogleContactSourceParams

NewLinkGoogleContactSourceParams creates a new LinkGoogleContactSourceParams object

There are no default values defined in the spec.

func (*LinkGoogleContactSourceParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewLinkGoogleContactSourceParams() beforehand.

type LinkGoogleContactSourceURL

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

LinkGoogleContactSourceURL generates an URL for the link google contact source operation

func (*LinkGoogleContactSourceURL) Build

func (o *LinkGoogleContactSourceURL) Build() (*url.URL, error)

Build a url path and query string

func (*LinkGoogleContactSourceURL) BuildFull

func (o *LinkGoogleContactSourceURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*LinkGoogleContactSourceURL) Must

func (o *LinkGoogleContactSourceURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*LinkGoogleContactSourceURL) SetBasePath

func (o *LinkGoogleContactSourceURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*LinkGoogleContactSourceURL) String

func (o *LinkGoogleContactSourceURL) String() string

String returns the string representation of the path with query string

func (*LinkGoogleContactSourceURL) StringFull

func (o *LinkGoogleContactSourceURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*LinkGoogleContactSourceURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type LinkGoogleContactSourceUnauthorized

type LinkGoogleContactSourceUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

LinkGoogleContactSourceUnauthorized Error

swagger:response linkGoogleContactSourceUnauthorized

func NewLinkGoogleContactSourceUnauthorized

func NewLinkGoogleContactSourceUnauthorized() *LinkGoogleContactSourceUnauthorized

NewLinkGoogleContactSourceUnauthorized creates LinkGoogleContactSourceUnauthorized with default headers values

func (*LinkGoogleContactSourceUnauthorized) SetPayload

SetPayload sets the payload to the link google contact source unauthorized response

func (*LinkGoogleContactSourceUnauthorized) WithPayload

WithPayload adds the payload to the link google contact source unauthorized response

func (*LinkGoogleContactSourceUnauthorized) WriteResponse

WriteResponse to the client

type PatchContactNote

type PatchContactNote struct {
	Context *middleware.Context
	Handler PatchContactNoteHandler
}
PatchContactNote swagger:route PATCH /unified/{unified_id}/notes/{note_id} patchContactNote

patch contact note

func NewPatchContactNote

func NewPatchContactNote(ctx *middleware.Context, handler PatchContactNoteHandler) *PatchContactNote

NewPatchContactNote creates a new http.Handler for the patch contact note operation

func (*PatchContactNote) ServeHTTP

func (o *PatchContactNote) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PatchContactNoteBadRequest

type PatchContactNoteBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PatchContactNoteBadRequest Error

swagger:response patchContactNoteBadRequest

func NewPatchContactNoteBadRequest

func NewPatchContactNoteBadRequest() *PatchContactNoteBadRequest

NewPatchContactNoteBadRequest creates PatchContactNoteBadRequest with default headers values

func (*PatchContactNoteBadRequest) SetPayload

func (o *PatchContactNoteBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the patch contact note bad request response

func (*PatchContactNoteBadRequest) WithPayload

WithPayload adds the payload to the patch contact note bad request response

func (*PatchContactNoteBadRequest) WriteResponse

func (o *PatchContactNoteBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchContactNoteHandler

type PatchContactNoteHandler interface {
	Handle(PatchContactNoteParams) middleware.Responder
}

PatchContactNoteHandler interface for that can handle valid patch contact note params

type PatchContactNoteHandlerFunc

type PatchContactNoteHandlerFunc func(PatchContactNoteParams) middleware.Responder

PatchContactNoteHandlerFunc turns a function with the right signature into a patch contact note handler

func (PatchContactNoteHandlerFunc) Handle

Handle executing the request and returning a response

type PatchContactNoteInternalServerError

type PatchContactNoteInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PatchContactNoteInternalServerError Internal Server Error

swagger:response patchContactNoteInternalServerError

func NewPatchContactNoteInternalServerError

func NewPatchContactNoteInternalServerError() *PatchContactNoteInternalServerError

NewPatchContactNoteInternalServerError creates PatchContactNoteInternalServerError with default headers values

func (*PatchContactNoteInternalServerError) SetPayload

SetPayload sets the payload to the patch contact note internal server error response

func (*PatchContactNoteInternalServerError) WithPayload

WithPayload adds the payload to the patch contact note internal server error response

func (*PatchContactNoteInternalServerError) WriteResponse

WriteResponse to the client

type PatchContactNoteNotFound

type PatchContactNoteNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PatchContactNoteNotFound Error

swagger:response patchContactNoteNotFound

func NewPatchContactNoteNotFound

func NewPatchContactNoteNotFound() *PatchContactNoteNotFound

NewPatchContactNoteNotFound creates PatchContactNoteNotFound with default headers values

func (*PatchContactNoteNotFound) SetPayload

func (o *PatchContactNoteNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the patch contact note not found response

func (*PatchContactNoteNotFound) WithPayload

WithPayload adds the payload to the patch contact note not found response

func (*PatchContactNoteNotFound) WriteResponse

func (o *PatchContactNoteNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchContactNoteOK

type PatchContactNoteOK struct {

	/*
	  In: Body
	*/
	Payload *models.Note `json:"body,omitempty"`
}

PatchContactNoteOK Updated

swagger:response patchContactNoteOK

func NewPatchContactNoteOK

func NewPatchContactNoteOK() *PatchContactNoteOK

NewPatchContactNoteOK creates PatchContactNoteOK with default headers values

func (*PatchContactNoteOK) SetPayload

func (o *PatchContactNoteOK) SetPayload(payload *models.Note)

SetPayload sets the payload to the patch contact note o k response

func (*PatchContactNoteOK) WithPayload

func (o *PatchContactNoteOK) WithPayload(payload *models.Note) *PatchContactNoteOK

WithPayload adds the payload to the patch contact note o k response

func (*PatchContactNoteOK) WriteResponse

func (o *PatchContactNoteOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchContactNoteParams

type PatchContactNoteParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: body
	*/
	Body *models.Note
	/*note id
	  Required: true
	  In: path
	*/
	NoteID string
	/*contact id
	  Required: true
	  In: path
	*/
	UnifiedID string
}

PatchContactNoteParams contains all the bound params for the patch contact note operation typically these are obtained from a http.Request

swagger:parameters patch-contact-note

func NewPatchContactNoteParams

func NewPatchContactNoteParams() PatchContactNoteParams

NewPatchContactNoteParams creates a new PatchContactNoteParams object

There are no default values defined in the spec.

func (*PatchContactNoteParams) BindRequest

func (o *PatchContactNoteParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPatchContactNoteParams() beforehand.

type PatchContactNoteURL

type PatchContactNoteURL struct {
	NoteID    string
	UnifiedID string
	// contains filtered or unexported fields
}

PatchContactNoteURL generates an URL for the patch contact note operation

func (*PatchContactNoteURL) Build

func (o *PatchContactNoteURL) Build() (*url.URL, error)

Build a url path and query string

func (*PatchContactNoteURL) BuildFull

func (o *PatchContactNoteURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PatchContactNoteURL) Must

func (o *PatchContactNoteURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PatchContactNoteURL) SetBasePath

func (o *PatchContactNoteURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PatchContactNoteURL) String

func (o *PatchContactNoteURL) String() string

String returns the string representation of the path with query string

func (*PatchContactNoteURL) StringFull

func (o *PatchContactNoteURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PatchContactNoteURL) WithBasePath

func (o *PatchContactNoteURL) WithBasePath(bp string) *PatchContactNoteURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PatchContactNoteUnauthorized

type PatchContactNoteUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PatchContactNoteUnauthorized Error

swagger:response patchContactNoteUnauthorized

func NewPatchContactNoteUnauthorized

func NewPatchContactNoteUnauthorized() *PatchContactNoteUnauthorized

NewPatchContactNoteUnauthorized creates PatchContactNoteUnauthorized with default headers values

func (*PatchContactNoteUnauthorized) SetPayload

func (o *PatchContactNoteUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the patch contact note unauthorized response

func (*PatchContactNoteUnauthorized) WithPayload

WithPayload adds the payload to the patch contact note unauthorized response

func (*PatchContactNoteUnauthorized) WriteResponse

func (o *PatchContactNoteUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchContactTag

type PatchContactTag struct {
	Context *middleware.Context
	Handler PatchContactTagHandler
}
PatchContactTag swagger:route PATCH /unified/{unified_id}/tags/{tag_id} patchContactTag

patch contact tag

func NewPatchContactTag

func NewPatchContactTag(ctx *middleware.Context, handler PatchContactTagHandler) *PatchContactTag

NewPatchContactTag creates a new http.Handler for the patch contact tag operation

func (*PatchContactTag) ServeHTTP

func (o *PatchContactTag) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PatchContactTagBadRequest

type PatchContactTagBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PatchContactTagBadRequest Error

swagger:response patchContactTagBadRequest

func NewPatchContactTagBadRequest

func NewPatchContactTagBadRequest() *PatchContactTagBadRequest

NewPatchContactTagBadRequest creates PatchContactTagBadRequest with default headers values

func (*PatchContactTagBadRequest) SetPayload

func (o *PatchContactTagBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the patch contact tag bad request response

func (*PatchContactTagBadRequest) WithPayload

WithPayload adds the payload to the patch contact tag bad request response

func (*PatchContactTagBadRequest) WriteResponse

func (o *PatchContactTagBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchContactTagHandler

type PatchContactTagHandler interface {
	Handle(PatchContactTagParams) middleware.Responder
}

PatchContactTagHandler interface for that can handle valid patch contact tag params

type PatchContactTagHandlerFunc

type PatchContactTagHandlerFunc func(PatchContactTagParams) middleware.Responder

PatchContactTagHandlerFunc turns a function with the right signature into a patch contact tag handler

func (PatchContactTagHandlerFunc) Handle

Handle executing the request and returning a response

type PatchContactTagInternalServerError

type PatchContactTagInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PatchContactTagInternalServerError Internal Server Error

swagger:response patchContactTagInternalServerError

func NewPatchContactTagInternalServerError

func NewPatchContactTagInternalServerError() *PatchContactTagInternalServerError

NewPatchContactTagInternalServerError creates PatchContactTagInternalServerError with default headers values

func (*PatchContactTagInternalServerError) SetPayload

SetPayload sets the payload to the patch contact tag internal server error response

func (*PatchContactTagInternalServerError) WithPayload

WithPayload adds the payload to the patch contact tag internal server error response

func (*PatchContactTagInternalServerError) WriteResponse

WriteResponse to the client

type PatchContactTagNotFound

type PatchContactTagNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PatchContactTagNotFound Error

swagger:response patchContactTagNotFound

func NewPatchContactTagNotFound

func NewPatchContactTagNotFound() *PatchContactTagNotFound

NewPatchContactTagNotFound creates PatchContactTagNotFound with default headers values

func (*PatchContactTagNotFound) SetPayload

func (o *PatchContactTagNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the patch contact tag not found response

func (*PatchContactTagNotFound) WithPayload

WithPayload adds the payload to the patch contact tag not found response

func (*PatchContactTagNotFound) WriteResponse

func (o *PatchContactTagNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchContactTagOK

type PatchContactTagOK struct {

	/*
	  In: Body
	*/
	Payload *models.Tag `json:"body,omitempty"`
}

PatchContactTagOK Updated

swagger:response patchContactTagOK

func NewPatchContactTagOK

func NewPatchContactTagOK() *PatchContactTagOK

NewPatchContactTagOK creates PatchContactTagOK with default headers values

func (*PatchContactTagOK) SetPayload

func (o *PatchContactTagOK) SetPayload(payload *models.Tag)

SetPayload sets the payload to the patch contact tag o k response

func (*PatchContactTagOK) WithPayload

func (o *PatchContactTagOK) WithPayload(payload *models.Tag) *PatchContactTagOK

WithPayload adds the payload to the patch contact tag o k response

func (*PatchContactTagOK) WriteResponse

func (o *PatchContactTagOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchContactTagParams

type PatchContactTagParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: body
	*/
	Body *models.Tag
	/*tag id
	  Required: true
	  In: path
	*/
	TagID string
	/*contact id
	  Required: true
	  In: path
	*/
	UnifiedID string
}

PatchContactTagParams contains all the bound params for the patch contact tag operation typically these are obtained from a http.Request

swagger:parameters patch-contact-tag

func NewPatchContactTagParams

func NewPatchContactTagParams() PatchContactTagParams

NewPatchContactTagParams creates a new PatchContactTagParams object

There are no default values defined in the spec.

func (*PatchContactTagParams) BindRequest

func (o *PatchContactTagParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPatchContactTagParams() beforehand.

type PatchContactTagURL

type PatchContactTagURL struct {
	TagID     string
	UnifiedID string
	// contains filtered or unexported fields
}

PatchContactTagURL generates an URL for the patch contact tag operation

func (*PatchContactTagURL) Build

func (o *PatchContactTagURL) Build() (*url.URL, error)

Build a url path and query string

func (*PatchContactTagURL) BuildFull

func (o *PatchContactTagURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PatchContactTagURL) Must

func (o *PatchContactTagURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PatchContactTagURL) SetBasePath

func (o *PatchContactTagURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PatchContactTagURL) String

func (o *PatchContactTagURL) String() string

String returns the string representation of the path with query string

func (*PatchContactTagURL) StringFull

func (o *PatchContactTagURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PatchContactTagURL) WithBasePath

func (o *PatchContactTagURL) WithBasePath(bp string) *PatchContactTagURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PatchContactTagUnauthorized

type PatchContactTagUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PatchContactTagUnauthorized Error

swagger:response patchContactTagUnauthorized

func NewPatchContactTagUnauthorized

func NewPatchContactTagUnauthorized() *PatchContactTagUnauthorized

NewPatchContactTagUnauthorized creates PatchContactTagUnauthorized with default headers values

func (*PatchContactTagUnauthorized) SetPayload

func (o *PatchContactTagUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the patch contact tag unauthorized response

func (*PatchContactTagUnauthorized) WithPayload

WithPayload adds the payload to the patch contact tag unauthorized response

func (*PatchContactTagUnauthorized) WriteResponse

func (o *PatchContactTagUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostContactNote

type PostContactNote struct {
	Context *middleware.Context
	Handler PostContactNoteHandler
}
PostContactNote swagger:route POST /unified/{unified_id}/notes postContactNote

post contact note

func NewPostContactNote

func NewPostContactNote(ctx *middleware.Context, handler PostContactNoteHandler) *PostContactNote

NewPostContactNote creates a new http.Handler for the post contact note operation

func (*PostContactNote) ServeHTTP

func (o *PostContactNote) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PostContactNoteBadRequest

type PostContactNoteBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PostContactNoteBadRequest Error

swagger:response postContactNoteBadRequest

func NewPostContactNoteBadRequest

func NewPostContactNoteBadRequest() *PostContactNoteBadRequest

NewPostContactNoteBadRequest creates PostContactNoteBadRequest with default headers values

func (*PostContactNoteBadRequest) SetPayload

func (o *PostContactNoteBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the post contact note bad request response

func (*PostContactNoteBadRequest) WithPayload

WithPayload adds the payload to the post contact note bad request response

func (*PostContactNoteBadRequest) WriteResponse

func (o *PostContactNoteBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostContactNoteHandler

type PostContactNoteHandler interface {
	Handle(PostContactNoteParams) middleware.Responder
}

PostContactNoteHandler interface for that can handle valid post contact note params

type PostContactNoteHandlerFunc

type PostContactNoteHandlerFunc func(PostContactNoteParams) middleware.Responder

PostContactNoteHandlerFunc turns a function with the right signature into a post contact note handler

func (PostContactNoteHandlerFunc) Handle

Handle executing the request and returning a response

type PostContactNoteInternalServerError

type PostContactNoteInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PostContactNoteInternalServerError Internal Server Error

swagger:response postContactNoteInternalServerError

func NewPostContactNoteInternalServerError

func NewPostContactNoteInternalServerError() *PostContactNoteInternalServerError

NewPostContactNoteInternalServerError creates PostContactNoteInternalServerError with default headers values

func (*PostContactNoteInternalServerError) SetPayload

SetPayload sets the payload to the post contact note internal server error response

func (*PostContactNoteInternalServerError) WithPayload

WithPayload adds the payload to the post contact note internal server error response

func (*PostContactNoteInternalServerError) WriteResponse

WriteResponse to the client

type PostContactNoteOK

type PostContactNoteOK struct {

	/*
	  In: Body
	*/
	Payload *models.Message `json:"body,omitempty"`
}

PostContactNoteOK Created

swagger:response postContactNoteOK

func NewPostContactNoteOK

func NewPostContactNoteOK() *PostContactNoteOK

NewPostContactNoteOK creates PostContactNoteOK with default headers values

func (*PostContactNoteOK) SetPayload

func (o *PostContactNoteOK) SetPayload(payload *models.Message)

SetPayload sets the payload to the post contact note o k response

func (*PostContactNoteOK) WithPayload

func (o *PostContactNoteOK) WithPayload(payload *models.Message) *PostContactNoteOK

WithPayload adds the payload to the post contact note o k response

func (*PostContactNoteOK) WriteResponse

func (o *PostContactNoteOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostContactNoteParams

type PostContactNoteParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: body
	*/
	Body *models.Note
	/*contact id
	  Required: true
	  In: path
	*/
	UnifiedID string
}

PostContactNoteParams contains all the bound params for the post contact note operation typically these are obtained from a http.Request

swagger:parameters post-contact-note

func NewPostContactNoteParams

func NewPostContactNoteParams() PostContactNoteParams

NewPostContactNoteParams creates a new PostContactNoteParams object

There are no default values defined in the spec.

func (*PostContactNoteParams) BindRequest

func (o *PostContactNoteParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPostContactNoteParams() beforehand.

type PostContactNoteURL

type PostContactNoteURL struct {
	UnifiedID string
	// contains filtered or unexported fields
}

PostContactNoteURL generates an URL for the post contact note operation

func (*PostContactNoteURL) Build

func (o *PostContactNoteURL) Build() (*url.URL, error)

Build a url path and query string

func (*PostContactNoteURL) BuildFull

func (o *PostContactNoteURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PostContactNoteURL) Must

func (o *PostContactNoteURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PostContactNoteURL) SetBasePath

func (o *PostContactNoteURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PostContactNoteURL) String

func (o *PostContactNoteURL) String() string

String returns the string representation of the path with query string

func (*PostContactNoteURL) StringFull

func (o *PostContactNoteURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PostContactNoteURL) WithBasePath

func (o *PostContactNoteURL) WithBasePath(bp string) *PostContactNoteURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PostContactNoteUnauthorized

type PostContactNoteUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PostContactNoteUnauthorized Error

swagger:response postContactNoteUnauthorized

func NewPostContactNoteUnauthorized

func NewPostContactNoteUnauthorized() *PostContactNoteUnauthorized

NewPostContactNoteUnauthorized creates PostContactNoteUnauthorized with default headers values

func (*PostContactNoteUnauthorized) SetPayload

func (o *PostContactNoteUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the post contact note unauthorized response

func (*PostContactNoteUnauthorized) WithPayload

WithPayload adds the payload to the post contact note unauthorized response

func (*PostContactNoteUnauthorized) WriteResponse

func (o *PostContactNoteUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostContactTag

type PostContactTag struct {
	Context *middleware.Context
	Handler PostContactTagHandler
}
PostContactTag swagger:route POST /unified/{unified_id}/tags postContactTag

post contact tag

func NewPostContactTag

func NewPostContactTag(ctx *middleware.Context, handler PostContactTagHandler) *PostContactTag

NewPostContactTag creates a new http.Handler for the post contact tag operation

func (*PostContactTag) ServeHTTP

func (o *PostContactTag) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PostContactTagBadRequest

type PostContactTagBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PostContactTagBadRequest Error

swagger:response postContactTagBadRequest

func NewPostContactTagBadRequest

func NewPostContactTagBadRequest() *PostContactTagBadRequest

NewPostContactTagBadRequest creates PostContactTagBadRequest with default headers values

func (*PostContactTagBadRequest) SetPayload

func (o *PostContactTagBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the post contact tag bad request response

func (*PostContactTagBadRequest) WithPayload

WithPayload adds the payload to the post contact tag bad request response

func (*PostContactTagBadRequest) WriteResponse

func (o *PostContactTagBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostContactTagHandler

type PostContactTagHandler interface {
	Handle(PostContactTagParams) middleware.Responder
}

PostContactTagHandler interface for that can handle valid post contact tag params

type PostContactTagHandlerFunc

type PostContactTagHandlerFunc func(PostContactTagParams) middleware.Responder

PostContactTagHandlerFunc turns a function with the right signature into a post contact tag handler

func (PostContactTagHandlerFunc) Handle

Handle executing the request and returning a response

type PostContactTagInternalServerError

type PostContactTagInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PostContactTagInternalServerError Internal Server Error

swagger:response postContactTagInternalServerError

func NewPostContactTagInternalServerError

func NewPostContactTagInternalServerError() *PostContactTagInternalServerError

NewPostContactTagInternalServerError creates PostContactTagInternalServerError with default headers values

func (*PostContactTagInternalServerError) SetPayload

func (o *PostContactTagInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the post contact tag internal server error response

func (*PostContactTagInternalServerError) WithPayload

WithPayload adds the payload to the post contact tag internal server error response

func (*PostContactTagInternalServerError) WriteResponse

func (o *PostContactTagInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostContactTagOK

type PostContactTagOK struct {

	/*
	  In: Body
	*/
	Payload *models.Message `json:"body,omitempty"`
}

PostContactTagOK Created

swagger:response postContactTagOK

func NewPostContactTagOK

func NewPostContactTagOK() *PostContactTagOK

NewPostContactTagOK creates PostContactTagOK with default headers values

func (*PostContactTagOK) SetPayload

func (o *PostContactTagOK) SetPayload(payload *models.Message)

SetPayload sets the payload to the post contact tag o k response

func (*PostContactTagOK) WithPayload

func (o *PostContactTagOK) WithPayload(payload *models.Message) *PostContactTagOK

WithPayload adds the payload to the post contact tag o k response

func (*PostContactTagOK) WriteResponse

func (o *PostContactTagOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostContactTagParams

type PostContactTagParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: body
	*/
	Body *models.Tag
	/*contact id
	  Required: true
	  In: path
	*/
	UnifiedID string
}

PostContactTagParams contains all the bound params for the post contact tag operation typically these are obtained from a http.Request

swagger:parameters post-contact-tag

func NewPostContactTagParams

func NewPostContactTagParams() PostContactTagParams

NewPostContactTagParams creates a new PostContactTagParams object

There are no default values defined in the spec.

func (*PostContactTagParams) BindRequest

func (o *PostContactTagParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPostContactTagParams() beforehand.

type PostContactTagURL

type PostContactTagURL struct {
	UnifiedID string
	// contains filtered or unexported fields
}

PostContactTagURL generates an URL for the post contact tag operation

func (*PostContactTagURL) Build

func (o *PostContactTagURL) Build() (*url.URL, error)

Build a url path and query string

func (*PostContactTagURL) BuildFull

func (o *PostContactTagURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PostContactTagURL) Must

func (o *PostContactTagURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PostContactTagURL) SetBasePath

func (o *PostContactTagURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PostContactTagURL) String

func (o *PostContactTagURL) String() string

String returns the string representation of the path with query string

func (*PostContactTagURL) StringFull

func (o *PostContactTagURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PostContactTagURL) WithBasePath

func (o *PostContactTagURL) WithBasePath(bp string) *PostContactTagURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PostContactTagUnauthorized

type PostContactTagUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

PostContactTagUnauthorized Error

swagger:response postContactTagUnauthorized

func NewPostContactTagUnauthorized

func NewPostContactTagUnauthorized() *PostContactTagUnauthorized

NewPostContactTagUnauthorized creates PostContactTagUnauthorized with default headers values

func (*PostContactTagUnauthorized) SetPayload

func (o *PostContactTagUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the post contact tag unauthorized response

func (*PostContactTagUnauthorized) WithPayload

WithPayload adds the payload to the post contact tag unauthorized response

func (*PostContactTagUnauthorized) WriteResponse

func (o *PostContactTagUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SearchUserContact

type SearchUserContact struct {
	Context *middleware.Context
	Handler SearchUserContactHandler
}
SearchUserContact swagger:route POST /search searchUserContact

search user's contact

func NewSearchUserContact

func NewSearchUserContact(ctx *middleware.Context, handler SearchUserContactHandler) *SearchUserContact

NewSearchUserContact creates a new http.Handler for the search user contact operation

func (*SearchUserContact) ServeHTTP

func (o *SearchUserContact) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SearchUserContactBadRequest

type SearchUserContactBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SearchUserContactBadRequest Error

swagger:response searchUserContactBadRequest

func NewSearchUserContactBadRequest

func NewSearchUserContactBadRequest() *SearchUserContactBadRequest

NewSearchUserContactBadRequest creates SearchUserContactBadRequest with default headers values

func (*SearchUserContactBadRequest) SetPayload

func (o *SearchUserContactBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the search user contact bad request response

func (*SearchUserContactBadRequest) WithPayload

WithPayload adds the payload to the search user contact bad request response

func (*SearchUserContactBadRequest) WriteResponse

func (o *SearchUserContactBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SearchUserContactHandler

type SearchUserContactHandler interface {
	Handle(SearchUserContactParams) middleware.Responder
}

SearchUserContactHandler interface for that can handle valid search user contact params

type SearchUserContactHandlerFunc

type SearchUserContactHandlerFunc func(SearchUserContactParams) middleware.Responder

SearchUserContactHandlerFunc turns a function with the right signature into a search user contact handler

func (SearchUserContactHandlerFunc) Handle

Handle executing the request and returning a response

type SearchUserContactInternalServerError

type SearchUserContactInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SearchUserContactInternalServerError Internal Server Error

swagger:response searchUserContactInternalServerError

func NewSearchUserContactInternalServerError

func NewSearchUserContactInternalServerError() *SearchUserContactInternalServerError

NewSearchUserContactInternalServerError creates SearchUserContactInternalServerError with default headers values

func (*SearchUserContactInternalServerError) SetPayload

SetPayload sets the payload to the search user contact internal server error response

func (*SearchUserContactInternalServerError) WithPayload

WithPayload adds the payload to the search user contact internal server error response

func (*SearchUserContactInternalServerError) WriteResponse

WriteResponse to the client

type SearchUserContactOK

type SearchUserContactOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Unified `json:"body,omitempty"`
}

SearchUserContactOK Created

swagger:response searchUserContactOK

func NewSearchUserContactOK

func NewSearchUserContactOK() *SearchUserContactOK

NewSearchUserContactOK creates SearchUserContactOK with default headers values

func (*SearchUserContactOK) SetPayload

func (o *SearchUserContactOK) SetPayload(payload []*models.Unified)

SetPayload sets the payload to the search user contact o k response

func (*SearchUserContactOK) WithPayload

func (o *SearchUserContactOK) WithPayload(payload []*models.Unified) *SearchUserContactOK

WithPayload adds the payload to the search user contact o k response

func (*SearchUserContactOK) WriteResponse

func (o *SearchUserContactOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SearchUserContactParams

type SearchUserContactParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  Required: true
	  In: body
	*/
	Body *models.SearchContactDto
}

SearchUserContactParams contains all the bound params for the search user contact operation typically these are obtained from a http.Request

swagger:parameters search-user-contact

func NewSearchUserContactParams

func NewSearchUserContactParams() SearchUserContactParams

NewSearchUserContactParams creates a new SearchUserContactParams object

There are no default values defined in the spec.

func (*SearchUserContactParams) BindRequest

func (o *SearchUserContactParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewSearchUserContactParams() beforehand.

type SearchUserContactURL

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

SearchUserContactURL generates an URL for the search user contact operation

func (*SearchUserContactURL) Build

func (o *SearchUserContactURL) Build() (*url.URL, error)

Build a url path and query string

func (*SearchUserContactURL) BuildFull

func (o *SearchUserContactURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SearchUserContactURL) Must

func (o *SearchUserContactURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SearchUserContactURL) SetBasePath

func (o *SearchUserContactURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*SearchUserContactURL) String

func (o *SearchUserContactURL) String() string

String returns the string representation of the path with query string

func (*SearchUserContactURL) StringFull

func (o *SearchUserContactURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SearchUserContactURL) WithBasePath

func (o *SearchUserContactURL) WithBasePath(bp string) *SearchUserContactURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type SearchUserContactUnauthorized

type SearchUserContactUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

SearchUserContactUnauthorized Error

swagger:response searchUserContactUnauthorized

func NewSearchUserContactUnauthorized

func NewSearchUserContactUnauthorized() *SearchUserContactUnauthorized

NewSearchUserContactUnauthorized creates SearchUserContactUnauthorized with default headers values

func (*SearchUserContactUnauthorized) SetPayload

func (o *SearchUserContactUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the search user contact unauthorized response

func (*SearchUserContactUnauthorized) WithPayload

WithPayload adds the payload to the search user contact unauthorized response

func (*SearchUserContactUnauthorized) WriteResponse

func (o *SearchUserContactUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateContactCategory

type UpdateContactCategory struct {
	Context *middleware.Context
	Handler UpdateContactCategoryHandler
}
UpdateContactCategory swagger:route PATCH /unified/{unified_id}/category updateContactCategory

update category

func NewUpdateContactCategory

func NewUpdateContactCategory(ctx *middleware.Context, handler UpdateContactCategoryHandler) *UpdateContactCategory

NewUpdateContactCategory creates a new http.Handler for the update contact category operation

func (*UpdateContactCategory) ServeHTTP

func (o *UpdateContactCategory) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateContactCategoryBadRequest

type UpdateContactCategoryBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

UpdateContactCategoryBadRequest Error

swagger:response updateContactCategoryBadRequest

func NewUpdateContactCategoryBadRequest

func NewUpdateContactCategoryBadRequest() *UpdateContactCategoryBadRequest

NewUpdateContactCategoryBadRequest creates UpdateContactCategoryBadRequest with default headers values

func (*UpdateContactCategoryBadRequest) SetPayload

func (o *UpdateContactCategoryBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the update contact category bad request response

func (*UpdateContactCategoryBadRequest) WithPayload

WithPayload adds the payload to the update contact category bad request response

func (*UpdateContactCategoryBadRequest) WriteResponse

func (o *UpdateContactCategoryBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateContactCategoryHandler

type UpdateContactCategoryHandler interface {
	Handle(UpdateContactCategoryParams) middleware.Responder
}

UpdateContactCategoryHandler interface for that can handle valid update contact category params

type UpdateContactCategoryHandlerFunc

type UpdateContactCategoryHandlerFunc func(UpdateContactCategoryParams) middleware.Responder

UpdateContactCategoryHandlerFunc turns a function with the right signature into a update contact category handler

func (UpdateContactCategoryHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateContactCategoryInternalServerError

type UpdateContactCategoryInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

UpdateContactCategoryInternalServerError Internal Server Error

swagger:response updateContactCategoryInternalServerError

func NewUpdateContactCategoryInternalServerError

func NewUpdateContactCategoryInternalServerError() *UpdateContactCategoryInternalServerError

NewUpdateContactCategoryInternalServerError creates UpdateContactCategoryInternalServerError with default headers values

func (*UpdateContactCategoryInternalServerError) SetPayload

SetPayload sets the payload to the update contact category internal server error response

func (*UpdateContactCategoryInternalServerError) WithPayload

WithPayload adds the payload to the update contact category internal server error response

func (*UpdateContactCategoryInternalServerError) WriteResponse

WriteResponse to the client

type UpdateContactCategoryNotFound

type UpdateContactCategoryNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

UpdateContactCategoryNotFound Error

swagger:response updateContactCategoryNotFound

func NewUpdateContactCategoryNotFound

func NewUpdateContactCategoryNotFound() *UpdateContactCategoryNotFound

NewUpdateContactCategoryNotFound creates UpdateContactCategoryNotFound with default headers values

func (*UpdateContactCategoryNotFound) SetPayload

func (o *UpdateContactCategoryNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the update contact category not found response

func (*UpdateContactCategoryNotFound) WithPayload

WithPayload adds the payload to the update contact category not found response

func (*UpdateContactCategoryNotFound) WriteResponse

func (o *UpdateContactCategoryNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateContactCategoryOK

type UpdateContactCategoryOK struct {

	/*
	  In: Body
	*/
	Payload *models.Unified `json:"body,omitempty"`
}

UpdateContactCategoryOK Updated

swagger:response updateContactCategoryOK

func NewUpdateContactCategoryOK

func NewUpdateContactCategoryOK() *UpdateContactCategoryOK

NewUpdateContactCategoryOK creates UpdateContactCategoryOK with default headers values

func (*UpdateContactCategoryOK) SetPayload

func (o *UpdateContactCategoryOK) SetPayload(payload *models.Unified)

SetPayload sets the payload to the update contact category o k response

func (*UpdateContactCategoryOK) WithPayload

WithPayload adds the payload to the update contact category o k response

func (*UpdateContactCategoryOK) WriteResponse

func (o *UpdateContactCategoryOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateContactCategoryParams

type UpdateContactCategoryParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: body
	*/
	Body *models.UpdateCategoryDto
	/*contact id
	  Required: true
	  In: path
	*/
	UnifiedID string
}

UpdateContactCategoryParams contains all the bound params for the update contact category operation typically these are obtained from a http.Request

swagger:parameters update-contact-category

func NewUpdateContactCategoryParams

func NewUpdateContactCategoryParams() UpdateContactCategoryParams

NewUpdateContactCategoryParams creates a new UpdateContactCategoryParams object

There are no default values defined in the spec.

func (*UpdateContactCategoryParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateContactCategoryParams() beforehand.

type UpdateContactCategoryURL

type UpdateContactCategoryURL struct {
	UnifiedID string
	// contains filtered or unexported fields
}

UpdateContactCategoryURL generates an URL for the update contact category operation

func (*UpdateContactCategoryURL) Build

func (o *UpdateContactCategoryURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateContactCategoryURL) BuildFull

func (o *UpdateContactCategoryURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateContactCategoryURL) Must

func (o *UpdateContactCategoryURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateContactCategoryURL) SetBasePath

func (o *UpdateContactCategoryURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateContactCategoryURL) String

func (o *UpdateContactCategoryURL) String() string

String returns the string representation of the path with query string

func (*UpdateContactCategoryURL) StringFull

func (o *UpdateContactCategoryURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateContactCategoryURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateContactCategoryUnauthorized

type UpdateContactCategoryUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

UpdateContactCategoryUnauthorized Error

swagger:response updateContactCategoryUnauthorized

func NewUpdateContactCategoryUnauthorized

func NewUpdateContactCategoryUnauthorized() *UpdateContactCategoryUnauthorized

NewUpdateContactCategoryUnauthorized creates UpdateContactCategoryUnauthorized with default headers values

func (*UpdateContactCategoryUnauthorized) SetPayload

func (o *UpdateContactCategoryUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the update contact category unauthorized response

func (*UpdateContactCategoryUnauthorized) WithPayload

WithPayload adds the payload to the update contact category unauthorized response

func (*UpdateContactCategoryUnauthorized) WriteResponse

func (o *UpdateContactCategoryUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateUser

type UpdateUser struct {
	Context *middleware.Context
	Handler UpdateUserHandler
}
UpdateUser swagger:route PATCH /users updateUser

update user

func NewUpdateUser

func NewUpdateUser(ctx *middleware.Context, handler UpdateUserHandler) *UpdateUser

NewUpdateUser creates a new http.Handler for the update user operation

func (*UpdateUser) ServeHTTP

func (o *UpdateUser) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateUserBadRequest

type UpdateUserBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

UpdateUserBadRequest Error

swagger:response updateUserBadRequest

func NewUpdateUserBadRequest

func NewUpdateUserBadRequest() *UpdateUserBadRequest

NewUpdateUserBadRequest creates UpdateUserBadRequest with default headers values

func (*UpdateUserBadRequest) SetPayload

func (o *UpdateUserBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the update user bad request response

func (*UpdateUserBadRequest) WithPayload

WithPayload adds the payload to the update user bad request response

func (*UpdateUserBadRequest) WriteResponse

func (o *UpdateUserBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateUserContact

type UpdateUserContact struct {
	Context *middleware.Context
	Handler UpdateUserContactHandler
}
UpdateUserContact swagger:route PATCH /unified/{unified_id} updateUserContact

update user's contact by id

func NewUpdateUserContact

func NewUpdateUserContact(ctx *middleware.Context, handler UpdateUserContactHandler) *UpdateUserContact

NewUpdateUserContact creates a new http.Handler for the update user contact operation

func (*UpdateUserContact) ServeHTTP

func (o *UpdateUserContact) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateUserContactBadRequest

type UpdateUserContactBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

UpdateUserContactBadRequest Error

swagger:response updateUserContactBadRequest

func NewUpdateUserContactBadRequest

func NewUpdateUserContactBadRequest() *UpdateUserContactBadRequest

NewUpdateUserContactBadRequest creates UpdateUserContactBadRequest with default headers values

func (*UpdateUserContactBadRequest) SetPayload

func (o *UpdateUserContactBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the update user contact bad request response

func (*UpdateUserContactBadRequest) WithPayload

WithPayload adds the payload to the update user contact bad request response

func (*UpdateUserContactBadRequest) WriteResponse

func (o *UpdateUserContactBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateUserContactHandler

type UpdateUserContactHandler interface {
	Handle(UpdateUserContactParams) middleware.Responder
}

UpdateUserContactHandler interface for that can handle valid update user contact params

type UpdateUserContactHandlerFunc

type UpdateUserContactHandlerFunc func(UpdateUserContactParams) middleware.Responder

UpdateUserContactHandlerFunc turns a function with the right signature into a update user contact handler

func (UpdateUserContactHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateUserContactInternalServerError

type UpdateUserContactInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

UpdateUserContactInternalServerError Internal Server Error

swagger:response updateUserContactInternalServerError

func NewUpdateUserContactInternalServerError

func NewUpdateUserContactInternalServerError() *UpdateUserContactInternalServerError

NewUpdateUserContactInternalServerError creates UpdateUserContactInternalServerError with default headers values

func (*UpdateUserContactInternalServerError) SetPayload

SetPayload sets the payload to the update user contact internal server error response

func (*UpdateUserContactInternalServerError) WithPayload

WithPayload adds the payload to the update user contact internal server error response

func (*UpdateUserContactInternalServerError) WriteResponse

WriteResponse to the client

type UpdateUserContactNotFound

type UpdateUserContactNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

UpdateUserContactNotFound Error

swagger:response updateUserContactNotFound

func NewUpdateUserContactNotFound

func NewUpdateUserContactNotFound() *UpdateUserContactNotFound

NewUpdateUserContactNotFound creates UpdateUserContactNotFound with default headers values

func (*UpdateUserContactNotFound) SetPayload

func (o *UpdateUserContactNotFound) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the update user contact not found response

func (*UpdateUserContactNotFound) WithPayload

WithPayload adds the payload to the update user contact not found response

func (*UpdateUserContactNotFound) WriteResponse

func (o *UpdateUserContactNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateUserContactOK

type UpdateUserContactOK struct {

	/*
	  In: Body
	*/
	Payload *models.Unified `json:"body,omitempty"`
}

UpdateUserContactOK Updated

swagger:response updateUserContactOK

func NewUpdateUserContactOK

func NewUpdateUserContactOK() *UpdateUserContactOK

NewUpdateUserContactOK creates UpdateUserContactOK with default headers values

func (*UpdateUserContactOK) SetPayload

func (o *UpdateUserContactOK) SetPayload(payload *models.Unified)

SetPayload sets the payload to the update user contact o k response

func (*UpdateUserContactOK) WithPayload

func (o *UpdateUserContactOK) WithPayload(payload *models.Unified) *UpdateUserContactOK

WithPayload adds the payload to the update user contact o k response

func (*UpdateUserContactOK) WriteResponse

func (o *UpdateUserContactOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateUserContactParams

type UpdateUserContactParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: body
	*/
	Body *models.UpdateUnifiedDto
	/*contact id
	  Required: true
	  In: path
	*/
	UnifiedID string
}

UpdateUserContactParams contains all the bound params for the update user contact operation typically these are obtained from a http.Request

swagger:parameters update-user-contact

func NewUpdateUserContactParams

func NewUpdateUserContactParams() UpdateUserContactParams

NewUpdateUserContactParams creates a new UpdateUserContactParams object

There are no default values defined in the spec.

func (*UpdateUserContactParams) BindRequest

func (o *UpdateUserContactParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateUserContactParams() beforehand.

type UpdateUserContactURL

type UpdateUserContactURL struct {
	UnifiedID string
	// contains filtered or unexported fields
}

UpdateUserContactURL generates an URL for the update user contact operation

func (*UpdateUserContactURL) Build

func (o *UpdateUserContactURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateUserContactURL) BuildFull

func (o *UpdateUserContactURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateUserContactURL) Must

func (o *UpdateUserContactURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateUserContactURL) SetBasePath

func (o *UpdateUserContactURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateUserContactURL) String

func (o *UpdateUserContactURL) String() string

String returns the string representation of the path with query string

func (*UpdateUserContactURL) StringFull

func (o *UpdateUserContactURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateUserContactURL) WithBasePath

func (o *UpdateUserContactURL) WithBasePath(bp string) *UpdateUserContactURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateUserContactUnauthorized

type UpdateUserContactUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

UpdateUserContactUnauthorized Error

swagger:response updateUserContactUnauthorized

func NewUpdateUserContactUnauthorized

func NewUpdateUserContactUnauthorized() *UpdateUserContactUnauthorized

NewUpdateUserContactUnauthorized creates UpdateUserContactUnauthorized with default headers values

func (*UpdateUserContactUnauthorized) SetPayload

func (o *UpdateUserContactUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the update user contact unauthorized response

func (*UpdateUserContactUnauthorized) WithPayload

WithPayload adds the payload to the update user contact unauthorized response

func (*UpdateUserContactUnauthorized) WriteResponse

func (o *UpdateUserContactUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateUserHandler

type UpdateUserHandler interface {
	Handle(UpdateUserParams) middleware.Responder
}

UpdateUserHandler interface for that can handle valid update user params

type UpdateUserHandlerFunc

type UpdateUserHandlerFunc func(UpdateUserParams) middleware.Responder

UpdateUserHandlerFunc turns a function with the right signature into a update user handler

func (UpdateUserHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateUserInternalServerError

type UpdateUserInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

UpdateUserInternalServerError Internal Server Error

swagger:response updateUserInternalServerError

func NewUpdateUserInternalServerError

func NewUpdateUserInternalServerError() *UpdateUserInternalServerError

NewUpdateUserInternalServerError creates UpdateUserInternalServerError with default headers values

func (*UpdateUserInternalServerError) SetPayload

func (o *UpdateUserInternalServerError) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the update user internal server error response

func (*UpdateUserInternalServerError) WithPayload

WithPayload adds the payload to the update user internal server error response

func (*UpdateUserInternalServerError) WriteResponse

func (o *UpdateUserInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateUserOK

type UpdateUserOK struct {

	/*
	  In: Body
	*/
	Payload *models.User `json:"body,omitempty"`
}

UpdateUserOK Updated

swagger:response updateUserOK

func NewUpdateUserOK

func NewUpdateUserOK() *UpdateUserOK

NewUpdateUserOK creates UpdateUserOK with default headers values

func (*UpdateUserOK) SetPayload

func (o *UpdateUserOK) SetPayload(payload *models.User)

SetPayload sets the payload to the update user o k response

func (*UpdateUserOK) WithPayload

func (o *UpdateUserOK) WithPayload(payload *models.User) *UpdateUserOK

WithPayload adds the payload to the update user o k response

func (*UpdateUserOK) WriteResponse

func (o *UpdateUserOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateUserParams

type UpdateUserParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*
	  In: body
	*/
	Body *models.User
}

UpdateUserParams contains all the bound params for the update user operation typically these are obtained from a http.Request

swagger:parameters update-user

func NewUpdateUserParams

func NewUpdateUserParams() UpdateUserParams

NewUpdateUserParams creates a new UpdateUserParams object

There are no default values defined in the spec.

func (*UpdateUserParams) BindRequest

func (o *UpdateUserParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateUserParams() beforehand.

type UpdateUserURL

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

UpdateUserURL generates an URL for the update user operation

func (*UpdateUserURL) Build

func (o *UpdateUserURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateUserURL) BuildFull

func (o *UpdateUserURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateUserURL) Must

func (o *UpdateUserURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateUserURL) SetBasePath

func (o *UpdateUserURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateUserURL) String

func (o *UpdateUserURL) String() string

String returns the string representation of the path with query string

func (*UpdateUserURL) StringFull

func (o *UpdateUserURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateUserURL) WithBasePath

func (o *UpdateUserURL) WithBasePath(bp string) *UpdateUserURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateUserUnauthorized

type UpdateUserUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

UpdateUserUnauthorized Error

swagger:response updateUserUnauthorized

func NewUpdateUserUnauthorized

func NewUpdateUserUnauthorized() *UpdateUserUnauthorized

NewUpdateUserUnauthorized creates UpdateUserUnauthorized with default headers values

func (*UpdateUserUnauthorized) SetPayload

func (o *UpdateUserUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the update user unauthorized response

func (*UpdateUserUnauthorized) WithPayload

WithPayload adds the payload to the update user unauthorized response

func (*UpdateUserUnauthorized) WriteResponse

func (o *UpdateUserUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UploadContactsCsv

type UploadContactsCsv struct {
	Context *middleware.Context
	Handler UploadContactsCsvHandler
}
UploadContactsCsv swagger:route POST /contacts/upload-csv uploadContactsCsv

upload contacts csv

func NewUploadContactsCsv

func NewUploadContactsCsv(ctx *middleware.Context, handler UploadContactsCsvHandler) *UploadContactsCsv

NewUploadContactsCsv creates a new http.Handler for the upload contacts csv operation

func (*UploadContactsCsv) ServeHTTP

func (o *UploadContactsCsv) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UploadContactsCsvBadRequest

type UploadContactsCsvBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

UploadContactsCsvBadRequest Error

swagger:response uploadContactsCsvBadRequest

func NewUploadContactsCsvBadRequest

func NewUploadContactsCsvBadRequest() *UploadContactsCsvBadRequest

NewUploadContactsCsvBadRequest creates UploadContactsCsvBadRequest with default headers values

func (*UploadContactsCsvBadRequest) SetPayload

func (o *UploadContactsCsvBadRequest) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the upload contacts csv bad request response

func (*UploadContactsCsvBadRequest) WithPayload

WithPayload adds the payload to the upload contacts csv bad request response

func (*UploadContactsCsvBadRequest) WriteResponse

func (o *UploadContactsCsvBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UploadContactsCsvHandler

type UploadContactsCsvHandler interface {
	Handle(UploadContactsCsvParams) middleware.Responder
}

UploadContactsCsvHandler interface for that can handle valid upload contacts csv params

type UploadContactsCsvHandlerFunc

type UploadContactsCsvHandlerFunc func(UploadContactsCsvParams) middleware.Responder

UploadContactsCsvHandlerFunc turns a function with the right signature into a upload contacts csv handler

func (UploadContactsCsvHandlerFunc) Handle

Handle executing the request and returning a response

type UploadContactsCsvInternalServerError

type UploadContactsCsvInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

UploadContactsCsvInternalServerError Internal Server Error

swagger:response uploadContactsCsvInternalServerError

func NewUploadContactsCsvInternalServerError

func NewUploadContactsCsvInternalServerError() *UploadContactsCsvInternalServerError

NewUploadContactsCsvInternalServerError creates UploadContactsCsvInternalServerError with default headers values

func (*UploadContactsCsvInternalServerError) SetPayload

SetPayload sets the payload to the upload contacts csv internal server error response

func (*UploadContactsCsvInternalServerError) WithPayload

WithPayload adds the payload to the upload contacts csv internal server error response

func (*UploadContactsCsvInternalServerError) WriteResponse

WriteResponse to the client

type UploadContactsCsvOK

type UploadContactsCsvOK struct {

	/*
	  In: Body
	*/
	Payload *models.Message `json:"body,omitempty"`
}

UploadContactsCsvOK Uploaded

swagger:response uploadContactsCsvOK

func NewUploadContactsCsvOK

func NewUploadContactsCsvOK() *UploadContactsCsvOK

NewUploadContactsCsvOK creates UploadContactsCsvOK with default headers values

func (*UploadContactsCsvOK) SetPayload

func (o *UploadContactsCsvOK) SetPayload(payload *models.Message)

SetPayload sets the payload to the upload contacts csv o k response

func (*UploadContactsCsvOK) WithPayload

func (o *UploadContactsCsvOK) WithPayload(payload *models.Message) *UploadContactsCsvOK

WithPayload adds the payload to the upload contacts csv o k response

func (*UploadContactsCsvOK) WriteResponse

func (o *UploadContactsCsvOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UploadContactsCsvParams

type UploadContactsCsvParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	XApigatewayAPIUserinfo string
	/*The uploaded file data
	  Required: true
	  In: formData
	*/
	File io.ReadCloser
}

UploadContactsCsvParams contains all the bound params for the upload contacts csv operation typically these are obtained from a http.Request

swagger:parameters upload-contacts-csv

func NewUploadContactsCsvParams

func NewUploadContactsCsvParams() UploadContactsCsvParams

NewUploadContactsCsvParams creates a new UploadContactsCsvParams object

There are no default values defined in the spec.

func (*UploadContactsCsvParams) BindRequest

func (o *UploadContactsCsvParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUploadContactsCsvParams() beforehand.

type UploadContactsCsvURL

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

UploadContactsCsvURL generates an URL for the upload contacts csv operation

func (*UploadContactsCsvURL) Build

func (o *UploadContactsCsvURL) Build() (*url.URL, error)

Build a url path and query string

func (*UploadContactsCsvURL) BuildFull

func (o *UploadContactsCsvURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UploadContactsCsvURL) Must

func (o *UploadContactsCsvURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UploadContactsCsvURL) SetBasePath

func (o *UploadContactsCsvURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UploadContactsCsvURL) String

func (o *UploadContactsCsvURL) String() string

String returns the string representation of the path with query string

func (*UploadContactsCsvURL) StringFull

func (o *UploadContactsCsvURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UploadContactsCsvURL) WithBasePath

func (o *UploadContactsCsvURL) WithBasePath(bp string) *UploadContactsCsvURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UploadContactsCsvUnauthorized

type UploadContactsCsvUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

UploadContactsCsvUnauthorized Error

swagger:response uploadContactsCsvUnauthorized

func NewUploadContactsCsvUnauthorized

func NewUploadContactsCsvUnauthorized() *UploadContactsCsvUnauthorized

NewUploadContactsCsvUnauthorized creates UploadContactsCsvUnauthorized with default headers values

func (*UploadContactsCsvUnauthorized) SetPayload

func (o *UploadContactsCsvUnauthorized) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the upload contacts csv unauthorized response

func (*UploadContactsCsvUnauthorized) WithPayload

WithPayload adds the payload to the upload contacts csv unauthorized response

func (*UploadContactsCsvUnauthorized) WriteResponse

func (o *UploadContactsCsvUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Source Files

Jump to

Keyboard shortcuts

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