Documentation ¶
Index ¶
- Constants
- Variables
- type ApplyLinkSuggestion
- type ApplyLinkSuggestionBadRequest
- func (o *ApplyLinkSuggestionBadRequest) SetPayload(payload *models.ErrorResponse)
- func (o *ApplyLinkSuggestionBadRequest) WithPayload(payload *models.ErrorResponse) *ApplyLinkSuggestionBadRequest
- func (o *ApplyLinkSuggestionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApplyLinkSuggestionBody
- func (o *ApplyLinkSuggestionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ApplyLinkSuggestionBody) MarshalBinary() ([]byte, error)
- func (o *ApplyLinkSuggestionBody) UnmarshalBinary(b []byte) error
- func (o *ApplyLinkSuggestionBody) Validate(formats strfmt.Registry) error
- type ApplyLinkSuggestionHandler
- type ApplyLinkSuggestionHandlerFunc
- type ApplyLinkSuggestionInternalServerError
- func (o *ApplyLinkSuggestionInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *ApplyLinkSuggestionInternalServerError) WithPayload(payload *models.ErrorResponse) *ApplyLinkSuggestionInternalServerError
- func (o *ApplyLinkSuggestionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApplyLinkSuggestionOK
- type ApplyLinkSuggestionParams
- type ApplyLinkSuggestionURL
- func (o *ApplyLinkSuggestionURL) Build() (*url.URL, error)
- func (o *ApplyLinkSuggestionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ApplyLinkSuggestionURL) Must(u *url.URL, err error) *url.URL
- func (o *ApplyLinkSuggestionURL) SetBasePath(bp string)
- func (o *ApplyLinkSuggestionURL) String() string
- func (o *ApplyLinkSuggestionURL) StringFull(scheme, host string) string
- func (o *ApplyLinkSuggestionURL) WithBasePath(bp string) *ApplyLinkSuggestionURL
- type ApplyLinkSuggestionUnauthorized
- func (o *ApplyLinkSuggestionUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *ApplyLinkSuggestionUnauthorized) WithPayload(payload *models.ErrorResponse) *ApplyLinkSuggestionUnauthorized
- func (o *ApplyLinkSuggestionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ContactsAPI
- func (o *ContactsAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)
- func (o *ContactsAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
- func (o *ContactsAPI) Authorizer() runtime.Authorizer
- func (o *ContactsAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
- func (o *ContactsAPI) Context() *middleware.Context
- func (o *ContactsAPI) DefaultConsumes() string
- func (o *ContactsAPI) DefaultProduces() string
- func (o *ContactsAPI) Formats() strfmt.Registry
- func (o *ContactsAPI) HandlerFor(method, path string) (http.Handler, bool)
- func (o *ContactsAPI) Init()
- func (o *ContactsAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
- func (o *ContactsAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
- func (o *ContactsAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
- func (o *ContactsAPI) RegisterProducer(mediaType string, producer runtime.Producer)
- func (o *ContactsAPI) Serve(builder middleware.Builder) http.Handler
- func (o *ContactsAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
- func (o *ContactsAPI) SetDefaultConsumes(mediaType string)
- func (o *ContactsAPI) SetDefaultProduces(mediaType string)
- func (o *ContactsAPI) SetSpec(spec *loads.Document)
- func (o *ContactsAPI) UseRedoc()
- func (o *ContactsAPI) UseSwaggerUI()
- func (o *ContactsAPI) Validate() error
- type CreateUser
- type CreateUserBadRequest
- type CreateUserContact
- type CreateUserContactBadRequest
- type CreateUserContactHandler
- type CreateUserContactHandlerFunc
- type CreateUserContactInternalServerError
- func (o *CreateUserContactInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *CreateUserContactInternalServerError) WithPayload(payload *models.ErrorResponse) *CreateUserContactInternalServerError
- func (o *CreateUserContactInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateUserContactOK
- type CreateUserContactParams
- type CreateUserContactURL
- func (o *CreateUserContactURL) Build() (*url.URL, error)
- func (o *CreateUserContactURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateUserContactURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateUserContactURL) SetBasePath(bp string)
- func (o *CreateUserContactURL) String() string
- func (o *CreateUserContactURL) StringFull(scheme, host string) string
- func (o *CreateUserContactURL) WithBasePath(bp string) *CreateUserContactURL
- type CreateUserContactUnauthorized
- func (o *CreateUserContactUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *CreateUserContactUnauthorized) WithPayload(payload *models.ErrorResponse) *CreateUserContactUnauthorized
- func (o *CreateUserContactUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateUserHandler
- type CreateUserHandlerFunc
- type CreateUserInternalServerError
- func (o *CreateUserInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *CreateUserInternalServerError) WithPayload(payload *models.ErrorResponse) *CreateUserInternalServerError
- func (o *CreateUserInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateUserOK
- type CreateUserParams
- type CreateUserURL
- func (o *CreateUserURL) Build() (*url.URL, error)
- func (o *CreateUserURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateUserURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateUserURL) SetBasePath(bp string)
- func (o *CreateUserURL) String() string
- func (o *CreateUserURL) StringFull(scheme, host string) string
- func (o *CreateUserURL) WithBasePath(bp string) *CreateUserURL
- type CreateUserUnauthorized
- type DeleteContactNote
- type DeleteContactNoteBadRequest
- type DeleteContactNoteHandler
- type DeleteContactNoteHandlerFunc
- type DeleteContactNoteInternalServerError
- func (o *DeleteContactNoteInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *DeleteContactNoteInternalServerError) WithPayload(payload *models.ErrorResponse) *DeleteContactNoteInternalServerError
- func (o *DeleteContactNoteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteContactNoteOK
- type DeleteContactNoteParams
- type DeleteContactNoteURL
- func (o *DeleteContactNoteURL) Build() (*url.URL, error)
- func (o *DeleteContactNoteURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteContactNoteURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteContactNoteURL) SetBasePath(bp string)
- func (o *DeleteContactNoteURL) String() string
- func (o *DeleteContactNoteURL) StringFull(scheme, host string) string
- func (o *DeleteContactNoteURL) WithBasePath(bp string) *DeleteContactNoteURL
- type DeleteContactNoteUnauthorized
- func (o *DeleteContactNoteUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *DeleteContactNoteUnauthorized) WithPayload(payload *models.ErrorResponse) *DeleteContactNoteUnauthorized
- func (o *DeleteContactNoteUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteContactSource
- type DeleteContactSourceBadRequest
- func (o *DeleteContactSourceBadRequest) SetPayload(payload *models.ErrorResponse)
- func (o *DeleteContactSourceBadRequest) WithPayload(payload *models.ErrorResponse) *DeleteContactSourceBadRequest
- func (o *DeleteContactSourceBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteContactSourceBody
- func (o *DeleteContactSourceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteContactSourceBody) MarshalBinary() ([]byte, error)
- func (o *DeleteContactSourceBody) UnmarshalBinary(b []byte) error
- func (o *DeleteContactSourceBody) Validate(formats strfmt.Registry) error
- type DeleteContactSourceHandler
- type DeleteContactSourceHandlerFunc
- type DeleteContactSourceInternalServerError
- func (o *DeleteContactSourceInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *DeleteContactSourceInternalServerError) WithPayload(payload *models.ErrorResponse) *DeleteContactSourceInternalServerError
- func (o *DeleteContactSourceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteContactSourceOK
- type DeleteContactSourceParams
- type DeleteContactSourceURL
- func (o *DeleteContactSourceURL) Build() (*url.URL, error)
- func (o *DeleteContactSourceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteContactSourceURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteContactSourceURL) SetBasePath(bp string)
- func (o *DeleteContactSourceURL) String() string
- func (o *DeleteContactSourceURL) StringFull(scheme, host string) string
- func (o *DeleteContactSourceURL) WithBasePath(bp string) *DeleteContactSourceURL
- type DeleteContactSourceUnauthorized
- func (o *DeleteContactSourceUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *DeleteContactSourceUnauthorized) WithPayload(payload *models.ErrorResponse) *DeleteContactSourceUnauthorized
- func (o *DeleteContactSourceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteContactTag
- type DeleteContactTagBadRequest
- type DeleteContactTagHandler
- type DeleteContactTagHandlerFunc
- type DeleteContactTagInternalServerError
- func (o *DeleteContactTagInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *DeleteContactTagInternalServerError) WithPayload(payload *models.ErrorResponse) *DeleteContactTagInternalServerError
- func (o *DeleteContactTagInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteContactTagOK
- type DeleteContactTagParams
- type DeleteContactTagURL
- func (o *DeleteContactTagURL) Build() (*url.URL, error)
- func (o *DeleteContactTagURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteContactTagURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteContactTagURL) SetBasePath(bp string)
- func (o *DeleteContactTagURL) String() string
- func (o *DeleteContactTagURL) StringFull(scheme, host string) string
- func (o *DeleteContactTagURL) WithBasePath(bp string) *DeleteContactTagURL
- type DeleteContactTagUnauthorized
- type DeleteUser
- type DeleteUserBadRequest
- type DeleteUserContact
- type DeleteUserContactBadRequest
- type DeleteUserContactHandler
- type DeleteUserContactHandlerFunc
- type DeleteUserContactInternalServerError
- func (o *DeleteUserContactInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *DeleteUserContactInternalServerError) WithPayload(payload *models.ErrorResponse) *DeleteUserContactInternalServerError
- func (o *DeleteUserContactInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteUserContactOK
- type DeleteUserContactParams
- type DeleteUserContactURL
- func (o *DeleteUserContactURL) Build() (*url.URL, error)
- func (o *DeleteUserContactURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteUserContactURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteUserContactURL) SetBasePath(bp string)
- func (o *DeleteUserContactURL) String() string
- func (o *DeleteUserContactURL) StringFull(scheme, host string) string
- func (o *DeleteUserContactURL) WithBasePath(bp string) *DeleteUserContactURL
- type DeleteUserContactUnauthorized
- func (o *DeleteUserContactUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *DeleteUserContactUnauthorized) WithPayload(payload *models.ErrorResponse) *DeleteUserContactUnauthorized
- func (o *DeleteUserContactUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteUserHandler
- type DeleteUserHandlerFunc
- type DeleteUserInternalServerError
- func (o *DeleteUserInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *DeleteUserInternalServerError) WithPayload(payload *models.ErrorResponse) *DeleteUserInternalServerError
- func (o *DeleteUserInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteUserOK
- type DeleteUserParams
- type DeleteUserURL
- func (o *DeleteUserURL) Build() (*url.URL, error)
- func (o *DeleteUserURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteUserURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteUserURL) SetBasePath(bp string)
- func (o *DeleteUserURL) String() string
- func (o *DeleteUserURL) StringFull(scheme, host string) string
- func (o *DeleteUserURL) WithBasePath(bp string) *DeleteUserURL
- type DeleteUserUnauthorized
- type GetContactNotes
- type GetContactNotesBadRequest
- type GetContactNotesHandler
- type GetContactNotesHandlerFunc
- type GetContactNotesInternalServerError
- func (o *GetContactNotesInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *GetContactNotesInternalServerError) WithPayload(payload *models.ErrorResponse) *GetContactNotesInternalServerError
- func (o *GetContactNotesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetContactNotesOK
- type GetContactNotesParams
- type GetContactNotesURL
- func (o *GetContactNotesURL) Build() (*url.URL, error)
- func (o *GetContactNotesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetContactNotesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetContactNotesURL) SetBasePath(bp string)
- func (o *GetContactNotesURL) String() string
- func (o *GetContactNotesURL) StringFull(scheme, host string) string
- func (o *GetContactNotesURL) WithBasePath(bp string) *GetContactNotesURL
- type GetContactNotesUnauthorized
- type GetContactSources
- type GetContactSourcesBadRequest
- type GetContactSourcesHandler
- type GetContactSourcesHandlerFunc
- type GetContactSourcesInternalServerError
- func (o *GetContactSourcesInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *GetContactSourcesInternalServerError) WithPayload(payload *models.ErrorResponse) *GetContactSourcesInternalServerError
- func (o *GetContactSourcesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetContactSourcesOK
- type GetContactSourcesParams
- type GetContactSourcesURL
- func (o *GetContactSourcesURL) Build() (*url.URL, error)
- func (o *GetContactSourcesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetContactSourcesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetContactSourcesURL) SetBasePath(bp string)
- func (o *GetContactSourcesURL) String() string
- func (o *GetContactSourcesURL) StringFull(scheme, host string) string
- func (o *GetContactSourcesURL) WithBasePath(bp string) *GetContactSourcesURL
- type GetContactSourcesUnauthorized
- func (o *GetContactSourcesUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *GetContactSourcesUnauthorized) WithPayload(payload *models.ErrorResponse) *GetContactSourcesUnauthorized
- func (o *GetContactSourcesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetContactTags
- type GetContactTagsBadRequest
- type GetContactTagsHandler
- type GetContactTagsHandlerFunc
- type GetContactTagsInternalServerError
- func (o *GetContactTagsInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *GetContactTagsInternalServerError) WithPayload(payload *models.ErrorResponse) *GetContactTagsInternalServerError
- func (o *GetContactTagsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetContactTagsOK
- type GetContactTagsParams
- type GetContactTagsURL
- func (o *GetContactTagsURL) Build() (*url.URL, error)
- func (o *GetContactTagsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetContactTagsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetContactTagsURL) SetBasePath(bp string)
- func (o *GetContactTagsURL) String() string
- func (o *GetContactTagsURL) StringFull(scheme, host string) string
- func (o *GetContactTagsURL) WithBasePath(bp string) *GetContactTagsURL
- type GetContactTagsUnauthorized
- type GetLinkSuggestions
- type GetLinkSuggestionsBadRequest
- type GetLinkSuggestionsHandler
- type GetLinkSuggestionsHandlerFunc
- type GetLinkSuggestionsInternalServerError
- func (o *GetLinkSuggestionsInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *GetLinkSuggestionsInternalServerError) WithPayload(payload *models.ErrorResponse) *GetLinkSuggestionsInternalServerError
- func (o *GetLinkSuggestionsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetLinkSuggestionsOK
- type GetLinkSuggestionsParams
- type GetLinkSuggestionsURL
- func (o *GetLinkSuggestionsURL) Build() (*url.URL, error)
- func (o *GetLinkSuggestionsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetLinkSuggestionsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetLinkSuggestionsURL) SetBasePath(bp string)
- func (o *GetLinkSuggestionsURL) String() string
- func (o *GetLinkSuggestionsURL) StringFull(scheme, host string) string
- func (o *GetLinkSuggestionsURL) WithBasePath(bp string) *GetLinkSuggestionsURL
- type GetLinkSuggestionsUnauthorized
- func (o *GetLinkSuggestionsUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *GetLinkSuggestionsUnauthorized) WithPayload(payload *models.ErrorResponse) *GetLinkSuggestionsUnauthorized
- func (o *GetLinkSuggestionsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPendingFollowUps
- type GetPendingFollowUpsBadRequest
- func (o *GetPendingFollowUpsBadRequest) SetPayload(payload *models.ErrorResponse)
- func (o *GetPendingFollowUpsBadRequest) WithPayload(payload *models.ErrorResponse) *GetPendingFollowUpsBadRequest
- func (o *GetPendingFollowUpsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPendingFollowUpsHandler
- type GetPendingFollowUpsHandlerFunc
- type GetPendingFollowUpsInternalServerError
- func (o *GetPendingFollowUpsInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *GetPendingFollowUpsInternalServerError) WithPayload(payload *models.ErrorResponse) *GetPendingFollowUpsInternalServerError
- func (o *GetPendingFollowUpsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPendingFollowUpsOK
- type GetPendingFollowUpsParams
- type GetPendingFollowUpsURL
- func (o *GetPendingFollowUpsURL) Build() (*url.URL, error)
- func (o *GetPendingFollowUpsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPendingFollowUpsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPendingFollowUpsURL) SetBasePath(bp string)
- func (o *GetPendingFollowUpsURL) String() string
- func (o *GetPendingFollowUpsURL) StringFull(scheme, host string) string
- func (o *GetPendingFollowUpsURL) WithBasePath(bp string) *GetPendingFollowUpsURL
- type GetPendingFollowUpsUnauthorized
- func (o *GetPendingFollowUpsUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *GetPendingFollowUpsUnauthorized) WithPayload(payload *models.ErrorResponse) *GetPendingFollowUpsUnauthorized
- func (o *GetPendingFollowUpsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRecentContacts
- type GetRecentContactsBadRequest
- type GetRecentContactsHandler
- type GetRecentContactsHandlerFunc
- type GetRecentContactsInternalServerError
- func (o *GetRecentContactsInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *GetRecentContactsInternalServerError) WithPayload(payload *models.ErrorResponse) *GetRecentContactsInternalServerError
- func (o *GetRecentContactsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRecentContactsOK
- type GetRecentContactsParams
- type GetRecentContactsURL
- func (o *GetRecentContactsURL) Build() (*url.URL, error)
- func (o *GetRecentContactsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRecentContactsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRecentContactsURL) SetBasePath(bp string)
- func (o *GetRecentContactsURL) String() string
- func (o *GetRecentContactsURL) StringFull(scheme, host string) string
- func (o *GetRecentContactsURL) WithBasePath(bp string) *GetRecentContactsURL
- type GetRecentContactsUnauthorized
- func (o *GetRecentContactsUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *GetRecentContactsUnauthorized) WithPayload(payload *models.ErrorResponse) *GetRecentContactsUnauthorized
- func (o *GetRecentContactsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetUnifiedContacts
- type GetUnifiedContactsBadRequest
- type GetUnifiedContactsHandler
- type GetUnifiedContactsHandlerFunc
- type GetUnifiedContactsInternalServerError
- func (o *GetUnifiedContactsInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *GetUnifiedContactsInternalServerError) WithPayload(payload *models.ErrorResponse) *GetUnifiedContactsInternalServerError
- func (o *GetUnifiedContactsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetUnifiedContactsOK
- type GetUnifiedContactsParams
- type GetUnifiedContactsURL
- func (o *GetUnifiedContactsURL) Build() (*url.URL, error)
- func (o *GetUnifiedContactsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetUnifiedContactsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetUnifiedContactsURL) SetBasePath(bp string)
- func (o *GetUnifiedContactsURL) String() string
- func (o *GetUnifiedContactsURL) StringFull(scheme, host string) string
- func (o *GetUnifiedContactsURL) WithBasePath(bp string) *GetUnifiedContactsURL
- type GetUnifiedContactsUnauthorized
- func (o *GetUnifiedContactsUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *GetUnifiedContactsUnauthorized) WithPayload(payload *models.ErrorResponse) *GetUnifiedContactsUnauthorized
- func (o *GetUnifiedContactsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetUser
- type GetUserBadRequest
- type GetUserContactByID
- type GetUserContactByIDBadRequest
- type GetUserContactByIDHandler
- type GetUserContactByIDHandlerFunc
- type GetUserContactByIDInternalServerError
- func (o *GetUserContactByIDInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *GetUserContactByIDInternalServerError) WithPayload(payload *models.ErrorResponse) *GetUserContactByIDInternalServerError
- func (o *GetUserContactByIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetUserContactByIDNotFound
- type GetUserContactByIDOK
- type GetUserContactByIDParams
- type GetUserContactByIDURL
- func (o *GetUserContactByIDURL) Build() (*url.URL, error)
- func (o *GetUserContactByIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetUserContactByIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetUserContactByIDURL) SetBasePath(bp string)
- func (o *GetUserContactByIDURL) String() string
- func (o *GetUserContactByIDURL) StringFull(scheme, host string) string
- func (o *GetUserContactByIDURL) WithBasePath(bp string) *GetUserContactByIDURL
- type GetUserContactByIDUnauthorized
- func (o *GetUserContactByIDUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *GetUserContactByIDUnauthorized) WithPayload(payload *models.ErrorResponse) *GetUserContactByIDUnauthorized
- func (o *GetUserContactByIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetUserHandler
- type GetUserHandlerFunc
- type GetUserInternalServerError
- type GetUserOK
- type GetUserParams
- type GetUserURL
- func (o *GetUserURL) Build() (*url.URL, error)
- func (o *GetUserURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetUserURL) Must(u *url.URL, err error) *url.URL
- func (o *GetUserURL) SetBasePath(bp string)
- func (o *GetUserURL) String() string
- func (o *GetUserURL) StringFull(scheme, host string) string
- func (o *GetUserURL) WithBasePath(bp string) *GetUserURL
- type GetUserUnauthorized
- type InitGoogleContactSource
- type InitGoogleContactSourceBadRequest
- func (o *InitGoogleContactSourceBadRequest) SetPayload(payload *models.ErrorResponse)
- func (o *InitGoogleContactSourceBadRequest) WithPayload(payload *models.ErrorResponse) *InitGoogleContactSourceBadRequest
- func (o *InitGoogleContactSourceBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type InitGoogleContactSourceHandler
- type InitGoogleContactSourceHandlerFunc
- type InitGoogleContactSourceInternalServerError
- func (o *InitGoogleContactSourceInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *InitGoogleContactSourceInternalServerError) WithPayload(payload *models.ErrorResponse) *InitGoogleContactSourceInternalServerError
- func (o *InitGoogleContactSourceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type InitGoogleContactSourceNotFound
- func (o *InitGoogleContactSourceNotFound) SetPayload(payload *models.ErrorResponse)
- func (o *InitGoogleContactSourceNotFound) WithPayload(payload *models.ErrorResponse) *InitGoogleContactSourceNotFound
- func (o *InitGoogleContactSourceNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type InitGoogleContactSourceOK
- type InitGoogleContactSourceParams
- type InitGoogleContactSourceURL
- func (o *InitGoogleContactSourceURL) Build() (*url.URL, error)
- func (o *InitGoogleContactSourceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *InitGoogleContactSourceURL) Must(u *url.URL, err error) *url.URL
- func (o *InitGoogleContactSourceURL) SetBasePath(bp string)
- func (o *InitGoogleContactSourceURL) String() string
- func (o *InitGoogleContactSourceURL) StringFull(scheme, host string) string
- func (o *InitGoogleContactSourceURL) WithBasePath(bp string) *InitGoogleContactSourceURL
- type InitGoogleContactSourceUnauthorized
- func (o *InitGoogleContactSourceUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *InitGoogleContactSourceUnauthorized) WithPayload(payload *models.ErrorResponse) *InitGoogleContactSourceUnauthorized
- func (o *InitGoogleContactSourceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type LinkGoogleContactSource
- type LinkGoogleContactSourceBadRequest
- func (o *LinkGoogleContactSourceBadRequest) SetPayload(payload *models.ErrorResponse)
- func (o *LinkGoogleContactSourceBadRequest) WithPayload(payload *models.ErrorResponse) *LinkGoogleContactSourceBadRequest
- func (o *LinkGoogleContactSourceBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type LinkGoogleContactSourceBody
- func (o *LinkGoogleContactSourceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *LinkGoogleContactSourceBody) MarshalBinary() ([]byte, error)
- func (o *LinkGoogleContactSourceBody) UnmarshalBinary(b []byte) error
- func (o *LinkGoogleContactSourceBody) Validate(formats strfmt.Registry) error
- type LinkGoogleContactSourceForbidden
- func (o *LinkGoogleContactSourceForbidden) SetPayload(payload *models.ErrorResponse)
- func (o *LinkGoogleContactSourceForbidden) WithPayload(payload *models.ErrorResponse) *LinkGoogleContactSourceForbidden
- func (o *LinkGoogleContactSourceForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type LinkGoogleContactSourceHandler
- type LinkGoogleContactSourceHandlerFunc
- type LinkGoogleContactSourceInternalServerError
- func (o *LinkGoogleContactSourceInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *LinkGoogleContactSourceInternalServerError) WithPayload(payload *models.ErrorResponse) *LinkGoogleContactSourceInternalServerError
- func (o *LinkGoogleContactSourceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type LinkGoogleContactSourceOK
- type LinkGoogleContactSourceParams
- type LinkGoogleContactSourceURL
- func (o *LinkGoogleContactSourceURL) Build() (*url.URL, error)
- func (o *LinkGoogleContactSourceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *LinkGoogleContactSourceURL) Must(u *url.URL, err error) *url.URL
- func (o *LinkGoogleContactSourceURL) SetBasePath(bp string)
- func (o *LinkGoogleContactSourceURL) String() string
- func (o *LinkGoogleContactSourceURL) StringFull(scheme, host string) string
- func (o *LinkGoogleContactSourceURL) WithBasePath(bp string) *LinkGoogleContactSourceURL
- type LinkGoogleContactSourceUnauthorized
- func (o *LinkGoogleContactSourceUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *LinkGoogleContactSourceUnauthorized) WithPayload(payload *models.ErrorResponse) *LinkGoogleContactSourceUnauthorized
- func (o *LinkGoogleContactSourceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchContactNote
- type PatchContactNoteBadRequest
- type PatchContactNoteHandler
- type PatchContactNoteHandlerFunc
- type PatchContactNoteInternalServerError
- func (o *PatchContactNoteInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *PatchContactNoteInternalServerError) WithPayload(payload *models.ErrorResponse) *PatchContactNoteInternalServerError
- func (o *PatchContactNoteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchContactNoteNotFound
- type PatchContactNoteOK
- type PatchContactNoteParams
- type PatchContactNoteURL
- func (o *PatchContactNoteURL) Build() (*url.URL, error)
- func (o *PatchContactNoteURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchContactNoteURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchContactNoteURL) SetBasePath(bp string)
- func (o *PatchContactNoteURL) String() string
- func (o *PatchContactNoteURL) StringFull(scheme, host string) string
- func (o *PatchContactNoteURL) WithBasePath(bp string) *PatchContactNoteURL
- type PatchContactNoteUnauthorized
- type PatchContactTag
- type PatchContactTagBadRequest
- type PatchContactTagHandler
- type PatchContactTagHandlerFunc
- type PatchContactTagInternalServerError
- func (o *PatchContactTagInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *PatchContactTagInternalServerError) WithPayload(payload *models.ErrorResponse) *PatchContactTagInternalServerError
- func (o *PatchContactTagInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchContactTagNotFound
- type PatchContactTagOK
- type PatchContactTagParams
- type PatchContactTagURL
- func (o *PatchContactTagURL) Build() (*url.URL, error)
- func (o *PatchContactTagURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchContactTagURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchContactTagURL) SetBasePath(bp string)
- func (o *PatchContactTagURL) String() string
- func (o *PatchContactTagURL) StringFull(scheme, host string) string
- func (o *PatchContactTagURL) WithBasePath(bp string) *PatchContactTagURL
- type PatchContactTagUnauthorized
- type PostContactNote
- type PostContactNoteBadRequest
- type PostContactNoteHandler
- type PostContactNoteHandlerFunc
- type PostContactNoteInternalServerError
- func (o *PostContactNoteInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *PostContactNoteInternalServerError) WithPayload(payload *models.ErrorResponse) *PostContactNoteInternalServerError
- func (o *PostContactNoteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostContactNoteOK
- type PostContactNoteParams
- type PostContactNoteURL
- func (o *PostContactNoteURL) Build() (*url.URL, error)
- func (o *PostContactNoteURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostContactNoteURL) Must(u *url.URL, err error) *url.URL
- func (o *PostContactNoteURL) SetBasePath(bp string)
- func (o *PostContactNoteURL) String() string
- func (o *PostContactNoteURL) StringFull(scheme, host string) string
- func (o *PostContactNoteURL) WithBasePath(bp string) *PostContactNoteURL
- type PostContactNoteUnauthorized
- type PostContactTag
- type PostContactTagBadRequest
- type PostContactTagHandler
- type PostContactTagHandlerFunc
- type PostContactTagInternalServerError
- func (o *PostContactTagInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *PostContactTagInternalServerError) WithPayload(payload *models.ErrorResponse) *PostContactTagInternalServerError
- func (o *PostContactTagInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostContactTagOK
- type PostContactTagParams
- type PostContactTagURL
- func (o *PostContactTagURL) Build() (*url.URL, error)
- func (o *PostContactTagURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostContactTagURL) Must(u *url.URL, err error) *url.URL
- func (o *PostContactTagURL) SetBasePath(bp string)
- func (o *PostContactTagURL) String() string
- func (o *PostContactTagURL) StringFull(scheme, host string) string
- func (o *PostContactTagURL) WithBasePath(bp string) *PostContactTagURL
- type PostContactTagUnauthorized
- type SearchUserContact
- type SearchUserContactBadRequest
- type SearchUserContactHandler
- type SearchUserContactHandlerFunc
- type SearchUserContactInternalServerError
- func (o *SearchUserContactInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *SearchUserContactInternalServerError) WithPayload(payload *models.ErrorResponse) *SearchUserContactInternalServerError
- func (o *SearchUserContactInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SearchUserContactOK
- type SearchUserContactParams
- type SearchUserContactURL
- func (o *SearchUserContactURL) Build() (*url.URL, error)
- func (o *SearchUserContactURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SearchUserContactURL) Must(u *url.URL, err error) *url.URL
- func (o *SearchUserContactURL) SetBasePath(bp string)
- func (o *SearchUserContactURL) String() string
- func (o *SearchUserContactURL) StringFull(scheme, host string) string
- func (o *SearchUserContactURL) WithBasePath(bp string) *SearchUserContactURL
- type SearchUserContactUnauthorized
- func (o *SearchUserContactUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *SearchUserContactUnauthorized) WithPayload(payload *models.ErrorResponse) *SearchUserContactUnauthorized
- func (o *SearchUserContactUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateContactCategory
- type UpdateContactCategoryBadRequest
- func (o *UpdateContactCategoryBadRequest) SetPayload(payload *models.ErrorResponse)
- func (o *UpdateContactCategoryBadRequest) WithPayload(payload *models.ErrorResponse) *UpdateContactCategoryBadRequest
- func (o *UpdateContactCategoryBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateContactCategoryHandler
- type UpdateContactCategoryHandlerFunc
- type UpdateContactCategoryInternalServerError
- func (o *UpdateContactCategoryInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *UpdateContactCategoryInternalServerError) WithPayload(payload *models.ErrorResponse) *UpdateContactCategoryInternalServerError
- func (o *UpdateContactCategoryInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateContactCategoryNotFound
- func (o *UpdateContactCategoryNotFound) SetPayload(payload *models.ErrorResponse)
- func (o *UpdateContactCategoryNotFound) WithPayload(payload *models.ErrorResponse) *UpdateContactCategoryNotFound
- func (o *UpdateContactCategoryNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateContactCategoryOK
- type UpdateContactCategoryParams
- type UpdateContactCategoryURL
- func (o *UpdateContactCategoryURL) Build() (*url.URL, error)
- func (o *UpdateContactCategoryURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateContactCategoryURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateContactCategoryURL) SetBasePath(bp string)
- func (o *UpdateContactCategoryURL) String() string
- func (o *UpdateContactCategoryURL) StringFull(scheme, host string) string
- func (o *UpdateContactCategoryURL) WithBasePath(bp string) *UpdateContactCategoryURL
- type UpdateContactCategoryUnauthorized
- func (o *UpdateContactCategoryUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *UpdateContactCategoryUnauthorized) WithPayload(payload *models.ErrorResponse) *UpdateContactCategoryUnauthorized
- func (o *UpdateContactCategoryUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateUser
- type UpdateUserBadRequest
- type UpdateUserContact
- type UpdateUserContactBadRequest
- type UpdateUserContactHandler
- type UpdateUserContactHandlerFunc
- type UpdateUserContactInternalServerError
- func (o *UpdateUserContactInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *UpdateUserContactInternalServerError) WithPayload(payload *models.ErrorResponse) *UpdateUserContactInternalServerError
- func (o *UpdateUserContactInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateUserContactNotFound
- type UpdateUserContactOK
- type UpdateUserContactParams
- type UpdateUserContactURL
- func (o *UpdateUserContactURL) Build() (*url.URL, error)
- func (o *UpdateUserContactURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateUserContactURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateUserContactURL) SetBasePath(bp string)
- func (o *UpdateUserContactURL) String() string
- func (o *UpdateUserContactURL) StringFull(scheme, host string) string
- func (o *UpdateUserContactURL) WithBasePath(bp string) *UpdateUserContactURL
- type UpdateUserContactUnauthorized
- func (o *UpdateUserContactUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *UpdateUserContactUnauthorized) WithPayload(payload *models.ErrorResponse) *UpdateUserContactUnauthorized
- func (o *UpdateUserContactUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateUserHandler
- type UpdateUserHandlerFunc
- type UpdateUserInternalServerError
- func (o *UpdateUserInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *UpdateUserInternalServerError) WithPayload(payload *models.ErrorResponse) *UpdateUserInternalServerError
- func (o *UpdateUserInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateUserOK
- type UpdateUserParams
- type UpdateUserURL
- func (o *UpdateUserURL) Build() (*url.URL, error)
- func (o *UpdateUserURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateUserURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateUserURL) SetBasePath(bp string)
- func (o *UpdateUserURL) String() string
- func (o *UpdateUserURL) StringFull(scheme, host string) string
- func (o *UpdateUserURL) WithBasePath(bp string) *UpdateUserURL
- type UpdateUserUnauthorized
- type UploadContactsCsv
- type UploadContactsCsvBadRequest
- type UploadContactsCsvHandler
- type UploadContactsCsvHandlerFunc
- type UploadContactsCsvInternalServerError
- func (o *UploadContactsCsvInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *UploadContactsCsvInternalServerError) WithPayload(payload *models.ErrorResponse) *UploadContactsCsvInternalServerError
- func (o *UploadContactsCsvInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UploadContactsCsvOK
- type UploadContactsCsvParams
- type UploadContactsCsvURL
- func (o *UploadContactsCsvURL) Build() (*url.URL, error)
- func (o *UploadContactsCsvURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UploadContactsCsvURL) Must(u *url.URL, err error) *url.URL
- func (o *UploadContactsCsvURL) SetBasePath(bp string)
- func (o *UploadContactsCsvURL) String() string
- func (o *UploadContactsCsvURL) StringFull(scheme, host string) string
- func (o *UploadContactsCsvURL) WithBasePath(bp string) *UploadContactsCsvURL
- type UploadContactsCsvUnauthorized
- func (o *UploadContactsCsvUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *UploadContactsCsvUnauthorized) WithPayload(payload *models.ErrorResponse) *UploadContactsCsvUnauthorized
- func (o *UploadContactsCsvUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const ApplyLinkSuggestionBadRequestCode int = 400
ApplyLinkSuggestionBadRequestCode is the HTTP code returned for type ApplyLinkSuggestionBadRequest
const ApplyLinkSuggestionInternalServerErrorCode int = 500
ApplyLinkSuggestionInternalServerErrorCode is the HTTP code returned for type ApplyLinkSuggestionInternalServerError
const ApplyLinkSuggestionOKCode int = 200
ApplyLinkSuggestionOKCode is the HTTP code returned for type ApplyLinkSuggestionOK
ApplyLinkSuggestionUnauthorizedCode is the HTTP code returned for type ApplyLinkSuggestionUnauthorized
const CreateUserBadRequestCode int = 400
CreateUserBadRequestCode is the HTTP code returned for type CreateUserBadRequest
const CreateUserContactBadRequestCode int = 400
CreateUserContactBadRequestCode is the HTTP code returned for type CreateUserContactBadRequest
const CreateUserContactInternalServerErrorCode int = 500
CreateUserContactInternalServerErrorCode is the HTTP code returned for type CreateUserContactInternalServerError
const CreateUserContactOKCode int = 200
CreateUserContactOKCode is the HTTP code returned for type CreateUserContactOK
CreateUserContactUnauthorizedCode is the HTTP code returned for type CreateUserContactUnauthorized
const CreateUserInternalServerErrorCode int = 500
CreateUserInternalServerErrorCode is the HTTP code returned for type CreateUserInternalServerError
const CreateUserOKCode int = 200
CreateUserOKCode is the HTTP code returned for type CreateUserOK
CreateUserUnauthorizedCode is the HTTP code returned for type CreateUserUnauthorized
const DeleteContactNoteBadRequestCode int = 400
DeleteContactNoteBadRequestCode is the HTTP code returned for type DeleteContactNoteBadRequest
const DeleteContactNoteInternalServerErrorCode int = 500
DeleteContactNoteInternalServerErrorCode is the HTTP code returned for type DeleteContactNoteInternalServerError
const DeleteContactNoteOKCode int = 200
DeleteContactNoteOKCode is the HTTP code returned for type DeleteContactNoteOK
DeleteContactNoteUnauthorizedCode is the HTTP code returned for type DeleteContactNoteUnauthorized
const DeleteContactSourceBadRequestCode int = 400
DeleteContactSourceBadRequestCode is the HTTP code returned for type DeleteContactSourceBadRequest
const DeleteContactSourceInternalServerErrorCode int = 500
DeleteContactSourceInternalServerErrorCode is the HTTP code returned for type DeleteContactSourceInternalServerError
const DeleteContactSourceOKCode int = 200
DeleteContactSourceOKCode is the HTTP code returned for type DeleteContactSourceOK
DeleteContactSourceUnauthorizedCode is the HTTP code returned for type DeleteContactSourceUnauthorized
const DeleteContactTagBadRequestCode int = 400
DeleteContactTagBadRequestCode is the HTTP code returned for type DeleteContactTagBadRequest
const DeleteContactTagInternalServerErrorCode int = 500
DeleteContactTagInternalServerErrorCode is the HTTP code returned for type DeleteContactTagInternalServerError
const DeleteContactTagOKCode int = 200
DeleteContactTagOKCode is the HTTP code returned for type DeleteContactTagOK
DeleteContactTagUnauthorizedCode is the HTTP code returned for type DeleteContactTagUnauthorized
const DeleteUserBadRequestCode int = 400
DeleteUserBadRequestCode is the HTTP code returned for type DeleteUserBadRequest
const DeleteUserContactBadRequestCode int = 400
DeleteUserContactBadRequestCode is the HTTP code returned for type DeleteUserContactBadRequest
const DeleteUserContactInternalServerErrorCode int = 500
DeleteUserContactInternalServerErrorCode is the HTTP code returned for type DeleteUserContactInternalServerError
const DeleteUserContactOKCode int = 200
DeleteUserContactOKCode is the HTTP code returned for type DeleteUserContactOK
DeleteUserContactUnauthorizedCode is the HTTP code returned for type DeleteUserContactUnauthorized
const DeleteUserInternalServerErrorCode int = 500
DeleteUserInternalServerErrorCode is the HTTP code returned for type DeleteUserInternalServerError
const DeleteUserOKCode int = 200
DeleteUserOKCode is the HTTP code returned for type DeleteUserOK
DeleteUserUnauthorizedCode is the HTTP code returned for type DeleteUserUnauthorized
const GetContactNotesBadRequestCode int = 400
GetContactNotesBadRequestCode is the HTTP code returned for type GetContactNotesBadRequest
const GetContactNotesInternalServerErrorCode int = 500
GetContactNotesInternalServerErrorCode is the HTTP code returned for type GetContactNotesInternalServerError
const GetContactNotesOKCode int = 200
GetContactNotesOKCode is the HTTP code returned for type GetContactNotesOK
GetContactNotesUnauthorizedCode is the HTTP code returned for type GetContactNotesUnauthorized
const GetContactSourcesBadRequestCode int = 400
GetContactSourcesBadRequestCode is the HTTP code returned for type GetContactSourcesBadRequest
const GetContactSourcesInternalServerErrorCode int = 500
GetContactSourcesInternalServerErrorCode is the HTTP code returned for type GetContactSourcesInternalServerError
const GetContactSourcesOKCode int = 200
GetContactSourcesOKCode is the HTTP code returned for type GetContactSourcesOK
GetContactSourcesUnauthorizedCode is the HTTP code returned for type GetContactSourcesUnauthorized
const GetContactTagsBadRequestCode int = 400
GetContactTagsBadRequestCode is the HTTP code returned for type GetContactTagsBadRequest
const GetContactTagsInternalServerErrorCode int = 500
GetContactTagsInternalServerErrorCode is the HTTP code returned for type GetContactTagsInternalServerError
const GetContactTagsOKCode int = 200
GetContactTagsOKCode is the HTTP code returned for type GetContactTagsOK
GetContactTagsUnauthorizedCode is the HTTP code returned for type GetContactTagsUnauthorized
const GetLinkSuggestionsBadRequestCode int = 400
GetLinkSuggestionsBadRequestCode is the HTTP code returned for type GetLinkSuggestionsBadRequest
const GetLinkSuggestionsInternalServerErrorCode int = 500
GetLinkSuggestionsInternalServerErrorCode is the HTTP code returned for type GetLinkSuggestionsInternalServerError
const GetLinkSuggestionsOKCode int = 200
GetLinkSuggestionsOKCode is the HTTP code returned for type GetLinkSuggestionsOK
GetLinkSuggestionsUnauthorizedCode is the HTTP code returned for type GetLinkSuggestionsUnauthorized
const GetPendingFollowUpsBadRequestCode int = 400
GetPendingFollowUpsBadRequestCode is the HTTP code returned for type GetPendingFollowUpsBadRequest
const GetPendingFollowUpsInternalServerErrorCode int = 500
GetPendingFollowUpsInternalServerErrorCode is the HTTP code returned for type GetPendingFollowUpsInternalServerError
const GetPendingFollowUpsOKCode int = 200
GetPendingFollowUpsOKCode is the HTTP code returned for type GetPendingFollowUpsOK
GetPendingFollowUpsUnauthorizedCode is the HTTP code returned for type GetPendingFollowUpsUnauthorized
const GetRecentContactsBadRequestCode int = 400
GetRecentContactsBadRequestCode is the HTTP code returned for type GetRecentContactsBadRequest
const GetRecentContactsInternalServerErrorCode int = 500
GetRecentContactsInternalServerErrorCode is the HTTP code returned for type GetRecentContactsInternalServerError
const GetRecentContactsOKCode int = 200
GetRecentContactsOKCode is the HTTP code returned for type GetRecentContactsOK
GetRecentContactsUnauthorizedCode is the HTTP code returned for type GetRecentContactsUnauthorized
const GetUnifiedContactsBadRequestCode int = 400
GetUnifiedContactsBadRequestCode is the HTTP code returned for type GetUnifiedContactsBadRequest
const GetUnifiedContactsInternalServerErrorCode int = 500
GetUnifiedContactsInternalServerErrorCode is the HTTP code returned for type GetUnifiedContactsInternalServerError
const GetUnifiedContactsOKCode int = 200
GetUnifiedContactsOKCode is the HTTP code returned for type GetUnifiedContactsOK
GetUnifiedContactsUnauthorizedCode is the HTTP code returned for type GetUnifiedContactsUnauthorized
const GetUserBadRequestCode int = 400
GetUserBadRequestCode is the HTTP code returned for type GetUserBadRequest
const GetUserContactByIDBadRequestCode int = 400
GetUserContactByIDBadRequestCode is the HTTP code returned for type GetUserContactByIDBadRequest
const GetUserContactByIDInternalServerErrorCode int = 500
GetUserContactByIDInternalServerErrorCode is the HTTP code returned for type GetUserContactByIDInternalServerError
const GetUserContactByIDNotFoundCode int = 404
GetUserContactByIDNotFoundCode is the HTTP code returned for type GetUserContactByIDNotFound
const GetUserContactByIDOKCode int = 200
GetUserContactByIDOKCode is the HTTP code returned for type GetUserContactByIDOK
GetUserContactByIDUnauthorizedCode is the HTTP code returned for type GetUserContactByIDUnauthorized
const GetUserInternalServerErrorCode int = 500
GetUserInternalServerErrorCode is the HTTP code returned for type GetUserInternalServerError
const GetUserOKCode int = 200
GetUserOKCode is the HTTP code returned for type GetUserOK
GetUserUnauthorizedCode is the HTTP code returned for type GetUserUnauthorized
const InitGoogleContactSourceBadRequestCode int = 400
InitGoogleContactSourceBadRequestCode is the HTTP code returned for type InitGoogleContactSourceBadRequest
const InitGoogleContactSourceInternalServerErrorCode int = 500
InitGoogleContactSourceInternalServerErrorCode is the HTTP code returned for type InitGoogleContactSourceInternalServerError
const InitGoogleContactSourceNotFoundCode int = 404
InitGoogleContactSourceNotFoundCode is the HTTP code returned for type InitGoogleContactSourceNotFound
const InitGoogleContactSourceOKCode int = 200
InitGoogleContactSourceOKCode is the HTTP code returned for type InitGoogleContactSourceOK
InitGoogleContactSourceUnauthorizedCode is the HTTP code returned for type InitGoogleContactSourceUnauthorized
const LinkGoogleContactSourceBadRequestCode int = 400
LinkGoogleContactSourceBadRequestCode is the HTTP code returned for type LinkGoogleContactSourceBadRequest
const LinkGoogleContactSourceForbiddenCode int = 403
LinkGoogleContactSourceForbiddenCode is the HTTP code returned for type LinkGoogleContactSourceForbidden
const LinkGoogleContactSourceInternalServerErrorCode int = 500
LinkGoogleContactSourceInternalServerErrorCode is the HTTP code returned for type LinkGoogleContactSourceInternalServerError
const LinkGoogleContactSourceOKCode int = 200
LinkGoogleContactSourceOKCode is the HTTP code returned for type LinkGoogleContactSourceOK
LinkGoogleContactSourceUnauthorizedCode is the HTTP code returned for type LinkGoogleContactSourceUnauthorized
const PatchContactNoteBadRequestCode int = 400
PatchContactNoteBadRequestCode is the HTTP code returned for type PatchContactNoteBadRequest
const PatchContactNoteInternalServerErrorCode int = 500
PatchContactNoteInternalServerErrorCode is the HTTP code returned for type PatchContactNoteInternalServerError
const PatchContactNoteNotFoundCode int = 404
PatchContactNoteNotFoundCode is the HTTP code returned for type PatchContactNoteNotFound
const PatchContactNoteOKCode int = 200
PatchContactNoteOKCode is the HTTP code returned for type PatchContactNoteOK
PatchContactNoteUnauthorizedCode is the HTTP code returned for type PatchContactNoteUnauthorized
const PatchContactTagBadRequestCode int = 400
PatchContactTagBadRequestCode is the HTTP code returned for type PatchContactTagBadRequest
const PatchContactTagInternalServerErrorCode int = 500
PatchContactTagInternalServerErrorCode is the HTTP code returned for type PatchContactTagInternalServerError
const PatchContactTagNotFoundCode int = 404
PatchContactTagNotFoundCode is the HTTP code returned for type PatchContactTagNotFound
const PatchContactTagOKCode int = 200
PatchContactTagOKCode is the HTTP code returned for type PatchContactTagOK
PatchContactTagUnauthorizedCode is the HTTP code returned for type PatchContactTagUnauthorized
const PostContactNoteBadRequestCode int = 400
PostContactNoteBadRequestCode is the HTTP code returned for type PostContactNoteBadRequest
const PostContactNoteInternalServerErrorCode int = 500
PostContactNoteInternalServerErrorCode is the HTTP code returned for type PostContactNoteInternalServerError
const PostContactNoteOKCode int = 200
PostContactNoteOKCode is the HTTP code returned for type PostContactNoteOK
PostContactNoteUnauthorizedCode is the HTTP code returned for type PostContactNoteUnauthorized
const PostContactTagBadRequestCode int = 400
PostContactTagBadRequestCode is the HTTP code returned for type PostContactTagBadRequest
const PostContactTagInternalServerErrorCode int = 500
PostContactTagInternalServerErrorCode is the HTTP code returned for type PostContactTagInternalServerError
const PostContactTagOKCode int = 200
PostContactTagOKCode is the HTTP code returned for type PostContactTagOK
PostContactTagUnauthorizedCode is the HTTP code returned for type PostContactTagUnauthorized
const SearchUserContactBadRequestCode int = 400
SearchUserContactBadRequestCode is the HTTP code returned for type SearchUserContactBadRequest
const SearchUserContactInternalServerErrorCode int = 500
SearchUserContactInternalServerErrorCode is the HTTP code returned for type SearchUserContactInternalServerError
const SearchUserContactOKCode int = 200
SearchUserContactOKCode is the HTTP code returned for type SearchUserContactOK
SearchUserContactUnauthorizedCode is the HTTP code returned for type SearchUserContactUnauthorized
const UpdateContactCategoryBadRequestCode int = 400
UpdateContactCategoryBadRequestCode is the HTTP code returned for type UpdateContactCategoryBadRequest
const UpdateContactCategoryInternalServerErrorCode int = 500
UpdateContactCategoryInternalServerErrorCode is the HTTP code returned for type UpdateContactCategoryInternalServerError
const UpdateContactCategoryNotFoundCode int = 404
UpdateContactCategoryNotFoundCode is the HTTP code returned for type UpdateContactCategoryNotFound
const UpdateContactCategoryOKCode int = 200
UpdateContactCategoryOKCode is the HTTP code returned for type UpdateContactCategoryOK
UpdateContactCategoryUnauthorizedCode is the HTTP code returned for type UpdateContactCategoryUnauthorized
const UpdateUserBadRequestCode int = 400
UpdateUserBadRequestCode is the HTTP code returned for type UpdateUserBadRequest
const UpdateUserContactBadRequestCode int = 400
UpdateUserContactBadRequestCode is the HTTP code returned for type UpdateUserContactBadRequest
const UpdateUserContactInternalServerErrorCode int = 500
UpdateUserContactInternalServerErrorCode is the HTTP code returned for type UpdateUserContactInternalServerError
const UpdateUserContactNotFoundCode int = 404
UpdateUserContactNotFoundCode is the HTTP code returned for type UpdateUserContactNotFound
const UpdateUserContactOKCode int = 200
UpdateUserContactOKCode is the HTTP code returned for type UpdateUserContactOK
UpdateUserContactUnauthorizedCode is the HTTP code returned for type UpdateUserContactUnauthorized
const UpdateUserInternalServerErrorCode int = 500
UpdateUserInternalServerErrorCode is the HTTP code returned for type UpdateUserInternalServerError
const UpdateUserOKCode int = 200
UpdateUserOKCode is the HTTP code returned for type UpdateUserOK
UpdateUserUnauthorizedCode is the HTTP code returned for type UpdateUserUnauthorized
const UploadContactsCsvBadRequestCode int = 400
UploadContactsCsvBadRequestCode is the HTTP code returned for type UploadContactsCsvBadRequest
const UploadContactsCsvInternalServerErrorCode int = 500
UploadContactsCsvInternalServerErrorCode is the HTTP code returned for type UploadContactsCsvInternalServerError
const UploadContactsCsvOKCode int = 200
UploadContactsCsvOKCode is the HTTP code returned for type UploadContactsCsvOK
UploadContactsCsvUnauthorizedCode is the HTTP code returned for type UploadContactsCsvUnauthorized
Variables ¶
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 ¶
func (o *ApplyLinkSuggestionBadRequest) WithPayload(payload *models.ErrorResponse) *ApplyLinkSuggestionBadRequest
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
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 ¶
func (fn ApplyLinkSuggestionHandlerFunc) Handle(params ApplyLinkSuggestionParams) middleware.Responder
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 ¶
func (o *ApplyLinkSuggestionInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the apply link suggestion internal server error response
func (*ApplyLinkSuggestionInternalServerError) WithPayload ¶
func (o *ApplyLinkSuggestionInternalServerError) WithPayload(payload *models.ErrorResponse) *ApplyLinkSuggestionInternalServerError
WithPayload adds the payload to the apply link suggestion internal server error response
func (*ApplyLinkSuggestionInternalServerError) WriteResponse ¶
func (o *ApplyLinkSuggestionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *ApplyLinkSuggestionParams) 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 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 ¶
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 ¶
func (o *ApplyLinkSuggestionURL) WithBasePath(bp string) *ApplyLinkSuggestionURL
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *ApplyLinkSuggestionUnauthorized) WithPayload(payload *models.ErrorResponse) *ApplyLinkSuggestionUnauthorized
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 ¶
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) 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 ¶
func (o *CreateUserBadRequest) WithPayload(payload *models.ErrorResponse) *CreateUserBadRequest
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 ¶
func (o *CreateUserContactBadRequest) WithPayload(payload *models.ErrorResponse) *CreateUserContactBadRequest
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 ¶
func (fn CreateUserContactHandlerFunc) Handle(params CreateUserContactParams) middleware.Responder
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 ¶
func (o *CreateUserContactInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the create user contact internal server error response
func (*CreateUserContactInternalServerError) WithPayload ¶
func (o *CreateUserContactInternalServerError) WithPayload(payload *models.ErrorResponse) *CreateUserContactInternalServerError
WithPayload adds the payload to the create user contact internal server error response
func (*CreateUserContactInternalServerError) WriteResponse ¶
func (o *CreateUserContactInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateUserContactOK ¶
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *CreateUserContactUnauthorized) WithPayload(payload *models.ErrorResponse) *CreateUserContactUnauthorized
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 ¶
func (fn CreateUserHandlerFunc) Handle(params CreateUserParams) middleware.Responder
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 ¶
func (o *CreateUserInternalServerError) WithPayload(payload *models.ErrorResponse) *CreateUserInternalServerError
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 ¶
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *CreateUserUnauthorized) WithPayload(payload *models.ErrorResponse) *CreateUserUnauthorized
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 ¶
func (o *DeleteContactNoteBadRequest) WithPayload(payload *models.ErrorResponse) *DeleteContactNoteBadRequest
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 ¶
func (fn DeleteContactNoteHandlerFunc) Handle(params DeleteContactNoteParams) middleware.Responder
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 ¶
func (o *DeleteContactNoteInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the delete contact note internal server error response
func (*DeleteContactNoteInternalServerError) WithPayload ¶
func (o *DeleteContactNoteInternalServerError) WithPayload(payload *models.ErrorResponse) *DeleteContactNoteInternalServerError
WithPayload adds the payload to the delete contact note internal server error response
func (*DeleteContactNoteInternalServerError) WriteResponse ¶
func (o *DeleteContactNoteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteContactNoteOK ¶
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *DeleteContactNoteUnauthorized) WithPayload(payload *models.ErrorResponse) *DeleteContactNoteUnauthorized
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 ¶
func (o *DeleteContactSourceBadRequest) WithPayload(payload *models.ErrorResponse) *DeleteContactSourceBadRequest
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
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 ¶
func (fn DeleteContactSourceHandlerFunc) Handle(params DeleteContactSourceParams) middleware.Responder
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 ¶
func (o *DeleteContactSourceInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the delete contact source internal server error response
func (*DeleteContactSourceInternalServerError) WithPayload ¶
func (o *DeleteContactSourceInternalServerError) WithPayload(payload *models.ErrorResponse) *DeleteContactSourceInternalServerError
WithPayload adds the payload to the delete contact source internal server error response
func (*DeleteContactSourceInternalServerError) WriteResponse ¶
func (o *DeleteContactSourceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *DeleteContactSourceParams) 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 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 ¶
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 ¶
func (o *DeleteContactSourceURL) WithBasePath(bp string) *DeleteContactSourceURL
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *DeleteContactSourceUnauthorized) WithPayload(payload *models.ErrorResponse) *DeleteContactSourceUnauthorized
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 ¶
func (o *DeleteContactTagBadRequest) WithPayload(payload *models.ErrorResponse) *DeleteContactTagBadRequest
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 ¶
func (fn DeleteContactTagHandlerFunc) Handle(params DeleteContactTagParams) middleware.Responder
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 ¶
func (o *DeleteContactTagInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the delete contact tag internal server error response
func (*DeleteContactTagInternalServerError) WithPayload ¶
func (o *DeleteContactTagInternalServerError) WithPayload(payload *models.ErrorResponse) *DeleteContactTagInternalServerError
WithPayload adds the payload to the delete contact tag internal server error response
func (*DeleteContactTagInternalServerError) WriteResponse ¶
func (o *DeleteContactTagInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteContactTagOK ¶
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *DeleteContactTagUnauthorized) WithPayload(payload *models.ErrorResponse) *DeleteContactTagUnauthorized
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 ¶
func (o *DeleteUserBadRequest) WithPayload(payload *models.ErrorResponse) *DeleteUserBadRequest
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 ¶
func (o *DeleteUserContactBadRequest) WithPayload(payload *models.ErrorResponse) *DeleteUserContactBadRequest
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 ¶
func (fn DeleteUserContactHandlerFunc) Handle(params DeleteUserContactParams) middleware.Responder
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 ¶
func (o *DeleteUserContactInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the delete user contact internal server error response
func (*DeleteUserContactInternalServerError) WithPayload ¶
func (o *DeleteUserContactInternalServerError) WithPayload(payload *models.ErrorResponse) *DeleteUserContactInternalServerError
WithPayload adds the payload to the delete user contact internal server error response
func (*DeleteUserContactInternalServerError) WriteResponse ¶
func (o *DeleteUserContactInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUserContactOK ¶
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *DeleteUserContactUnauthorized) WithPayload(payload *models.ErrorResponse) *DeleteUserContactUnauthorized
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 ¶
func (fn DeleteUserHandlerFunc) Handle(params DeleteUserParams) middleware.Responder
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 ¶
func (o *DeleteUserInternalServerError) WithPayload(payload *models.ErrorResponse) *DeleteUserInternalServerError
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 ¶
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *DeleteUserUnauthorized) WithPayload(payload *models.ErrorResponse) *DeleteUserUnauthorized
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 ¶
func (o *GetContactNotesBadRequest) WithPayload(payload *models.ErrorResponse) *GetContactNotesBadRequest
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 ¶
func (fn GetContactNotesHandlerFunc) Handle(params GetContactNotesParams) middleware.Responder
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 ¶
func (o *GetContactNotesInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get contact notes internal server error response
func (*GetContactNotesInternalServerError) WithPayload ¶
func (o *GetContactNotesInternalServerError) WithPayload(payload *models.ErrorResponse) *GetContactNotesInternalServerError
WithPayload adds the payload to the get contact notes internal server error response
func (*GetContactNotesInternalServerError) WriteResponse ¶
func (o *GetContactNotesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetContactNotesOK ¶
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *GetContactNotesUnauthorized) WithPayload(payload *models.ErrorResponse) *GetContactNotesUnauthorized
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 ¶
func (o *GetContactSourcesBadRequest) WithPayload(payload *models.ErrorResponse) *GetContactSourcesBadRequest
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 ¶
func (fn GetContactSourcesHandlerFunc) Handle(params GetContactSourcesParams) middleware.Responder
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 ¶
func (o *GetContactSourcesInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get contact sources internal server error response
func (*GetContactSourcesInternalServerError) WithPayload ¶
func (o *GetContactSourcesInternalServerError) WithPayload(payload *models.ErrorResponse) *GetContactSourcesInternalServerError
WithPayload adds the payload to the get contact sources internal server error response
func (*GetContactSourcesInternalServerError) WriteResponse ¶
func (o *GetContactSourcesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *GetContactSourcesUnauthorized) WithPayload(payload *models.ErrorResponse) *GetContactSourcesUnauthorized
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 ¶
func (o *GetContactTagsBadRequest) WithPayload(payload *models.ErrorResponse) *GetContactTagsBadRequest
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 ¶
func (fn GetContactTagsHandlerFunc) Handle(params GetContactTagsParams) middleware.Responder
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 ¶
func (o *GetContactTagsInternalServerError) WithPayload(payload *models.ErrorResponse) *GetContactTagsInternalServerError
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 ¶
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *GetContactTagsUnauthorized) WithPayload(payload *models.ErrorResponse) *GetContactTagsUnauthorized
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 ¶
func (o *GetLinkSuggestionsBadRequest) WithPayload(payload *models.ErrorResponse) *GetLinkSuggestionsBadRequest
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 ¶
func (fn GetLinkSuggestionsHandlerFunc) Handle(params GetLinkSuggestionsParams) middleware.Responder
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 ¶
func (o *GetLinkSuggestionsInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get link suggestions internal server error response
func (*GetLinkSuggestionsInternalServerError) WithPayload ¶
func (o *GetLinkSuggestionsInternalServerError) WithPayload(payload *models.ErrorResponse) *GetLinkSuggestionsInternalServerError
WithPayload adds the payload to the get link suggestions internal server error response
func (*GetLinkSuggestionsInternalServerError) WriteResponse ¶
func (o *GetLinkSuggestionsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *GetLinkSuggestionsParams) 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 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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *GetLinkSuggestionsUnauthorized) WithPayload(payload *models.ErrorResponse) *GetLinkSuggestionsUnauthorized
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 ¶
func (o *GetPendingFollowUpsBadRequest) WithPayload(payload *models.ErrorResponse) *GetPendingFollowUpsBadRequest
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 ¶
func (fn GetPendingFollowUpsHandlerFunc) Handle(params GetPendingFollowUpsParams) middleware.Responder
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 ¶
func (o *GetPendingFollowUpsInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get pending follow ups internal server error response
func (*GetPendingFollowUpsInternalServerError) WithPayload ¶
func (o *GetPendingFollowUpsInternalServerError) WithPayload(payload *models.ErrorResponse) *GetPendingFollowUpsInternalServerError
WithPayload adds the payload to the get pending follow ups internal server error response
func (*GetPendingFollowUpsInternalServerError) WriteResponse ¶
func (o *GetPendingFollowUpsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *GetPendingFollowUpsParams) 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 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 ¶
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 ¶
func (o *GetPendingFollowUpsURL) WithBasePath(bp string) *GetPendingFollowUpsURL
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *GetPendingFollowUpsUnauthorized) WithPayload(payload *models.ErrorResponse) *GetPendingFollowUpsUnauthorized
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 ¶
func (o *GetRecentContactsBadRequest) WithPayload(payload *models.ErrorResponse) *GetRecentContactsBadRequest
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 ¶
func (fn GetRecentContactsHandlerFunc) Handle(params GetRecentContactsParams) middleware.Responder
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 ¶
func (o *GetRecentContactsInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get recent contacts internal server error response
func (*GetRecentContactsInternalServerError) WithPayload ¶
func (o *GetRecentContactsInternalServerError) WithPayload(payload *models.ErrorResponse) *GetRecentContactsInternalServerError
WithPayload adds the payload to the get recent contacts internal server error response
func (*GetRecentContactsInternalServerError) WriteResponse ¶
func (o *GetRecentContactsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *GetRecentContactsUnauthorized) WithPayload(payload *models.ErrorResponse) *GetRecentContactsUnauthorized
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 ¶
func (o *GetUnifiedContactsBadRequest) WithPayload(payload *models.ErrorResponse) *GetUnifiedContactsBadRequest
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 ¶
func (fn GetUnifiedContactsHandlerFunc) Handle(params GetUnifiedContactsParams) middleware.Responder
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 ¶
func (o *GetUnifiedContactsInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get unified contacts internal server error response
func (*GetUnifiedContactsInternalServerError) WithPayload ¶
func (o *GetUnifiedContactsInternalServerError) WithPayload(payload *models.ErrorResponse) *GetUnifiedContactsInternalServerError
WithPayload adds the payload to the get unified contacts internal server error response
func (*GetUnifiedContactsInternalServerError) WriteResponse ¶
func (o *GetUnifiedContactsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *GetUnifiedContactsParams) 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 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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *GetUnifiedContactsUnauthorized) WithPayload(payload *models.ErrorResponse) *GetUnifiedContactsUnauthorized
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
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 ¶
func (o *GetUserContactByIDBadRequest) WithPayload(payload *models.ErrorResponse) *GetUserContactByIDBadRequest
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 ¶
func (fn GetUserContactByIDHandlerFunc) Handle(params GetUserContactByIDParams) middleware.Responder
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 ¶
func (o *GetUserContactByIDInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get user contact by Id internal server error response
func (*GetUserContactByIDInternalServerError) WithPayload ¶
func (o *GetUserContactByIDInternalServerError) WithPayload(payload *models.ErrorResponse) *GetUserContactByIDInternalServerError
WithPayload adds the payload to the get user contact by Id internal server error response
func (*GetUserContactByIDInternalServerError) WriteResponse ¶
func (o *GetUserContactByIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *GetUserContactByIDNotFound) WithPayload(payload *models.ErrorResponse) *GetUserContactByIDNotFound
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 ¶
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 ¶
func (o *GetUserContactByIDParams) 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 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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *GetUserContactByIDUnauthorized) WithPayload(payload *models.ErrorResponse) *GetUserContactByIDUnauthorized
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 ¶
func (fn GetUserHandlerFunc) Handle(params GetUserParams) middleware.Responder
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 ¶
func (o *GetUserInternalServerError) WithPayload(payload *models.ErrorResponse) *GetUserInternalServerError
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 ¶
GetUserOK retrieved
swagger:response getUserOK
func NewGetUserOK ¶
func NewGetUserOK() *GetUserOK
NewGetUserOK creates GetUserOK with default headers values
func (*GetUserOK) SetPayload ¶
SetPayload sets the payload to the get user o k response
func (*GetUserOK) WithPayload ¶
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) 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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *InitGoogleContactSource) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *InitGoogleContactSourceBadRequest) WithPayload(payload *models.ErrorResponse) *InitGoogleContactSourceBadRequest
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 ¶
func (fn InitGoogleContactSourceHandlerFunc) Handle(params InitGoogleContactSourceParams) middleware.Responder
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 ¶
func (o *InitGoogleContactSourceInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the init google contact source internal server error response
func (*InitGoogleContactSourceInternalServerError) WithPayload ¶
func (o *InitGoogleContactSourceInternalServerError) WithPayload(payload *models.ErrorResponse) *InitGoogleContactSourceInternalServerError
WithPayload adds the payload to the init google contact source internal server error response
func (*InitGoogleContactSourceInternalServerError) WriteResponse ¶
func (o *InitGoogleContactSourceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *InitGoogleContactSourceNotFound) WithPayload(payload *models.ErrorResponse) *InitGoogleContactSourceNotFound
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 ¶
func (o *InitGoogleContactSourceOK) WithPayload(payload *models.InitResponse) *InitGoogleContactSourceOK
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 ¶
func (o *InitGoogleContactSourceParams) 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 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 ¶
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 ¶
func (o *InitGoogleContactSourceURL) WithBasePath(bp string) *InitGoogleContactSourceURL
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
InitGoogleContactSourceUnauthorized Error
swagger:response initGoogleContactSourceUnauthorized
func NewInitGoogleContactSourceUnauthorized ¶
func NewInitGoogleContactSourceUnauthorized() *InitGoogleContactSourceUnauthorized
NewInitGoogleContactSourceUnauthorized creates InitGoogleContactSourceUnauthorized with default headers values
func (*InitGoogleContactSourceUnauthorized) SetPayload ¶
func (o *InitGoogleContactSourceUnauthorized) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the init google contact source unauthorized response
func (*InitGoogleContactSourceUnauthorized) WithPayload ¶
func (o *InitGoogleContactSourceUnauthorized) WithPayload(payload *models.ErrorResponse) *InitGoogleContactSourceUnauthorized
WithPayload adds the payload to the init google contact source unauthorized response
func (*InitGoogleContactSourceUnauthorized) WriteResponse ¶
func (o *InitGoogleContactSourceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *LinkGoogleContactSource) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *LinkGoogleContactSourceBadRequest) WithPayload(payload *models.ErrorResponse) *LinkGoogleContactSourceBadRequest
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
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 ¶
func (o *LinkGoogleContactSourceForbidden) WithPayload(payload *models.ErrorResponse) *LinkGoogleContactSourceForbidden
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 ¶
func (fn LinkGoogleContactSourceHandlerFunc) Handle(params LinkGoogleContactSourceParams) middleware.Responder
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 ¶
func (o *LinkGoogleContactSourceInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the link google contact source internal server error response
func (*LinkGoogleContactSourceInternalServerError) WithPayload ¶
func (o *LinkGoogleContactSourceInternalServerError) WithPayload(payload *models.ErrorResponse) *LinkGoogleContactSourceInternalServerError
WithPayload adds the payload to the link google contact source internal server error response
func (*LinkGoogleContactSourceInternalServerError) WriteResponse ¶
func (o *LinkGoogleContactSourceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *LinkGoogleContactSourceParams) 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 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 ¶
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 ¶
func (o *LinkGoogleContactSourceURL) WithBasePath(bp string) *LinkGoogleContactSourceURL
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
LinkGoogleContactSourceUnauthorized Error
swagger:response linkGoogleContactSourceUnauthorized
func NewLinkGoogleContactSourceUnauthorized ¶
func NewLinkGoogleContactSourceUnauthorized() *LinkGoogleContactSourceUnauthorized
NewLinkGoogleContactSourceUnauthorized creates LinkGoogleContactSourceUnauthorized with default headers values
func (*LinkGoogleContactSourceUnauthorized) SetPayload ¶
func (o *LinkGoogleContactSourceUnauthorized) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the link google contact source unauthorized response
func (*LinkGoogleContactSourceUnauthorized) WithPayload ¶
func (o *LinkGoogleContactSourceUnauthorized) WithPayload(payload *models.ErrorResponse) *LinkGoogleContactSourceUnauthorized
WithPayload adds the payload to the link google contact source unauthorized response
func (*LinkGoogleContactSourceUnauthorized) WriteResponse ¶
func (o *LinkGoogleContactSourceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *PatchContactNoteBadRequest) WithPayload(payload *models.ErrorResponse) *PatchContactNoteBadRequest
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 ¶
func (fn PatchContactNoteHandlerFunc) Handle(params PatchContactNoteParams) middleware.Responder
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 ¶
func (o *PatchContactNoteInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the patch contact note internal server error response
func (*PatchContactNoteInternalServerError) WithPayload ¶
func (o *PatchContactNoteInternalServerError) WithPayload(payload *models.ErrorResponse) *PatchContactNoteInternalServerError
WithPayload adds the payload to the patch contact note internal server error response
func (*PatchContactNoteInternalServerError) WriteResponse ¶
func (o *PatchContactNoteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *PatchContactNoteNotFound) WithPayload(payload *models.ErrorResponse) *PatchContactNoteNotFound
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 ¶
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *PatchContactNoteUnauthorized) WithPayload(payload *models.ErrorResponse) *PatchContactNoteUnauthorized
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 ¶
func (o *PatchContactTagBadRequest) WithPayload(payload *models.ErrorResponse) *PatchContactTagBadRequest
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 ¶
func (fn PatchContactTagHandlerFunc) Handle(params PatchContactTagParams) middleware.Responder
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 ¶
func (o *PatchContactTagInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the patch contact tag internal server error response
func (*PatchContactTagInternalServerError) WithPayload ¶
func (o *PatchContactTagInternalServerError) WithPayload(payload *models.ErrorResponse) *PatchContactTagInternalServerError
WithPayload adds the payload to the patch contact tag internal server error response
func (*PatchContactTagInternalServerError) WriteResponse ¶
func (o *PatchContactTagInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *PatchContactTagNotFound) WithPayload(payload *models.ErrorResponse) *PatchContactTagNotFound
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 ¶
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *PatchContactTagUnauthorized) WithPayload(payload *models.ErrorResponse) *PatchContactTagUnauthorized
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 ¶
func (o *PostContactNoteBadRequest) WithPayload(payload *models.ErrorResponse) *PostContactNoteBadRequest
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 ¶
func (fn PostContactNoteHandlerFunc) Handle(params PostContactNoteParams) middleware.Responder
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 ¶
func (o *PostContactNoteInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the post contact note internal server error response
func (*PostContactNoteInternalServerError) WithPayload ¶
func (o *PostContactNoteInternalServerError) WithPayload(payload *models.ErrorResponse) *PostContactNoteInternalServerError
WithPayload adds the payload to the post contact note internal server error response
func (*PostContactNoteInternalServerError) WriteResponse ¶
func (o *PostContactNoteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostContactNoteOK ¶
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *PostContactNoteUnauthorized) WithPayload(payload *models.ErrorResponse) *PostContactNoteUnauthorized
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 ¶
func (o *PostContactTagBadRequest) WithPayload(payload *models.ErrorResponse) *PostContactTagBadRequest
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 ¶
func (fn PostContactTagHandlerFunc) Handle(params PostContactTagParams) middleware.Responder
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 ¶
func (o *PostContactTagInternalServerError) WithPayload(payload *models.ErrorResponse) *PostContactTagInternalServerError
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 ¶
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *PostContactTagUnauthorized) WithPayload(payload *models.ErrorResponse) *PostContactTagUnauthorized
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 ¶
func (o *SearchUserContactBadRequest) WithPayload(payload *models.ErrorResponse) *SearchUserContactBadRequest
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 ¶
func (fn SearchUserContactHandlerFunc) Handle(params SearchUserContactParams) middleware.Responder
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 ¶
func (o *SearchUserContactInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the search user contact internal server error response
func (*SearchUserContactInternalServerError) WithPayload ¶
func (o *SearchUserContactInternalServerError) WithPayload(payload *models.ErrorResponse) *SearchUserContactInternalServerError
WithPayload adds the payload to the search user contact internal server error response
func (*SearchUserContactInternalServerError) WriteResponse ¶
func (o *SearchUserContactInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *SearchUserContactUnauthorized) WithPayload(payload *models.ErrorResponse) *SearchUserContactUnauthorized
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 ¶
func (o *UpdateContactCategoryBadRequest) WithPayload(payload *models.ErrorResponse) *UpdateContactCategoryBadRequest
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 ¶
func (fn UpdateContactCategoryHandlerFunc) Handle(params UpdateContactCategoryParams) middleware.Responder
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 ¶
func (o *UpdateContactCategoryInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the update contact category internal server error response
func (*UpdateContactCategoryInternalServerError) WithPayload ¶
func (o *UpdateContactCategoryInternalServerError) WithPayload(payload *models.ErrorResponse) *UpdateContactCategoryInternalServerError
WithPayload adds the payload to the update contact category internal server error response
func (*UpdateContactCategoryInternalServerError) WriteResponse ¶
func (o *UpdateContactCategoryInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *UpdateContactCategoryNotFound) WithPayload(payload *models.ErrorResponse) *UpdateContactCategoryNotFound
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 ¶
func (o *UpdateContactCategoryOK) WithPayload(payload *models.Unified) *UpdateContactCategoryOK
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 ¶
func (o *UpdateContactCategoryParams) 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 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 ¶
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 ¶
func (o *UpdateContactCategoryURL) WithBasePath(bp string) *UpdateContactCategoryURL
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *UpdateContactCategoryUnauthorized) WithPayload(payload *models.ErrorResponse) *UpdateContactCategoryUnauthorized
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 ¶
func (o *UpdateUserBadRequest) WithPayload(payload *models.ErrorResponse) *UpdateUserBadRequest
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 ¶
func (o *UpdateUserContactBadRequest) WithPayload(payload *models.ErrorResponse) *UpdateUserContactBadRequest
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 ¶
func (fn UpdateUserContactHandlerFunc) Handle(params UpdateUserContactParams) middleware.Responder
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 ¶
func (o *UpdateUserContactInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the update user contact internal server error response
func (*UpdateUserContactInternalServerError) WithPayload ¶
func (o *UpdateUserContactInternalServerError) WithPayload(payload *models.ErrorResponse) *UpdateUserContactInternalServerError
WithPayload adds the payload to the update user contact internal server error response
func (*UpdateUserContactInternalServerError) WriteResponse ¶
func (o *UpdateUserContactInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *UpdateUserContactNotFound) WithPayload(payload *models.ErrorResponse) *UpdateUserContactNotFound
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 ¶
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *UpdateUserContactUnauthorized) WithPayload(payload *models.ErrorResponse) *UpdateUserContactUnauthorized
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 ¶
func (fn UpdateUserHandlerFunc) Handle(params UpdateUserParams) middleware.Responder
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 ¶
func (o *UpdateUserInternalServerError) WithPayload(payload *models.ErrorResponse) *UpdateUserInternalServerError
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 ¶
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *UpdateUserUnauthorized) WithPayload(payload *models.ErrorResponse) *UpdateUserUnauthorized
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 ¶
func (o *UploadContactsCsvBadRequest) WithPayload(payload *models.ErrorResponse) *UploadContactsCsvBadRequest
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 ¶
func (fn UploadContactsCsvHandlerFunc) Handle(params UploadContactsCsvParams) middleware.Responder
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 ¶
func (o *UploadContactsCsvInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the upload contacts csv internal server error response
func (*UploadContactsCsvInternalServerError) WithPayload ¶
func (o *UploadContactsCsvInternalServerError) WithPayload(payload *models.ErrorResponse) *UploadContactsCsvInternalServerError
WithPayload adds the payload to the upload contacts csv internal server error response
func (*UploadContactsCsvInternalServerError) WriteResponse ¶
func (o *UploadContactsCsvInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadContactsCsvOK ¶
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 ¶
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 { models.ErrorResponse `json:"body,omitempty"` }Payload *
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 ¶
func (o *UploadContactsCsvUnauthorized) WithPayload(payload *models.ErrorResponse) *UploadContactsCsvUnauthorized
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 ¶
- apply_link_suggestion.go
- apply_link_suggestion_parameters.go
- apply_link_suggestion_responses.go
- apply_link_suggestion_urlbuilder.go
- contacts_api.go
- create_user.go
- create_user_contact.go
- create_user_contact_parameters.go
- create_user_contact_responses.go
- create_user_contact_urlbuilder.go
- create_user_parameters.go
- create_user_responses.go
- create_user_urlbuilder.go
- delete_contact_note.go
- delete_contact_note_parameters.go
- delete_contact_note_responses.go
- delete_contact_note_urlbuilder.go
- delete_contact_source.go
- delete_contact_source_parameters.go
- delete_contact_source_responses.go
- delete_contact_source_urlbuilder.go
- delete_contact_tag.go
- delete_contact_tag_parameters.go
- delete_contact_tag_responses.go
- delete_contact_tag_urlbuilder.go
- delete_user.go
- delete_user_contact.go
- delete_user_contact_parameters.go
- delete_user_contact_responses.go
- delete_user_contact_urlbuilder.go
- delete_user_parameters.go
- delete_user_responses.go
- delete_user_urlbuilder.go
- get_contact_notes.go
- get_contact_notes_parameters.go
- get_contact_notes_responses.go
- get_contact_notes_urlbuilder.go
- get_contact_sources.go
- get_contact_sources_parameters.go
- get_contact_sources_responses.go
- get_contact_sources_urlbuilder.go
- get_contact_tags.go
- get_contact_tags_parameters.go
- get_contact_tags_responses.go
- get_contact_tags_urlbuilder.go
- get_link_suggestions.go
- get_link_suggestions_parameters.go
- get_link_suggestions_responses.go
- get_link_suggestions_urlbuilder.go
- get_pending_follow_ups.go
- get_pending_follow_ups_parameters.go
- get_pending_follow_ups_responses.go
- get_pending_follow_ups_urlbuilder.go
- get_recent_contacts.go
- get_recent_contacts_parameters.go
- get_recent_contacts_responses.go
- get_recent_contacts_urlbuilder.go
- get_unified_contacts.go
- get_unified_contacts_parameters.go
- get_unified_contacts_responses.go
- get_unified_contacts_urlbuilder.go
- get_user.go
- get_user_contact_by_id.go
- get_user_contact_by_id_parameters.go
- get_user_contact_by_id_responses.go
- get_user_contact_by_id_urlbuilder.go
- get_user_parameters.go
- get_user_responses.go
- get_user_urlbuilder.go
- init_google_contact_source.go
- init_google_contact_source_parameters.go
- init_google_contact_source_responses.go
- init_google_contact_source_urlbuilder.go
- link_google_contact_source.go
- link_google_contact_source_parameters.go
- link_google_contact_source_responses.go
- link_google_contact_source_urlbuilder.go
- patch_contact_note.go
- patch_contact_note_parameters.go
- patch_contact_note_responses.go
- patch_contact_note_urlbuilder.go
- patch_contact_tag.go
- patch_contact_tag_parameters.go
- patch_contact_tag_responses.go
- patch_contact_tag_urlbuilder.go
- post_contact_note.go
- post_contact_note_parameters.go
- post_contact_note_responses.go
- post_contact_note_urlbuilder.go
- post_contact_tag.go
- post_contact_tag_parameters.go
- post_contact_tag_responses.go
- post_contact_tag_urlbuilder.go
- search_user_contact.go
- search_user_contact_parameters.go
- search_user_contact_responses.go
- search_user_contact_urlbuilder.go
- update_contact_category.go
- update_contact_category_parameters.go
- update_contact_category_responses.go
- update_contact_category_urlbuilder.go
- update_user.go
- update_user_contact.go
- update_user_contact_parameters.go
- update_user_contact_responses.go
- update_user_contact_urlbuilder.go
- update_user_parameters.go
- update_user_responses.go
- update_user_urlbuilder.go
- upload_contacts_csv.go
- upload_contacts_csv_parameters.go
- upload_contacts_csv_responses.go
- upload_contacts_csv_urlbuilder.go