Documentation
¶
Index ¶
- Variables
- func Bool(b bool) *bool
- func Byte(b byte) *byte
- func Bytes(b []byte) *[]byte
- func Complex64(c complex64) *complex64
- func Complex128(c complex128) *complex128
- func Float32(f float32) *float32
- func Float64(f float64) *float64
- func Int(i int) *int
- func Int8(i int8) *int8
- func Int16(i int16) *int16
- func Int32(i int32) *int32
- func Int64(i int64) *int64
- func MustParseDate(date string) time.Time
- func MustParseDateTime(datetime string) time.Time
- func Rune(r rune) *rune
- func String(s string) *string
- func Time(t time.Time) *time.Time
- func UUID(u uuid.UUID) *uuid.UUID
- func Uint(u uint) *uint
- func Uint8(u uint8) *uint8
- func Uint16(u uint16) *uint16
- func Uint32(u uint32) *uint32
- func Uint64(u uint64) *uint64
- func Uintptr(u uintptr) *uintptr
- type APICustomObject
- func (a *APICustomObject) GetCreatedAt() time.Time
- func (a *APICustomObject) GetCustomFields() map[string]*CustomFieldValue
- func (a *APICustomObject) GetExtraProperties() map[string]interface{}
- func (a *APICustomObject) GetID() string
- func (a *APICustomObject) GetName() string
- func (a *APICustomObject) GetRelations() []*APIObjectRelation
- func (a *APICustomObject) GetType() string
- func (a *APICustomObject) GetUpdatedAt() time.Time
- func (a *APICustomObject) MarshalJSON() ([]byte, error)
- func (a *APICustomObject) SetCreatedAt(createdAt time.Time)
- func (a *APICustomObject) SetCustomFields(customFields map[string]*CustomFieldValue)
- func (a *APICustomObject) SetID(id string)
- func (a *APICustomObject) SetName(name string)
- func (a *APICustomObject) SetRelations(relations []*APIObjectRelation)
- func (a *APICustomObject) SetType(type_ string)
- func (a *APICustomObject) SetUpdatedAt(updatedAt time.Time)
- func (a *APICustomObject) String() string
- func (a *APICustomObject) UnmarshalJSON(data []byte) error
- type APIObjectRelation
- func (a *APIObjectRelation) GetExtraProperties() map[string]interface{}
- func (a *APIObjectRelation) GetObjectID() string
- func (a *APIObjectRelation) GetObjectType() string
- func (a *APIObjectRelation) MarshalJSON() ([]byte, error)
- func (a *APIObjectRelation) SetObjectID(objectID string)
- func (a *APIObjectRelation) SetObjectType(objectType string)
- func (a *APIObjectRelation) String() string
- func (a *APIObjectRelation) UnmarshalJSON(data []byte) error
- type Account
- func (a *Account) GetAssociatedAccountIDs() []string
- func (a *Account) GetChannels() []*Channel
- func (a *Account) GetCreatedAt() time.Time
- func (a *Account) GetCrmSettings() *CrmSettings
- func (a *Account) GetCustomFields() map[string]*CustomFieldValue
- func (a *Account) GetDomain() *string
- func (a *Account) GetDomains() []string
- func (a *Account) GetExternalIDs() []*ExternalID
- func (a *Account) GetExtraProperties() map[string]interface{}
- func (a *Account) GetID() string
- func (a *Account) GetIsDisabled() bool
- func (a *Account) GetLatestCustomerActivityTime() string
- func (a *Account) GetLatestVendorActivityTime() string
- func (a *Account) GetLogoURL() string
- func (a *Account) GetName() string
- func (a *Account) GetOwner() *MiniUser
- func (a *Account) GetParentAccountID() *string
- func (a *Account) GetPrimaryDomain() *string
- func (a *Account) GetSubaccountIDs() []string
- func (a *Account) GetTags() []string
- func (a *Account) GetType() string
- func (a *Account) GetUpdatedAt() time.Time
- func (a *Account) MarshalJSON() ([]byte, error)
- func (a *Account) SetAssociatedAccountIDs(associatedAccountIDs []string)
- func (a *Account) SetChannels(channels []*Channel)
- func (a *Account) SetCreatedAt(createdAt time.Time)
- func (a *Account) SetCrmSettings(crmSettings *CrmSettings)
- func (a *Account) SetCustomFields(customFields map[string]*CustomFieldValue)
- func (a *Account) SetDomain(domain *string)
- func (a *Account) SetDomains(domains []string)
- func (a *Account) SetExternalIDs(externalIDs []*ExternalID)
- func (a *Account) SetID(id string)
- func (a *Account) SetIsDisabled(isDisabled bool)
- func (a *Account) SetLatestCustomerActivityTime(latestCustomerActivityTime string)
- func (a *Account) SetLatestVendorActivityTime(latestVendorActivityTime string)
- func (a *Account) SetLogoURL(logoURL string)
- func (a *Account) SetName(name string)
- func (a *Account) SetOwner(owner *MiniUser)
- func (a *Account) SetParentAccountID(parentAccountID *string)
- func (a *Account) SetPrimaryDomain(primaryDomain *string)
- func (a *Account) SetSubaccountIDs(subaccountIDs []string)
- func (a *Account) SetTags(tags []string)
- func (a *Account) SetType(type_ string)
- func (a *Account) SetUpdatedAt(updatedAt time.Time)
- func (a *Account) String() string
- func (a *Account) UnmarshalJSON(data []byte) error
- type AccountFile
- func (a *AccountFile) GetCreatedAt() time.Time
- func (a *AccountFile) GetExtraProperties() map[string]interface{}
- func (a *AccountFile) GetFileType() string
- func (a *AccountFile) GetID() string
- func (a *AccountFile) GetName() string
- func (a *AccountFile) GetURL() string
- func (a *AccountFile) GetUpdatedAt() time.Time
- func (a *AccountFile) MarshalJSON() ([]byte, error)
- func (a *AccountFile) SetCreatedAt(createdAt time.Time)
- func (a *AccountFile) SetFileType(fileType string)
- func (a *AccountFile) SetID(id string)
- func (a *AccountFile) SetName(name string)
- func (a *AccountFile) SetURL(url string)
- func (a *AccountFile) SetUpdatedAt(updatedAt time.Time)
- func (a *AccountFile) String() string
- func (a *AccountFile) UnmarshalJSON(data []byte) error
- type AccountHighlight
- func (a *AccountHighlight) GetAccountID() string
- func (a *AccountHighlight) GetContentHTML() string
- func (a *AccountHighlight) GetCreatedAt() time.Time
- func (a *AccountHighlight) GetExpiresAt() *time.Time
- func (a *AccountHighlight) GetExtraProperties() map[string]interface{}
- func (a *AccountHighlight) GetID() string
- func (a *AccountHighlight) GetUpdatedAt() time.Time
- func (a *AccountHighlight) MarshalJSON() ([]byte, error)
- func (a *AccountHighlight) SetAccountID(accountID string)
- func (a *AccountHighlight) SetContentHTML(contentHTML string)
- func (a *AccountHighlight) SetCreatedAt(createdAt time.Time)
- func (a *AccountHighlight) SetExpiresAt(expiresAt *time.Time)
- func (a *AccountHighlight) SetID(id string)
- func (a *AccountHighlight) SetUpdatedAt(updatedAt time.Time)
- func (a *AccountHighlight) String() string
- func (a *AccountHighlight) UnmarshalJSON(data []byte) error
- type AccountNotebookNote
- func (a *AccountNotebookNote) GetAccountID() string
- func (a *AccountNotebookNote) GetBlockID() string
- func (a *AccountNotebookNote) GetContentHTML() string
- func (a *AccountNotebookNote) GetCreatedAt() time.Time
- func (a *AccountNotebookNote) GetCreatedByUserID() *string
- func (a *AccountNotebookNote) GetExtraProperties() map[string]interface{}
- func (a *AccountNotebookNote) GetID() string
- func (a *AccountNotebookNote) GetTitle() *string
- func (a *AccountNotebookNote) GetUpdatedAt() time.Time
- func (a *AccountNotebookNote) MarshalJSON() ([]byte, error)
- func (a *AccountNotebookNote) SetAccountID(accountID string)
- func (a *AccountNotebookNote) SetBlockID(blockID string)
- func (a *AccountNotebookNote) SetContentHTML(contentHTML string)
- func (a *AccountNotebookNote) SetCreatedAt(createdAt time.Time)
- func (a *AccountNotebookNote) SetCreatedByUserID(createdByUserID *string)
- func (a *AccountNotebookNote) SetID(id string)
- func (a *AccountNotebookNote) SetTitle(title *string)
- func (a *AccountNotebookNote) SetUpdatedAt(updatedAt time.Time)
- func (a *AccountNotebookNote) String() string
- func (a *AccountNotebookNote) UnmarshalJSON(data []byte) error
- type AccountRelationship
- func (a *AccountRelationship) GetChildAccountID() string
- func (a *AccountRelationship) GetCreatedAt() time.Time
- func (a *AccountRelationship) GetExtraProperties() map[string]interface{}
- func (a *AccountRelationship) GetID() string
- func (a *AccountRelationship) GetParentAccountID() string
- func (a *AccountRelationship) GetRelatedObjectID() string
- func (a *AccountRelationship) GetRelationshipType() string
- func (a *AccountRelationship) GetUpdatedAt() time.Time
- func (a *AccountRelationship) MarshalJSON() ([]byte, error)
- func (a *AccountRelationship) SetChildAccountID(childAccountID string)
- func (a *AccountRelationship) SetCreatedAt(createdAt time.Time)
- func (a *AccountRelationship) SetID(id string)
- func (a *AccountRelationship) SetParentAccountID(parentAccountID string)
- func (a *AccountRelationship) SetRelatedObjectID(relatedObjectID string)
- func (a *AccountRelationship) SetRelationshipType(relationshipType string)
- func (a *AccountRelationship) SetUpdatedAt(updatedAt time.Time)
- func (a *AccountRelationship) String() string
- func (a *AccountRelationship) UnmarshalJSON(data []byte) error
- type AccountsBulkUpdateRequest
- func (a *AccountsBulkUpdateRequest) MarshalJSON() ([]byte, error)
- func (a *AccountsBulkUpdateRequest) SetAccountIDs(accountIDs []string)
- func (a *AccountsBulkUpdateRequest) SetAccountType(accountType *UpdateAccountsRequestAccountType)
- func (a *AccountsBulkUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
- func (a *AccountsBulkUpdateRequest) SetIsDisabled(isDisabled *bool)
- func (a *AccountsBulkUpdateRequest) SetOwnerID(ownerID *string)
- func (a *AccountsBulkUpdateRequest) SetTags(tags []string)
- func (a *AccountsBulkUpdateRequest) SetTagsApplyMode(tagsApplyMode *UpdateAccountsRequestTagsApplyMode)
- func (a *AccountsBulkUpdateRequest) UnmarshalJSON(data []byte) error
- type AccountsCreateRequest
- func (a *AccountsCreateRequest) MarshalJSON() ([]byte, error)
- func (a *AccountsCreateRequest) SetAccountType(accountType *CreateAccountRequestAccountType)
- func (a *AccountsCreateRequest) SetChannels(channels []*Channel)
- func (a *AccountsCreateRequest) SetCustomFields(customFields []*CustomFieldValue)
- func (a *AccountsCreateRequest) SetDomain(domain *string)
- func (a *AccountsCreateRequest) SetDomains(domains []string)
- func (a *AccountsCreateRequest) SetExternalIDs(externalIDs []*ExternalID)
- func (a *AccountsCreateRequest) SetLogoURL(logoURL *string)
- func (a *AccountsCreateRequest) SetName(name string)
- func (a *AccountsCreateRequest) SetOwnerID(ownerID *string)
- func (a *AccountsCreateRequest) SetPrimaryDomain(primaryDomain *string)
- func (a *AccountsCreateRequest) SetSubaccountIDs(subaccountIDs []string)
- func (a *AccountsCreateRequest) SetTags(tags []string)
- func (a *AccountsCreateRequest) UnmarshalJSON(data []byte) error
- type AccountsDeleteRequest
- type AccountsGetRequest
- type AccountsListFilesRequest
- type AccountsListRequest
- type AccountsMergeRequest
- type AccountsSearchRequest
- func (a *AccountsSearchRequest) MarshalJSON() ([]byte, error)
- func (a *AccountsSearchRequest) SetCursor(cursor *string)
- func (a *AccountsSearchRequest) SetFilter(filter *Filter)
- func (a *AccountsSearchRequest) SetLimit(limit *int64)
- func (a *AccountsSearchRequest) SetSearchText(searchText *string)
- func (a *AccountsSearchRequest) SetSort(sort []*SearchAccountsSort)
- func (a *AccountsSearchRequest) UnmarshalJSON(data []byte) error
- type AccountsUpdateRequest
- func (a *AccountsUpdateRequest) MarshalJSON() ([]byte, error)
- func (a *AccountsUpdateRequest) SetAccountType(accountType *UpdateAccountRequestBodyAccountType)
- func (a *AccountsUpdateRequest) SetChannels(channels []*Channel)
- func (a *AccountsUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
- func (a *AccountsUpdateRequest) SetDomains(domains []string)
- func (a *AccountsUpdateRequest) SetExternalIDs(externalIDs []*ExternalID)
- func (a *AccountsUpdateRequest) SetID(id string)
- func (a *AccountsUpdateRequest) SetIsDisabled(isDisabled *bool)
- func (a *AccountsUpdateRequest) SetLogoURL(logoURL *string)
- func (a *AccountsUpdateRequest) SetName(name *string)
- func (a *AccountsUpdateRequest) SetOwnerID(ownerID *string)
- func (a *AccountsUpdateRequest) SetPrimaryDomain(primaryDomain *string)
- func (a *AccountsUpdateRequest) SetSubaccountIDs(subaccountIDs []string)
- func (a *AccountsUpdateRequest) SetTags(tags []string)
- func (a *AccountsUpdateRequest) SetTagsApplyMode(tagsApplyMode *UpdateAccountRequestBodyTagsApplyMode)
- func (a *AccountsUpdateRequest) UnmarshalJSON(data []byte) error
- type AccountsUploadFileRequest
- type ActiveTimeByUser
- func (a *ActiveTimeByUser) GetActiveTimeSeconds() int64
- func (a *ActiveTimeByUser) GetBusinessHoursActiveTimeSeconds() int64
- func (a *ActiveTimeByUser) GetExtraProperties() map[string]interface{}
- func (a *ActiveTimeByUser) GetUserID() string
- func (a *ActiveTimeByUser) MarshalJSON() ([]byte, error)
- func (a *ActiveTimeByUser) SetActiveTimeSeconds(activeTimeSeconds int64)
- func (a *ActiveTimeByUser) SetBusinessHoursActiveTimeSeconds(businessHoursActiveTimeSeconds int64)
- func (a *ActiveTimeByUser) SetUserID(userID string)
- func (a *ActiveTimeByUser) String() string
- func (a *ActiveTimeByUser) UnmarshalJSON(data []byte) error
- type ActivityType
- func (a *ActivityType) GetExtraProperties() map[string]interface{}
- func (a *ActivityType) GetID() string
- func (a *ActivityType) GetIconURL() string
- func (a *ActivityType) GetLabel() string
- func (a *ActivityType) GetSlug() string
- func (a *ActivityType) MarshalJSON() ([]byte, error)
- func (a *ActivityType) SetID(id string)
- func (a *ActivityType) SetIconURL(iconURL string)
- func (a *ActivityType) SetLabel(label string)
- func (a *ActivityType) SetSlug(slug string)
- func (a *ActivityType) String() string
- func (a *ActivityType) UnmarshalJSON(data []byte) error
- type Actor
- func (a *Actor) GetContact() *MiniContact
- func (a *Actor) GetExtraProperties() map[string]interface{}
- func (a *Actor) GetUser() *MiniUser
- func (a *Actor) MarshalJSON() ([]byte, error)
- func (a *Actor) SetContact(contact *MiniContact)
- func (a *Actor) SetUser(user *MiniUser)
- func (a *Actor) String() string
- func (a *Actor) UnmarshalJSON(data []byte) error
- type AddIssueFollowersResponseBody
- func (a *AddIssueFollowersResponseBody) GetData() []*Follower
- func (a *AddIssueFollowersResponseBody) GetExtraProperties() map[string]interface{}
- func (a *AddIssueFollowersResponseBody) GetRequestID() string
- func (a *AddIssueFollowersResponseBody) MarshalJSON() ([]byte, error)
- func (a *AddIssueFollowersResponseBody) SetData(data []*Follower)
- func (a *AddIssueFollowersResponseBody) SetRequestID(requestID string)
- func (a *AddIssueFollowersResponseBody) String() string
- func (a *AddIssueFollowersResponseBody) UnmarshalJSON(data []byte) error
- type Article
- func (a *Article) GetApprovalInfo() *ArticleApprovalInfo
- func (a *Article) GetAuthorUserID() *string
- func (a *Article) GetCollectionID() *string
- func (a *Article) GetCreatedAt() time.Time
- func (a *Article) GetCurrentDraftContentHTML() *string
- func (a *Article) GetCurrentDraftContentMarkdown() *string
- func (a *Article) GetCurrentPublishedContentHTML() *string
- func (a *Article) GetCurrentPublishedContentMarkdown() *string
- func (a *Article) GetExtraProperties() map[string]interface{}
- func (a *Article) GetID() string
- func (a *Article) GetIdentifier() string
- func (a *Article) GetIsPublished() bool
- func (a *Article) GetIsUnlisted() bool
- func (a *Article) GetLastEditedAt() *time.Time
- func (a *Article) GetLastPublishedAt() *time.Time
- func (a *Article) GetSlug() string
- func (a *Article) GetTags() []*Tag
- func (a *Article) GetTitle() string
- func (a *Article) GetURL() string
- func (a *Article) GetVisibilityConfig() *ArticleVisibilityConfig
- func (a *Article) MarshalJSON() ([]byte, error)
- func (a *Article) SetApprovalInfo(approvalInfo *ArticleApprovalInfo)
- func (a *Article) SetAuthorUserID(authorUserID *string)
- func (a *Article) SetCollectionID(collectionID *string)
- func (a *Article) SetCreatedAt(createdAt time.Time)
- func (a *Article) SetCurrentDraftContentHTML(currentDraftContentHTML *string)
- func (a *Article) SetCurrentDraftContentMarkdown(currentDraftContentMarkdown *string)
- func (a *Article) SetCurrentPublishedContentHTML(currentPublishedContentHTML *string)
- func (a *Article) SetCurrentPublishedContentMarkdown(currentPublishedContentMarkdown *string)
- func (a *Article) SetID(id string)
- func (a *Article) SetIdentifier(identifier string)
- func (a *Article) SetIsPublished(isPublished bool)
- func (a *Article) SetIsUnlisted(isUnlisted bool)
- func (a *Article) SetLastEditedAt(lastEditedAt *time.Time)
- func (a *Article) SetLastPublishedAt(lastPublishedAt *time.Time)
- func (a *Article) SetSlug(slug string)
- func (a *Article) SetTags(tags []*Tag)
- func (a *Article) SetTitle(title string)
- func (a *Article) SetURL(url string)
- func (a *Article) SetVisibilityConfig(visibilityConfig *ArticleVisibilityConfig)
- func (a *Article) String() string
- func (a *Article) UnmarshalJSON(data []byte) error
- type ArticleApprovalInfo
- func (a *ArticleApprovalInfo) GetExtraProperties() map[string]interface{}
- func (a *ArticleApprovalInfo) GetRequestedAt() *time.Time
- func (a *ArticleApprovalInfo) GetReviewedAt() *time.Time
- func (a *ArticleApprovalInfo) GetReviewedByUserID() *string
- func (a *ArticleApprovalInfo) GetStatus() string
- func (a *ArticleApprovalInfo) MarshalJSON() ([]byte, error)
- func (a *ArticleApprovalInfo) SetRequestedAt(requestedAt *time.Time)
- func (a *ArticleApprovalInfo) SetReviewedAt(reviewedAt *time.Time)
- func (a *ArticleApprovalInfo) SetReviewedByUserID(reviewedByUserID *string)
- func (a *ArticleApprovalInfo) SetStatus(status string)
- func (a *ArticleApprovalInfo) String() string
- func (a *ArticleApprovalInfo) UnmarshalJSON(data []byte) error
- type ArticleFeedback
- func (a *ArticleFeedback) GetArticleID() string
- func (a *ArticleFeedback) GetComment() *string
- func (a *ArticleFeedback) GetExtraProperties() map[string]interface{}
- func (a *ArticleFeedback) GetID() string
- func (a *ArticleFeedback) GetKnowledgeBaseID() string
- func (a *ArticleFeedback) GetScore() int64
- func (a *ArticleFeedback) GetSubmittedAt() time.Time
- func (a *ArticleFeedback) GetSubmitter() *Actor
- func (a *ArticleFeedback) GetUpdatedAt() time.Time
- func (a *ArticleFeedback) MarshalJSON() ([]byte, error)
- func (a *ArticleFeedback) SetArticleID(articleID string)
- func (a *ArticleFeedback) SetComment(comment *string)
- func (a *ArticleFeedback) SetID(id string)
- func (a *ArticleFeedback) SetKnowledgeBaseID(knowledgeBaseID string)
- func (a *ArticleFeedback) SetScore(score int64)
- func (a *ArticleFeedback) SetSubmittedAt(submittedAt time.Time)
- func (a *ArticleFeedback) SetSubmitter(submitter *Actor)
- func (a *ArticleFeedback) SetUpdatedAt(updatedAt time.Time)
- func (a *ArticleFeedback) String() string
- func (a *ArticleFeedback) UnmarshalJSON(data []byte) error
- type ArticleFeedbackListRequest
- type ArticleTranslationInput
- func (a *ArticleTranslationInput) GetBodyHTML() *string
- func (a *ArticleTranslationInput) GetBodyMarkdown() *string
- func (a *ArticleTranslationInput) GetExtraProperties() map[string]interface{}
- func (a *ArticleTranslationInput) GetLanguage() string
- func (a *ArticleTranslationInput) GetTitle() string
- func (a *ArticleTranslationInput) MarshalJSON() ([]byte, error)
- func (a *ArticleTranslationInput) SetBodyHTML(bodyHTML *string)
- func (a *ArticleTranslationInput) SetBodyMarkdown(bodyMarkdown *string)
- func (a *ArticleTranslationInput) SetLanguage(language string)
- func (a *ArticleTranslationInput) SetTitle(title string)
- func (a *ArticleTranslationInput) String() string
- func (a *ArticleTranslationInput) UnmarshalJSON(data []byte) error
- type ArticleVisibilityConfig
- func (a *ArticleVisibilityConfig) GetAiAgentAccess() *ArticleVisibilityConfigAiAgentAccess
- func (a *ArticleVisibilityConfig) GetAllowedAgentIDs() []string
- func (a *ArticleVisibilityConfig) GetCustomerVisibilityCondition() *Filter
- func (a *ArticleVisibilityConfig) GetCustomerVisibilityConditionUnsupported() *bool
- func (a *ArticleVisibilityConfig) GetExtraProperties() map[string]interface{}
- func (a *ArticleVisibilityConfig) GetVisibility() *ArticleVisibilityConfigVisibility
- func (a *ArticleVisibilityConfig) MarshalJSON() ([]byte, error)
- func (a *ArticleVisibilityConfig) SetAiAgentAccess(aiAgentAccess *ArticleVisibilityConfigAiAgentAccess)
- func (a *ArticleVisibilityConfig) SetAllowedAgentIDs(allowedAgentIDs []string)
- func (a *ArticleVisibilityConfig) SetCustomerVisibilityCondition(customerVisibilityCondition *Filter)
- func (a *ArticleVisibilityConfig) SetCustomerVisibilityConditionUnsupported(customerVisibilityConditionUnsupported *bool)
- func (a *ArticleVisibilityConfig) SetVisibility(visibility *ArticleVisibilityConfigVisibility)
- func (a *ArticleVisibilityConfig) String() string
- func (a *ArticleVisibilityConfig) UnmarshalJSON(data []byte) error
- type ArticleVisibilityConfigAiAgentAccess
- type ArticleVisibilityConfigVisibility
- type Attachment
- func (a *Attachment) GetDescription() string
- func (a *Attachment) GetExtraProperties() map[string]interface{}
- func (a *Attachment) GetID() string
- func (a *Attachment) GetName() string
- func (a *Attachment) GetURL() string
- func (a *Attachment) MarshalJSON() ([]byte, error)
- func (a *Attachment) SetDescription(description string)
- func (a *Attachment) SetID(id string)
- func (a *Attachment) SetName(name string)
- func (a *Attachment) SetURL(url string)
- func (a *Attachment) String() string
- func (a *Attachment) UnmarshalJSON(data []byte) error
- type AttachmentsCreateRequest
- type AuditLog
- func (a *AuditLog) GetAction() string
- func (a *AuditLog) GetActionHappenedAt() time.Time
- func (a *AuditLog) GetActorContactID() *string
- func (a *AuditLog) GetActorUserID() *string
- func (a *AuditLog) GetAttributes() map[string]string
- func (a *AuditLog) GetCreatedAt() time.Time
- func (a *AuditLog) GetExtraProperties() map[string]interface{}
- func (a *AuditLog) GetID() string
- func (a *AuditLog) GetLink() *string
- func (a *AuditLog) GetMetadata() map[string]any
- func (a *AuditLog) GetObjectID() string
- func (a *AuditLog) GetObjectType() string
- func (a *AuditLog) GetSource() string
- func (a *AuditLog) MarshalJSON() ([]byte, error)
- func (a *AuditLog) SetAction(action string)
- func (a *AuditLog) SetActionHappenedAt(actionHappenedAt time.Time)
- func (a *AuditLog) SetActorContactID(actorContactID *string)
- func (a *AuditLog) SetActorUserID(actorUserID *string)
- func (a *AuditLog) SetAttributes(attributes map[string]string)
- func (a *AuditLog) SetCreatedAt(createdAt time.Time)
- func (a *AuditLog) SetID(id string)
- func (a *AuditLog) SetLink(link *string)
- func (a *AuditLog) SetMetadata(metadata map[string]any)
- func (a *AuditLog) SetObjectID(objectID string)
- func (a *AuditLog) SetObjectType(objectType string)
- func (a *AuditLog) SetSource(source string)
- func (a *AuditLog) String() string
- func (a *AuditLog) UnmarshalJSON(data []byte) error
- type AuditLogsListRequest
- type AuditLogsSearchRequest
- func (a *AuditLogsSearchRequest) MarshalJSON() ([]byte, error)
- func (a *AuditLogsSearchRequest) SetCursor(cursor *string)
- func (a *AuditLogsSearchRequest) SetFilter(filter *Filter)
- func (a *AuditLogsSearchRequest) SetLimit(limit *int64)
- func (a *AuditLogsSearchRequest) UnmarshalJSON(data []byte) error
- type BadRequestError
- type BulkIssueResult
- func (b *BulkIssueResult) GetExtraProperties() map[string]interface{}
- func (b *BulkIssueResult) GetSkippedIssues() []*SkippedIssue
- func (b *BulkIssueResult) GetSucceededIssueIDs() []string
- func (b *BulkIssueResult) MarshalJSON() ([]byte, error)
- func (b *BulkIssueResult) SetSkippedIssues(skippedIssues []*SkippedIssue)
- func (b *BulkIssueResult) SetSucceededIssueIDs(succeededIssueIDs []string)
- func (b *BulkIssueResult) String() string
- func (b *BulkIssueResult) UnmarshalJSON(data []byte) error
- type CallRecording
- func (c *CallRecording) GetAccountID() *string
- func (c *CallRecording) GetCalendarEventID() *string
- func (c *CallRecording) GetCreatedAt() time.Time
- func (c *CallRecording) GetCustomFields() map[string]*CustomFieldValue
- func (c *CallRecording) GetDurationMs() int64
- func (c *CallRecording) GetEndTime() time.Time
- func (c *CallRecording) GetExternalID() string
- func (c *CallRecording) GetExtraProperties() map[string]interface{}
- func (c *CallRecording) GetID() string
- func (c *CallRecording) GetParticipantEmails() []string
- func (c *CallRecording) GetSource() string
- func (c *CallRecording) GetStartTime() time.Time
- func (c *CallRecording) GetSummary() string
- func (c *CallRecording) GetTitle() string
- func (c *CallRecording) GetURL() string
- func (c *CallRecording) GetUpdatedAt() time.Time
- func (c *CallRecording) MarshalJSON() ([]byte, error)
- func (c *CallRecording) SetAccountID(accountID *string)
- func (c *CallRecording) SetCalendarEventID(calendarEventID *string)
- func (c *CallRecording) SetCreatedAt(createdAt time.Time)
- func (c *CallRecording) SetCustomFields(customFields map[string]*CustomFieldValue)
- func (c *CallRecording) SetDurationMs(durationMs int64)
- func (c *CallRecording) SetEndTime(endTime time.Time)
- func (c *CallRecording) SetExternalID(externalID string)
- func (c *CallRecording) SetID(id string)
- func (c *CallRecording) SetParticipantEmails(participantEmails []string)
- func (c *CallRecording) SetSource(source string)
- func (c *CallRecording) SetStartTime(startTime time.Time)
- func (c *CallRecording) SetSummary(summary string)
- func (c *CallRecording) SetTitle(title string)
- func (c *CallRecording) SetURL(url string)
- func (c *CallRecording) SetUpdatedAt(updatedAt time.Time)
- func (c *CallRecording) String() string
- func (c *CallRecording) UnmarshalJSON(data []byte) error
- type CallRecordingsCreateRequest
- func (c *CallRecordingsCreateRequest) MarshalJSON() ([]byte, error)
- func (c *CallRecordingsCreateRequest) SetAccountID(accountID *string)
- func (c *CallRecordingsCreateRequest) SetAppType(appType CreateCallRecordingRequestAppType)
- func (c *CallRecordingsCreateRequest) SetCallRecordingMessages(callRecordingMessages []*CreateCallRecordingMessageRequest)
- func (c *CallRecordingsCreateRequest) SetCustomFields(customFields []*CustomFieldValue)
- func (c *CallRecordingsCreateRequest) SetEndTime(endTime time.Time)
- func (c *CallRecordingsCreateRequest) SetParticipantEmails(participantEmails *string)
- func (c *CallRecordingsCreateRequest) SetPrimaryUserEmail(primaryUserEmail *string)
- func (c *CallRecordingsCreateRequest) SetRecordingID(recordingID *string)
- func (c *CallRecordingsCreateRequest) SetRecordingURL(recordingURL *string)
- func (c *CallRecordingsCreateRequest) SetStartTime(startTime time.Time)
- func (c *CallRecordingsCreateRequest) SetTitle(title *string)
- func (c *CallRecordingsCreateRequest) UnmarshalJSON(data []byte) error
- type CallRecordingsDeleteRequest
- type CallRecordingsGetRequest
- type CallRecordingsSearchRequest
- func (c *CallRecordingsSearchRequest) MarshalJSON() ([]byte, error)
- func (c *CallRecordingsSearchRequest) SetCursor(cursor *string)
- func (c *CallRecordingsSearchRequest) SetFilter(filter *Filter)
- func (c *CallRecordingsSearchRequest) SetLimit(limit *int64)
- func (c *CallRecordingsSearchRequest) UnmarshalJSON(data []byte) error
- type CallRecordingsUpdateRequest
- func (c *CallRecordingsUpdateRequest) MarshalJSON() ([]byte, error)
- func (c *CallRecordingsUpdateRequest) SetAccountID(accountID *string)
- func (c *CallRecordingsUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
- func (c *CallRecordingsUpdateRequest) SetID(id string)
- func (c *CallRecordingsUpdateRequest) UnmarshalJSON(data []byte) error
- type Channel
- func (c *Channel) GetChannelID() *string
- func (c *Channel) GetChannelName() *string
- func (c *Channel) GetChannelURL() *string
- func (c *Channel) GetExtraProperties() map[string]interface{}
- func (c *Channel) GetIsInternal() *bool
- func (c *Channel) GetIsPrimary() *bool
- func (c *Channel) GetMirrorTo() *MirrorChannel
- func (c *Channel) GetSource() *string
- func (c *Channel) MarshalJSON() ([]byte, error)
- func (c *Channel) SetChannelID(channelID *string)
- func (c *Channel) SetChannelName(channelName *string)
- func (c *Channel) SetChannelURL(channelURL *string)
- func (c *Channel) SetIsInternal(isInternal *bool)
- func (c *Channel) SetIsPrimary(isPrimary *bool)
- func (c *Channel) SetMirrorTo(mirrorTo *MirrorChannel)
- func (c *Channel) SetSource(source *string)
- func (c *Channel) String() string
- func (c *Channel) UnmarshalJSON(data []byte) error
- type Collection
- func (c *Collection) GetCreatedAt() time.Time
- func (c *Collection) GetDescription() string
- func (c *Collection) GetExtraProperties() map[string]interface{}
- func (c *Collection) GetID() string
- func (c *Collection) GetIcon() *string
- func (c *Collection) GetParentCollectionID() *string
- func (c *Collection) GetSlug() string
- func (c *Collection) GetTitle() string
- func (c *Collection) GetVisibilityConfig() *CollectionVisibilityConfig
- func (c *Collection) MarshalJSON() ([]byte, error)
- func (c *Collection) SetCreatedAt(createdAt time.Time)
- func (c *Collection) SetDescription(description string)
- func (c *Collection) SetID(id string)
- func (c *Collection) SetIcon(icon *string)
- func (c *Collection) SetParentCollectionID(parentCollectionID *string)
- func (c *Collection) SetSlug(slug string)
- func (c *Collection) SetTitle(title string)
- func (c *Collection) SetVisibilityConfig(visibilityConfig *CollectionVisibilityConfig)
- func (c *Collection) String() string
- func (c *Collection) UnmarshalJSON(data []byte) error
- type CollectionVisibilityConfig
- func (c *CollectionVisibilityConfig) GetAiAgentAccess() *CollectionVisibilityConfigAiAgentAccess
- func (c *CollectionVisibilityConfig) GetAllowedAgentIDs() []string
- func (c *CollectionVisibilityConfig) GetExtraProperties() map[string]interface{}
- func (c *CollectionVisibilityConfig) GetVisibility() *CollectionVisibilityConfigVisibility
- func (c *CollectionVisibilityConfig) MarshalJSON() ([]byte, error)
- func (c *CollectionVisibilityConfig) SetAiAgentAccess(aiAgentAccess *CollectionVisibilityConfigAiAgentAccess)
- func (c *CollectionVisibilityConfig) SetAllowedAgentIDs(allowedAgentIDs []string)
- func (c *CollectionVisibilityConfig) SetVisibility(visibility *CollectionVisibilityConfigVisibility)
- func (c *CollectionVisibilityConfig) String() string
- func (c *CollectionVisibilityConfig) UnmarshalJSON(data []byte) error
- type CollectionVisibilityConfigAiAgentAccess
- type CollectionVisibilityConfigVisibility
- type ConflictError
- type Contact
- func (c *Contact) GetAccount() *MiniAccount
- func (c *Contact) GetAvatarURL() string
- func (c *Contact) GetCustomFields() map[string]*CustomFieldValue
- func (c *Contact) GetEmail() *string
- func (c *Contact) GetEmails() []string
- func (c *Contact) GetExternalIDs() []*ExternalID
- func (c *Contact) GetExtraProperties() map[string]interface{}
- func (c *Contact) GetID() string
- func (c *Contact) GetIntegrationUserIDs() []*IntegrationUserID
- func (c *Contact) GetName() string
- func (c *Contact) GetPhoneNumbers() []string
- func (c *Contact) GetPortalRole() string
- func (c *Contact) GetPortalRoleID() *string
- func (c *Contact) GetPrimaryPhoneNumber() *string
- func (c *Contact) MarshalJSON() ([]byte, error)
- func (c *Contact) SetAccount(account *MiniAccount)
- func (c *Contact) SetAvatarURL(avatarURL string)
- func (c *Contact) SetCustomFields(customFields map[string]*CustomFieldValue)
- func (c *Contact) SetEmail(email *string)
- func (c *Contact) SetEmails(emails []string)
- func (c *Contact) SetExternalIDs(externalIDs []*ExternalID)
- func (c *Contact) SetID(id string)
- func (c *Contact) SetIntegrationUserIDs(integrationUserIDs []*IntegrationUserID)
- func (c *Contact) SetName(name string)
- func (c *Contact) SetPhoneNumbers(phoneNumbers []string)
- func (c *Contact) SetPortalRole(portalRole string)
- func (c *Contact) SetPortalRoleID(portalRoleID *string)
- func (c *Contact) SetPrimaryPhoneNumber(primaryPhoneNumber *string)
- func (c *Contact) String() string
- func (c *Contact) UnmarshalJSON(data []byte) error
- type ContactsCreateRequest
- func (c *ContactsCreateRequest) MarshalJSON() ([]byte, error)
- func (c *ContactsCreateRequest) SetAccountExternalID(accountExternalID *string)
- func (c *ContactsCreateRequest) SetAccountID(accountID *string)
- func (c *ContactsCreateRequest) SetAvatarURL(avatarURL *string)
- func (c *ContactsCreateRequest) SetCustomFields(customFields []*CustomFieldValue)
- func (c *ContactsCreateRequest) SetEmail(email *string)
- func (c *ContactsCreateRequest) SetExternalIDs(externalIDs []*ExternalID)
- func (c *ContactsCreateRequest) SetName(name string)
- func (c *ContactsCreateRequest) SetPhoneNumbers(phoneNumbers []string)
- func (c *ContactsCreateRequest) SetPortalRole(portalRole *string)
- func (c *ContactsCreateRequest) SetPortalRoleID(portalRoleID *string)
- func (c *ContactsCreateRequest) SetPrimaryPhoneNumber(primaryPhoneNumber *string)
- func (c *ContactsCreateRequest) UnmarshalJSON(data []byte) error
- type ContactsDeleteRequest
- type ContactsGetRequest
- type ContactsListRequest
- type ContactsMergeRequest
- type ContactsPortalInvitationRequest
- type ContactsSearchRequest
- func (c *ContactsSearchRequest) MarshalJSON() ([]byte, error)
- func (c *ContactsSearchRequest) SetCursor(cursor *string)
- func (c *ContactsSearchRequest) SetFilter(filter *Filter)
- func (c *ContactsSearchRequest) SetLimit(limit *int64)
- func (c *ContactsSearchRequest) SetSearchText(searchText *string)
- func (c *ContactsSearchRequest) UnmarshalJSON(data []byte) error
- type ContactsUpdateRequest
- func (c *ContactsUpdateRequest) MarshalJSON() ([]byte, error)
- func (c *ContactsUpdateRequest) SetAccountExternalID(accountExternalID *string)
- func (c *ContactsUpdateRequest) SetAccountID(accountID *string)
- func (c *ContactsUpdateRequest) SetAvatarURL(avatarURL *string)
- func (c *ContactsUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
- func (c *ContactsUpdateRequest) SetEmail(email *string)
- func (c *ContactsUpdateRequest) SetEmails(emails []*UpdateContactEmail)
- func (c *ContactsUpdateRequest) SetExternalIDs(externalIDs []*ExternalID)
- func (c *ContactsUpdateRequest) SetID(id string)
- func (c *ContactsUpdateRequest) SetName(name *string)
- func (c *ContactsUpdateRequest) SetPhoneNumbers(phoneNumbers []string)
- func (c *ContactsUpdateRequest) SetPortalRole(portalRole *string)
- func (c *ContactsUpdateRequest) SetPortalRoleID(portalRoleID *string)
- func (c *ContactsUpdateRequest) SetPrimaryPhoneNumber(primaryPhoneNumber *string)
- func (c *ContactsUpdateRequest) UnmarshalJSON(data []byte) error
- type ContentTooLargeError
- type CreateAccountHighlightResponseBody
- func (c *CreateAccountHighlightResponseBody) GetData() *AccountHighlight
- func (c *CreateAccountHighlightResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateAccountHighlightResponseBody) GetRequestID() string
- func (c *CreateAccountHighlightResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateAccountHighlightResponseBody) SetData(data *AccountHighlight)
- func (c *CreateAccountHighlightResponseBody) SetRequestID(requestID string)
- func (c *CreateAccountHighlightResponseBody) String() string
- func (c *CreateAccountHighlightResponseBody) UnmarshalJSON(data []byte) error
- type CreateAccountNotebookNoteResponseBody
- func (c *CreateAccountNotebookNoteResponseBody) GetData() *AccountNotebookNote
- func (c *CreateAccountNotebookNoteResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateAccountNotebookNoteResponseBody) GetRequestID() string
- func (c *CreateAccountNotebookNoteResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateAccountNotebookNoteResponseBody) SetData(data *AccountNotebookNote)
- func (c *CreateAccountNotebookNoteResponseBody) SetRequestID(requestID string)
- func (c *CreateAccountNotebookNoteResponseBody) String() string
- func (c *CreateAccountNotebookNoteResponseBody) UnmarshalJSON(data []byte) error
- type CreateAccountRelationshipResponseBody
- func (c *CreateAccountRelationshipResponseBody) GetData() *AccountRelationship
- func (c *CreateAccountRelationshipResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateAccountRelationshipResponseBody) GetRequestID() string
- func (c *CreateAccountRelationshipResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateAccountRelationshipResponseBody) SetData(data *AccountRelationship)
- func (c *CreateAccountRelationshipResponseBody) SetRequestID(requestID string)
- func (c *CreateAccountRelationshipResponseBody) String() string
- func (c *CreateAccountRelationshipResponseBody) UnmarshalJSON(data []byte) error
- type CreateAccountRequestAccountType
- type CreateAccountResponseBody
- func (c *CreateAccountResponseBody) GetData() *Account
- func (c *CreateAccountResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateAccountResponseBody) GetRequestID() string
- func (c *CreateAccountResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateAccountResponseBody) SetData(data *Account)
- func (c *CreateAccountResponseBody) SetRequestID(requestID string)
- func (c *CreateAccountResponseBody) String() string
- func (c *CreateAccountResponseBody) UnmarshalJSON(data []byte) error
- type CreateActivityResponseBody
- func (c *CreateActivityResponseBody) GetData() *CreateActivityResponseData
- func (c *CreateActivityResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateActivityResponseBody) GetRequestID() string
- func (c *CreateActivityResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateActivityResponseBody) SetData(data *CreateActivityResponseData)
- func (c *CreateActivityResponseBody) SetRequestID(requestID string)
- func (c *CreateActivityResponseBody) String() string
- func (c *CreateActivityResponseBody) UnmarshalJSON(data []byte) error
- type CreateActivityResponseData
- func (c *CreateActivityResponseData) GetExtraProperties() map[string]interface{}
- func (c *CreateActivityResponseData) GetSuccess() bool
- func (c *CreateActivityResponseData) MarshalJSON() ([]byte, error)
- func (c *CreateActivityResponseData) SetSuccess(success bool)
- func (c *CreateActivityResponseData) String() string
- func (c *CreateActivityResponseData) UnmarshalJSON(data []byte) error
- type CreateArticleResponseBody
- func (c *CreateArticleResponseBody) GetData() *Article
- func (c *CreateArticleResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateArticleResponseBody) GetRequestID() string
- func (c *CreateArticleResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateArticleResponseBody) SetData(data *Article)
- func (c *CreateArticleResponseBody) SetRequestID(requestID string)
- func (c *CreateArticleResponseBody) String() string
- func (c *CreateArticleResponseBody) UnmarshalJSON(data []byte) error
- type CreateAttachmentResponseBody
- func (c *CreateAttachmentResponseBody) GetData() *Attachment
- func (c *CreateAttachmentResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateAttachmentResponseBody) GetRequestID() string
- func (c *CreateAttachmentResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateAttachmentResponseBody) SetData(data *Attachment)
- func (c *CreateAttachmentResponseBody) SetRequestID(requestID string)
- func (c *CreateAttachmentResponseBody) String() string
- func (c *CreateAttachmentResponseBody) UnmarshalJSON(data []byte) error
- type CreateCallRecordingMessageRequest
- func (c *CreateCallRecordingMessageRequest) GetExtraProperties() map[string]interface{}
- func (c *CreateCallRecordingMessageRequest) GetMessageAtMs() *int64
- func (c *CreateCallRecordingMessageRequest) GetMessageContent() string
- func (c *CreateCallRecordingMessageRequest) GetSpeakerEmail() *string
- func (c *CreateCallRecordingMessageRequest) GetSpeakerName() *string
- func (c *CreateCallRecordingMessageRequest) MarshalJSON() ([]byte, error)
- func (c *CreateCallRecordingMessageRequest) SetMessageAtMs(messageAtMs *int64)
- func (c *CreateCallRecordingMessageRequest) SetMessageContent(messageContent string)
- func (c *CreateCallRecordingMessageRequest) SetSpeakerEmail(speakerEmail *string)
- func (c *CreateCallRecordingMessageRequest) SetSpeakerName(speakerName *string)
- func (c *CreateCallRecordingMessageRequest) String() string
- func (c *CreateCallRecordingMessageRequest) UnmarshalJSON(data []byte) error
- type CreateCallRecordingRequestAppType
- type CreateCallRecordingResponseBody
- func (c *CreateCallRecordingResponseBody) GetData() *CallRecording
- func (c *CreateCallRecordingResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateCallRecordingResponseBody) GetRequestID() string
- func (c *CreateCallRecordingResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateCallRecordingResponseBody) SetData(data *CallRecording)
- func (c *CreateCallRecordingResponseBody) SetRequestID(requestID string)
- func (c *CreateCallRecordingResponseBody) String() string
- func (c *CreateCallRecordingResponseBody) UnmarshalJSON(data []byte) error
- type CreateCollectionResponseBody
- func (c *CreateCollectionResponseBody) GetData() *Collection
- func (c *CreateCollectionResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateCollectionResponseBody) GetRequestID() string
- func (c *CreateCollectionResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateCollectionResponseBody) SetData(data *Collection)
- func (c *CreateCollectionResponseBody) SetRequestID(requestID string)
- func (c *CreateCollectionResponseBody) String() string
- func (c *CreateCollectionResponseBody) UnmarshalJSON(data []byte) error
- type CreateContactResponseBody
- func (c *CreateContactResponseBody) GetData() *Contact
- func (c *CreateContactResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateContactResponseBody) GetRequestID() string
- func (c *CreateContactResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateContactResponseBody) SetData(data *Contact)
- func (c *CreateContactResponseBody) SetRequestID(requestID string)
- func (c *CreateContactResponseBody) String() string
- func (c *CreateContactResponseBody) UnmarshalJSON(data []byte) error
- type CreateCustomFieldRequestBodyObjectType
- type CreateCustomFieldResponseBody
- func (c *CreateCustomFieldResponseBody) GetData() *CustomFieldDefinition
- func (c *CreateCustomFieldResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateCustomFieldResponseBody) GetRequestID() string
- func (c *CreateCustomFieldResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateCustomFieldResponseBody) SetData(data *CustomFieldDefinition)
- func (c *CreateCustomFieldResponseBody) SetRequestID(requestID string)
- func (c *CreateCustomFieldResponseBody) String() string
- func (c *CreateCustomFieldResponseBody) UnmarshalJSON(data []byte) error
- type CreateCustomFieldSelectOptionResponseBody
- func (c *CreateCustomFieldSelectOptionResponseBody) GetData() *CustomFieldDefinitionSelectOption
- func (c *CreateCustomFieldSelectOptionResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateCustomFieldSelectOptionResponseBody) GetRequestID() string
- func (c *CreateCustomFieldSelectOptionResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateCustomFieldSelectOptionResponseBody) SetData(data *CustomFieldDefinitionSelectOption)
- func (c *CreateCustomFieldSelectOptionResponseBody) SetRequestID(requestID string)
- func (c *CreateCustomFieldSelectOptionResponseBody) String() string
- func (c *CreateCustomFieldSelectOptionResponseBody) UnmarshalJSON(data []byte) error
- type CreateCustomObjectResponseBody
- func (c *CreateCustomObjectResponseBody) GetData() *APICustomObject
- func (c *CreateCustomObjectResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateCustomObjectResponseBody) GetRequestID() string
- func (c *CreateCustomObjectResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateCustomObjectResponseBody) SetData(data *APICustomObject)
- func (c *CreateCustomObjectResponseBody) SetRequestID(requestID string)
- func (c *CreateCustomObjectResponseBody) String() string
- func (c *CreateCustomObjectResponseBody) UnmarshalJSON(data []byte) error
- type CreateFeatureRequestEvidenceResponseBody
- func (c *CreateFeatureRequestEvidenceResponseBody) GetData() *FeatureRequestEvidence
- func (c *CreateFeatureRequestEvidenceResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateFeatureRequestEvidenceResponseBody) GetRequestID() string
- func (c *CreateFeatureRequestEvidenceResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateFeatureRequestEvidenceResponseBody) SetData(data *FeatureRequestEvidence)
- func (c *CreateFeatureRequestEvidenceResponseBody) SetRequestID(requestID string)
- func (c *CreateFeatureRequestEvidenceResponseBody) String() string
- func (c *CreateFeatureRequestEvidenceResponseBody) UnmarshalJSON(data []byte) error
- type CreateFeatureRequestResponseBody
- func (c *CreateFeatureRequestResponseBody) GetData() *FeatureRequest
- func (c *CreateFeatureRequestResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateFeatureRequestResponseBody) GetRequestID() string
- func (c *CreateFeatureRequestResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateFeatureRequestResponseBody) SetData(data *FeatureRequest)
- func (c *CreateFeatureRequestResponseBody) SetRequestID(requestID string)
- func (c *CreateFeatureRequestResponseBody) String() string
- func (c *CreateFeatureRequestResponseBody) UnmarshalJSON(data []byte) error
- type CreateIssueAiResponseResponseBody
- func (c *CreateIssueAiResponseResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateIssueAiResponseResponseBody) GetRequestID() string
- func (c *CreateIssueAiResponseResponseBody) GetResponseHTML() string
- func (c *CreateIssueAiResponseResponseBody) GetResponseValid() bool
- func (c *CreateIssueAiResponseResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateIssueAiResponseResponseBody) SetRequestID(requestID string)
- func (c *CreateIssueAiResponseResponseBody) SetResponseHTML(responseHTML string)
- func (c *CreateIssueAiResponseResponseBody) SetResponseValid(responseValid bool)
- func (c *CreateIssueAiResponseResponseBody) String() string
- func (c *CreateIssueAiResponseResponseBody) UnmarshalJSON(data []byte) error
- type CreateIssueDraftReplyResponseBody
- func (c *CreateIssueDraftReplyResponseBody) GetData() *CreateIssueDraftReplyResponseData
- func (c *CreateIssueDraftReplyResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateIssueDraftReplyResponseBody) GetRequestID() string
- func (c *CreateIssueDraftReplyResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateIssueDraftReplyResponseBody) SetData(data *CreateIssueDraftReplyResponseData)
- func (c *CreateIssueDraftReplyResponseBody) SetRequestID(requestID string)
- func (c *CreateIssueDraftReplyResponseBody) String() string
- func (c *CreateIssueDraftReplyResponseBody) UnmarshalJSON(data []byte) error
- type CreateIssueDraftReplyResponseData
- func (c *CreateIssueDraftReplyResponseData) GetExtraProperties() map[string]interface{}
- func (c *CreateIssueDraftReplyResponseData) GetID() string
- func (c *CreateIssueDraftReplyResponseData) GetIssueID() string
- func (c *CreateIssueDraftReplyResponseData) GetStatus() string
- func (c *CreateIssueDraftReplyResponseData) GetUpdatedAt() time.Time
- func (c *CreateIssueDraftReplyResponseData) GetUserID() string
- func (c *CreateIssueDraftReplyResponseData) MarshalJSON() ([]byte, error)
- func (c *CreateIssueDraftReplyResponseData) SetID(id string)
- func (c *CreateIssueDraftReplyResponseData) SetIssueID(issueID string)
- func (c *CreateIssueDraftReplyResponseData) SetStatus(status string)
- func (c *CreateIssueDraftReplyResponseData) SetUpdatedAt(updatedAt time.Time)
- func (c *CreateIssueDraftReplyResponseData) SetUserID(userID string)
- func (c *CreateIssueDraftReplyResponseData) String() string
- func (c *CreateIssueDraftReplyResponseData) UnmarshalJSON(data []byte) error
- type CreateIssueGroupResponseBody
- func (c *CreateIssueGroupResponseBody) GetData() *Issue
- func (c *CreateIssueGroupResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateIssueGroupResponseBody) GetRequestID() string
- func (c *CreateIssueGroupResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateIssueGroupResponseBody) SetData(data *Issue)
- func (c *CreateIssueGroupResponseBody) SetRequestID(requestID string)
- func (c *CreateIssueGroupResponseBody) String() string
- func (c *CreateIssueGroupResponseBody) UnmarshalJSON(data []byte) error
- type CreateIssueNoteResponseBody
- func (c *CreateIssueNoteResponseBody) GetData() *CreateIssueNoteResponseData
- func (c *CreateIssueNoteResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateIssueNoteResponseBody) GetRequestID() string
- func (c *CreateIssueNoteResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateIssueNoteResponseBody) SetData(data *CreateIssueNoteResponseData)
- func (c *CreateIssueNoteResponseBody) SetRequestID(requestID string)
- func (c *CreateIssueNoteResponseBody) String() string
- func (c *CreateIssueNoteResponseBody) UnmarshalJSON(data []byte) error
- type CreateIssueNoteResponseData
- func (c *CreateIssueNoteResponseData) GetExtraProperties() map[string]interface{}
- func (c *CreateIssueNoteResponseData) GetID() string
- func (c *CreateIssueNoteResponseData) GetIssueID() string
- func (c *CreateIssueNoteResponseData) MarshalJSON() ([]byte, error)
- func (c *CreateIssueNoteResponseData) SetID(id string)
- func (c *CreateIssueNoteResponseData) SetIssueID(issueID string)
- func (c *CreateIssueNoteResponseData) String() string
- func (c *CreateIssueNoteResponseData) UnmarshalJSON(data []byte) error
- type CreateIssueReplyEmailInfo
- func (c *CreateIssueReplyEmailInfo) GetBccEmails() []string
- func (c *CreateIssueReplyEmailInfo) GetCcEmails() []string
- func (c *CreateIssueReplyEmailInfo) GetExtraProperties() map[string]interface{}
- func (c *CreateIssueReplyEmailInfo) GetToEmails() []string
- func (c *CreateIssueReplyEmailInfo) MarshalJSON() ([]byte, error)
- func (c *CreateIssueReplyEmailInfo) SetBccEmails(bccEmails []string)
- func (c *CreateIssueReplyEmailInfo) SetCcEmails(ccEmails []string)
- func (c *CreateIssueReplyEmailInfo) SetToEmails(toEmails []string)
- func (c *CreateIssueReplyEmailInfo) String() string
- func (c *CreateIssueReplyEmailInfo) UnmarshalJSON(data []byte) error
- type CreateIssueReplyResponseBody
- func (c *CreateIssueReplyResponseBody) GetData() *CreateIssueReplyResponseData
- func (c *CreateIssueReplyResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateIssueReplyResponseBody) GetRequestID() string
- func (c *CreateIssueReplyResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateIssueReplyResponseBody) SetData(data *CreateIssueReplyResponseData)
- func (c *CreateIssueReplyResponseBody) SetRequestID(requestID string)
- func (c *CreateIssueReplyResponseBody) String() string
- func (c *CreateIssueReplyResponseBody) UnmarshalJSON(data []byte) error
- type CreateIssueReplyResponseData
- func (c *CreateIssueReplyResponseData) GetExtraProperties() map[string]interface{}
- func (c *CreateIssueReplyResponseData) GetID() string
- func (c *CreateIssueReplyResponseData) GetIssueID() string
- func (c *CreateIssueReplyResponseData) MarshalJSON() ([]byte, error)
- func (c *CreateIssueReplyResponseData) SetID(id string)
- func (c *CreateIssueReplyResponseData) SetIssueID(issueID string)
- func (c *CreateIssueReplyResponseData) String() string
- func (c *CreateIssueReplyResponseData) UnmarshalJSON(data []byte) error
- type CreateIssueRequestPriority
- type CreateIssueResponseBody
- func (c *CreateIssueResponseBody) GetData() *Issue
- func (c *CreateIssueResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateIssueResponseBody) GetRequestID() string
- func (c *CreateIssueResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateIssueResponseBody) SetData(data *Issue)
- func (c *CreateIssueResponseBody) SetRequestID(requestID string)
- func (c *CreateIssueResponseBody) String() string
- func (c *CreateIssueResponseBody) UnmarshalJSON(data []byte) error
- type CreateIssueThreadResponseBody
- func (c *CreateIssueThreadResponseBody) GetData() *IssueThread
- func (c *CreateIssueThreadResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateIssueThreadResponseBody) GetRequestID() string
- func (c *CreateIssueThreadResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateIssueThreadResponseBody) SetData(data *IssueThread)
- func (c *CreateIssueThreadResponseBody) SetRequestID(requestID string)
- func (c *CreateIssueThreadResponseBody) String() string
- func (c *CreateIssueThreadResponseBody) UnmarshalJSON(data []byte) error
- type CreateMacroResponseBody
- func (c *CreateMacroResponseBody) GetData() *Macro
- func (c *CreateMacroResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateMacroResponseBody) GetRequestID() string
- func (c *CreateMacroResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateMacroResponseBody) SetData(data *Macro)
- func (c *CreateMacroResponseBody) SetRequestID(requestID string)
- func (c *CreateMacroResponseBody) String() string
- func (c *CreateMacroResponseBody) UnmarshalJSON(data []byte) error
- type CreateMilestoneResponseBody
- func (c *CreateMilestoneResponseBody) GetData() *Milestone
- func (c *CreateMilestoneResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateMilestoneResponseBody) GetRequestID() string
- func (c *CreateMilestoneResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateMilestoneResponseBody) SetData(data *Milestone)
- func (c *CreateMilestoneResponseBody) SetRequestID(requestID string)
- func (c *CreateMilestoneResponseBody) String() string
- func (c *CreateMilestoneResponseBody) UnmarshalJSON(data []byte) error
- type CreateProjectResponseBody
- func (c *CreateProjectResponseBody) GetData() *Project
- func (c *CreateProjectResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateProjectResponseBody) GetRequestID() string
- func (c *CreateProjectResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateProjectResponseBody) SetData(data *Project)
- func (c *CreateProjectResponseBody) SetRequestID(requestID string)
- func (c *CreateProjectResponseBody) String() string
- func (c *CreateProjectResponseBody) UnmarshalJSON(data []byte) error
- type CreateRouteRedirectResponseBody
- func (c *CreateRouteRedirectResponseBody) GetData() *RouteRedirect
- func (c *CreateRouteRedirectResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateRouteRedirectResponseBody) GetRequestID() string
- func (c *CreateRouteRedirectResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateRouteRedirectResponseBody) SetData(data *RouteRedirect)
- func (c *CreateRouteRedirectResponseBody) SetRequestID(requestID string)
- func (c *CreateRouteRedirectResponseBody) String() string
- func (c *CreateRouteRedirectResponseBody) UnmarshalJSON(data []byte) error
- type CreateTagRequestBodyObjectType
- type CreateTagResponseBody
- func (c *CreateTagResponseBody) GetData() *Tag
- func (c *CreateTagResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateTagResponseBody) GetRequestID() string
- func (c *CreateTagResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateTagResponseBody) SetData(data *Tag)
- func (c *CreateTagResponseBody) SetRequestID(requestID string)
- func (c *CreateTagResponseBody) String() string
- func (c *CreateTagResponseBody) UnmarshalJSON(data []byte) error
- type CreateTaskCommentResponseBody
- func (c *CreateTaskCommentResponseBody) GetData() *TaskComment
- func (c *CreateTaskCommentResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateTaskCommentResponseBody) GetRequestID() string
- func (c *CreateTaskCommentResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateTaskCommentResponseBody) SetData(data *TaskComment)
- func (c *CreateTaskCommentResponseBody) SetRequestID(requestID string)
- func (c *CreateTaskCommentResponseBody) String() string
- func (c *CreateTaskCommentResponseBody) UnmarshalJSON(data []byte) error
- type CreateTaskResponseBody
- func (c *CreateTaskResponseBody) GetData() *Task
- func (c *CreateTaskResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateTaskResponseBody) GetRequestID() string
- func (c *CreateTaskResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateTaskResponseBody) SetData(data *Task)
- func (c *CreateTaskResponseBody) SetRequestID(requestID string)
- func (c *CreateTaskResponseBody) String() string
- func (c *CreateTaskResponseBody) UnmarshalJSON(data []byte) error
- type CreateTeamResponseBody
- func (c *CreateTeamResponseBody) GetData() *Team
- func (c *CreateTeamResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateTeamResponseBody) GetRequestID() string
- func (c *CreateTeamResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateTeamResponseBody) SetData(data *Team)
- func (c *CreateTeamResponseBody) SetRequestID(requestID string)
- func (c *CreateTeamResponseBody) String() string
- func (c *CreateTeamResponseBody) UnmarshalJSON(data []byte) error
- type CreateTrainingDataRequestBodyVisibility
- type CreateTrainingDataResponseBody
- func (c *CreateTrainingDataResponseBody) GetData() *TrainingData
- func (c *CreateTrainingDataResponseBody) GetExtraProperties() map[string]interface{}
- func (c *CreateTrainingDataResponseBody) GetRequestID() string
- func (c *CreateTrainingDataResponseBody) MarshalJSON() ([]byte, error)
- func (c *CreateTrainingDataResponseBody) SetData(data *TrainingData)
- func (c *CreateTrainingDataResponseBody) SetRequestID(requestID string)
- func (c *CreateTrainingDataResponseBody) String() string
- func (c *CreateTrainingDataResponseBody) UnmarshalJSON(data []byte) error
- type CrmDetails
- func (c *CrmDetails) GetExtraProperties() map[string]interface{}
- func (c *CrmDetails) GetID() string
- func (c *CrmDetails) GetSource() string
- func (c *CrmDetails) MarshalJSON() ([]byte, error)
- func (c *CrmDetails) SetID(id string)
- func (c *CrmDetails) SetSource(source string)
- func (c *CrmDetails) String() string
- func (c *CrmDetails) UnmarshalJSON(data []byte) error
- type CrmSettings
- func (c *CrmSettings) GetDetails() []*CrmDetails
- func (c *CrmSettings) GetExtraProperties() map[string]interface{}
- func (c *CrmSettings) MarshalJSON() ([]byte, error)
- func (c *CrmSettings) SetDetails(details []*CrmDetails)
- func (c *CrmSettings) String() string
- func (c *CrmSettings) UnmarshalJSON(data []byte) error
- type CsatResponse
- func (c *CsatResponse) GetComment() *string
- func (c *CsatResponse) GetExtraProperties() map[string]interface{}
- func (c *CsatResponse) GetScore() int64
- func (c *CsatResponse) MarshalJSON() ([]byte, error)
- func (c *CsatResponse) SetComment(comment *string)
- func (c *CsatResponse) SetScore(score int64)
- func (c *CsatResponse) String() string
- func (c *CsatResponse) UnmarshalJSON(data []byte) error
- type CustomActivity
- func (c *CustomActivity) GetAccountID() string
- func (c *CustomActivity) GetActivityType() *ActivityType
- func (c *CustomActivity) GetBodyHTML() *string
- func (c *CustomActivity) GetContactID() *string
- func (c *CustomActivity) GetCreatedAt() time.Time
- func (c *CustomActivity) GetExtraProperties() map[string]interface{}
- func (c *CustomActivity) GetHappenedAt() time.Time
- func (c *CustomActivity) GetID() string
- func (c *CustomActivity) GetLink() *string
- func (c *CustomActivity) GetLinkText() *string
- func (c *CustomActivity) GetUpdatedAt() time.Time
- func (c *CustomActivity) GetUserID() *string
- func (c *CustomActivity) MarshalJSON() ([]byte, error)
- func (c *CustomActivity) SetAccountID(accountID string)
- func (c *CustomActivity) SetActivityType(activityType *ActivityType)
- func (c *CustomActivity) SetBodyHTML(bodyHTML *string)
- func (c *CustomActivity) SetContactID(contactID *string)
- func (c *CustomActivity) SetCreatedAt(createdAt time.Time)
- func (c *CustomActivity) SetHappenedAt(happenedAt time.Time)
- func (c *CustomActivity) SetID(id string)
- func (c *CustomActivity) SetLink(link *string)
- func (c *CustomActivity) SetLinkText(linkText *string)
- func (c *CustomActivity) SetUpdatedAt(updatedAt time.Time)
- func (c *CustomActivity) SetUserID(userID *string)
- func (c *CustomActivity) String() string
- func (c *CustomActivity) UnmarshalJSON(data []byte) error
- type CustomFieldActor
- func (c *CustomFieldActor) GetExtraProperties() map[string]interface{}
- func (c *CustomFieldActor) GetType() string
- func (c *CustomFieldActor) GetUser() *MiniUser
- func (c *CustomFieldActor) MarshalJSON() ([]byte, error)
- func (c *CustomFieldActor) SetType(type_ string)
- func (c *CustomFieldActor) SetUser(user *MiniUser)
- func (c *CustomFieldActor) String() string
- func (c *CustomFieldActor) UnmarshalJSON(data []byte) error
- type CustomFieldDefinition
- func (c *CustomFieldDefinition) GetCreatedAt() time.Time
- func (c *CustomFieldDefinition) GetCreatedBy() *CustomFieldActor
- func (c *CustomFieldDefinition) GetDefaultValue() *string
- func (c *CustomFieldDefinition) GetDefaultValues() []string
- func (c *CustomFieldDefinition) GetDescription() string
- func (c *CustomFieldDefinition) GetExtraProperties() map[string]interface{}
- func (c *CustomFieldDefinition) GetID() string
- func (c *CustomFieldDefinition) GetInstructions() string
- func (c *CustomFieldDefinition) GetIsAiEnabled() bool
- func (c *CustomFieldDefinition) GetIsReadOnly() bool
- func (c *CustomFieldDefinition) GetJSONSchema() *string
- func (c *CustomFieldDefinition) GetLabel() string
- func (c *CustomFieldDefinition) GetNumberMetadata() *NumberMetadata
- func (c *CustomFieldDefinition) GetObjectType() string
- func (c *CustomFieldDefinition) GetRequirement() *CustomFieldRequirement
- func (c *CustomFieldDefinition) GetSelectMetadata() *SelectMetadata
- func (c *CustomFieldDefinition) GetSlug() string
- func (c *CustomFieldDefinition) GetSource() string
- func (c *CustomFieldDefinition) GetType() string
- func (c *CustomFieldDefinition) GetUpdatedAt() time.Time
- func (c *CustomFieldDefinition) GetUpdatedBy() *CustomFieldActor
- func (c *CustomFieldDefinition) GetVisibleByDefault() bool
- func (c *CustomFieldDefinition) MarshalJSON() ([]byte, error)
- func (c *CustomFieldDefinition) SetCreatedAt(createdAt time.Time)
- func (c *CustomFieldDefinition) SetCreatedBy(createdBy *CustomFieldActor)
- func (c *CustomFieldDefinition) SetDefaultValue(defaultValue *string)
- func (c *CustomFieldDefinition) SetDefaultValues(defaultValues []string)
- func (c *CustomFieldDefinition) SetDescription(description string)
- func (c *CustomFieldDefinition) SetID(id string)
- func (c *CustomFieldDefinition) SetInstructions(instructions string)
- func (c *CustomFieldDefinition) SetIsAiEnabled(isAiEnabled bool)
- func (c *CustomFieldDefinition) SetIsReadOnly(isReadOnly bool)
- func (c *CustomFieldDefinition) SetJSONSchema(jsonSchema *string)
- func (c *CustomFieldDefinition) SetLabel(label string)
- func (c *CustomFieldDefinition) SetNumberMetadata(numberMetadata *NumberMetadata)
- func (c *CustomFieldDefinition) SetObjectType(objectType string)
- func (c *CustomFieldDefinition) SetRequirement(requirement *CustomFieldRequirement)
- func (c *CustomFieldDefinition) SetSelectMetadata(selectMetadata *SelectMetadata)
- func (c *CustomFieldDefinition) SetSlug(slug string)
- func (c *CustomFieldDefinition) SetSource(source string)
- func (c *CustomFieldDefinition) SetType(type_ string)
- func (c *CustomFieldDefinition) SetUpdatedAt(updatedAt time.Time)
- func (c *CustomFieldDefinition) SetUpdatedBy(updatedBy *CustomFieldActor)
- func (c *CustomFieldDefinition) SetVisibleByDefault(visibleByDefault bool)
- func (c *CustomFieldDefinition) String() string
- func (c *CustomFieldDefinition) UnmarshalJSON(data []byte) error
- type CustomFieldDefinitionSelectOption
- func (c *CustomFieldDefinitionSelectOption) GetAiDescription() *string
- func (c *CustomFieldDefinitionSelectOption) GetExtraProperties() map[string]interface{}
- func (c *CustomFieldDefinitionSelectOption) GetLabel() *string
- func (c *CustomFieldDefinitionSelectOption) GetSlug() *string
- func (c *CustomFieldDefinitionSelectOption) MarshalJSON() ([]byte, error)
- func (c *CustomFieldDefinitionSelectOption) SetAiDescription(aiDescription *string)
- func (c *CustomFieldDefinitionSelectOption) SetLabel(label *string)
- func (c *CustomFieldDefinitionSelectOption) SetSlug(slug *string)
- func (c *CustomFieldDefinitionSelectOption) String() string
- func (c *CustomFieldDefinitionSelectOption) UnmarshalJSON(data []byte) error
- type CustomFieldRequirement
- func (c *CustomFieldRequirement) GetExtraProperties() map[string]interface{}
- func (c *CustomFieldRequirement) GetFilter() *Filter
- func (c *CustomFieldRequirement) GetFilterUnsupported() *bool
- func (c *CustomFieldRequirement) GetSetting() string
- func (c *CustomFieldRequirement) MarshalJSON() ([]byte, error)
- func (c *CustomFieldRequirement) SetFilter(filter *Filter)
- func (c *CustomFieldRequirement) SetFilterUnsupported(filterUnsupported *bool)
- func (c *CustomFieldRequirement) SetSetting(setting string)
- func (c *CustomFieldRequirement) String() string
- func (c *CustomFieldRequirement) UnmarshalJSON(data []byte) error
- type CustomFieldValue
- func (c *CustomFieldValue) GetExtraProperties() map[string]interface{}
- func (c *CustomFieldValue) GetSlug() *string
- func (c *CustomFieldValue) GetValue() *string
- func (c *CustomFieldValue) GetValues() []string
- func (c *CustomFieldValue) MarshalJSON() ([]byte, error)
- func (c *CustomFieldValue) SetSlug(slug *string)
- func (c *CustomFieldValue) SetValue(value *string)
- func (c *CustomFieldValue) SetValues(values []string)
- func (c *CustomFieldValue) String() string
- func (c *CustomFieldValue) UnmarshalJSON(data []byte) error
- type CustomFieldsCreateRequest
- func (c *CustomFieldsCreateRequest) MarshalJSON() ([]byte, error)
- func (c *CustomFieldsCreateRequest) SetDefaultValue(defaultValue *string)
- func (c *CustomFieldsCreateRequest) SetDefaultValues(defaultValues []string)
- func (c *CustomFieldsCreateRequest) SetDescription(description *string)
- func (c *CustomFieldsCreateRequest) SetInstructions(instructions *string)
- func (c *CustomFieldsCreateRequest) SetIsAiEnabled(isAiEnabled *bool)
- func (c *CustomFieldsCreateRequest) SetJSONSchema(jsonSchema *string)
- func (c *CustomFieldsCreateRequest) SetLabel(label string)
- func (c *CustomFieldsCreateRequest) SetObjectType(objectType CreateCustomFieldRequestBodyObjectType)
- func (c *CustomFieldsCreateRequest) SetSelectOptions(selectOptions []*CustomFieldDefinitionSelectOption)
- func (c *CustomFieldsCreateRequest) SetSlug(slug *string)
- func (c *CustomFieldsCreateRequest) SetType(type_ string)
- func (c *CustomFieldsCreateRequest) UnmarshalJSON(data []byte) error
- type CustomFieldsGetRequest
- type CustomFieldsListRequest
- type CustomFieldsUpdateRequest
- func (c *CustomFieldsUpdateRequest) MarshalJSON() ([]byte, error)
- func (c *CustomFieldsUpdateRequest) SetAddSelectOptions(addSelectOptions []*CustomFieldDefinitionSelectOption)
- func (c *CustomFieldsUpdateRequest) SetDefaultValue(defaultValue *string)
- func (c *CustomFieldsUpdateRequest) SetDefaultValues(defaultValues []string)
- func (c *CustomFieldsUpdateRequest) SetDescription(description *string)
- func (c *CustomFieldsUpdateRequest) SetID(id string)
- func (c *CustomFieldsUpdateRequest) SetInstructions(instructions *string)
- func (c *CustomFieldsUpdateRequest) SetIsAiEnabled(isAiEnabled *bool)
- func (c *CustomFieldsUpdateRequest) SetLabel(label *string)
- func (c *CustomFieldsUpdateRequest) SetOptionDescriptions(optionDescriptions map[string]string)
- func (c *CustomFieldsUpdateRequest) SetRequirement(requirement *UpdateCustomFieldRequirement)
- func (c *CustomFieldsUpdateRequest) SetSelectOptions(selectOptions []*CustomFieldDefinitionSelectOption)
- func (c *CustomFieldsUpdateRequest) SetSlug(slug *string)
- func (c *CustomFieldsUpdateRequest) SetVisibleByDefault(visibleByDefault *bool)
- func (c *CustomFieldsUpdateRequest) UnmarshalJSON(data []byte) error
- type CustomObjectsBulkUpdateRequest
- func (c *CustomObjectsBulkUpdateRequest) MarshalJSON() ([]byte, error)
- func (c *CustomObjectsBulkUpdateRequest) SetCustomFields(customFields map[string]*CustomFieldValue)
- func (c *CustomObjectsBulkUpdateRequest) SetIDs(ids []string)
- func (c *CustomObjectsBulkUpdateRequest) SetType(type_ string)
- func (c *CustomObjectsBulkUpdateRequest) UnmarshalJSON(data []byte) error
- type CustomObjectsCreateRequest
- func (c *CustomObjectsCreateRequest) MarshalJSON() ([]byte, error)
- func (c *CustomObjectsCreateRequest) SetCustomFields(customFields map[string]*CustomFieldValue)
- func (c *CustomObjectsCreateRequest) SetName(name string)
- func (c *CustomObjectsCreateRequest) SetType(type_ string)
- func (c *CustomObjectsCreateRequest) UnmarshalJSON(data []byte) error
- type CustomObjectsDeleteRequest
- type CustomObjectsGetRequest
- type CustomObjectsListRequest
- type CustomObjectsSearchRequest
- func (c *CustomObjectsSearchRequest) MarshalJSON() ([]byte, error)
- func (c *CustomObjectsSearchRequest) SetCursor(cursor *string)
- func (c *CustomObjectsSearchRequest) SetFilter(filter *Filter)
- func (c *CustomObjectsSearchRequest) SetLimit(limit *int64)
- func (c *CustomObjectsSearchRequest) SetType(type_ string)
- func (c *CustomObjectsSearchRequest) UnmarshalJSON(data []byte) error
- type CustomObjectsUpdateRequest
- func (c *CustomObjectsUpdateRequest) MarshalJSON() ([]byte, error)
- func (c *CustomObjectsUpdateRequest) SetCustomFields(customFields map[string]*CustomFieldValue)
- func (c *CustomObjectsUpdateRequest) SetID(id string)
- func (c *CustomObjectsUpdateRequest) SetName(name *string)
- func (c *CustomObjectsUpdateRequest) SetType(type_ string)
- func (c *CustomObjectsUpdateRequest) UnmarshalJSON(data []byte) error
- type CustomSourceInfo
- func (c *CustomSourceInfo) GetCreatedAt() *time.Time
- func (c *CustomSourceInfo) GetExternalID() string
- func (c *CustomSourceInfo) GetExtraProperties() map[string]interface{}
- func (c *CustomSourceInfo) GetMetadata() map[string]any
- func (c *CustomSourceInfo) MarshalJSON() ([]byte, error)
- func (c *CustomSourceInfo) SetCreatedAt(createdAt *time.Time)
- func (c *CustomSourceInfo) SetExternalID(externalID string)
- func (c *CustomSourceInfo) SetMetadata(metadata map[string]any)
- func (c *CustomSourceInfo) String() string
- func (c *CustomSourceInfo) UnmarshalJSON(data []byte) error
- type CustomerPortalInvitationResult
- func (c *CustomerPortalInvitationResult) GetAccepted() bool
- func (c *CustomerPortalInvitationResult) GetExtraProperties() map[string]interface{}
- func (c *CustomerPortalInvitationResult) MarshalJSON() ([]byte, error)
- func (c *CustomerPortalInvitationResult) SetAccepted(accepted bool)
- func (c *CustomerPortalInvitationResult) String() string
- func (c *CustomerPortalInvitationResult) UnmarshalJSON(data []byte) error
- type DeleteAccountHighlightResponseBody
- func (d *DeleteAccountHighlightResponseBody) GetData() *DeleteAccountHighlightResponseData
- func (d *DeleteAccountHighlightResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteAccountHighlightResponseBody) GetRequestID() string
- func (d *DeleteAccountHighlightResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteAccountHighlightResponseBody) SetData(data *DeleteAccountHighlightResponseData)
- func (d *DeleteAccountHighlightResponseBody) SetRequestID(requestID string)
- func (d *DeleteAccountHighlightResponseBody) String() string
- func (d *DeleteAccountHighlightResponseBody) UnmarshalJSON(data []byte) error
- type DeleteAccountHighlightResponseData
- func (d *DeleteAccountHighlightResponseData) GetExtraProperties() map[string]interface{}
- func (d *DeleteAccountHighlightResponseData) GetSuccess() bool
- func (d *DeleteAccountHighlightResponseData) MarshalJSON() ([]byte, error)
- func (d *DeleteAccountHighlightResponseData) SetSuccess(success bool)
- func (d *DeleteAccountHighlightResponseData) String() string
- func (d *DeleteAccountHighlightResponseData) UnmarshalJSON(data []byte) error
- type DeleteAccountRelationshipResponseBody
- func (d *DeleteAccountRelationshipResponseBody) GetData() *AccountRelationship
- func (d *DeleteAccountRelationshipResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteAccountRelationshipResponseBody) GetRequestID() string
- func (d *DeleteAccountRelationshipResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteAccountRelationshipResponseBody) SetData(data *AccountRelationship)
- func (d *DeleteAccountRelationshipResponseBody) SetRequestID(requestID string)
- func (d *DeleteAccountRelationshipResponseBody) String() string
- func (d *DeleteAccountRelationshipResponseBody) UnmarshalJSON(data []byte) error
- type DeleteAccountResponseBody
- func (d *DeleteAccountResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteAccountResponseBody) GetRequestID() string
- func (d *DeleteAccountResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteAccountResponseBody) SetRequestID(requestID string)
- func (d *DeleteAccountResponseBody) String() string
- func (d *DeleteAccountResponseBody) UnmarshalJSON(data []byte) error
- type DeleteArticleResponseBody
- func (d *DeleteArticleResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteArticleResponseBody) GetRequestID() string
- func (d *DeleteArticleResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteArticleResponseBody) SetRequestID(requestID string)
- func (d *DeleteArticleResponseBody) String() string
- func (d *DeleteArticleResponseBody) UnmarshalJSON(data []byte) error
- type DeleteCallRecordingResponseBody
- func (d *DeleteCallRecordingResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteCallRecordingResponseBody) GetRequestID() string
- func (d *DeleteCallRecordingResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteCallRecordingResponseBody) SetRequestID(requestID string)
- func (d *DeleteCallRecordingResponseBody) String() string
- func (d *DeleteCallRecordingResponseBody) UnmarshalJSON(data []byte) error
- type DeleteCollectionResponseBody
- func (d *DeleteCollectionResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteCollectionResponseBody) GetRequestID() string
- func (d *DeleteCollectionResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteCollectionResponseBody) SetRequestID(requestID string)
- func (d *DeleteCollectionResponseBody) String() string
- func (d *DeleteCollectionResponseBody) UnmarshalJSON(data []byte) error
- type DeleteContactResponseBody
- func (d *DeleteContactResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteContactResponseBody) GetRequestID() string
- func (d *DeleteContactResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteContactResponseBody) SetRequestID(requestID string)
- func (d *DeleteContactResponseBody) String() string
- func (d *DeleteContactResponseBody) UnmarshalJSON(data []byte) error
- type DeleteCustomFieldSelectOptionResponseBody
- func (d *DeleteCustomFieldSelectOptionResponseBody) GetData() *DeleteCustomFieldSelectOptionResponseData
- func (d *DeleteCustomFieldSelectOptionResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteCustomFieldSelectOptionResponseBody) GetRequestID() string
- func (d *DeleteCustomFieldSelectOptionResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteCustomFieldSelectOptionResponseBody) SetData(data *DeleteCustomFieldSelectOptionResponseData)
- func (d *DeleteCustomFieldSelectOptionResponseBody) SetRequestID(requestID string)
- func (d *DeleteCustomFieldSelectOptionResponseBody) String() string
- func (d *DeleteCustomFieldSelectOptionResponseBody) UnmarshalJSON(data []byte) error
- type DeleteCustomFieldSelectOptionResponseData
- func (d *DeleteCustomFieldSelectOptionResponseData) GetExtraProperties() map[string]interface{}
- func (d *DeleteCustomFieldSelectOptionResponseData) GetSuccess() bool
- func (d *DeleteCustomFieldSelectOptionResponseData) MarshalJSON() ([]byte, error)
- func (d *DeleteCustomFieldSelectOptionResponseData) SetSuccess(success bool)
- func (d *DeleteCustomFieldSelectOptionResponseData) String() string
- func (d *DeleteCustomFieldSelectOptionResponseData) UnmarshalJSON(data []byte) error
- type DeleteCustomObjectResponseBody
- func (d *DeleteCustomObjectResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteCustomObjectResponseBody) GetRequestID() string
- func (d *DeleteCustomObjectResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteCustomObjectResponseBody) SetRequestID(requestID string)
- func (d *DeleteCustomObjectResponseBody) String() string
- func (d *DeleteCustomObjectResponseBody) UnmarshalJSON(data []byte) error
- type DeleteEmailSuppressionResponseBody
- func (d *DeleteEmailSuppressionResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteEmailSuppressionResponseBody) GetRequestID() string
- func (d *DeleteEmailSuppressionResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteEmailSuppressionResponseBody) SetRequestID(requestID string)
- func (d *DeleteEmailSuppressionResponseBody) String() string
- func (d *DeleteEmailSuppressionResponseBody) UnmarshalJSON(data []byte) error
- type DeleteFeatureRequestResponseBody
- func (d *DeleteFeatureRequestResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteFeatureRequestResponseBody) GetRequestID() string
- func (d *DeleteFeatureRequestResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteFeatureRequestResponseBody) SetRequestID(requestID string)
- func (d *DeleteFeatureRequestResponseBody) String() string
- func (d *DeleteFeatureRequestResponseBody) UnmarshalJSON(data []byte) error
- type DeleteIssueResponseBody
- func (d *DeleteIssueResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteIssueResponseBody) GetRequestID() string
- func (d *DeleteIssueResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteIssueResponseBody) SetRequestID(requestID string)
- func (d *DeleteIssueResponseBody) String() string
- func (d *DeleteIssueResponseBody) UnmarshalJSON(data []byte) error
- type DeleteMacroResponseBody
- func (d *DeleteMacroResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteMacroResponseBody) GetRequestID() string
- func (d *DeleteMacroResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteMacroResponseBody) SetRequestID(requestID string)
- func (d *DeleteMacroResponseBody) String() string
- func (d *DeleteMacroResponseBody) UnmarshalJSON(data []byte) error
- type DeleteMessageResponseBody
- func (d *DeleteMessageResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteMessageResponseBody) GetRequestID() string
- func (d *DeleteMessageResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteMessageResponseBody) SetRequestID(requestID string)
- func (d *DeleteMessageResponseBody) String() string
- func (d *DeleteMessageResponseBody) UnmarshalJSON(data []byte) error
- type DeleteMilestoneResponseBody
- func (d *DeleteMilestoneResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteMilestoneResponseBody) GetRequestID() string
- func (d *DeleteMilestoneResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteMilestoneResponseBody) SetRequestID(requestID string)
- func (d *DeleteMilestoneResponseBody) String() string
- func (d *DeleteMilestoneResponseBody) UnmarshalJSON(data []byte) error
- type DeleteProjectResponseBody
- func (d *DeleteProjectResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteProjectResponseBody) GetRequestID() string
- func (d *DeleteProjectResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteProjectResponseBody) SetRequestID(requestID string)
- func (d *DeleteProjectResponseBody) String() string
- func (d *DeleteProjectResponseBody) UnmarshalJSON(data []byte) error
- type DeleteRouteRedirectResponseBody
- func (d *DeleteRouteRedirectResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteRouteRedirectResponseBody) GetRequestID() string
- func (d *DeleteRouteRedirectResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteRouteRedirectResponseBody) SetRequestID(requestID string)
- func (d *DeleteRouteRedirectResponseBody) String() string
- func (d *DeleteRouteRedirectResponseBody) UnmarshalJSON(data []byte) error
- type DeleteTagResponseBody
- func (d *DeleteTagResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteTagResponseBody) GetRequestID() string
- func (d *DeleteTagResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteTagResponseBody) SetRequestID(requestID string)
- func (d *DeleteTagResponseBody) String() string
- func (d *DeleteTagResponseBody) UnmarshalJSON(data []byte) error
- type DeleteTaskCommentResponseBody
- func (d *DeleteTaskCommentResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteTaskCommentResponseBody) GetRequestID() string
- func (d *DeleteTaskCommentResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteTaskCommentResponseBody) SetRequestID(requestID string)
- func (d *DeleteTaskCommentResponseBody) String() string
- func (d *DeleteTaskCommentResponseBody) UnmarshalJSON(data []byte) error
- type DeleteTaskResponseBody
- func (d *DeleteTaskResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteTaskResponseBody) GetRequestID() string
- func (d *DeleteTaskResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteTaskResponseBody) SetRequestID(requestID string)
- func (d *DeleteTaskResponseBody) String() string
- func (d *DeleteTaskResponseBody) UnmarshalJSON(data []byte) error
- type DeleteTeamResponseBody
- func (d *DeleteTeamResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteTeamResponseBody) GetRequestID() string
- func (d *DeleteTeamResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteTeamResponseBody) SetRequestID(requestID string)
- func (d *DeleteTeamResponseBody) String() string
- func (d *DeleteTeamResponseBody) UnmarshalJSON(data []byte) error
- type DeleteTrainingDataDocumentsResponseBody
- func (d *DeleteTrainingDataDocumentsResponseBody) GetDeletedCount() int64
- func (d *DeleteTrainingDataDocumentsResponseBody) GetExtraProperties() map[string]interface{}
- func (d *DeleteTrainingDataDocumentsResponseBody) GetRequestID() string
- func (d *DeleteTrainingDataDocumentsResponseBody) MarshalJSON() ([]byte, error)
- func (d *DeleteTrainingDataDocumentsResponseBody) SetDeletedCount(deletedCount int64)
- func (d *DeleteTrainingDataDocumentsResponseBody) SetRequestID(requestID string)
- func (d *DeleteTrainingDataDocumentsResponseBody) String() string
- func (d *DeleteTrainingDataDocumentsResponseBody) UnmarshalJSON(data []byte) error
- type DestinationMetadata
- func (d *DestinationMetadata) GetChatWidgetAppID() *string
- func (d *DestinationMetadata) GetDestination() DestinationMetadataDestination
- func (d *DestinationMetadata) GetEmail() *string
- func (d *DestinationMetadata) GetEmailBccs() []string
- func (d *DestinationMetadata) GetEmailCcs() []string
- func (d *DestinationMetadata) GetExtraProperties() map[string]interface{}
- func (d *DestinationMetadata) GetFromSmsPhoneNumber() *string
- func (d *DestinationMetadata) GetFromSmsPhoneNumberID() *string
- func (d *DestinationMetadata) GetFromWhatsappPhoneNumber() *string
- func (d *DestinationMetadata) GetSlackChannelID() *string
- func (d *DestinationMetadata) GetWhatsappAppID() *string
- func (d *DestinationMetadata) GetWhatsappMessageTemplateLanguage() *string
- func (d *DestinationMetadata) GetWhatsappMessageTemplateName() *string
- func (d *DestinationMetadata) MarshalJSON() ([]byte, error)
- func (d *DestinationMetadata) SetChatWidgetAppID(chatWidgetAppID *string)
- func (d *DestinationMetadata) SetDestination(destination DestinationMetadataDestination)
- func (d *DestinationMetadata) SetEmail(email *string)
- func (d *DestinationMetadata) SetEmailBccs(emailBccs []string)
- func (d *DestinationMetadata) SetEmailCcs(emailCcs []string)
- func (d *DestinationMetadata) SetFromSmsPhoneNumber(fromSmsPhoneNumber *string)
- func (d *DestinationMetadata) SetFromSmsPhoneNumberID(fromSmsPhoneNumberID *string)
- func (d *DestinationMetadata) SetFromWhatsappPhoneNumber(fromWhatsappPhoneNumber *string)
- func (d *DestinationMetadata) SetSlackChannelID(slackChannelID *string)
- func (d *DestinationMetadata) SetWhatsappAppID(whatsappAppID *string)
- func (d *DestinationMetadata) SetWhatsappMessageTemplateLanguage(whatsappMessageTemplateLanguage *string)
- func (d *DestinationMetadata) SetWhatsappMessageTemplateName(whatsappMessageTemplateName *string)
- func (d *DestinationMetadata) String() string
- func (d *DestinationMetadata) UnmarshalJSON(data []byte) error
- type DestinationMetadataDestination
- type EmailActivity
- func (e *EmailActivity) GetAccountID() string
- func (e *EmailActivity) GetExtraProperties() map[string]interface{}
- func (e *EmailActivity) GetHappenedAt() time.Time
- func (e *EmailActivity) GetID() string
- func (e *EmailActivity) GetMessages() []*EmailActivityMessage
- func (e *EmailActivity) MarshalJSON() ([]byte, error)
- func (e *EmailActivity) SetAccountID(accountID string)
- func (e *EmailActivity) SetHappenedAt(happenedAt time.Time)
- func (e *EmailActivity) SetID(id string)
- func (e *EmailActivity) SetMessages(messages []*EmailActivityMessage)
- func (e *EmailActivity) String() string
- func (e *EmailActivity) UnmarshalJSON(data []byte) error
- type EmailActivityMessage
- func (e *EmailActivityMessage) GetContactID() *string
- func (e *EmailActivityMessage) GetEmailInfo() *EmailMessageInfo
- func (e *EmailActivityMessage) GetExtraProperties() map[string]interface{}
- func (e *EmailActivityMessage) GetID() string
- func (e *EmailActivityMessage) GetIssueID() *string
- func (e *EmailActivityMessage) GetMessageHTML() string
- func (e *EmailActivityMessage) GetSubject() string
- func (e *EmailActivityMessage) GetTimestamp() time.Time
- func (e *EmailActivityMessage) GetUserID() *string
- func (e *EmailActivityMessage) MarshalJSON() ([]byte, error)
- func (e *EmailActivityMessage) SetContactID(contactID *string)
- func (e *EmailActivityMessage) SetEmailInfo(emailInfo *EmailMessageInfo)
- func (e *EmailActivityMessage) SetID(id string)
- func (e *EmailActivityMessage) SetIssueID(issueID *string)
- func (e *EmailActivityMessage) SetMessageHTML(messageHTML string)
- func (e *EmailActivityMessage) SetSubject(subject string)
- func (e *EmailActivityMessage) SetTimestamp(timestamp time.Time)
- func (e *EmailActivityMessage) SetUserID(userID *string)
- func (e *EmailActivityMessage) String() string
- func (e *EmailActivityMessage) UnmarshalJSON(data []byte) error
- type EmailEvent
- func (e *EmailEvent) GetEmail() string
- func (e *EmailEvent) GetExtraProperties() map[string]interface{}
- func (e *EmailEvent) GetTime() string
- func (e *EmailEvent) MarshalJSON() ([]byte, error)
- func (e *EmailEvent) SetEmail(email string)
- func (e *EmailEvent) SetTime(time string)
- func (e *EmailEvent) String() string
- func (e *EmailEvent) UnmarshalJSON(data []byte) error
- type EmailMessageInfo
- func (e *EmailMessageInfo) GetBccEmails() []string
- func (e *EmailMessageInfo) GetCcEmails() []string
- func (e *EmailMessageInfo) GetExtraProperties() map[string]interface{}
- func (e *EmailMessageInfo) GetFromEmail() string
- func (e *EmailMessageInfo) GetMessageID() string
- func (e *EmailMessageInfo) GetOpens() []*EmailEvent
- func (e *EmailMessageInfo) GetSenderAuthenticationStatus() string
- func (e *EmailMessageInfo) GetToEmails() []string
- func (e *EmailMessageInfo) MarshalJSON() ([]byte, error)
- func (e *EmailMessageInfo) SetBccEmails(bccEmails []string)
- func (e *EmailMessageInfo) SetCcEmails(ccEmails []string)
- func (e *EmailMessageInfo) SetFromEmail(fromEmail string)
- func (e *EmailMessageInfo) SetMessageID(messageID string)
- func (e *EmailMessageInfo) SetOpens(opens []*EmailEvent)
- func (e *EmailMessageInfo) SetSenderAuthenticationStatus(senderAuthenticationStatus string)
- func (e *EmailMessageInfo) SetToEmails(toEmails []string)
- func (e *EmailMessageInfo) String() string
- func (e *EmailMessageInfo) UnmarshalJSON(data []byte) error
- type EmailSuppression
- func (e *EmailSuppression) GetBounceDetails() *string
- func (e *EmailSuppression) GetCreatedAt() time.Time
- func (e *EmailSuppression) GetEmail() string
- func (e *EmailSuppression) GetExtraProperties() map[string]interface{}
- func (e *EmailSuppression) GetID() string
- func (e *EmailSuppression) GetReason() string
- func (e *EmailSuppression) MarshalJSON() ([]byte, error)
- func (e *EmailSuppression) SetBounceDetails(bounceDetails *string)
- func (e *EmailSuppression) SetCreatedAt(createdAt time.Time)
- func (e *EmailSuppression) SetEmail(email string)
- func (e *EmailSuppression) SetID(id string)
- func (e *EmailSuppression) SetReason(reason string)
- func (e *EmailSuppression) String() string
- func (e *EmailSuppression) UnmarshalJSON(data []byte) error
- type EmailSuppressionsDeleteRequest
- type EmailSuppressionsListRequest
- type ErrorAPIResponseBody
- func (e *ErrorAPIResponseBody) GetCode() *string
- func (e *ErrorAPIResponseBody) GetErrors() []string
- func (e *ErrorAPIResponseBody) GetExistsID() *string
- func (e *ErrorAPIResponseBody) GetExtraProperties() map[string]interface{}
- func (e *ErrorAPIResponseBody) GetFilterErrors() []*FilterError
- func (e *ErrorAPIResponseBody) GetRequestID() string
- func (e *ErrorAPIResponseBody) MarshalJSON() ([]byte, error)
- func (e *ErrorAPIResponseBody) SetCode(code *string)
- func (e *ErrorAPIResponseBody) SetErrors(errors []string)
- func (e *ErrorAPIResponseBody) SetExistsID(existsID *string)
- func (e *ErrorAPIResponseBody) SetFilterErrors(filterErrors []*FilterError)
- func (e *ErrorAPIResponseBody) SetRequestID(requestID string)
- func (e *ErrorAPIResponseBody) String() string
- func (e *ErrorAPIResponseBody) UnmarshalJSON(data []byte) error
- type ExternalID
- func (e *ExternalID) GetExternalID() *string
- func (e *ExternalID) GetExtraProperties() map[string]interface{}
- func (e *ExternalID) GetLabel() *string
- func (e *ExternalID) MarshalJSON() ([]byte, error)
- func (e *ExternalID) SetExternalID(externalID *string)
- func (e *ExternalID) SetLabel(label *string)
- func (e *ExternalID) String() string
- func (e *ExternalID) UnmarshalJSON(data []byte) error
- type ExternalIncident
- func (e *ExternalIncident) GetExternalID() *string
- func (e *ExternalIncident) GetExtraProperties() map[string]interface{}
- func (e *ExternalIncident) GetLink() *string
- func (e *ExternalIncident) GetReference() string
- func (e *ExternalIncident) GetSource() string
- func (e *ExternalIncident) MarshalJSON() ([]byte, error)
- func (e *ExternalIncident) SetExternalID(externalID *string)
- func (e *ExternalIncident) SetLink(link *string)
- func (e *ExternalIncident) SetReference(reference string)
- func (e *ExternalIncident) SetSource(source string)
- func (e *ExternalIncident) String() string
- func (e *ExternalIncident) UnmarshalJSON(data []byte) error
- type ExternalIssue
- func (e *ExternalIssue) GetExternalID() string
- func (e *ExternalIssue) GetExtraProperties() map[string]interface{}
- func (e *ExternalIssue) GetKey() *string
- func (e *ExternalIssue) GetLink() string
- func (e *ExternalIssue) GetSource() string
- func (e *ExternalIssue) GetState() *string
- func (e *ExternalIssue) MarshalJSON() ([]byte, error)
- func (e *ExternalIssue) SetExternalID(externalID string)
- func (e *ExternalIssue) SetKey(key *string)
- func (e *ExternalIssue) SetLink(link string)
- func (e *ExternalIssue) SetSource(source string)
- func (e *ExternalIssue) SetState(state *string)
- func (e *ExternalIssue) String() string
- func (e *ExternalIssue) UnmarshalJSON(data []byte) error
- type FeatureRequest
- func (f *FeatureRequest) GetCreatedAt() time.Time
- func (f *FeatureRequest) GetCustomFields() map[string]*CustomFieldValue
- func (f *FeatureRequest) GetDescription() string
- func (f *FeatureRequest) GetEvidence() []*FeatureRequestEvidence
- func (f *FeatureRequest) GetEvidenceCount() int64
- func (f *FeatureRequest) GetExternalIssues() []*ExternalIssue
- func (f *FeatureRequest) GetExtraProperties() map[string]interface{}
- func (f *FeatureRequest) GetID() string
- func (f *FeatureRequest) GetPortalVisibleToAccountIDs() []string
- func (f *FeatureRequest) GetRequestStatus() *string
- func (f *FeatureRequest) GetTitle() string
- func (f *FeatureRequest) GetUpdatedAt() time.Time
- func (f *FeatureRequest) MarshalJSON() ([]byte, error)
- func (f *FeatureRequest) SetCreatedAt(createdAt time.Time)
- func (f *FeatureRequest) SetCustomFields(customFields map[string]*CustomFieldValue)
- func (f *FeatureRequest) SetDescription(description string)
- func (f *FeatureRequest) SetEvidence(evidence []*FeatureRequestEvidence)
- func (f *FeatureRequest) SetEvidenceCount(evidenceCount int64)
- func (f *FeatureRequest) SetExternalIssues(externalIssues []*ExternalIssue)
- func (f *FeatureRequest) SetID(id string)
- func (f *FeatureRequest) SetPortalVisibleToAccountIDs(portalVisibleToAccountIDs []string)
- func (f *FeatureRequest) SetRequestStatus(requestStatus *string)
- func (f *FeatureRequest) SetTitle(title string)
- func (f *FeatureRequest) SetUpdatedAt(updatedAt time.Time)
- func (f *FeatureRequest) String() string
- func (f *FeatureRequest) UnmarshalJSON(data []byte) error
- type FeatureRequestEvidence
- func (f *FeatureRequestEvidence) GetAccountID() *string
- func (f *FeatureRequestEvidence) GetCreatedAt() time.Time
- func (f *FeatureRequestEvidence) GetExternalURL() *string
- func (f *FeatureRequestEvidence) GetExtraProperties() map[string]interface{}
- func (f *FeatureRequestEvidence) GetID() string
- func (f *FeatureRequestEvidence) GetSourceID() *string
- func (f *FeatureRequestEvidence) GetSourceType() string
- func (f *FeatureRequestEvidence) GetSummary() *string
- func (f *FeatureRequestEvidence) MarshalJSON() ([]byte, error)
- func (f *FeatureRequestEvidence) SetAccountID(accountID *string)
- func (f *FeatureRequestEvidence) SetCreatedAt(createdAt time.Time)
- func (f *FeatureRequestEvidence) SetExternalURL(externalURL *string)
- func (f *FeatureRequestEvidence) SetID(id string)
- func (f *FeatureRequestEvidence) SetSourceID(sourceID *string)
- func (f *FeatureRequestEvidence) SetSourceType(sourceType string)
- func (f *FeatureRequestEvidence) SetSummary(summary *string)
- func (f *FeatureRequestEvidence) String() string
- func (f *FeatureRequestEvidence) UnmarshalJSON(data []byte) error
- type FeatureRequestSearchResult
- func (f *FeatureRequestSearchResult) GetAccountIDs() []string
- func (f *FeatureRequestSearchResult) GetCreatedAt() time.Time
- func (f *FeatureRequestSearchResult) GetCustomFields() map[string]*CustomFieldValue
- func (f *FeatureRequestSearchResult) GetDescription() string
- func (f *FeatureRequestSearchResult) GetEvidenceCount() int64
- func (f *FeatureRequestSearchResult) GetExternalIssues() []*ExternalIssue
- func (f *FeatureRequestSearchResult) GetExtraProperties() map[string]interface{}
- func (f *FeatureRequestSearchResult) GetID() string
- func (f *FeatureRequestSearchResult) GetPortalVisibleToAccountIDs() []string
- func (f *FeatureRequestSearchResult) GetRequestStatus() *string
- func (f *FeatureRequestSearchResult) GetTitle() string
- func (f *FeatureRequestSearchResult) GetUpdatedAt() time.Time
- func (f *FeatureRequestSearchResult) MarshalJSON() ([]byte, error)
- func (f *FeatureRequestSearchResult) SetAccountIDs(accountIDs []string)
- func (f *FeatureRequestSearchResult) SetCreatedAt(createdAt time.Time)
- func (f *FeatureRequestSearchResult) SetCustomFields(customFields map[string]*CustomFieldValue)
- func (f *FeatureRequestSearchResult) SetDescription(description string)
- func (f *FeatureRequestSearchResult) SetEvidenceCount(evidenceCount int64)
- func (f *FeatureRequestSearchResult) SetExternalIssues(externalIssues []*ExternalIssue)
- func (f *FeatureRequestSearchResult) SetID(id string)
- func (f *FeatureRequestSearchResult) SetPortalVisibleToAccountIDs(portalVisibleToAccountIDs []string)
- func (f *FeatureRequestSearchResult) SetRequestStatus(requestStatus *string)
- func (f *FeatureRequestSearchResult) SetTitle(title string)
- func (f *FeatureRequestSearchResult) SetUpdatedAt(updatedAt time.Time)
- func (f *FeatureRequestSearchResult) String() string
- func (f *FeatureRequestSearchResult) UnmarshalJSON(data []byte) error
- type FeatureRequestsAddEvidenceRequest
- func (f *FeatureRequestsAddEvidenceRequest) MarshalJSON() ([]byte, error)
- func (f *FeatureRequestsAddEvidenceRequest) SetAccountID(accountID string)
- func (f *FeatureRequestsAddEvidenceRequest) SetFeatureRequestID(featureRequestID string)
- func (f *FeatureRequestsAddEvidenceRequest) SetSummary(summary *string)
- func (f *FeatureRequestsAddEvidenceRequest) UnmarshalJSON(data []byte) error
- type FeatureRequestsCreateRequest
- func (f *FeatureRequestsCreateRequest) MarshalJSON() ([]byte, error)
- func (f *FeatureRequestsCreateRequest) SetDescription(description *string)
- func (f *FeatureRequestsCreateRequest) SetShouldAutoFetchEvidence(shouldAutoFetchEvidence *bool)
- func (f *FeatureRequestsCreateRequest) SetTitle(title string)
- func (f *FeatureRequestsCreateRequest) UnmarshalJSON(data []byte) error
- type FeatureRequestsDeleteRequest
- type FeatureRequestsGetRequest
- type FeatureRequestsLinkExternalIssueRequest
- func (f *FeatureRequestsLinkExternalIssueRequest) MarshalJSON() ([]byte, error)
- func (f *FeatureRequestsLinkExternalIssueRequest) SetExternalIssueID(externalIssueID string)
- func (f *FeatureRequestsLinkExternalIssueRequest) SetFeatureRequestID(featureRequestID string)
- func (f *FeatureRequestsLinkExternalIssueRequest) SetOperation(operation *string)
- func (f *FeatureRequestsLinkExternalIssueRequest) SetSource(source string)
- func (f *FeatureRequestsLinkExternalIssueRequest) UnmarshalJSON(data []byte) error
- type FeatureRequestsMergeRequest
- func (f *FeatureRequestsMergeRequest) MarshalJSON() ([]byte, error)
- func (f *FeatureRequestsMergeRequest) SetMergeFeatureRequestIDs(mergeFeatureRequestIDs []string)
- func (f *FeatureRequestsMergeRequest) SetMergeIntoFeatureRequestID(mergeIntoFeatureRequestID string)
- func (f *FeatureRequestsMergeRequest) UnmarshalJSON(data []byte) error
- type FeatureRequestsSearchRequest
- func (f *FeatureRequestsSearchRequest) MarshalJSON() ([]byte, error)
- func (f *FeatureRequestsSearchRequest) SetAccountIDs(accountIDs []string)
- func (f *FeatureRequestsSearchRequest) SetLimit(limit *int64)
- func (f *FeatureRequestsSearchRequest) SetQuery(query *string)
- func (f *FeatureRequestsSearchRequest) SetRequestStatuses(requestStatuses []string)
- func (f *FeatureRequestsSearchRequest) UnmarshalJSON(data []byte) error
- type FeatureRequestsSetPortalVisibilityRequest
- func (f *FeatureRequestsSetPortalVisibilityRequest) MarshalJSON() ([]byte, error)
- func (f *FeatureRequestsSetPortalVisibilityRequest) SetAccountIDs(accountIDs []string)
- func (f *FeatureRequestsSetPortalVisibilityRequest) SetFeatureRequestID(featureRequestID string)
- func (f *FeatureRequestsSetPortalVisibilityRequest) SetVisible(visible bool)
- func (f *FeatureRequestsSetPortalVisibilityRequest) UnmarshalJSON(data []byte) error
- type FeatureRequestsUpdateRequest
- func (f *FeatureRequestsUpdateRequest) MarshalJSON() ([]byte, error)
- func (f *FeatureRequestsUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
- func (f *FeatureRequestsUpdateRequest) SetID(id string)
- func (f *FeatureRequestsUpdateRequest) SetRequestStatus(requestStatus *string)
- func (f *FeatureRequestsUpdateRequest) UnmarshalJSON(data []byte) error
- type FileParam
- type FileParamOption
- type Filter
- func (f *Filter) GetExtraProperties() map[string]interface{}
- func (f *Filter) GetField() *string
- func (f *Filter) GetOperator() *FilterOperator
- func (f *Filter) GetRelatedObject() *FilterRelatedObject
- func (f *Filter) GetSubfilters() []*Filter
- func (f *Filter) GetValue() *string
- func (f *Filter) GetValues() []string
- func (f *Filter) MarshalJSON() ([]byte, error)
- func (f *Filter) SetField(field *string)
- func (f *Filter) SetOperator(operator *FilterOperator)
- func (f *Filter) SetRelatedObject(relatedObject *FilterRelatedObject)
- func (f *Filter) SetSubfilters(subfilters []*Filter)
- func (f *Filter) SetValue(value *string)
- func (f *Filter) SetValues(values []string)
- func (f *Filter) String() string
- func (f *Filter) UnmarshalJSON(data []byte) error
- type FilterError
- func (f *FilterError) GetAllowed() []string
- func (f *FilterError) GetCode() string
- func (f *FilterError) GetExtraProperties() map[string]interface{}
- func (f *FilterError) GetField() *string
- func (f *FilterError) GetMessage() string
- func (f *FilterError) GetOperator() *string
- func (f *FilterError) GetPath() string
- func (f *FilterError) GetSuggestion() *string
- func (f *FilterError) MarshalJSON() ([]byte, error)
- func (f *FilterError) SetAllowed(allowed []string)
- func (f *FilterError) SetCode(code string)
- func (f *FilterError) SetField(field *string)
- func (f *FilterError) SetMessage(message string)
- func (f *FilterError) SetOperator(operator *string)
- func (f *FilterError) SetPath(path string)
- func (f *FilterError) SetSuggestion(suggestion *string)
- func (f *FilterError) String() string
- func (f *FilterError) UnmarshalJSON(data []byte) error
- type FilterOperator
- type FilterRelatedObject
- func (f *FilterRelatedObject) GetCustomField() *string
- func (f *FilterRelatedObject) GetExtraProperties() map[string]interface{}
- func (f *FilterRelatedObject) GetFilter() *Filter
- func (f *FilterRelatedObject) GetRelationship() *string
- func (f *FilterRelatedObject) MarshalJSON() ([]byte, error)
- func (f *FilterRelatedObject) SetCustomField(customField *string)
- func (f *FilterRelatedObject) SetFilter(filter *Filter)
- func (f *FilterRelatedObject) SetRelationship(relationship *string)
- func (f *FilterRelatedObject) String() string
- func (f *FilterRelatedObject) UnmarshalJSON(data []byte) error
- type Follower
- func (f *Follower) GetExtraProperties() map[string]interface{}
- func (f *Follower) GetID() string
- func (f *Follower) GetType() string
- func (f *Follower) MarshalJSON() ([]byte, error)
- func (f *Follower) SetID(id string)
- func (f *Follower) SetType(type_ string)
- func (f *Follower) String() string
- func (f *Follower) UnmarshalJSON(data []byte) error
- type ForbiddenError
- type GetAccountFilesResponseBody
- func (g *GetAccountFilesResponseBody) GetData() []*AccountFile
- func (g *GetAccountFilesResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetAccountFilesResponseBody) GetRequestID() string
- func (g *GetAccountFilesResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetAccountFilesResponseBody) SetData(data []*AccountFile)
- func (g *GetAccountFilesResponseBody) SetRequestID(requestID string)
- func (g *GetAccountFilesResponseBody) String() string
- func (g *GetAccountFilesResponseBody) UnmarshalJSON(data []byte) error
- type GetAccountNotebookNotesResponseBody
- func (g *GetAccountNotebookNotesResponseBody) GetData() []*AccountNotebookNote
- func (g *GetAccountNotebookNotesResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetAccountNotebookNotesResponseBody) GetPagination() *Pagination
- func (g *GetAccountNotebookNotesResponseBody) GetRequestID() string
- func (g *GetAccountNotebookNotesResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetAccountNotebookNotesResponseBody) SetData(data []*AccountNotebookNote)
- func (g *GetAccountNotebookNotesResponseBody) SetPagination(pagination *Pagination)
- func (g *GetAccountNotebookNotesResponseBody) SetRequestID(requestID string)
- func (g *GetAccountNotebookNotesResponseBody) String() string
- func (g *GetAccountNotebookNotesResponseBody) UnmarshalJSON(data []byte) error
- type GetAccountRelationshipsResponseBody
- func (g *GetAccountRelationshipsResponseBody) GetData() []*AccountRelationship
- func (g *GetAccountRelationshipsResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetAccountRelationshipsResponseBody) GetRequestID() string
- func (g *GetAccountRelationshipsResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetAccountRelationshipsResponseBody) SetData(data []*AccountRelationship)
- func (g *GetAccountRelationshipsResponseBody) SetRequestID(requestID string)
- func (g *GetAccountRelationshipsResponseBody) String() string
- func (g *GetAccountRelationshipsResponseBody) UnmarshalJSON(data []byte) error
- type GetAccountResponseBody
- func (g *GetAccountResponseBody) GetData() *Account
- func (g *GetAccountResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetAccountResponseBody) GetRequestID() string
- func (g *GetAccountResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetAccountResponseBody) SetData(data *Account)
- func (g *GetAccountResponseBody) SetRequestID(requestID string)
- func (g *GetAccountResponseBody) String() string
- func (g *GetAccountResponseBody) UnmarshalJSON(data []byte) error
- type GetAccountsResponseBody
- func (g *GetAccountsResponseBody) GetData() []*Account
- func (g *GetAccountsResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetAccountsResponseBody) GetPagination() *Pagination
- func (g *GetAccountsResponseBody) GetRequestID() string
- func (g *GetAccountsResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetAccountsResponseBody) SetData(data []*Account)
- func (g *GetAccountsResponseBody) SetPagination(pagination *Pagination)
- func (g *GetAccountsResponseBody) SetRequestID(requestID string)
- func (g *GetAccountsResponseBody) String() string
- func (g *GetAccountsResponseBody) UnmarshalJSON(data []byte) error
- type GetActivitiesResponseBody
- func (g *GetActivitiesResponseBody) GetData() []*CustomActivity
- func (g *GetActivitiesResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetActivitiesResponseBody) GetPagination() *Pagination
- func (g *GetActivitiesResponseBody) GetRequestID() string
- func (g *GetActivitiesResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetActivitiesResponseBody) SetData(data []*CustomActivity)
- func (g *GetActivitiesResponseBody) SetPagination(pagination *Pagination)
- func (g *GetActivitiesResponseBody) SetRequestID(requestID string)
- func (g *GetActivitiesResponseBody) String() string
- func (g *GetActivitiesResponseBody) UnmarshalJSON(data []byte) error
- type GetActivityTypesResponseBody
- func (g *GetActivityTypesResponseBody) GetData() []*ActivityType
- func (g *GetActivityTypesResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetActivityTypesResponseBody) GetPagination() *Pagination
- func (g *GetActivityTypesResponseBody) GetRequestID() string
- func (g *GetActivityTypesResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetActivityTypesResponseBody) SetData(data []*ActivityType)
- func (g *GetActivityTypesResponseBody) SetPagination(pagination *Pagination)
- func (g *GetActivityTypesResponseBody) SetRequestID(requestID string)
- func (g *GetActivityTypesResponseBody) String() string
- func (g *GetActivityTypesResponseBody) UnmarshalJSON(data []byte) error
- type GetArticleFeedbackResponseBody
- func (g *GetArticleFeedbackResponseBody) GetData() []*ArticleFeedback
- func (g *GetArticleFeedbackResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetArticleFeedbackResponseBody) GetPagination() *Pagination
- func (g *GetArticleFeedbackResponseBody) GetRequestID() string
- func (g *GetArticleFeedbackResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetArticleFeedbackResponseBody) SetData(data []*ArticleFeedback)
- func (g *GetArticleFeedbackResponseBody) SetPagination(pagination *Pagination)
- func (g *GetArticleFeedbackResponseBody) SetRequestID(requestID string)
- func (g *GetArticleFeedbackResponseBody) String() string
- func (g *GetArticleFeedbackResponseBody) UnmarshalJSON(data []byte) error
- type GetArticleResponseBody
- func (g *GetArticleResponseBody) GetData() *Article
- func (g *GetArticleResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetArticleResponseBody) GetRequestID() string
- func (g *GetArticleResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetArticleResponseBody) SetData(data *Article)
- func (g *GetArticleResponseBody) SetRequestID(requestID string)
- func (g *GetArticleResponseBody) String() string
- func (g *GetArticleResponseBody) UnmarshalJSON(data []byte) error
- type GetArticlesResponseBody
- func (g *GetArticlesResponseBody) GetData() []*Article
- func (g *GetArticlesResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetArticlesResponseBody) GetPagination() *Pagination
- func (g *GetArticlesResponseBody) GetRequestID() string
- func (g *GetArticlesResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetArticlesResponseBody) SetData(data []*Article)
- func (g *GetArticlesResponseBody) SetPagination(pagination *Pagination)
- func (g *GetArticlesResponseBody) SetRequestID(requestID string)
- func (g *GetArticlesResponseBody) String() string
- func (g *GetArticlesResponseBody) UnmarshalJSON(data []byte) error
- type GetAuditLogsResponseBody
- func (g *GetAuditLogsResponseBody) GetData() []*AuditLog
- func (g *GetAuditLogsResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetAuditLogsResponseBody) GetPagination() *Pagination
- func (g *GetAuditLogsResponseBody) GetRequestID() string
- func (g *GetAuditLogsResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetAuditLogsResponseBody) SetData(data []*AuditLog)
- func (g *GetAuditLogsResponseBody) SetPagination(pagination *Pagination)
- func (g *GetAuditLogsResponseBody) SetRequestID(requestID string)
- func (g *GetAuditLogsResponseBody) String() string
- func (g *GetAuditLogsResponseBody) UnmarshalJSON(data []byte) error
- type GetCallRecordingResponseBody
- func (g *GetCallRecordingResponseBody) GetData() *CallRecording
- func (g *GetCallRecordingResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetCallRecordingResponseBody) GetRequestID() string
- func (g *GetCallRecordingResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetCallRecordingResponseBody) SetData(data *CallRecording)
- func (g *GetCallRecordingResponseBody) SetRequestID(requestID string)
- func (g *GetCallRecordingResponseBody) String() string
- func (g *GetCallRecordingResponseBody) UnmarshalJSON(data []byte) error
- type GetCollectionResponseBody
- func (g *GetCollectionResponseBody) GetData() *Collection
- func (g *GetCollectionResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetCollectionResponseBody) GetRequestID() string
- func (g *GetCollectionResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetCollectionResponseBody) SetData(data *Collection)
- func (g *GetCollectionResponseBody) SetRequestID(requestID string)
- func (g *GetCollectionResponseBody) String() string
- func (g *GetCollectionResponseBody) UnmarshalJSON(data []byte) error
- type GetCollectionsResponseBody
- func (g *GetCollectionsResponseBody) GetData() []*Collection
- func (g *GetCollectionsResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetCollectionsResponseBody) GetRequestID() string
- func (g *GetCollectionsResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetCollectionsResponseBody) SetData(data []*Collection)
- func (g *GetCollectionsResponseBody) SetRequestID(requestID string)
- func (g *GetCollectionsResponseBody) String() string
- func (g *GetCollectionsResponseBody) UnmarshalJSON(data []byte) error
- type GetContactResponseBody
- func (g *GetContactResponseBody) GetData() *Contact
- func (g *GetContactResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetContactResponseBody) GetRequestID() string
- func (g *GetContactResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetContactResponseBody) SetData(data *Contact)
- func (g *GetContactResponseBody) SetRequestID(requestID string)
- func (g *GetContactResponseBody) String() string
- func (g *GetContactResponseBody) UnmarshalJSON(data []byte) error
- type GetContactsResponseBody
- func (g *GetContactsResponseBody) GetData() []*Contact
- func (g *GetContactsResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetContactsResponseBody) GetPagination() *Pagination
- func (g *GetContactsResponseBody) GetRequestID() string
- func (g *GetContactsResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetContactsResponseBody) SetData(data []*Contact)
- func (g *GetContactsResponseBody) SetPagination(pagination *Pagination)
- func (g *GetContactsResponseBody) SetRequestID(requestID string)
- func (g *GetContactsResponseBody) String() string
- func (g *GetContactsResponseBody) UnmarshalJSON(data []byte) error
- type GetCustomFieldResponseBody
- func (g *GetCustomFieldResponseBody) GetData() *CustomFieldDefinition
- func (g *GetCustomFieldResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetCustomFieldResponseBody) GetRequestID() string
- func (g *GetCustomFieldResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetCustomFieldResponseBody) SetData(data *CustomFieldDefinition)
- func (g *GetCustomFieldResponseBody) SetRequestID(requestID string)
- func (g *GetCustomFieldResponseBody) String() string
- func (g *GetCustomFieldResponseBody) UnmarshalJSON(data []byte) error
- type GetCustomFieldsResponseBody
- func (g *GetCustomFieldsResponseBody) GetData() []*CustomFieldDefinition
- func (g *GetCustomFieldsResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetCustomFieldsResponseBody) GetPagination() *Pagination
- func (g *GetCustomFieldsResponseBody) GetRequestID() string
- func (g *GetCustomFieldsResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetCustomFieldsResponseBody) SetData(data []*CustomFieldDefinition)
- func (g *GetCustomFieldsResponseBody) SetPagination(pagination *Pagination)
- func (g *GetCustomFieldsResponseBody) SetRequestID(requestID string)
- func (g *GetCustomFieldsResponseBody) String() string
- func (g *GetCustomFieldsResponseBody) UnmarshalJSON(data []byte) error
- type GetCustomObjectResponseBody
- func (g *GetCustomObjectResponseBody) GetData() *APICustomObject
- func (g *GetCustomObjectResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetCustomObjectResponseBody) GetRequestID() string
- func (g *GetCustomObjectResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetCustomObjectResponseBody) SetData(data *APICustomObject)
- func (g *GetCustomObjectResponseBody) SetRequestID(requestID string)
- func (g *GetCustomObjectResponseBody) String() string
- func (g *GetCustomObjectResponseBody) UnmarshalJSON(data []byte) error
- type GetCustomObjectsResponseBody
- func (g *GetCustomObjectsResponseBody) GetData() []*APICustomObject
- func (g *GetCustomObjectsResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetCustomObjectsResponseBody) GetPagination() *Pagination
- func (g *GetCustomObjectsResponseBody) GetRequestID() string
- func (g *GetCustomObjectsResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetCustomObjectsResponseBody) SetData(data []*APICustomObject)
- func (g *GetCustomObjectsResponseBody) SetPagination(pagination *Pagination)
- func (g *GetCustomObjectsResponseBody) SetRequestID(requestID string)
- func (g *GetCustomObjectsResponseBody) String() string
- func (g *GetCustomObjectsResponseBody) UnmarshalJSON(data []byte) error
- type GetEmailActivitiesResponseBody
- func (g *GetEmailActivitiesResponseBody) GetData() []*EmailActivity
- func (g *GetEmailActivitiesResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetEmailActivitiesResponseBody) GetPagination() *Pagination
- func (g *GetEmailActivitiesResponseBody) GetRequestID() string
- func (g *GetEmailActivitiesResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetEmailActivitiesResponseBody) SetData(data []*EmailActivity)
- func (g *GetEmailActivitiesResponseBody) SetPagination(pagination *Pagination)
- func (g *GetEmailActivitiesResponseBody) SetRequestID(requestID string)
- func (g *GetEmailActivitiesResponseBody) String() string
- func (g *GetEmailActivitiesResponseBody) UnmarshalJSON(data []byte) error
- type GetEmailSuppressionsResponseBody
- func (g *GetEmailSuppressionsResponseBody) GetData() []*EmailSuppression
- func (g *GetEmailSuppressionsResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetEmailSuppressionsResponseBody) GetPagination() *Pagination
- func (g *GetEmailSuppressionsResponseBody) GetRequestID() string
- func (g *GetEmailSuppressionsResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetEmailSuppressionsResponseBody) SetData(data []*EmailSuppression)
- func (g *GetEmailSuppressionsResponseBody) SetPagination(pagination *Pagination)
- func (g *GetEmailSuppressionsResponseBody) SetRequestID(requestID string)
- func (g *GetEmailSuppressionsResponseBody) String() string
- func (g *GetEmailSuppressionsResponseBody) UnmarshalJSON(data []byte) error
- type GetFeatureRequestResponseBody
- func (g *GetFeatureRequestResponseBody) GetData() *FeatureRequest
- func (g *GetFeatureRequestResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetFeatureRequestResponseBody) GetRequestID() string
- func (g *GetFeatureRequestResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetFeatureRequestResponseBody) SetData(data *FeatureRequest)
- func (g *GetFeatureRequestResponseBody) SetRequestID(requestID string)
- func (g *GetFeatureRequestResponseBody) String() string
- func (g *GetFeatureRequestResponseBody) UnmarshalJSON(data []byte) error
- type GetIssueFollowersResponseBody
- func (g *GetIssueFollowersResponseBody) GetData() []*Follower
- func (g *GetIssueFollowersResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetIssueFollowersResponseBody) GetRequestID() string
- func (g *GetIssueFollowersResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetIssueFollowersResponseBody) SetData(data []*Follower)
- func (g *GetIssueFollowersResponseBody) SetRequestID(requestID string)
- func (g *GetIssueFollowersResponseBody) String() string
- func (g *GetIssueFollowersResponseBody) UnmarshalJSON(data []byte) error
- type GetIssueMessagesResponseBody
- func (g *GetIssueMessagesResponseBody) GetData() []*Message
- func (g *GetIssueMessagesResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetIssueMessagesResponseBody) GetPagination() *Pagination
- func (g *GetIssueMessagesResponseBody) GetRequestID() string
- func (g *GetIssueMessagesResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetIssueMessagesResponseBody) SetData(data []*Message)
- func (g *GetIssueMessagesResponseBody) SetPagination(pagination *Pagination)
- func (g *GetIssueMessagesResponseBody) SetRequestID(requestID string)
- func (g *GetIssueMessagesResponseBody) String() string
- func (g *GetIssueMessagesResponseBody) UnmarshalJSON(data []byte) error
- type GetIssueResponseBody
- func (g *GetIssueResponseBody) GetData() *Issue
- func (g *GetIssueResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetIssueResponseBody) GetRequestID() string
- func (g *GetIssueResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetIssueResponseBody) SetData(data *Issue)
- func (g *GetIssueResponseBody) SetRequestID(requestID string)
- func (g *GetIssueResponseBody) String() string
- func (g *GetIssueResponseBody) UnmarshalJSON(data []byte) error
- type GetIssueStatusesResponseBody
- func (g *GetIssueStatusesResponseBody) GetData() []*IssueStatus
- func (g *GetIssueStatusesResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetIssueStatusesResponseBody) GetPagination() *Pagination
- func (g *GetIssueStatusesResponseBody) GetRequestID() string
- func (g *GetIssueStatusesResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetIssueStatusesResponseBody) SetData(data []*IssueStatus)
- func (g *GetIssueStatusesResponseBody) SetPagination(pagination *Pagination)
- func (g *GetIssueStatusesResponseBody) SetRequestID(requestID string)
- func (g *GetIssueStatusesResponseBody) String() string
- func (g *GetIssueStatusesResponseBody) UnmarshalJSON(data []byte) error
- type GetIssueSurveyResponsesResponseBody
- func (g *GetIssueSurveyResponsesResponseBody) GetData() []*SurveyResponse
- func (g *GetIssueSurveyResponsesResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetIssueSurveyResponsesResponseBody) GetIssueID() string
- func (g *GetIssueSurveyResponsesResponseBody) GetPagination() *Pagination
- func (g *GetIssueSurveyResponsesResponseBody) GetRequestID() string
- func (g *GetIssueSurveyResponsesResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetIssueSurveyResponsesResponseBody) SetData(data []*SurveyResponse)
- func (g *GetIssueSurveyResponsesResponseBody) SetIssueID(issueID string)
- func (g *GetIssueSurveyResponsesResponseBody) SetPagination(pagination *Pagination)
- func (g *GetIssueSurveyResponsesResponseBody) SetRequestID(requestID string)
- func (g *GetIssueSurveyResponsesResponseBody) String() string
- func (g *GetIssueSurveyResponsesResponseBody) UnmarshalJSON(data []byte) error
- type GetIssueThreadsResponseBody
- func (g *GetIssueThreadsResponseBody) GetData() []*IssueThread
- func (g *GetIssueThreadsResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetIssueThreadsResponseBody) GetRequestID() string
- func (g *GetIssueThreadsResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetIssueThreadsResponseBody) SetData(data []*IssueThread)
- func (g *GetIssueThreadsResponseBody) SetRequestID(requestID string)
- func (g *GetIssueThreadsResponseBody) String() string
- func (g *GetIssueThreadsResponseBody) UnmarshalJSON(data []byte) error
- type GetIssueVoiceCallsResponseBody
- func (g *GetIssueVoiceCallsResponseBody) GetData() []*VoiceCall
- func (g *GetIssueVoiceCallsResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetIssueVoiceCallsResponseBody) GetRequestID() string
- func (g *GetIssueVoiceCallsResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetIssueVoiceCallsResponseBody) SetData(data []*VoiceCall)
- func (g *GetIssueVoiceCallsResponseBody) SetRequestID(requestID string)
- func (g *GetIssueVoiceCallsResponseBody) String() string
- func (g *GetIssueVoiceCallsResponseBody) UnmarshalJSON(data []byte) error
- type GetIssuesResponseBody
- func (g *GetIssuesResponseBody) GetData() []*Issue
- func (g *GetIssuesResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetIssuesResponseBody) GetPagination() *Pagination
- func (g *GetIssuesResponseBody) GetRequestID() string
- func (g *GetIssuesResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetIssuesResponseBody) SetData(data []*Issue)
- func (g *GetIssuesResponseBody) SetPagination(pagination *Pagination)
- func (g *GetIssuesResponseBody) SetRequestID(requestID string)
- func (g *GetIssuesResponseBody) String() string
- func (g *GetIssuesResponseBody) UnmarshalJSON(data []byte) error
- type GetKnowledgeBaseResponseBody
- func (g *GetKnowledgeBaseResponseBody) GetData() *KnowledgeBase
- func (g *GetKnowledgeBaseResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetKnowledgeBaseResponseBody) GetRequestID() string
- func (g *GetKnowledgeBaseResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetKnowledgeBaseResponseBody) SetData(data *KnowledgeBase)
- func (g *GetKnowledgeBaseResponseBody) SetRequestID(requestID string)
- func (g *GetKnowledgeBaseResponseBody) String() string
- func (g *GetKnowledgeBaseResponseBody) UnmarshalJSON(data []byte) error
- type GetKnowledgeBaseThemeResponseBody
- func (g *GetKnowledgeBaseThemeResponseBody) GetData() *KnowledgeBaseTheme
- func (g *GetKnowledgeBaseThemeResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetKnowledgeBaseThemeResponseBody) GetRequestID() string
- func (g *GetKnowledgeBaseThemeResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetKnowledgeBaseThemeResponseBody) SetData(data *KnowledgeBaseTheme)
- func (g *GetKnowledgeBaseThemeResponseBody) SetRequestID(requestID string)
- func (g *GetKnowledgeBaseThemeResponseBody) String() string
- func (g *GetKnowledgeBaseThemeResponseBody) UnmarshalJSON(data []byte) error
- type GetKnowledgeBasesResponseBody
- func (g *GetKnowledgeBasesResponseBody) GetData() []*KnowledgeBase
- func (g *GetKnowledgeBasesResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetKnowledgeBasesResponseBody) GetPagination() *Pagination
- func (g *GetKnowledgeBasesResponseBody) GetRequestID() string
- func (g *GetKnowledgeBasesResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetKnowledgeBasesResponseBody) SetData(data []*KnowledgeBase)
- func (g *GetKnowledgeBasesResponseBody) SetPagination(pagination *Pagination)
- func (g *GetKnowledgeBasesResponseBody) SetRequestID(requestID string)
- func (g *GetKnowledgeBasesResponseBody) String() string
- func (g *GetKnowledgeBasesResponseBody) UnmarshalJSON(data []byte) error
- type GetMacroGroupsResponseBody
- func (g *GetMacroGroupsResponseBody) GetData() []*MacroGroup
- func (g *GetMacroGroupsResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetMacroGroupsResponseBody) GetRequestID() string
- func (g *GetMacroGroupsResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetMacroGroupsResponseBody) SetData(data []*MacroGroup)
- func (g *GetMacroGroupsResponseBody) SetRequestID(requestID string)
- func (g *GetMacroGroupsResponseBody) String() string
- func (g *GetMacroGroupsResponseBody) UnmarshalJSON(data []byte) error
- type GetMacroResponseBody
- func (g *GetMacroResponseBody) GetData() *Macro
- func (g *GetMacroResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetMacroResponseBody) GetRequestID() string
- func (g *GetMacroResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetMacroResponseBody) SetData(data *Macro)
- func (g *GetMacroResponseBody) SetRequestID(requestID string)
- func (g *GetMacroResponseBody) String() string
- func (g *GetMacroResponseBody) UnmarshalJSON(data []byte) error
- type GetMacrosResponseBody
- func (g *GetMacrosResponseBody) GetData() []*Macro
- func (g *GetMacrosResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetMacrosResponseBody) GetRequestID() string
- func (g *GetMacrosResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetMacrosResponseBody) SetData(data []*Macro)
- func (g *GetMacrosResponseBody) SetRequestID(requestID string)
- func (g *GetMacrosResponseBody) String() string
- func (g *GetMacrosResponseBody) UnmarshalJSON(data []byte) error
- type GetMeResponseBody
- func (g *GetMeResponseBody) GetData() *Me
- func (g *GetMeResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetMeResponseBody) GetRequestID() string
- func (g *GetMeResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetMeResponseBody) SetData(data *Me)
- func (g *GetMeResponseBody) SetRequestID(requestID string)
- func (g *GetMeResponseBody) String() string
- func (g *GetMeResponseBody) UnmarshalJSON(data []byte) error
- type GetMilestoneResponseBody
- func (g *GetMilestoneResponseBody) GetData() *Milestone
- func (g *GetMilestoneResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetMilestoneResponseBody) GetRequestID() string
- func (g *GetMilestoneResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetMilestoneResponseBody) SetData(data *Milestone)
- func (g *GetMilestoneResponseBody) SetRequestID(requestID string)
- func (g *GetMilestoneResponseBody) String() string
- func (g *GetMilestoneResponseBody) UnmarshalJSON(data []byte) error
- type GetProjectResponseBody
- func (g *GetProjectResponseBody) GetData() *Project
- func (g *GetProjectResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetProjectResponseBody) GetRequestID() string
- func (g *GetProjectResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetProjectResponseBody) SetData(data *Project)
- func (g *GetProjectResponseBody) SetRequestID(requestID string)
- func (g *GetProjectResponseBody) String() string
- func (g *GetProjectResponseBody) UnmarshalJSON(data []byte) error
- type GetRouteRedirectsResponseBody
- func (g *GetRouteRedirectsResponseBody) GetData() []*RouteRedirect
- func (g *GetRouteRedirectsResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetRouteRedirectsResponseBody) GetRequestID() string
- func (g *GetRouteRedirectsResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetRouteRedirectsResponseBody) SetData(data []*RouteRedirect)
- func (g *GetRouteRedirectsResponseBody) SetRequestID(requestID string)
- func (g *GetRouteRedirectsResponseBody) String() string
- func (g *GetRouteRedirectsResponseBody) UnmarshalJSON(data []byte) error
- type GetSurveyResponseBody
- func (g *GetSurveyResponseBody) GetData() *Survey
- func (g *GetSurveyResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetSurveyResponseBody) GetRequestID() string
- func (g *GetSurveyResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetSurveyResponseBody) SetData(data *Survey)
- func (g *GetSurveyResponseBody) SetRequestID(requestID string)
- func (g *GetSurveyResponseBody) String() string
- func (g *GetSurveyResponseBody) UnmarshalJSON(data []byte) error
- type GetSurveyResponsesResponseBody
- func (g *GetSurveyResponsesResponseBody) GetData() []*SurveyResponse
- func (g *GetSurveyResponsesResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetSurveyResponsesResponseBody) GetPagination() *Pagination
- func (g *GetSurveyResponsesResponseBody) GetRequestID() string
- func (g *GetSurveyResponsesResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetSurveyResponsesResponseBody) SetData(data []*SurveyResponse)
- func (g *GetSurveyResponsesResponseBody) SetPagination(pagination *Pagination)
- func (g *GetSurveyResponsesResponseBody) SetRequestID(requestID string)
- func (g *GetSurveyResponsesResponseBody) String() string
- func (g *GetSurveyResponsesResponseBody) UnmarshalJSON(data []byte) error
- type GetSurveysResponseBody
- func (g *GetSurveysResponseBody) GetData() []*Survey
- func (g *GetSurveysResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetSurveysResponseBody) GetRequestID() string
- func (g *GetSurveysResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetSurveysResponseBody) SetData(data []*Survey)
- func (g *GetSurveysResponseBody) SetRequestID(requestID string)
- func (g *GetSurveysResponseBody) String() string
- func (g *GetSurveysResponseBody) UnmarshalJSON(data []byte) error
- type GetTagResponseBody
- func (g *GetTagResponseBody) GetData() *Tag
- func (g *GetTagResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetTagResponseBody) GetRequestID() string
- func (g *GetTagResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetTagResponseBody) SetData(data *Tag)
- func (g *GetTagResponseBody) SetRequestID(requestID string)
- func (g *GetTagResponseBody) String() string
- func (g *GetTagResponseBody) UnmarshalJSON(data []byte) error
- type GetTagsResponseBody
- func (g *GetTagsResponseBody) GetData() []*Tag
- func (g *GetTagsResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetTagsResponseBody) GetPagination() *Pagination
- func (g *GetTagsResponseBody) GetRequestID() string
- func (g *GetTagsResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetTagsResponseBody) SetData(data []*Tag)
- func (g *GetTagsResponseBody) SetPagination(pagination *Pagination)
- func (g *GetTagsResponseBody) SetRequestID(requestID string)
- func (g *GetTagsResponseBody) String() string
- func (g *GetTagsResponseBody) UnmarshalJSON(data []byte) error
- type GetTaskCommentsResponseBody
- func (g *GetTaskCommentsResponseBody) GetData() []*TaskComment
- func (g *GetTaskCommentsResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetTaskCommentsResponseBody) GetRequestID() string
- func (g *GetTaskCommentsResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetTaskCommentsResponseBody) SetData(data []*TaskComment)
- func (g *GetTaskCommentsResponseBody) SetRequestID(requestID string)
- func (g *GetTaskCommentsResponseBody) String() string
- func (g *GetTaskCommentsResponseBody) UnmarshalJSON(data []byte) error
- type GetTaskResponseBody
- func (g *GetTaskResponseBody) GetData() *Task
- func (g *GetTaskResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetTaskResponseBody) GetRequestID() string
- func (g *GetTaskResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetTaskResponseBody) SetData(data *Task)
- func (g *GetTaskResponseBody) SetRequestID(requestID string)
- func (g *GetTaskResponseBody) String() string
- func (g *GetTaskResponseBody) UnmarshalJSON(data []byte) error
- type GetTaskStatusesResponseBody
- func (g *GetTaskStatusesResponseBody) GetData() []*TaskStatusDetails
- func (g *GetTaskStatusesResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetTaskStatusesResponseBody) GetPagination() *Pagination
- func (g *GetTaskStatusesResponseBody) GetRequestID() string
- func (g *GetTaskStatusesResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetTaskStatusesResponseBody) SetData(data []*TaskStatusDetails)
- func (g *GetTaskStatusesResponseBody) SetPagination(pagination *Pagination)
- func (g *GetTaskStatusesResponseBody) SetRequestID(requestID string)
- func (g *GetTaskStatusesResponseBody) String() string
- func (g *GetTaskStatusesResponseBody) UnmarshalJSON(data []byte) error
- type GetTasksResponseBody
- func (g *GetTasksResponseBody) GetData() []*Task
- func (g *GetTasksResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetTasksResponseBody) GetPagination() *Pagination
- func (g *GetTasksResponseBody) GetRequestID() string
- func (g *GetTasksResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetTasksResponseBody) SetData(data []*Task)
- func (g *GetTasksResponseBody) SetPagination(pagination *Pagination)
- func (g *GetTasksResponseBody) SetRequestID(requestID string)
- func (g *GetTasksResponseBody) String() string
- func (g *GetTasksResponseBody) UnmarshalJSON(data []byte) error
- type GetTeamResponseBody
- func (g *GetTeamResponseBody) GetData() *Team
- func (g *GetTeamResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetTeamResponseBody) GetRequestID() string
- func (g *GetTeamResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetTeamResponseBody) SetData(data *Team)
- func (g *GetTeamResponseBody) SetRequestID(requestID string)
- func (g *GetTeamResponseBody) String() string
- func (g *GetTeamResponseBody) UnmarshalJSON(data []byte) error
- type GetTeamsResponseBody
- func (g *GetTeamsResponseBody) GetData() []*Team
- func (g *GetTeamsResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetTeamsResponseBody) GetPagination() *Pagination
- func (g *GetTeamsResponseBody) GetRequestID() string
- func (g *GetTeamsResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetTeamsResponseBody) SetData(data []*Team)
- func (g *GetTeamsResponseBody) SetPagination(pagination *Pagination)
- func (g *GetTeamsResponseBody) SetRequestID(requestID string)
- func (g *GetTeamsResponseBody) String() string
- func (g *GetTeamsResponseBody) UnmarshalJSON(data []byte) error
- type GetTicketFormResponseBody
- func (g *GetTicketFormResponseBody) GetData() *TicketForm
- func (g *GetTicketFormResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetTicketFormResponseBody) GetRequestID() string
- func (g *GetTicketFormResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetTicketFormResponseBody) SetData(data *TicketForm)
- func (g *GetTicketFormResponseBody) SetRequestID(requestID string)
- func (g *GetTicketFormResponseBody) String() string
- func (g *GetTicketFormResponseBody) UnmarshalJSON(data []byte) error
- type GetTicketFormsResponseBody
- func (g *GetTicketFormsResponseBody) GetData() []*TicketForm
- func (g *GetTicketFormsResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetTicketFormsResponseBody) GetPagination() *Pagination
- func (g *GetTicketFormsResponseBody) GetRequestID() string
- func (g *GetTicketFormsResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetTicketFormsResponseBody) SetData(data []*TicketForm)
- func (g *GetTicketFormsResponseBody) SetPagination(pagination *Pagination)
- func (g *GetTicketFormsResponseBody) SetRequestID(requestID string)
- func (g *GetTicketFormsResponseBody) String() string
- func (g *GetTicketFormsResponseBody) UnmarshalJSON(data []byte) error
- type GetTrainingDataResponseBody
- func (g *GetTrainingDataResponseBody) GetData() *TrainingData
- func (g *GetTrainingDataResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetTrainingDataResponseBody) GetRequestID() string
- func (g *GetTrainingDataResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetTrainingDataResponseBody) SetData(data *TrainingData)
- func (g *GetTrainingDataResponseBody) SetRequestID(requestID string)
- func (g *GetTrainingDataResponseBody) String() string
- func (g *GetTrainingDataResponseBody) UnmarshalJSON(data []byte) error
- type GetUserResponseBody
- func (g *GetUserResponseBody) GetData() *User
- func (g *GetUserResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetUserResponseBody) GetRequestID() string
- func (g *GetUserResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetUserResponseBody) SetData(data *User)
- func (g *GetUserResponseBody) SetRequestID(requestID string)
- func (g *GetUserResponseBody) String() string
- func (g *GetUserResponseBody) UnmarshalJSON(data []byte) error
- type GetUserRolesResponseBody
- func (g *GetUserRolesResponseBody) GetData() []*UserRole
- func (g *GetUserRolesResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetUserRolesResponseBody) GetPagination() *Pagination
- func (g *GetUserRolesResponseBody) GetRequestID() string
- func (g *GetUserRolesResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetUserRolesResponseBody) SetData(data []*UserRole)
- func (g *GetUserRolesResponseBody) SetPagination(pagination *Pagination)
- func (g *GetUserRolesResponseBody) SetRequestID(requestID string)
- func (g *GetUserRolesResponseBody) String() string
- func (g *GetUserRolesResponseBody) UnmarshalJSON(data []byte) error
- type GetUserStatusesResponseBody
- func (g *GetUserStatusesResponseBody) GetData() []*UserStatus
- func (g *GetUserStatusesResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetUserStatusesResponseBody) GetRequestID() string
- func (g *GetUserStatusesResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetUserStatusesResponseBody) SetData(data []*UserStatus)
- func (g *GetUserStatusesResponseBody) SetRequestID(requestID string)
- func (g *GetUserStatusesResponseBody) String() string
- func (g *GetUserStatusesResponseBody) UnmarshalJSON(data []byte) error
- type GetUsersResponseBody
- func (g *GetUsersResponseBody) GetData() []*User
- func (g *GetUsersResponseBody) GetExtraProperties() map[string]interface{}
- func (g *GetUsersResponseBody) GetPagination() *Pagination
- func (g *GetUsersResponseBody) GetRequestID() string
- func (g *GetUsersResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetUsersResponseBody) SetData(data []*User)
- func (g *GetUsersResponseBody) SetPagination(pagination *Pagination)
- func (g *GetUsersResponseBody) SetRequestID(requestID string)
- func (g *GetUsersResponseBody) String() string
- func (g *GetUsersResponseBody) UnmarshalJSON(data []byte) error
- type ImportContactRequestBody
- func (i *ImportContactRequestBody) GetAccountID() *string
- func (i *ImportContactRequestBody) GetAvatarURL() *string
- func (i *ImportContactRequestBody) GetCustomFields() []*CustomFieldValue
- func (i *ImportContactRequestBody) GetEmail() string
- func (i *ImportContactRequestBody) GetExtraProperties() map[string]interface{}
- func (i *ImportContactRequestBody) GetName() string
- func (i *ImportContactRequestBody) GetPhoneNumbers() []string
- func (i *ImportContactRequestBody) GetPortalRole() *ImportContactRequestBodyPortalRole
- func (i *ImportContactRequestBody) GetPrimaryPhoneNumber() *string
- func (i *ImportContactRequestBody) MarshalJSON() ([]byte, error)
- func (i *ImportContactRequestBody) SetAccountID(accountID *string)
- func (i *ImportContactRequestBody) SetAvatarURL(avatarURL *string)
- func (i *ImportContactRequestBody) SetCustomFields(customFields []*CustomFieldValue)
- func (i *ImportContactRequestBody) SetEmail(email string)
- func (i *ImportContactRequestBody) SetName(name string)
- func (i *ImportContactRequestBody) SetPhoneNumbers(phoneNumbers []string)
- func (i *ImportContactRequestBody) SetPortalRole(portalRole *ImportContactRequestBodyPortalRole)
- func (i *ImportContactRequestBody) SetPrimaryPhoneNumber(primaryPhoneNumber *string)
- func (i *ImportContactRequestBody) String() string
- func (i *ImportContactRequestBody) UnmarshalJSON(data []byte) error
- type ImportContactRequestBodyPortalRole
- type ImportContactResponseBody
- func (i *ImportContactResponseBody) GetData() *Contact
- func (i *ImportContactResponseBody) GetExtraProperties() map[string]interface{}
- func (i *ImportContactResponseBody) GetRequestID() string
- func (i *ImportContactResponseBody) MarshalJSON() ([]byte, error)
- func (i *ImportContactResponseBody) SetData(data *Contact)
- func (i *ImportContactResponseBody) SetRequestID(requestID string)
- func (i *ImportContactResponseBody) String() string
- func (i *ImportContactResponseBody) UnmarshalJSON(data []byte) error
- type ImportExternalIssue
- func (i *ImportExternalIssue) GetExternalIssueID() string
- func (i *ImportExternalIssue) GetExtraProperties() map[string]interface{}
- func (i *ImportExternalIssue) GetSource() string
- func (i *ImportExternalIssue) MarshalJSON() ([]byte, error)
- func (i *ImportExternalIssue) SetExternalIssueID(externalIssueID string)
- func (i *ImportExternalIssue) SetSource(source string)
- func (i *ImportExternalIssue) String() string
- func (i *ImportExternalIssue) UnmarshalJSON(data []byte) error
- type ImportIssueExternalRefs
- func (i *ImportIssueExternalRefs) GetExtraProperties() map[string]interface{}
- func (i *ImportIssueExternalRefs) GetIntercomConversationID() *string
- func (i *ImportIssueExternalRefs) GetZendeskTicketID() *string
- func (i *ImportIssueExternalRefs) MarshalJSON() ([]byte, error)
- func (i *ImportIssueExternalRefs) SetIntercomConversationID(intercomConversationID *string)
- func (i *ImportIssueExternalRefs) SetZendeskTicketID(zendeskTicketID *string)
- func (i *ImportIssueExternalRefs) String() string
- func (i *ImportIssueExternalRefs) UnmarshalJSON(data []byte) error
- type ImportIssueMessage
- func (i *ImportIssueMessage) GetAttachmentURLs() []string
- func (i *ImportIssueMessage) GetBodyHTML() string
- func (i *ImportIssueMessage) GetContactID() *string
- func (i *ImportIssueMessage) GetCreatedAt() *time.Time
- func (i *ImportIssueMessage) GetExtraProperties() map[string]interface{}
- func (i *ImportIssueMessage) GetIsPrivate() bool
- func (i *ImportIssueMessage) GetUserID() *string
- func (i *ImportIssueMessage) MarshalJSON() ([]byte, error)
- func (i *ImportIssueMessage) SetAttachmentURLs(attachmentURLs []string)
- func (i *ImportIssueMessage) SetBodyHTML(bodyHTML string)
- func (i *ImportIssueMessage) SetContactID(contactID *string)
- func (i *ImportIssueMessage) SetCreatedAt(createdAt *time.Time)
- func (i *ImportIssueMessage) SetIsPrivate(isPrivate bool)
- func (i *ImportIssueMessage) SetUserID(userID *string)
- func (i *ImportIssueMessage) String() string
- func (i *ImportIssueMessage) UnmarshalJSON(data []byte) error
- type ImportIssueRequest
- func (i *ImportIssueRequest) GetAccountID() *string
- func (i *ImportIssueRequest) GetAssigneeID() *string
- func (i *ImportIssueRequest) GetAttachmentURLs() []string
- func (i *ImportIssueRequest) GetCreatedAt() *time.Time
- func (i *ImportIssueRequest) GetCustomFields() []*CustomFieldValue
- func (i *ImportIssueRequest) GetExternalIssues() []*ImportExternalIssue
- func (i *ImportIssueRequest) GetExternalRefs() *ImportIssueExternalRefs
- func (i *ImportIssueRequest) GetExtraProperties() map[string]interface{}
- func (i *ImportIssueRequest) GetFirstResponseTime() *time.Time
- func (i *ImportIssueRequest) GetIssueNumber() *int64
- func (i *ImportIssueRequest) GetMessages() []*ImportIssueMessage
- func (i *ImportIssueRequest) GetPartnerAccountID() *string
- func (i *ImportIssueRequest) GetRequesterID() *string
- func (i *ImportIssueRequest) GetResolutionTime() *time.Time
- func (i *ImportIssueRequest) GetState() string
- func (i *ImportIssueRequest) GetTags() []string
- func (i *ImportIssueRequest) GetTeamID() *string
- func (i *ImportIssueRequest) GetTitle() string
- func (i *ImportIssueRequest) GetUpdatedAt() *time.Time
- func (i *ImportIssueRequest) MarshalJSON() ([]byte, error)
- func (i *ImportIssueRequest) SetAccountID(accountID *string)
- func (i *ImportIssueRequest) SetAssigneeID(assigneeID *string)
- func (i *ImportIssueRequest) SetAttachmentURLs(attachmentURLs []string)
- func (i *ImportIssueRequest) SetCreatedAt(createdAt *time.Time)
- func (i *ImportIssueRequest) SetCustomFields(customFields []*CustomFieldValue)
- func (i *ImportIssueRequest) SetExternalIssues(externalIssues []*ImportExternalIssue)
- func (i *ImportIssueRequest) SetExternalRefs(externalRefs *ImportIssueExternalRefs)
- func (i *ImportIssueRequest) SetFirstResponseTime(firstResponseTime *time.Time)
- func (i *ImportIssueRequest) SetIssueNumber(issueNumber *int64)
- func (i *ImportIssueRequest) SetMessages(messages []*ImportIssueMessage)
- func (i *ImportIssueRequest) SetPartnerAccountID(partnerAccountID *string)
- func (i *ImportIssueRequest) SetRequesterID(requesterID *string)
- func (i *ImportIssueRequest) SetResolutionTime(resolutionTime *time.Time)
- func (i *ImportIssueRequest) SetState(state string)
- func (i *ImportIssueRequest) SetTags(tags []string)
- func (i *ImportIssueRequest) SetTeamID(teamID *string)
- func (i *ImportIssueRequest) SetTitle(title string)
- func (i *ImportIssueRequest) SetUpdatedAt(updatedAt *time.Time)
- func (i *ImportIssueRequest) String() string
- func (i *ImportIssueRequest) UnmarshalJSON(data []byte) error
- type ImportIssueResponseBody
- func (i *ImportIssueResponseBody) GetData() *Issue
- func (i *ImportIssueResponseBody) GetExtraProperties() map[string]interface{}
- func (i *ImportIssueResponseBody) GetRequestID() string
- func (i *ImportIssueResponseBody) GetWarnings() *ImportWarnings
- func (i *ImportIssueResponseBody) MarshalJSON() ([]byte, error)
- func (i *ImportIssueResponseBody) SetData(data *Issue)
- func (i *ImportIssueResponseBody) SetRequestID(requestID string)
- func (i *ImportIssueResponseBody) SetWarnings(warnings *ImportWarnings)
- func (i *ImportIssueResponseBody) String() string
- func (i *ImportIssueResponseBody) UnmarshalJSON(data []byte) error
- type ImportMessagesRequest
- func (i *ImportMessagesRequest) GetExtraProperties() map[string]interface{}
- func (i *ImportMessagesRequest) GetMessages() []*ImportIssueMessage
- func (i *ImportMessagesRequest) MarshalJSON() ([]byte, error)
- func (i *ImportMessagesRequest) SetMessages(messages []*ImportIssueMessage)
- func (i *ImportMessagesRequest) String() string
- func (i *ImportMessagesRequest) UnmarshalJSON(data []byte) error
- type ImportMessagesResponseBody
- func (i *ImportMessagesResponseBody) GetData() *Issue
- func (i *ImportMessagesResponseBody) GetExtraProperties() map[string]interface{}
- func (i *ImportMessagesResponseBody) GetRequestID() string
- func (i *ImportMessagesResponseBody) GetWarnings() *ImportWarnings
- func (i *ImportMessagesResponseBody) MarshalJSON() ([]byte, error)
- func (i *ImportMessagesResponseBody) SetData(data *Issue)
- func (i *ImportMessagesResponseBody) SetRequestID(requestID string)
- func (i *ImportMessagesResponseBody) SetWarnings(warnings *ImportWarnings)
- func (i *ImportMessagesResponseBody) String() string
- func (i *ImportMessagesResponseBody) UnmarshalJSON(data []byte) error
- type ImportProjectRequestBody
- func (i *ImportProjectRequestBody) GetAccountID() string
- func (i *ImportProjectRequestBody) GetCreatedAt() *time.Time
- func (i *ImportProjectRequestBody) GetCustomFields() []*CustomFieldValue
- func (i *ImportProjectRequestBody) GetCustomerPortalVisible() *bool
- func (i *ImportProjectRequestBody) GetDescriptionHTML() *string
- func (i *ImportProjectRequestBody) GetEndDate() *time.Time
- func (i *ImportProjectRequestBody) GetExtraProperties() map[string]interface{}
- func (i *ImportProjectRequestBody) GetName() string
- func (i *ImportProjectRequestBody) GetOwnerID() *string
- func (i *ImportProjectRequestBody) GetStartDate() *time.Time
- func (i *ImportProjectRequestBody) GetStatus() *string
- func (i *ImportProjectRequestBody) GetUpdatedAt() *time.Time
- func (i *ImportProjectRequestBody) MarshalJSON() ([]byte, error)
- func (i *ImportProjectRequestBody) SetAccountID(accountID string)
- func (i *ImportProjectRequestBody) SetCreatedAt(createdAt *time.Time)
- func (i *ImportProjectRequestBody) SetCustomFields(customFields []*CustomFieldValue)
- func (i *ImportProjectRequestBody) SetCustomerPortalVisible(customerPortalVisible *bool)
- func (i *ImportProjectRequestBody) SetDescriptionHTML(descriptionHTML *string)
- func (i *ImportProjectRequestBody) SetEndDate(endDate *time.Time)
- func (i *ImportProjectRequestBody) SetName(name string)
- func (i *ImportProjectRequestBody) SetOwnerID(ownerID *string)
- func (i *ImportProjectRequestBody) SetStartDate(startDate *time.Time)
- func (i *ImportProjectRequestBody) SetStatus(status *string)
- func (i *ImportProjectRequestBody) SetUpdatedAt(updatedAt *time.Time)
- func (i *ImportProjectRequestBody) String() string
- func (i *ImportProjectRequestBody) UnmarshalJSON(data []byte) error
- type ImportProjectResponseBody
- func (i *ImportProjectResponseBody) GetData() *Project
- func (i *ImportProjectResponseBody) GetExtraProperties() map[string]interface{}
- func (i *ImportProjectResponseBody) GetRequestID() string
- func (i *ImportProjectResponseBody) GetWarnings() *ImportWarnings
- func (i *ImportProjectResponseBody) MarshalJSON() ([]byte, error)
- func (i *ImportProjectResponseBody) SetData(data *Project)
- func (i *ImportProjectResponseBody) SetRequestID(requestID string)
- func (i *ImportProjectResponseBody) SetWarnings(warnings *ImportWarnings)
- func (i *ImportProjectResponseBody) String() string
- func (i *ImportProjectResponseBody) UnmarshalJSON(data []byte) error
- type ImportTaskRequestBody
- func (i *ImportTaskRequestBody) GetAccountID() *string
- func (i *ImportTaskRequestBody) GetAssigneeID() *string
- func (i *ImportTaskRequestBody) GetBodyHTML() *string
- func (i *ImportTaskRequestBody) GetCompletedAt() *time.Time
- func (i *ImportTaskRequestBody) GetCreatedAt() *time.Time
- func (i *ImportTaskRequestBody) GetCustomFields() []*CustomFieldValue
- func (i *ImportTaskRequestBody) GetCustomerPortalVisible() *bool
- func (i *ImportTaskRequestBody) GetDueDate() *time.Time
- func (i *ImportTaskRequestBody) GetExtraProperties() map[string]interface{}
- func (i *ImportTaskRequestBody) GetMilestoneID() *string
- func (i *ImportTaskRequestBody) GetParentTaskID() *string
- func (i *ImportTaskRequestBody) GetProjectID() *string
- func (i *ImportTaskRequestBody) GetStartedAt() *time.Time
- func (i *ImportTaskRequestBody) GetStatus() *string
- func (i *ImportTaskRequestBody) GetTitle() string
- func (i *ImportTaskRequestBody) GetUpdatedAt() *time.Time
- func (i *ImportTaskRequestBody) MarshalJSON() ([]byte, error)
- func (i *ImportTaskRequestBody) SetAccountID(accountID *string)
- func (i *ImportTaskRequestBody) SetAssigneeID(assigneeID *string)
- func (i *ImportTaskRequestBody) SetBodyHTML(bodyHTML *string)
- func (i *ImportTaskRequestBody) SetCompletedAt(completedAt *time.Time)
- func (i *ImportTaskRequestBody) SetCreatedAt(createdAt *time.Time)
- func (i *ImportTaskRequestBody) SetCustomFields(customFields []*CustomFieldValue)
- func (i *ImportTaskRequestBody) SetCustomerPortalVisible(customerPortalVisible *bool)
- func (i *ImportTaskRequestBody) SetDueDate(dueDate *time.Time)
- func (i *ImportTaskRequestBody) SetMilestoneID(milestoneID *string)
- func (i *ImportTaskRequestBody) SetParentTaskID(parentTaskID *string)
- func (i *ImportTaskRequestBody) SetProjectID(projectID *string)
- func (i *ImportTaskRequestBody) SetStartedAt(startedAt *time.Time)
- func (i *ImportTaskRequestBody) SetStatus(status *string)
- func (i *ImportTaskRequestBody) SetTitle(title string)
- func (i *ImportTaskRequestBody) SetUpdatedAt(updatedAt *time.Time)
- func (i *ImportTaskRequestBody) String() string
- func (i *ImportTaskRequestBody) UnmarshalJSON(data []byte) error
- type ImportTaskResponseBody
- func (i *ImportTaskResponseBody) GetData() *Task
- func (i *ImportTaskResponseBody) GetExtraProperties() map[string]interface{}
- func (i *ImportTaskResponseBody) GetRequestID() string
- func (i *ImportTaskResponseBody) GetWarnings() *ImportWarnings
- func (i *ImportTaskResponseBody) MarshalJSON() ([]byte, error)
- func (i *ImportTaskResponseBody) SetData(data *Task)
- func (i *ImportTaskResponseBody) SetRequestID(requestID string)
- func (i *ImportTaskResponseBody) SetWarnings(warnings *ImportWarnings)
- func (i *ImportTaskResponseBody) String() string
- func (i *ImportTaskResponseBody) UnmarshalJSON(data []byte) error
- type ImportWarnings
- func (i *ImportWarnings) GetExtraProperties() map[string]interface{}
- func (i *ImportWarnings) GetSkippedAttachments() []string
- func (i *ImportWarnings) GetSkippedCustomFields() []string
- func (i *ImportWarnings) MarshalJSON() ([]byte, error)
- func (i *ImportWarnings) SetSkippedAttachments(skippedAttachments []string)
- func (i *ImportWarnings) SetSkippedCustomFields(skippedCustomFields []string)
- func (i *ImportWarnings) String() string
- func (i *ImportWarnings) UnmarshalJSON(data []byte) error
- type IntegrationUserID
- func (i *IntegrationUserID) GetExtraProperties() map[string]interface{}
- func (i *IntegrationUserID) GetID() string
- func (i *IntegrationUserID) GetSource() string
- func (i *IntegrationUserID) MarshalJSON() ([]byte, error)
- func (i *IntegrationUserID) SetID(id string)
- func (i *IntegrationUserID) SetSource(source string)
- func (i *IntegrationUserID) String() string
- func (i *IntegrationUserID) UnmarshalJSON(data []byte) error
- type InternalServerError
- type Issue
- func (i *Issue) GetAccount() *MiniAccount
- func (i *Issue) GetActiveTimeByUser() []*ActiveTimeByUser
- func (i *Issue) GetActiveTimeSeconds() *int64
- func (i *Issue) GetAssignee() *MiniUser
- func (i *Issue) GetAttachmentURLs() []string
- func (i *Issue) GetAuthorUnverified() *bool
- func (i *Issue) GetBodyHTML() string
- func (i *Issue) GetBusinessHoursActiveTimeSeconds() *int64
- func (i *Issue) GetBusinessHoursFirstResponseSeconds() *int64
- func (i *Issue) GetBusinessHoursResolutionSeconds() *int64
- func (i *Issue) GetBusinessHoursTimeInStatusSeconds() map[string]int64
- func (i *Issue) GetChatWidgetInfo() *IssueChatWidgetInfo
- func (i *Issue) GetChildIssues() []*MiniIssue
- func (i *Issue) GetCreatedAt() time.Time
- func (i *Issue) GetCsatResponses() []*CsatResponse
- func (i *Issue) GetCustomFields() map[string]*CustomFieldValue
- func (i *Issue) GetCustomerPortalTitle() string
- func (i *Issue) GetCustomerPortalVisible() bool
- func (i *Issue) GetExternalIncidents() []*ExternalIncident
- func (i *Issue) GetExternalIssues() []*ExternalIssue
- func (i *Issue) GetExtraProperties() map[string]interface{}
- func (i *Issue) GetFirstResolutionTime() *time.Time
- func (i *Issue) GetFirstResponseAssigneeIDAtBreach() *string
- func (i *Issue) GetFirstResponseBreachTime() *time.Time
- func (i *Issue) GetFirstResponseResolvingUserID() *string
- func (i *Issue) GetFirstResponseSeconds() *int64
- func (i *Issue) GetFirstResponseTime() *time.Time
- func (i *Issue) GetFollowUp() *SLATimes
- func (i *Issue) GetID() string
- func (i *Issue) GetIsIssueGroup() bool
- func (i *Issue) GetLatestMessageTime() *time.Time
- func (i *Issue) GetLink() string
- func (i *Issue) GetNextReply() *SLATimes
- func (i *Issue) GetNumber() int64
- func (i *Issue) GetNumberOfTouches() int64
- func (i *Issue) GetParentIssueGroup() *MiniIssue
- func (i *Issue) GetRequester() *MiniContact
- func (i *Issue) GetResolutionAssigneeIDAtBreach() *string
- func (i *Issue) GetResolutionBreachTime() *time.Time
- func (i *Issue) GetResolutionResolvingUserID() *string
- func (i *Issue) GetResolutionSeconds() *int64
- func (i *Issue) GetResolutionTime() *time.Time
- func (i *Issue) GetSlack() *SlackInfo
- func (i *Issue) GetSnoozedUntilTime() *time.Time
- func (i *Issue) GetSource() string
- func (i *Issue) GetState() string
- func (i *Issue) GetTags() []string
- func (i *Issue) GetTeam() *MiniTeam
- func (i *Issue) GetTeamSlas() []*TeamSLA
- func (i *Issue) GetTimeInStatusSeconds() map[string]int64
- func (i *Issue) GetTitle() string
- func (i *Issue) GetType() string
- func (i *Issue) GetUpdatedAt() time.Time
- func (i *Issue) GetWorkspaceEmail() *string
- func (i *Issue) GetWorkspacePhoneNumber() *string
- func (i *Issue) MarshalJSON() ([]byte, error)
- func (i *Issue) SetAccount(account *MiniAccount)
- func (i *Issue) SetActiveTimeByUser(activeTimeByUser []*ActiveTimeByUser)
- func (i *Issue) SetActiveTimeSeconds(activeTimeSeconds *int64)
- func (i *Issue) SetAssignee(assignee *MiniUser)
- func (i *Issue) SetAttachmentURLs(attachmentURLs []string)
- func (i *Issue) SetAuthorUnverified(authorUnverified *bool)
- func (i *Issue) SetBodyHTML(bodyHTML string)
- func (i *Issue) SetBusinessHoursActiveTimeSeconds(businessHoursActiveTimeSeconds *int64)
- func (i *Issue) SetBusinessHoursFirstResponseSeconds(businessHoursFirstResponseSeconds *int64)
- func (i *Issue) SetBusinessHoursResolutionSeconds(businessHoursResolutionSeconds *int64)
- func (i *Issue) SetBusinessHoursTimeInStatusSeconds(businessHoursTimeInStatusSeconds map[string]int64)
- func (i *Issue) SetChatWidgetInfo(chatWidgetInfo *IssueChatWidgetInfo)
- func (i *Issue) SetChildIssues(childIssues []*MiniIssue)
- func (i *Issue) SetCreatedAt(createdAt time.Time)
- func (i *Issue) SetCsatResponses(csatResponses []*CsatResponse)
- func (i *Issue) SetCustomFields(customFields map[string]*CustomFieldValue)
- func (i *Issue) SetCustomerPortalTitle(customerPortalTitle string)
- func (i *Issue) SetCustomerPortalVisible(customerPortalVisible bool)
- func (i *Issue) SetExternalIncidents(externalIncidents []*ExternalIncident)
- func (i *Issue) SetExternalIssues(externalIssues []*ExternalIssue)
- func (i *Issue) SetFirstResolutionTime(firstResolutionTime *time.Time)
- func (i *Issue) SetFirstResponseAssigneeIDAtBreach(firstResponseAssigneeIDAtBreach *string)
- func (i *Issue) SetFirstResponseBreachTime(firstResponseBreachTime *time.Time)
- func (i *Issue) SetFirstResponseResolvingUserID(firstResponseResolvingUserID *string)
- func (i *Issue) SetFirstResponseSeconds(firstResponseSeconds *int64)
- func (i *Issue) SetFirstResponseTime(firstResponseTime *time.Time)
- func (i *Issue) SetFollowUp(followUp *SLATimes)
- func (i *Issue) SetID(id string)
- func (i *Issue) SetIsIssueGroup(isIssueGroup bool)
- func (i *Issue) SetLatestMessageTime(latestMessageTime *time.Time)
- func (i *Issue) SetLink(link string)
- func (i *Issue) SetNextReply(nextReply *SLATimes)
- func (i *Issue) SetNumber(number int64)
- func (i *Issue) SetNumberOfTouches(numberOfTouches int64)
- func (i *Issue) SetParentIssueGroup(parentIssueGroup *MiniIssue)
- func (i *Issue) SetRequester(requester *MiniContact)
- func (i *Issue) SetResolutionAssigneeIDAtBreach(resolutionAssigneeIDAtBreach *string)
- func (i *Issue) SetResolutionBreachTime(resolutionBreachTime *time.Time)
- func (i *Issue) SetResolutionResolvingUserID(resolutionResolvingUserID *string)
- func (i *Issue) SetResolutionSeconds(resolutionSeconds *int64)
- func (i *Issue) SetResolutionTime(resolutionTime *time.Time)
- func (i *Issue) SetSlack(slack *SlackInfo)
- func (i *Issue) SetSnoozedUntilTime(snoozedUntilTime *time.Time)
- func (i *Issue) SetSource(source string)
- func (i *Issue) SetState(state string)
- func (i *Issue) SetTags(tags []string)
- func (i *Issue) SetTeam(team *MiniTeam)
- func (i *Issue) SetTeamSlas(teamSlas []*TeamSLA)
- func (i *Issue) SetTimeInStatusSeconds(timeInStatusSeconds map[string]int64)
- func (i *Issue) SetTitle(title string)
- func (i *Issue) SetType(type_ string)
- func (i *Issue) SetUpdatedAt(updatedAt time.Time)
- func (i *Issue) SetWorkspaceEmail(workspaceEmail *string)
- func (i *Issue) SetWorkspacePhoneNumber(workspacePhoneNumber *string)
- func (i *Issue) String() string
- func (i *Issue) UnmarshalJSON(data []byte) error
- type IssueChatWidgetInfo
- func (i *IssueChatWidgetInfo) GetExtraProperties() map[string]interface{}
- func (i *IssueChatWidgetInfo) GetPageURL() string
- func (i *IssueChatWidgetInfo) MarshalJSON() ([]byte, error)
- func (i *IssueChatWidgetInfo) SetPageURL(pageURL string)
- func (i *IssueChatWidgetInfo) String() string
- func (i *IssueChatWidgetInfo) UnmarshalJSON(data []byte) error
- type IssueGroupMutationResponseBody
- func (i *IssueGroupMutationResponseBody) GetExtraProperties() map[string]interface{}
- func (i *IssueGroupMutationResponseBody) GetRequestID() string
- func (i *IssueGroupMutationResponseBody) GetSuccess() bool
- func (i *IssueGroupMutationResponseBody) MarshalJSON() ([]byte, error)
- func (i *IssueGroupMutationResponseBody) SetRequestID(requestID string)
- func (i *IssueGroupMutationResponseBody) SetSuccess(success bool)
- func (i *IssueGroupMutationResponseBody) String() string
- func (i *IssueGroupMutationResponseBody) UnmarshalJSON(data []byte) error
- type IssueGroupsCreateRequest
- type IssueStatus
- func (i *IssueStatus) GetCategory() string
- func (i *IssueStatus) GetExtraProperties() map[string]interface{}
- func (i *IssueStatus) GetIsArchived() bool
- func (i *IssueStatus) GetIsDefaultStatus() bool
- func (i *IssueStatus) GetLabel() string
- func (i *IssueStatus) GetSlug() string
- func (i *IssueStatus) MarshalJSON() ([]byte, error)
- func (i *IssueStatus) SetCategory(category string)
- func (i *IssueStatus) SetIsArchived(isArchived bool)
- func (i *IssueStatus) SetIsDefaultStatus(isDefaultStatus bool)
- func (i *IssueStatus) SetLabel(label string)
- func (i *IssueStatus) SetSlug(slug string)
- func (i *IssueStatus) String() string
- func (i *IssueStatus) UnmarshalJSON(data []byte) error
- type IssueThread
- func (i *IssueThread) GetChannelID() *string
- func (i *IssueThread) GetDeliveryMode() string
- func (i *IssueThread) GetExtraProperties() map[string]interface{}
- func (i *IssueThread) GetID() string
- func (i *IssueThread) GetIssueID() string
- func (i *IssueThread) GetName() string
- func (i *IssueThread) GetSource() *string
- func (i *IssueThread) GetThreadID() *string
- func (i *IssueThread) MarshalJSON() ([]byte, error)
- func (i *IssueThread) SetChannelID(channelID *string)
- func (i *IssueThread) SetDeliveryMode(deliveryMode string)
- func (i *IssueThread) SetID(id string)
- func (i *IssueThread) SetIssueID(issueID string)
- func (i *IssueThread) SetName(name string)
- func (i *IssueThread) SetSource(source *string)
- func (i *IssueThread) SetThreadID(threadID *string)
- func (i *IssueThread) String() string
- func (i *IssueThread) UnmarshalJSON(data []byte) error
- type IssuesBulkUpdateRequest
- func (i *IssuesBulkUpdateRequest) MarshalJSON() ([]byte, error)
- func (i *IssuesBulkUpdateRequest) SetAssigneeID(assigneeID *string)
- func (i *IssuesBulkUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
- func (i *IssuesBulkUpdateRequest) SetCustomerPortalVisible(customerPortalVisible *bool)
- func (i *IssuesBulkUpdateRequest) SetIssueIDs(issueIDs []string)
- func (i *IssuesBulkUpdateRequest) SetState(state *string)
- func (i *IssuesBulkUpdateRequest) SetTags(tags []string)
- func (i *IssuesBulkUpdateRequest) SetTagsApplyMode(tagsApplyMode *UpdateIssuesRequestTagsApplyMode)
- func (i *IssuesBulkUpdateRequest) SetTeamID(teamID *string)
- func (i *IssuesBulkUpdateRequest) UnmarshalJSON(data []byte) error
- type IssuesCreateAiResponseRequest
- func (i *IssuesCreateAiResponseRequest) MarshalJSON() ([]byte, error)
- func (i *IssuesCreateAiResponseRequest) SetAiAgentID(aiAgentID string)
- func (i *IssuesCreateAiResponseRequest) SetIssueID(issueID string)
- func (i *IssuesCreateAiResponseRequest) SetPostAsInternalNote(postAsInternalNote *bool)
- func (i *IssuesCreateAiResponseRequest) UnmarshalJSON(data []byte) error
- type IssuesCreateDraftReplyRequest
- func (i *IssuesCreateDraftReplyRequest) MarshalJSON() ([]byte, error)
- func (i *IssuesCreateDraftReplyRequest) SetBccEmails(bccEmails []string)
- func (i *IssuesCreateDraftReplyRequest) SetBodyHTML(bodyHTML string)
- func (i *IssuesCreateDraftReplyRequest) SetCcEmails(ccEmails []string)
- func (i *IssuesCreateDraftReplyRequest) SetIssueID(issueID string)
- func (i *IssuesCreateDraftReplyRequest) SetToEmails(toEmails []string)
- func (i *IssuesCreateDraftReplyRequest) SetUserID(userID *string)
- func (i *IssuesCreateDraftReplyRequest) UnmarshalJSON(data []byte) error
- type IssuesCreateNoteRequest
- func (i *IssuesCreateNoteRequest) MarshalJSON() ([]byte, error)
- func (i *IssuesCreateNoteRequest) SetAttachmentURLs(attachmentURLs []string)
- func (i *IssuesCreateNoteRequest) SetBodyHTML(bodyHTML string)
- func (i *IssuesCreateNoteRequest) SetIssueID(issueID string)
- func (i *IssuesCreateNoteRequest) SetMessageID(messageID *string)
- func (i *IssuesCreateNoteRequest) SetThreadID(threadID *string)
- func (i *IssuesCreateNoteRequest) SetThreadName(threadName *string)
- func (i *IssuesCreateNoteRequest) SetUserID(userID *string)
- func (i *IssuesCreateNoteRequest) UnmarshalJSON(data []byte) error
- type IssuesCreateRequest
- func (i *IssuesCreateRequest) MarshalJSON() ([]byte, error)
- func (i *IssuesCreateRequest) SetAccountID(accountID *string)
- func (i *IssuesCreateRequest) SetAssigneeID(assigneeID *string)
- func (i *IssuesCreateRequest) SetAttachmentURLs(attachmentURLs []string)
- func (i *IssuesCreateRequest) SetAuthorUnverified(authorUnverified *bool)
- func (i *IssuesCreateRequest) SetBodyHTML(bodyHTML string)
- func (i *IssuesCreateRequest) SetContactID(contactID *string)
- func (i *IssuesCreateRequest) SetCreatedAt(createdAt *time.Time)
- func (i *IssuesCreateRequest) SetCustomFields(customFields []*CustomFieldValue)
- func (i *IssuesCreateRequest) SetCustomIssueSourceID(customIssueSourceID *string)
- func (i *IssuesCreateRequest) SetCustomerPortalVisible(customerPortalVisible *bool)
- func (i *IssuesCreateRequest) SetDestinationMetadata(destinationMetadata *DestinationMetadata)
- func (i *IssuesCreateRequest) SetPriority(priority *CreateIssueRequestPriority)
- func (i *IssuesCreateRequest) SetRequesterAvatarURL(requesterAvatarURL *string)
- func (i *IssuesCreateRequest) SetRequesterEmail(requesterEmail *string)
- func (i *IssuesCreateRequest) SetRequesterID(requesterID *string)
- func (i *IssuesCreateRequest) SetRequesterName(requesterName *string)
- func (i *IssuesCreateRequest) SetRequesterPhoneNumber(requesterPhoneNumber *string)
- func (i *IssuesCreateRequest) SetTags(tags []string)
- func (i *IssuesCreateRequest) SetTeamID(teamID *string)
- func (i *IssuesCreateRequest) SetTitle(title string)
- func (i *IssuesCreateRequest) SetUserID(userID *string)
- func (i *IssuesCreateRequest) UnmarshalJSON(data []byte) error
- type IssuesDeleteRequest
- type IssuesGetRequest
- type IssuesLinkExternalIncidentRequest
- func (i *IssuesLinkExternalIncidentRequest) MarshalJSON() ([]byte, error)
- func (i *IssuesLinkExternalIncidentRequest) SetIncidentID(incidentID string)
- func (i *IssuesLinkExternalIncidentRequest) SetIssueID(issueID string)
- func (i *IssuesLinkExternalIncidentRequest) SetOperation(operation *string)
- func (i *IssuesLinkExternalIncidentRequest) SetSource(source LinkExternalIncidentRequestBodySource)
- func (i *IssuesLinkExternalIncidentRequest) UnmarshalJSON(data []byte) error
- type IssuesLinkExternalIssueRequest
- func (i *IssuesLinkExternalIssueRequest) MarshalJSON() ([]byte, error)
- func (i *IssuesLinkExternalIssueRequest) SetExternalIssueID(externalIssueID string)
- func (i *IssuesLinkExternalIssueRequest) SetIssueID(issueID string)
- func (i *IssuesLinkExternalIssueRequest) SetOperation(operation *string)
- func (i *IssuesLinkExternalIssueRequest) SetSource(source string)
- func (i *IssuesLinkExternalIssueRequest) UnmarshalJSON(data []byte) error
- type IssuesListRequest
- type IssuesMarkSpamRequest
- type IssuesMergeRequest
- func (i *IssuesMergeRequest) MarshalJSON() ([]byte, error)
- func (i *IssuesMergeRequest) SetClosingMessage(closingMessage *string)
- func (i *IssuesMergeRequest) SetDuplicateIssueIDs(duplicateIssueIDs []string)
- func (i *IssuesMergeRequest) SetPrimaryIssueID(primaryIssueID string)
- func (i *IssuesMergeRequest) UnmarshalJSON(data []byte) error
- type IssuesReplyRequest
- func (i *IssuesReplyRequest) MarshalJSON() ([]byte, error)
- func (i *IssuesReplyRequest) SetAttachmentURLs(attachmentURLs []string)
- func (i *IssuesReplyRequest) SetBodyHTML(bodyHTML string)
- func (i *IssuesReplyRequest) SetContactID(contactID *string)
- func (i *IssuesReplyRequest) SetCustomSource(customSource *CustomSourceInfo)
- func (i *IssuesReplyRequest) SetEmailInfo(emailInfo *CreateIssueReplyEmailInfo)
- func (i *IssuesReplyRequest) SetIssueID(issueID string)
- func (i *IssuesReplyRequest) SetMessageID(messageID string)
- func (i *IssuesReplyRequest) SetUserID(userID *string)
- func (i *IssuesReplyRequest) UnmarshalJSON(data []byte) error
- type IssuesSearchRequest
- func (i *IssuesSearchRequest) MarshalJSON() ([]byte, error)
- func (i *IssuesSearchRequest) SetCursor(cursor *string)
- func (i *IssuesSearchRequest) SetFilter(filter *Filter)
- func (i *IssuesSearchRequest) SetLimit(limit *int64)
- func (i *IssuesSearchRequest) SetSearchText(searchText *string)
- func (i *IssuesSearchRequest) SetSort(sort []*SearchIssuesSort)
- func (i *IssuesSearchRequest) UnmarshalJSON(data []byte) error
- type IssuesSnoozeRequest
- type IssuesUpdateRequest
- func (i *IssuesUpdateRequest) MarshalJSON() ([]byte, error)
- func (i *IssuesUpdateRequest) SetAccountID(accountID *string)
- func (i *IssuesUpdateRequest) SetAssigneeID(assigneeID *string)
- func (i *IssuesUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
- func (i *IssuesUpdateRequest) SetCustomerPortalTitle(customerPortalTitle *string)
- func (i *IssuesUpdateRequest) SetCustomerPortalVisible(customerPortalVisible *bool)
- func (i *IssuesUpdateRequest) SetID(id string)
- func (i *IssuesUpdateRequest) SetRequesterID(requesterID *string)
- func (i *IssuesUpdateRequest) SetRequestorID(requestorID *string)
- func (i *IssuesUpdateRequest) SetState(state *string)
- func (i *IssuesUpdateRequest) SetTags(tags []string)
- func (i *IssuesUpdateRequest) SetTagsApplyMode(tagsApplyMode *UpdateIssueRequestBodyTagsApplyMode)
- func (i *IssuesUpdateRequest) SetTeamID(teamID *string)
- func (i *IssuesUpdateRequest) SetTitle(title *string)
- func (i *IssuesUpdateRequest) SetType(type_ *UpdateIssueRequestBodyType)
- func (i *IssuesUpdateRequest) UnmarshalJSON(data []byte) error
- type KnowledgeBase
- func (k *KnowledgeBase) GetActiveThemeID() *string
- func (k *KnowledgeBase) GetDefaultLanguage() string
- func (k *KnowledgeBase) GetExtraProperties() map[string]interface{}
- func (k *KnowledgeBase) GetID() string
- func (k *KnowledgeBase) GetSlug() string
- func (k *KnowledgeBase) GetSupportedLanguages() []string
- func (k *KnowledgeBase) GetTitle() string
- func (k *KnowledgeBase) MarshalJSON() ([]byte, error)
- func (k *KnowledgeBase) SetActiveThemeID(activeThemeID *string)
- func (k *KnowledgeBase) SetDefaultLanguage(defaultLanguage string)
- func (k *KnowledgeBase) SetID(id string)
- func (k *KnowledgeBase) SetSlug(slug string)
- func (k *KnowledgeBase) SetSupportedLanguages(supportedLanguages []string)
- func (k *KnowledgeBase) SetTitle(title string)
- func (k *KnowledgeBase) String() string
- func (k *KnowledgeBase) UnmarshalJSON(data []byte) error
- type KnowledgeBaseTheme
- func (k *KnowledgeBaseTheme) GetAssets() []*KnowledgeBaseThemeAsset
- func (k *KnowledgeBaseTheme) GetExtraProperties() map[string]interface{}
- func (k *KnowledgeBaseTheme) GetHasUnpublishedChanges() bool
- func (k *KnowledgeBaseTheme) GetID() string
- func (k *KnowledgeBaseTheme) GetKnowledgeBaseID() string
- func (k *KnowledgeBaseTheme) GetName() string
- func (k *KnowledgeBaseTheme) MarshalJSON() ([]byte, error)
- func (k *KnowledgeBaseTheme) SetAssets(assets []*KnowledgeBaseThemeAsset)
- func (k *KnowledgeBaseTheme) SetHasUnpublishedChanges(hasUnpublishedChanges bool)
- func (k *KnowledgeBaseTheme) SetID(id string)
- func (k *KnowledgeBaseTheme) SetKnowledgeBaseID(knowledgeBaseID string)
- func (k *KnowledgeBaseTheme) SetName(name string)
- func (k *KnowledgeBaseTheme) String() string
- func (k *KnowledgeBaseTheme) UnmarshalJSON(data []byte) error
- type KnowledgeBaseThemeAsset
- func (k *KnowledgeBaseThemeAsset) GetAssetType() string
- func (k *KnowledgeBaseThemeAsset) GetContent() string
- func (k *KnowledgeBaseThemeAsset) GetExtraProperties() map[string]interface{}
- func (k *KnowledgeBaseThemeAsset) GetHasUnpublishedChanges() bool
- func (k *KnowledgeBaseThemeAsset) GetPublishedContent() *string
- func (k *KnowledgeBaseThemeAsset) MarshalJSON() ([]byte, error)
- func (k *KnowledgeBaseThemeAsset) SetAssetType(assetType string)
- func (k *KnowledgeBaseThemeAsset) SetContent(content string)
- func (k *KnowledgeBaseThemeAsset) SetHasUnpublishedChanges(hasUnpublishedChanges bool)
- func (k *KnowledgeBaseThemeAsset) SetPublishedContent(publishedContent *string)
- func (k *KnowledgeBaseThemeAsset) String() string
- func (k *KnowledgeBaseThemeAsset) UnmarshalJSON(data []byte) error
- type KnowledgeBasesGetRequest
- type LinkExternalIncidentRequestBodySource
- type LinkExternalIncidentResponseBody
- func (l *LinkExternalIncidentResponseBody) GetData() *Issue
- func (l *LinkExternalIncidentResponseBody) GetExtraProperties() map[string]interface{}
- func (l *LinkExternalIncidentResponseBody) GetRequestID() string
- func (l *LinkExternalIncidentResponseBody) MarshalJSON() ([]byte, error)
- func (l *LinkExternalIncidentResponseBody) SetData(data *Issue)
- func (l *LinkExternalIncidentResponseBody) SetRequestID(requestID string)
- func (l *LinkExternalIncidentResponseBody) String() string
- func (l *LinkExternalIncidentResponseBody) UnmarshalJSON(data []byte) error
- type LinkExternalIssueResponseBody
- func (l *LinkExternalIssueResponseBody) GetData() *Issue
- func (l *LinkExternalIssueResponseBody) GetExtraProperties() map[string]interface{}
- func (l *LinkExternalIssueResponseBody) GetRequestID() string
- func (l *LinkExternalIssueResponseBody) MarshalJSON() ([]byte, error)
- func (l *LinkExternalIssueResponseBody) SetData(data *Issue)
- func (l *LinkExternalIssueResponseBody) SetRequestID(requestID string)
- func (l *LinkExternalIssueResponseBody) String() string
- func (l *LinkExternalIssueResponseBody) UnmarshalJSON(data []byte) error
- type LinkFeatureRequestExternalIssueResponseBody
- func (l *LinkFeatureRequestExternalIssueResponseBody) GetData() *FeatureRequest
- func (l *LinkFeatureRequestExternalIssueResponseBody) GetExtraProperties() map[string]interface{}
- func (l *LinkFeatureRequestExternalIssueResponseBody) GetRequestID() string
- func (l *LinkFeatureRequestExternalIssueResponseBody) MarshalJSON() ([]byte, error)
- func (l *LinkFeatureRequestExternalIssueResponseBody) SetData(data *FeatureRequest)
- func (l *LinkFeatureRequestExternalIssueResponseBody) SetRequestID(requestID string)
- func (l *LinkFeatureRequestExternalIssueResponseBody) String() string
- func (l *LinkFeatureRequestExternalIssueResponseBody) UnmarshalJSON(data []byte) error
- type LinkTaskExternalIssueResponseBody
- func (l *LinkTaskExternalIssueResponseBody) GetData() *Task
- func (l *LinkTaskExternalIssueResponseBody) GetExtraProperties() map[string]interface{}
- func (l *LinkTaskExternalIssueResponseBody) GetRequestID() string
- func (l *LinkTaskExternalIssueResponseBody) MarshalJSON() ([]byte, error)
- func (l *LinkTaskExternalIssueResponseBody) SetData(data *Task)
- func (l *LinkTaskExternalIssueResponseBody) SetRequestID(requestID string)
- func (l *LinkTaskExternalIssueResponseBody) String() string
- func (l *LinkTaskExternalIssueResponseBody) UnmarshalJSON(data []byte) error
- type LinkTaskIssueResponseBody
- func (l *LinkTaskIssueResponseBody) GetData() *Task
- func (l *LinkTaskIssueResponseBody) GetExtraProperties() map[string]interface{}
- func (l *LinkTaskIssueResponseBody) GetRequestID() string
- func (l *LinkTaskIssueResponseBody) MarshalJSON() ([]byte, error)
- func (l *LinkTaskIssueResponseBody) SetData(data *Task)
- func (l *LinkTaskIssueResponseBody) SetRequestID(requestID string)
- func (l *LinkTaskIssueResponseBody) String() string
- func (l *LinkTaskIssueResponseBody) UnmarshalJSON(data []byte) error
- type ListCustomFieldsRequestObjectType
- type ListTrainingDataResponseBody
- func (l *ListTrainingDataResponseBody) GetData() []*TrainingData
- func (l *ListTrainingDataResponseBody) GetExtraProperties() map[string]interface{}
- func (l *ListTrainingDataResponseBody) GetRequestID() string
- func (l *ListTrainingDataResponseBody) MarshalJSON() ([]byte, error)
- func (l *ListTrainingDataResponseBody) SetData(data []*TrainingData)
- func (l *ListTrainingDataResponseBody) SetRequestID(requestID string)
- func (l *ListTrainingDataResponseBody) String() string
- func (l *ListTrainingDataResponseBody) UnmarshalJSON(data []byte) error
- type Macro
- func (m *Macro) GetActions() []*MacroAction
- func (m *Macro) GetCreatedAt() time.Time
- func (m *Macro) GetEditVisibility() *Visibility
- func (m *Macro) GetExtraProperties() map[string]interface{}
- func (m *Macro) GetHasActions() bool
- func (m *Macro) GetID() string
- func (m *Macro) GetMacroGroupID() string
- func (m *Macro) GetName() string
- func (m *Macro) GetTextHTML() string
- func (m *Macro) GetTextType() string
- func (m *Macro) GetUpdatedAt() time.Time
- func (m *Macro) GetVisibility() *Visibility
- func (m *Macro) MarshalJSON() ([]byte, error)
- func (m *Macro) SetActions(actions []*MacroAction)
- func (m *Macro) SetCreatedAt(createdAt time.Time)
- func (m *Macro) SetEditVisibility(editVisibility *Visibility)
- func (m *Macro) SetHasActions(hasActions bool)
- func (m *Macro) SetID(id string)
- func (m *Macro) SetMacroGroupID(macroGroupID string)
- func (m *Macro) SetName(name string)
- func (m *Macro) SetTextHTML(textHTML string)
- func (m *Macro) SetTextType(textType string)
- func (m *Macro) SetUpdatedAt(updatedAt time.Time)
- func (m *Macro) SetVisibility(visibility *Visibility)
- func (m *Macro) String() string
- func (m *Macro) UnmarshalJSON(data []byte) error
- type MacroAction
- type MacroGroup
- func (m *MacroGroup) GetCreatedAt() time.Time
- func (m *MacroGroup) GetExtraProperties() map[string]interface{}
- func (m *MacroGroup) GetID() string
- func (m *MacroGroup) GetTitle() string
- func (m *MacroGroup) GetUpdatedAt() time.Time
- func (m *MacroGroup) MarshalJSON() ([]byte, error)
- func (m *MacroGroup) SetCreatedAt(createdAt time.Time)
- func (m *MacroGroup) SetID(id string)
- func (m *MacroGroup) SetTitle(title string)
- func (m *MacroGroup) SetUpdatedAt(updatedAt time.Time)
- func (m *MacroGroup) String() string
- func (m *MacroGroup) UnmarshalJSON(data []byte) error
- type MacrosCreateRequest
- func (m *MacrosCreateRequest) MarshalJSON() ([]byte, error)
- func (m *MacrosCreateRequest) SetConditions(conditions *Filter)
- func (m *MacrosCreateRequest) SetEditVisibility(editVisibility *VisibilityInput)
- func (m *MacrosCreateRequest) SetMacroGroupID(macroGroupID string)
- func (m *MacrosCreateRequest) SetName(name string)
- func (m *MacrosCreateRequest) SetTextHTML(textHTML string)
- func (m *MacrosCreateRequest) SetTextType(textType *string)
- func (m *MacrosCreateRequest) SetVisibility(visibility *VisibilityInput)
- func (m *MacrosCreateRequest) UnmarshalJSON(data []byte) error
- type MacrosDeleteRequest
- type MacrosGetRequest
- type MacrosListRequest
- type MacrosUpdateRequest
- func (m *MacrosUpdateRequest) MarshalJSON() ([]byte, error)
- func (m *MacrosUpdateRequest) SetConditions(conditions *Filter)
- func (m *MacrosUpdateRequest) SetEditVisibility(editVisibility *VisibilityInput)
- func (m *MacrosUpdateRequest) SetID(id string)
- func (m *MacrosUpdateRequest) SetMacroGroupID(macroGroupID *string)
- func (m *MacrosUpdateRequest) SetName(name *string)
- func (m *MacrosUpdateRequest) SetTextHTML(textHTML *string)
- func (m *MacrosUpdateRequest) SetTextType(textType *string)
- func (m *MacrosUpdateRequest) SetVisibility(visibility *VisibilityInput)
- func (m *MacrosUpdateRequest) UnmarshalJSON(data []byte) error
- type MarkIssuesAsSpamResponseBody
- func (m *MarkIssuesAsSpamResponseBody) GetData() *BulkIssueResult
- func (m *MarkIssuesAsSpamResponseBody) GetExtraProperties() map[string]interface{}
- func (m *MarkIssuesAsSpamResponseBody) GetRequestID() string
- func (m *MarkIssuesAsSpamResponseBody) MarshalJSON() ([]byte, error)
- func (m *MarkIssuesAsSpamResponseBody) SetData(data *BulkIssueResult)
- func (m *MarkIssuesAsSpamResponseBody) SetRequestID(requestID string)
- func (m *MarkIssuesAsSpamResponseBody) String() string
- func (m *MarkIssuesAsSpamResponseBody) UnmarshalJSON(data []byte) error
- type Me
- func (m *Me) GetExtraProperties() map[string]interface{}
- func (m *Me) GetID() string
- func (m *Me) GetName() string
- func (m *Me) GetUser() *MeUser
- func (m *Me) MarshalJSON() ([]byte, error)
- func (m *Me) SetID(id string)
- func (m *Me) SetName(name string)
- func (m *Me) SetUser(user *MeUser)
- func (m *Me) String() string
- func (m *Me) UnmarshalJSON(data []byte) error
- type MeUser
- func (m *MeUser) GetEmail() string
- func (m *MeUser) GetExtraProperties() map[string]interface{}
- func (m *MeUser) GetID() string
- func (m *MeUser) MarshalJSON() ([]byte, error)
- func (m *MeUser) SetEmail(email string)
- func (m *MeUser) SetID(id string)
- func (m *MeUser) String() string
- func (m *MeUser) UnmarshalJSON(data []byte) error
- type MergeAccountsResponseBody
- func (m *MergeAccountsResponseBody) GetData() *Account
- func (m *MergeAccountsResponseBody) GetExtraProperties() map[string]interface{}
- func (m *MergeAccountsResponseBody) GetRequestID() string
- func (m *MergeAccountsResponseBody) MarshalJSON() ([]byte, error)
- func (m *MergeAccountsResponseBody) SetData(data *Account)
- func (m *MergeAccountsResponseBody) SetRequestID(requestID string)
- func (m *MergeAccountsResponseBody) String() string
- func (m *MergeAccountsResponseBody) UnmarshalJSON(data []byte) error
- type MergeContactsResponseBody
- func (m *MergeContactsResponseBody) GetData() *Contact
- func (m *MergeContactsResponseBody) GetExtraProperties() map[string]interface{}
- func (m *MergeContactsResponseBody) GetRequestID() string
- func (m *MergeContactsResponseBody) MarshalJSON() ([]byte, error)
- func (m *MergeContactsResponseBody) SetData(data *Contact)
- func (m *MergeContactsResponseBody) SetRequestID(requestID string)
- func (m *MergeContactsResponseBody) String() string
- func (m *MergeContactsResponseBody) UnmarshalJSON(data []byte) error
- type MergeFeatureRequestsResponseBody
- func (m *MergeFeatureRequestsResponseBody) GetData() *FeatureRequest
- func (m *MergeFeatureRequestsResponseBody) GetExtraProperties() map[string]interface{}
- func (m *MergeFeatureRequestsResponseBody) GetRequestID() string
- func (m *MergeFeatureRequestsResponseBody) MarshalJSON() ([]byte, error)
- func (m *MergeFeatureRequestsResponseBody) SetData(data *FeatureRequest)
- func (m *MergeFeatureRequestsResponseBody) SetRequestID(requestID string)
- func (m *MergeFeatureRequestsResponseBody) String() string
- func (m *MergeFeatureRequestsResponseBody) UnmarshalJSON(data []byte) error
- type MergeIssuesResponseBody
- func (m *MergeIssuesResponseBody) GetData() *Issue
- func (m *MergeIssuesResponseBody) GetExtraProperties() map[string]interface{}
- func (m *MergeIssuesResponseBody) GetRequestID() string
- func (m *MergeIssuesResponseBody) MarshalJSON() ([]byte, error)
- func (m *MergeIssuesResponseBody) SetData(data *Issue)
- func (m *MergeIssuesResponseBody) SetRequestID(requestID string)
- func (m *MergeIssuesResponseBody) String() string
- func (m *MergeIssuesResponseBody) UnmarshalJSON(data []byte) error
- type Message
- func (m *Message) GetAuthor() *MessageAuthor
- func (m *Message) GetAuthorUnverified() bool
- func (m *Message) GetEmailInfo() *EmailMessageInfo
- func (m *Message) GetExtraProperties() map[string]interface{}
- func (m *Message) GetFileURLs() []string
- func (m *Message) GetID() string
- func (m *Message) GetIsPrivate() bool
- func (m *Message) GetMessageHTML() string
- func (m *Message) GetReactions() []*MessageReaction
- func (m *Message) GetSlackInfo() *SlackMessageInfo
- func (m *Message) GetSource() string
- func (m *Message) GetThreadID() *string
- func (m *Message) GetTimestamp() time.Time
- func (m *Message) MarshalJSON() ([]byte, error)
- func (m *Message) SetAuthor(author *MessageAuthor)
- func (m *Message) SetAuthorUnverified(authorUnverified bool)
- func (m *Message) SetEmailInfo(emailInfo *EmailMessageInfo)
- func (m *Message) SetFileURLs(fileURLs []string)
- func (m *Message) SetID(id string)
- func (m *Message) SetIsPrivate(isPrivate bool)
- func (m *Message) SetMessageHTML(messageHTML string)
- func (m *Message) SetReactions(reactions []*MessageReaction)
- func (m *Message) SetSlackInfo(slackInfo *SlackMessageInfo)
- func (m *Message) SetSource(source string)
- func (m *Message) SetThreadID(threadID *string)
- func (m *Message) SetTimestamp(timestamp time.Time)
- func (m *Message) String() string
- func (m *Message) UnmarshalJSON(data []byte) error
- type MessageAuthor
- func (m *MessageAuthor) GetAvatarURL() *string
- func (m *MessageAuthor) GetContact() *MiniContact
- func (m *MessageAuthor) GetExtraProperties() map[string]interface{}
- func (m *MessageAuthor) GetName() string
- func (m *MessageAuthor) GetUser() *MiniUser
- func (m *MessageAuthor) MarshalJSON() ([]byte, error)
- func (m *MessageAuthor) SetAvatarURL(avatarURL *string)
- func (m *MessageAuthor) SetContact(contact *MiniContact)
- func (m *MessageAuthor) SetName(name string)
- func (m *MessageAuthor) SetUser(user *MiniUser)
- func (m *MessageAuthor) String() string
- func (m *MessageAuthor) UnmarshalJSON(data []byte) error
- type MessageReaction
- func (m *MessageReaction) GetCount() int64
- func (m *MessageReaction) GetExtraProperties() map[string]interface{}
- func (m *MessageReaction) GetName() string
- func (m *MessageReaction) MarshalJSON() ([]byte, error)
- func (m *MessageReaction) SetCount(count int64)
- func (m *MessageReaction) SetName(name string)
- func (m *MessageReaction) String() string
- func (m *MessageReaction) UnmarshalJSON(data []byte) error
- type Milestone
- func (m *Milestone) GetAccount() *MiniAccount
- func (m *Milestone) GetCreatedAt() time.Time
- func (m *Milestone) GetDueDate() *time.Time
- func (m *Milestone) GetExtraProperties() map[string]interface{}
- func (m *Milestone) GetID() string
- func (m *Milestone) GetName() string
- func (m *Milestone) GetProject() *MiniProject
- func (m *Milestone) GetUpdatedAt() time.Time
- func (m *Milestone) MarshalJSON() ([]byte, error)
- func (m *Milestone) SetAccount(account *MiniAccount)
- func (m *Milestone) SetCreatedAt(createdAt time.Time)
- func (m *Milestone) SetDueDate(dueDate *time.Time)
- func (m *Milestone) SetID(id string)
- func (m *Milestone) SetName(name string)
- func (m *Milestone) SetProject(project *MiniProject)
- func (m *Milestone) SetUpdatedAt(updatedAt time.Time)
- func (m *Milestone) String() string
- func (m *Milestone) UnmarshalJSON(data []byte) error
- type MilestonesCreateRequest
- func (m *MilestonesCreateRequest) MarshalJSON() ([]byte, error)
- func (m *MilestonesCreateRequest) SetAccountID(accountID *string)
- func (m *MilestonesCreateRequest) SetDueDate(dueDate *time.Time)
- func (m *MilestonesCreateRequest) SetName(name string)
- func (m *MilestonesCreateRequest) SetProjectID(projectID string)
- func (m *MilestonesCreateRequest) UnmarshalJSON(data []byte) error
- type MilestonesDeleteRequest
- type MilestonesGetRequest
- type MilestonesSearchRequest
- func (m *MilestonesSearchRequest) MarshalJSON() ([]byte, error)
- func (m *MilestonesSearchRequest) SetCursor(cursor *string)
- func (m *MilestonesSearchRequest) SetFilter(filter *Filter)
- func (m *MilestonesSearchRequest) SetLimit(limit *int64)
- func (m *MilestonesSearchRequest) UnmarshalJSON(data []byte) error
- type MilestonesUpdateRequest
- type MiniAccount
- func (m *MiniAccount) GetExternalIDs() []*ExternalID
- func (m *MiniAccount) GetExtraProperties() map[string]interface{}
- func (m *MiniAccount) GetID() string
- func (m *MiniAccount) MarshalJSON() ([]byte, error)
- func (m *MiniAccount) SetExternalIDs(externalIDs []*ExternalID)
- func (m *MiniAccount) SetID(id string)
- func (m *MiniAccount) String() string
- func (m *MiniAccount) UnmarshalJSON(data []byte) error
- type MiniContact
- func (m *MiniContact) GetEmail() *string
- func (m *MiniContact) GetExtraProperties() map[string]interface{}
- func (m *MiniContact) GetID() string
- func (m *MiniContact) MarshalJSON() ([]byte, error)
- func (m *MiniContact) SetEmail(email *string)
- func (m *MiniContact) SetID(id string)
- func (m *MiniContact) String() string
- func (m *MiniContact) UnmarshalJSON(data []byte) error
- type MiniIssue
- func (m *MiniIssue) GetExtraProperties() map[string]interface{}
- func (m *MiniIssue) GetID() string
- func (m *MiniIssue) GetNumber() int64
- func (m *MiniIssue) GetTitle() string
- func (m *MiniIssue) MarshalJSON() ([]byte, error)
- func (m *MiniIssue) SetID(id string)
- func (m *MiniIssue) SetNumber(number int64)
- func (m *MiniIssue) SetTitle(title string)
- func (m *MiniIssue) String() string
- func (m *MiniIssue) UnmarshalJSON(data []byte) error
- type MiniMilestone
- type MiniProject
- type MiniProjectTemplate
- func (m *MiniProjectTemplate) GetExtraProperties() map[string]interface{}
- func (m *MiniProjectTemplate) GetID() string
- func (m *MiniProjectTemplate) MarshalJSON() ([]byte, error)
- func (m *MiniProjectTemplate) SetID(id string)
- func (m *MiniProjectTemplate) String() string
- func (m *MiniProjectTemplate) UnmarshalJSON(data []byte) error
- type MiniRole
- func (m *MiniRole) GetExtraProperties() map[string]interface{}
- func (m *MiniRole) GetID() string
- func (m *MiniRole) GetName() string
- func (m *MiniRole) GetSlug() string
- func (m *MiniRole) MarshalJSON() ([]byte, error)
- func (m *MiniRole) SetID(id string)
- func (m *MiniRole) SetName(name string)
- func (m *MiniRole) SetSlug(slug string)
- func (m *MiniRole) String() string
- func (m *MiniRole) UnmarshalJSON(data []byte) error
- type MiniTeam
- type MiniUser
- func (m *MiniUser) GetEmail() *string
- func (m *MiniUser) GetExtraProperties() map[string]interface{}
- func (m *MiniUser) GetID() string
- func (m *MiniUser) MarshalJSON() ([]byte, error)
- func (m *MiniUser) SetEmail(email *string)
- func (m *MiniUser) SetID(id string)
- func (m *MiniUser) String() string
- func (m *MiniUser) UnmarshalJSON(data []byte) error
- type MirrorChannel
- func (m *MirrorChannel) GetChannelID() *string
- func (m *MirrorChannel) GetExtraProperties() map[string]interface{}
- func (m *MirrorChannel) GetSource() *string
- func (m *MirrorChannel) MarshalJSON() ([]byte, error)
- func (m *MirrorChannel) SetChannelID(channelID *string)
- func (m *MirrorChannel) SetSource(source *string)
- func (m *MirrorChannel) String() string
- func (m *MirrorChannel) UnmarshalJSON(data []byte) error
- type NotFoundError
- type NumberMetadata
- func (n *NumberMetadata) GetCurrency() *string
- func (n *NumberMetadata) GetDecimalPlaces() *int64
- func (n *NumberMetadata) GetDurationDisplayFormat() *string
- func (n *NumberMetadata) GetDurationInputUnit() *string
- func (n *NumberMetadata) GetExtraProperties() map[string]interface{}
- func (n *NumberMetadata) GetFormat() *string
- func (n *NumberMetadata) MarshalJSON() ([]byte, error)
- func (n *NumberMetadata) SetCurrency(currency *string)
- func (n *NumberMetadata) SetDecimalPlaces(decimalPlaces *int64)
- func (n *NumberMetadata) SetDurationDisplayFormat(durationDisplayFormat *string)
- func (n *NumberMetadata) SetDurationInputUnit(durationInputUnit *string)
- func (n *NumberMetadata) SetFormat(format *string)
- func (n *NumberMetadata) String() string
- func (n *NumberMetadata) UnmarshalJSON(data []byte) error
- type Pagination
- func (p *Pagination) GetCursor() string
- func (p *Pagination) GetExtraProperties() map[string]interface{}
- func (p *Pagination) GetHasNextPage() bool
- func (p *Pagination) MarshalJSON() ([]byte, error)
- func (p *Pagination) SetCursor(cursor string)
- func (p *Pagination) SetHasNextPage(hasNextPage bool)
- func (p *Pagination) String() string
- func (p *Pagination) UnmarshalJSON(data []byte) error
- type Project
- func (p *Project) GetAccount() *MiniAccount
- func (p *Project) GetAiInstructions() string
- func (p *Project) GetArchivedAt() *time.Time
- func (p *Project) GetCreatedAt() time.Time
- func (p *Project) GetCustomFields() map[string]*CustomFieldValue
- func (p *Project) GetCustomerPortalVisible() bool
- func (p *Project) GetDescriptionHTML() *string
- func (p *Project) GetEndDate() *time.Time
- func (p *Project) GetExtraProperties() map[string]interface{}
- func (p *Project) GetID() string
- func (p *Project) GetIsArchived() bool
- func (p *Project) GetName() string
- func (p *Project) GetOwnerID() *string
- func (p *Project) GetProgress() float64
- func (p *Project) GetProjectTemplate() *MiniProjectTemplate
- func (p *Project) GetStartDate() *time.Time
- func (p *Project) GetStatus() string
- func (p *Project) GetUpdatedAt() time.Time
- func (p *Project) MarshalJSON() ([]byte, error)
- func (p *Project) SetAccount(account *MiniAccount)
- func (p *Project) SetAiInstructions(aiInstructions string)
- func (p *Project) SetArchivedAt(archivedAt *time.Time)
- func (p *Project) SetCreatedAt(createdAt time.Time)
- func (p *Project) SetCustomFields(customFields map[string]*CustomFieldValue)
- func (p *Project) SetCustomerPortalVisible(customerPortalVisible bool)
- func (p *Project) SetDescriptionHTML(descriptionHTML *string)
- func (p *Project) SetEndDate(endDate *time.Time)
- func (p *Project) SetID(id string)
- func (p *Project) SetIsArchived(isArchived bool)
- func (p *Project) SetName(name string)
- func (p *Project) SetOwnerID(ownerID *string)
- func (p *Project) SetProgress(progress float64)
- func (p *Project) SetProjectTemplate(projectTemplate *MiniProjectTemplate)
- func (p *Project) SetStartDate(startDate *time.Time)
- func (p *Project) SetStatus(status string)
- func (p *Project) SetUpdatedAt(updatedAt time.Time)
- func (p *Project) String() string
- func (p *Project) UnmarshalJSON(data []byte) error
- type ProjectsCreateRequest
- func (p *ProjectsCreateRequest) MarshalJSON() ([]byte, error)
- func (p *ProjectsCreateRequest) SetAccountID(accountID string)
- func (p *ProjectsCreateRequest) SetAiInstructions(aiInstructions *string)
- func (p *ProjectsCreateRequest) SetCustomerPortalVisible(customerPortalVisible *bool)
- func (p *ProjectsCreateRequest) SetDescriptionHTML(descriptionHTML *string)
- func (p *ProjectsCreateRequest) SetEndDate(endDate *time.Time)
- func (p *ProjectsCreateRequest) SetName(name *string)
- func (p *ProjectsCreateRequest) SetOwnerID(ownerID *string)
- func (p *ProjectsCreateRequest) SetProjectTemplateID(projectTemplateID *string)
- func (p *ProjectsCreateRequest) SetStartDate(startDate *time.Time)
- func (p *ProjectsCreateRequest) UnmarshalJSON(data []byte) error
- type ProjectsDeleteRequest
- type ProjectsGetRequest
- type ProjectsSearchRequest
- type ProjectsUpdateRequest
- func (p *ProjectsUpdateRequest) MarshalJSON() ([]byte, error)
- func (p *ProjectsUpdateRequest) SetAiInstructions(aiInstructions *string)
- func (p *ProjectsUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
- func (p *ProjectsUpdateRequest) SetCustomerPortalVisible(customerPortalVisible *bool)
- func (p *ProjectsUpdateRequest) SetDescriptionHTML(descriptionHTML *string)
- func (p *ProjectsUpdateRequest) SetEndDate(endDate *string)
- func (p *ProjectsUpdateRequest) SetID(id string)
- func (p *ProjectsUpdateRequest) SetIsArchived(isArchived *bool)
- func (p *ProjectsUpdateRequest) SetName(name *string)
- func (p *ProjectsUpdateRequest) SetOwnerID(ownerID *string)
- func (p *ProjectsUpdateRequest) SetStartDate(startDate *string)
- func (p *ProjectsUpdateRequest) UnmarshalJSON(data []byte) error
- type PublishKnowledgeBaseThemeResponseBody
- func (p *PublishKnowledgeBaseThemeResponseBody) GetData() *KnowledgeBaseTheme
- func (p *PublishKnowledgeBaseThemeResponseBody) GetExtraProperties() map[string]interface{}
- func (p *PublishKnowledgeBaseThemeResponseBody) GetRequestID() string
- func (p *PublishKnowledgeBaseThemeResponseBody) MarshalJSON() ([]byte, error)
- func (p *PublishKnowledgeBaseThemeResponseBody) SetData(data *KnowledgeBaseTheme)
- func (p *PublishKnowledgeBaseThemeResponseBody) SetRequestID(requestID string)
- func (p *PublishKnowledgeBaseThemeResponseBody) String() string
- func (p *PublishKnowledgeBaseThemeResponseBody) UnmarshalJSON(data []byte) error
- type RedactMessageResponseBody
- func (r *RedactMessageResponseBody) GetData() *Message
- func (r *RedactMessageResponseBody) GetExtraProperties() map[string]interface{}
- func (r *RedactMessageResponseBody) GetRequestID() string
- func (r *RedactMessageResponseBody) MarshalJSON() ([]byte, error)
- func (r *RedactMessageResponseBody) SetData(data *Message)
- func (r *RedactMessageResponseBody) SetRequestID(requestID string)
- func (r *RedactMessageResponseBody) String() string
- func (r *RedactMessageResponseBody) UnmarshalJSON(data []byte) error
- type RequestArticleReviewData
- func (r *RequestArticleReviewData) GetApprovalStatus() string
- func (r *RequestArticleReviewData) GetArticleID() string
- func (r *RequestArticleReviewData) GetArticleVersionID() string
- func (r *RequestArticleReviewData) GetExtraProperties() map[string]interface{}
- func (r *RequestArticleReviewData) MarshalJSON() ([]byte, error)
- func (r *RequestArticleReviewData) SetApprovalStatus(approvalStatus string)
- func (r *RequestArticleReviewData) SetArticleID(articleID string)
- func (r *RequestArticleReviewData) SetArticleVersionID(articleVersionID string)
- func (r *RequestArticleReviewData) String() string
- func (r *RequestArticleReviewData) UnmarshalJSON(data []byte) error
- type RequestArticleReviewResponseBody
- func (r *RequestArticleReviewResponseBody) GetData() *RequestArticleReviewData
- func (r *RequestArticleReviewResponseBody) GetExtraProperties() map[string]interface{}
- func (r *RequestArticleReviewResponseBody) GetRequestID() string
- func (r *RequestArticleReviewResponseBody) MarshalJSON() ([]byte, error)
- func (r *RequestArticleReviewResponseBody) SetData(data *RequestArticleReviewData)
- func (r *RequestArticleReviewResponseBody) SetRequestID(requestID string)
- func (r *RequestArticleReviewResponseBody) String() string
- func (r *RequestArticleReviewResponseBody) UnmarshalJSON(data []byte) error
- type RouteRedirect
- func (r *RouteRedirect) GetCreatedAt() time.Time
- func (r *RouteRedirect) GetExtraProperties() map[string]interface{}
- func (r *RouteRedirect) GetFromPath() string
- func (r *RouteRedirect) GetID() string
- func (r *RouteRedirect) GetLanguage() *string
- func (r *RouteRedirect) GetObjectID() string
- func (r *RouteRedirect) GetObjectType() string
- func (r *RouteRedirect) MarshalJSON() ([]byte, error)
- func (r *RouteRedirect) SetCreatedAt(createdAt time.Time)
- func (r *RouteRedirect) SetFromPath(fromPath string)
- func (r *RouteRedirect) SetID(id string)
- func (r *RouteRedirect) SetLanguage(language *string)
- func (r *RouteRedirect) SetObjectID(objectID string)
- func (r *RouteRedirect) SetObjectType(objectType string)
- func (r *RouteRedirect) String() string
- func (r *RouteRedirect) UnmarshalJSON(data []byte) error
- type SLATimes
- func (s *SLATimes) GetAssigneeIDAtBreach() *string
- func (s *SLATimes) GetBreachTime() *time.Time
- func (s *SLATimes) GetBusinessHoursSeconds() *int64
- func (s *SLATimes) GetExtraProperties() map[string]interface{}
- func (s *SLATimes) GetResolvingUserID() *string
- func (s *SLATimes) GetSeconds() *int64
- func (s *SLATimes) GetTime() *time.Time
- func (s *SLATimes) MarshalJSON() ([]byte, error)
- func (s *SLATimes) SetAssigneeIDAtBreach(assigneeIDAtBreach *string)
- func (s *SLATimes) SetBreachTime(breachTime *time.Time)
- func (s *SLATimes) SetBusinessHoursSeconds(businessHoursSeconds *int64)
- func (s *SLATimes) SetResolvingUserID(resolvingUserID *string)
- func (s *SLATimes) SetSeconds(seconds *int64)
- func (s *SLATimes) SetTime(time *time.Time)
- func (s *SLATimes) String() string
- func (s *SLATimes) UnmarshalJSON(data []byte) error
- type SearchAccountsResponseBody
- func (s *SearchAccountsResponseBody) GetData() []*Account
- func (s *SearchAccountsResponseBody) GetExtraProperties() map[string]interface{}
- func (s *SearchAccountsResponseBody) GetPagination() *Pagination
- func (s *SearchAccountsResponseBody) GetRequestID() string
- func (s *SearchAccountsResponseBody) MarshalJSON() ([]byte, error)
- func (s *SearchAccountsResponseBody) SetData(data []*Account)
- func (s *SearchAccountsResponseBody) SetPagination(pagination *Pagination)
- func (s *SearchAccountsResponseBody) SetRequestID(requestID string)
- func (s *SearchAccountsResponseBody) String() string
- func (s *SearchAccountsResponseBody) UnmarshalJSON(data []byte) error
- type SearchAccountsSort
- func (s *SearchAccountsSort) GetExtraProperties() map[string]interface{}
- func (s *SearchAccountsSort) GetField() SearchAccountsSortField
- func (s *SearchAccountsSort) GetOrder() *SearchAccountsSortOrder
- func (s *SearchAccountsSort) MarshalJSON() ([]byte, error)
- func (s *SearchAccountsSort) SetField(field SearchAccountsSortField)
- func (s *SearchAccountsSort) SetOrder(order *SearchAccountsSortOrder)
- func (s *SearchAccountsSort) String() string
- func (s *SearchAccountsSort) UnmarshalJSON(data []byte) error
- type SearchAccountsSortField
- type SearchAccountsSortOrder
- type SearchCallRecordingsResponseBody
- func (s *SearchCallRecordingsResponseBody) GetData() []*CallRecording
- func (s *SearchCallRecordingsResponseBody) GetExtraProperties() map[string]interface{}
- func (s *SearchCallRecordingsResponseBody) GetPagination() *Pagination
- func (s *SearchCallRecordingsResponseBody) GetRequestID() string
- func (s *SearchCallRecordingsResponseBody) MarshalJSON() ([]byte, error)
- func (s *SearchCallRecordingsResponseBody) SetData(data []*CallRecording)
- func (s *SearchCallRecordingsResponseBody) SetPagination(pagination *Pagination)
- func (s *SearchCallRecordingsResponseBody) SetRequestID(requestID string)
- func (s *SearchCallRecordingsResponseBody) String() string
- func (s *SearchCallRecordingsResponseBody) UnmarshalJSON(data []byte) error
- type SearchContactsResponseBody
- func (s *SearchContactsResponseBody) GetData() []*Contact
- func (s *SearchContactsResponseBody) GetExtraProperties() map[string]interface{}
- func (s *SearchContactsResponseBody) GetPagination() *Pagination
- func (s *SearchContactsResponseBody) GetRequestID() string
- func (s *SearchContactsResponseBody) MarshalJSON() ([]byte, error)
- func (s *SearchContactsResponseBody) SetData(data []*Contact)
- func (s *SearchContactsResponseBody) SetPagination(pagination *Pagination)
- func (s *SearchContactsResponseBody) SetRequestID(requestID string)
- func (s *SearchContactsResponseBody) String() string
- func (s *SearchContactsResponseBody) UnmarshalJSON(data []byte) error
- type SearchCustomObjectsResponseBody
- func (s *SearchCustomObjectsResponseBody) GetData() []*APICustomObject
- func (s *SearchCustomObjectsResponseBody) GetExtraProperties() map[string]interface{}
- func (s *SearchCustomObjectsResponseBody) GetPagination() *Pagination
- func (s *SearchCustomObjectsResponseBody) GetRequestID() string
- func (s *SearchCustomObjectsResponseBody) MarshalJSON() ([]byte, error)
- func (s *SearchCustomObjectsResponseBody) SetData(data []*APICustomObject)
- func (s *SearchCustomObjectsResponseBody) SetPagination(pagination *Pagination)
- func (s *SearchCustomObjectsResponseBody) SetRequestID(requestID string)
- func (s *SearchCustomObjectsResponseBody) String() string
- func (s *SearchCustomObjectsResponseBody) UnmarshalJSON(data []byte) error
- type SearchFeatureRequestsResponseBody
- func (s *SearchFeatureRequestsResponseBody) GetData() []*FeatureRequestSearchResult
- func (s *SearchFeatureRequestsResponseBody) GetExtraProperties() map[string]interface{}
- func (s *SearchFeatureRequestsResponseBody) GetRequestID() string
- func (s *SearchFeatureRequestsResponseBody) MarshalJSON() ([]byte, error)
- func (s *SearchFeatureRequestsResponseBody) SetData(data []*FeatureRequestSearchResult)
- func (s *SearchFeatureRequestsResponseBody) SetRequestID(requestID string)
- func (s *SearchFeatureRequestsResponseBody) String() string
- func (s *SearchFeatureRequestsResponseBody) UnmarshalJSON(data []byte) error
- type SearchIssuesResponseBody
- func (s *SearchIssuesResponseBody) GetData() []*Issue
- func (s *SearchIssuesResponseBody) GetExtraProperties() map[string]interface{}
- func (s *SearchIssuesResponseBody) GetPagination() *Pagination
- func (s *SearchIssuesResponseBody) GetRequestID() string
- func (s *SearchIssuesResponseBody) MarshalJSON() ([]byte, error)
- func (s *SearchIssuesResponseBody) SetData(data []*Issue)
- func (s *SearchIssuesResponseBody) SetPagination(pagination *Pagination)
- func (s *SearchIssuesResponseBody) SetRequestID(requestID string)
- func (s *SearchIssuesResponseBody) String() string
- func (s *SearchIssuesResponseBody) UnmarshalJSON(data []byte) error
- type SearchIssuesSort
- func (s *SearchIssuesSort) GetExtraProperties() map[string]interface{}
- func (s *SearchIssuesSort) GetField() SearchIssuesSortField
- func (s *SearchIssuesSort) GetOrder() *SearchIssuesSortOrder
- func (s *SearchIssuesSort) MarshalJSON() ([]byte, error)
- func (s *SearchIssuesSort) SetField(field SearchIssuesSortField)
- func (s *SearchIssuesSort) SetOrder(order *SearchIssuesSortOrder)
- func (s *SearchIssuesSort) String() string
- func (s *SearchIssuesSort) UnmarshalJSON(data []byte) error
- type SearchIssuesSortField
- type SearchIssuesSortOrder
- type SearchMilestonesResponseBody
- func (s *SearchMilestonesResponseBody) GetData() []*Milestone
- func (s *SearchMilestonesResponseBody) GetExtraProperties() map[string]interface{}
- func (s *SearchMilestonesResponseBody) GetPagination() *Pagination
- func (s *SearchMilestonesResponseBody) GetRequestID() string
- func (s *SearchMilestonesResponseBody) MarshalJSON() ([]byte, error)
- func (s *SearchMilestonesResponseBody) SetData(data []*Milestone)
- func (s *SearchMilestonesResponseBody) SetPagination(pagination *Pagination)
- func (s *SearchMilestonesResponseBody) SetRequestID(requestID string)
- func (s *SearchMilestonesResponseBody) String() string
- func (s *SearchMilestonesResponseBody) UnmarshalJSON(data []byte) error
- type SearchProjectsResponseBody
- func (s *SearchProjectsResponseBody) GetData() []*Project
- func (s *SearchProjectsResponseBody) GetExtraProperties() map[string]interface{}
- func (s *SearchProjectsResponseBody) GetPagination() *Pagination
- func (s *SearchProjectsResponseBody) GetRequestID() string
- func (s *SearchProjectsResponseBody) MarshalJSON() ([]byte, error)
- func (s *SearchProjectsResponseBody) SetData(data []*Project)
- func (s *SearchProjectsResponseBody) SetPagination(pagination *Pagination)
- func (s *SearchProjectsResponseBody) SetRequestID(requestID string)
- func (s *SearchProjectsResponseBody) String() string
- func (s *SearchProjectsResponseBody) UnmarshalJSON(data []byte) error
- type SearchSurveysResponseBody
- func (s *SearchSurveysResponseBody) GetData() []*Survey
- func (s *SearchSurveysResponseBody) GetExtraProperties() map[string]interface{}
- func (s *SearchSurveysResponseBody) GetRequestID() string
- func (s *SearchSurveysResponseBody) MarshalJSON() ([]byte, error)
- func (s *SearchSurveysResponseBody) SetData(data []*Survey)
- func (s *SearchSurveysResponseBody) SetRequestID(requestID string)
- func (s *SearchSurveysResponseBody) String() string
- func (s *SearchSurveysResponseBody) UnmarshalJSON(data []byte) error
- type SearchTagsRequestObjectType
- type SearchTagsResponseBody
- func (s *SearchTagsResponseBody) GetData() []*Tag
- func (s *SearchTagsResponseBody) GetExtraProperties() map[string]interface{}
- func (s *SearchTagsResponseBody) GetPagination() *Pagination
- func (s *SearchTagsResponseBody) GetRequestID() string
- func (s *SearchTagsResponseBody) MarshalJSON() ([]byte, error)
- func (s *SearchTagsResponseBody) SetData(data []*Tag)
- func (s *SearchTagsResponseBody) SetPagination(pagination *Pagination)
- func (s *SearchTagsResponseBody) SetRequestID(requestID string)
- func (s *SearchTagsResponseBody) String() string
- func (s *SearchTagsResponseBody) UnmarshalJSON(data []byte) error
- type SearchTasksResponseBody
- func (s *SearchTasksResponseBody) GetData() []*Task
- func (s *SearchTasksResponseBody) GetExtraProperties() map[string]interface{}
- func (s *SearchTasksResponseBody) GetPagination() *Pagination
- func (s *SearchTasksResponseBody) GetRequestID() string
- func (s *SearchTasksResponseBody) MarshalJSON() ([]byte, error)
- func (s *SearchTasksResponseBody) SetData(data []*Task)
- func (s *SearchTasksResponseBody) SetPagination(pagination *Pagination)
- func (s *SearchTasksResponseBody) SetRequestID(requestID string)
- func (s *SearchTasksResponseBody) String() string
- func (s *SearchTasksResponseBody) UnmarshalJSON(data []byte) error
- type SearchUsersResponseBody
- func (s *SearchUsersResponseBody) GetData() []*User
- func (s *SearchUsersResponseBody) GetExtraProperties() map[string]interface{}
- func (s *SearchUsersResponseBody) GetPagination() *Pagination
- func (s *SearchUsersResponseBody) GetRequestID() string
- func (s *SearchUsersResponseBody) MarshalJSON() ([]byte, error)
- func (s *SearchUsersResponseBody) SetData(data []*User)
- func (s *SearchUsersResponseBody) SetPagination(pagination *Pagination)
- func (s *SearchUsersResponseBody) SetRequestID(requestID string)
- func (s *SearchUsersResponseBody) String() string
- func (s *SearchUsersResponseBody) UnmarshalJSON(data []byte) error
- type SelectMetadata
- func (s *SelectMetadata) GetExtraProperties() map[string]interface{}
- func (s *SelectMetadata) GetOptions() []*CustomFieldDefinitionSelectOption
- func (s *SelectMetadata) MarshalJSON() ([]byte, error)
- func (s *SelectMetadata) SetOptions(options []*CustomFieldDefinitionSelectOption)
- func (s *SelectMetadata) String() string
- func (s *SelectMetadata) UnmarshalJSON(data []byte) error
- type SendCustomerPortalInvitationResponseBody
- func (s *SendCustomerPortalInvitationResponseBody) GetData() *CustomerPortalInvitationResult
- func (s *SendCustomerPortalInvitationResponseBody) GetExtraProperties() map[string]interface{}
- func (s *SendCustomerPortalInvitationResponseBody) GetRequestID() string
- func (s *SendCustomerPortalInvitationResponseBody) MarshalJSON() ([]byte, error)
- func (s *SendCustomerPortalInvitationResponseBody) SetData(data *CustomerPortalInvitationResult)
- func (s *SendCustomerPortalInvitationResponseBody) SetRequestID(requestID string)
- func (s *SendCustomerPortalInvitationResponseBody) String() string
- func (s *SendCustomerPortalInvitationResponseBody) UnmarshalJSON(data []byte) error
- type SetFeatureRequestPortalVisibilityResponseBody
- func (s *SetFeatureRequestPortalVisibilityResponseBody) GetData() *FeatureRequest
- func (s *SetFeatureRequestPortalVisibilityResponseBody) GetExtraProperties() map[string]interface{}
- func (s *SetFeatureRequestPortalVisibilityResponseBody) GetRequestID() string
- func (s *SetFeatureRequestPortalVisibilityResponseBody) MarshalJSON() ([]byte, error)
- func (s *SetFeatureRequestPortalVisibilityResponseBody) SetData(data *FeatureRequest)
- func (s *SetFeatureRequestPortalVisibilityResponseBody) SetRequestID(requestID string)
- func (s *SetFeatureRequestPortalVisibilityResponseBody) String() string
- func (s *SetFeatureRequestPortalVisibilityResponseBody) UnmarshalJSON(data []byte) error
- type SkippedIssue
- func (s *SkippedIssue) GetExtraProperties() map[string]interface{}
- func (s *SkippedIssue) GetIssueID() string
- func (s *SkippedIssue) GetReason() string
- func (s *SkippedIssue) MarshalJSON() ([]byte, error)
- func (s *SkippedIssue) SetIssueID(issueID string)
- func (s *SkippedIssue) SetReason(reason string)
- func (s *SkippedIssue) String() string
- func (s *SkippedIssue) UnmarshalJSON(data []byte) error
- type SlackInfo
- func (s *SlackInfo) GetChannelID() string
- func (s *SlackInfo) GetExtraProperties() map[string]interface{}
- func (s *SlackInfo) GetMessageTs() string
- func (s *SlackInfo) GetWorkspaceID() string
- func (s *SlackInfo) MarshalJSON() ([]byte, error)
- func (s *SlackInfo) SetChannelID(channelID string)
- func (s *SlackInfo) SetMessageTs(messageTs string)
- func (s *SlackInfo) SetWorkspaceID(workspaceID string)
- func (s *SlackInfo) String() string
- func (s *SlackInfo) UnmarshalJSON(data []byte) error
- type SlackMessageInfo
- func (s *SlackMessageInfo) GetChannelID() string
- func (s *SlackMessageInfo) GetExtraProperties() map[string]interface{}
- func (s *SlackMessageInfo) GetMessageTs() string
- func (s *SlackMessageInfo) GetPermalink() *string
- func (s *SlackMessageInfo) GetThreadTs() string
- func (s *SlackMessageInfo) MarshalJSON() ([]byte, error)
- func (s *SlackMessageInfo) SetChannelID(channelID string)
- func (s *SlackMessageInfo) SetMessageTs(messageTs string)
- func (s *SlackMessageInfo) SetPermalink(permalink *string)
- func (s *SlackMessageInfo) SetThreadTs(threadTs string)
- func (s *SlackMessageInfo) String() string
- func (s *SlackMessageInfo) UnmarshalJSON(data []byte) error
- type SnoozeIssueResponseBody
- func (s *SnoozeIssueResponseBody) GetData() *Issue
- func (s *SnoozeIssueResponseBody) GetExtraProperties() map[string]interface{}
- func (s *SnoozeIssueResponseBody) GetRequestID() string
- func (s *SnoozeIssueResponseBody) MarshalJSON() ([]byte, error)
- func (s *SnoozeIssueResponseBody) SetData(data *Issue)
- func (s *SnoozeIssueResponseBody) SetRequestID(requestID string)
- func (s *SnoozeIssueResponseBody) String() string
- func (s *SnoozeIssueResponseBody) UnmarshalJSON(data []byte) error
- type SubmitTicketFormField
- func (s *SubmitTicketFormField) GetExtraProperties() map[string]interface{}
- func (s *SubmitTicketFormField) GetSlug() string
- func (s *SubmitTicketFormField) GetValue() *string
- func (s *SubmitTicketFormField) GetValues() []string
- func (s *SubmitTicketFormField) MarshalJSON() ([]byte, error)
- func (s *SubmitTicketFormField) SetSlug(slug string)
- func (s *SubmitTicketFormField) SetValue(value *string)
- func (s *SubmitTicketFormField) SetValues(values []string)
- func (s *SubmitTicketFormField) String() string
- func (s *SubmitTicketFormField) UnmarshalJSON(data []byte) error
- type SubmitTicketFormResponseBody
- func (s *SubmitTicketFormResponseBody) GetData() *Issue
- func (s *SubmitTicketFormResponseBody) GetExtraProperties() map[string]interface{}
- func (s *SubmitTicketFormResponseBody) GetRequestID() string
- func (s *SubmitTicketFormResponseBody) MarshalJSON() ([]byte, error)
- func (s *SubmitTicketFormResponseBody) SetData(data *Issue)
- func (s *SubmitTicketFormResponseBody) SetRequestID(requestID string)
- func (s *SubmitTicketFormResponseBody) String() string
- func (s *SubmitTicketFormResponseBody) UnmarshalJSON(data []byte) error
- type Survey
- func (s *Survey) GetExtraProperties() map[string]interface{}
- func (s *Survey) GetID() string
- func (s *Survey) GetName() string
- func (s *Survey) GetType() string
- func (s *Survey) GetUpdatedAt() time.Time
- func (s *Survey) MarshalJSON() ([]byte, error)
- func (s *Survey) SetID(id string)
- func (s *Survey) SetName(name string)
- func (s *Survey) SetType(type_ string)
- func (s *Survey) SetUpdatedAt(updatedAt time.Time)
- func (s *Survey) String() string
- func (s *Survey) UnmarshalJSON(data []byte) error
- type SurveyResponse
- func (s *SurveyResponse) GetAccountID() *string
- func (s *SurveyResponse) GetAnswers() []*SurveyResponseAnswer
- func (s *SurveyResponse) GetContactID() *string
- func (s *SurveyResponse) GetExcludedAt() *time.Time
- func (s *SurveyResponse) GetExtraProperties() map[string]interface{}
- func (s *SurveyResponse) GetID() string
- func (s *SurveyResponse) GetIssueID() *string
- func (s *SurveyResponse) GetSubmittedAt() *time.Time
- func (s *SurveyResponse) GetSurveyID() *string
- func (s *SurveyResponse) GetSurveyInstanceID() string
- func (s *SurveyResponse) GetSurveyType() string
- func (s *SurveyResponse) MarshalJSON() ([]byte, error)
- func (s *SurveyResponse) SetAccountID(accountID *string)
- func (s *SurveyResponse) SetAnswers(answers []*SurveyResponseAnswer)
- func (s *SurveyResponse) SetContactID(contactID *string)
- func (s *SurveyResponse) SetExcludedAt(excludedAt *time.Time)
- func (s *SurveyResponse) SetID(id string)
- func (s *SurveyResponse) SetIssueID(issueID *string)
- func (s *SurveyResponse) SetSubmittedAt(submittedAt *time.Time)
- func (s *SurveyResponse) SetSurveyID(surveyID *string)
- func (s *SurveyResponse) SetSurveyInstanceID(surveyInstanceID string)
- func (s *SurveyResponse) SetSurveyType(surveyType string)
- func (s *SurveyResponse) String() string
- func (s *SurveyResponse) UnmarshalJSON(data []byte) error
- type SurveyResponseAnswer
- func (s *SurveyResponseAnswer) GetExtraProperties() map[string]interface{}
- func (s *SurveyResponseAnswer) GetPrompt() string
- func (s *SurveyResponseAnswer) GetQuestionID() *string
- func (s *SurveyResponseAnswer) GetQuestionType() string
- func (s *SurveyResponseAnswer) GetValue() string
- func (s *SurveyResponseAnswer) MarshalJSON() ([]byte, error)
- func (s *SurveyResponseAnswer) SetPrompt(prompt string)
- func (s *SurveyResponseAnswer) SetQuestionID(questionID *string)
- func (s *SurveyResponseAnswer) SetQuestionType(questionType string)
- func (s *SurveyResponseAnswer) SetValue(value string)
- func (s *SurveyResponseAnswer) String() string
- func (s *SurveyResponseAnswer) UnmarshalJSON(data []byte) error
- type SurveysGetRequest
- type SurveysSearchRequest
- type Tag
- func (t *Tag) GetExtraProperties() map[string]interface{}
- func (t *Tag) GetHexColor() *string
- func (t *Tag) GetID() string
- func (t *Tag) GetObjectType() string
- func (t *Tag) GetValue() string
- func (t *Tag) MarshalJSON() ([]byte, error)
- func (t *Tag) SetHexColor(hexColor *string)
- func (t *Tag) SetID(id string)
- func (t *Tag) SetObjectType(objectType string)
- func (t *Tag) SetValue(value string)
- func (t *Tag) String() string
- func (t *Tag) UnmarshalJSON(data []byte) error
- type TagsCreateRequest
- func (t *TagsCreateRequest) MarshalJSON() ([]byte, error)
- func (t *TagsCreateRequest) SetHexColor(hexColor *string)
- func (t *TagsCreateRequest) SetObjectType(objectType CreateTagRequestBodyObjectType)
- func (t *TagsCreateRequest) SetValue(value string)
- func (t *TagsCreateRequest) UnmarshalJSON(data []byte) error
- type TagsDeleteRequest
- type TagsGetRequest
- type TagsSearchRequest
- func (t *TagsSearchRequest) MarshalJSON() ([]byte, error)
- func (t *TagsSearchRequest) SetCursor(cursor *string)
- func (t *TagsSearchRequest) SetLimit(limit *int64)
- func (t *TagsSearchRequest) SetObjectType(objectType *SearchTagsRequestObjectType)
- func (t *TagsSearchRequest) SetSearchText(searchText *string)
- func (t *TagsSearchRequest) UnmarshalJSON(data []byte) error
- type TagsUpdateRequest
- type Task
- func (t *Task) GetAccount() *MiniAccount
- func (t *Task) GetAiInstructions() string
- func (t *Task) GetAssignee() *Actor
- func (t *Task) GetBlockedByTaskIDs() []string
- func (t *Task) GetBlocksTaskIDs() []string
- func (t *Task) GetBodyHTML() string
- func (t *Task) GetCompletedAt() *time.Time
- func (t *Task) GetCreatedAt() time.Time
- func (t *Task) GetCustomFields() map[string]*CustomFieldValue
- func (t *Task) GetCustomerPortalVisible() bool
- func (t *Task) GetDueDate() *time.Time
- func (t *Task) GetExternalIssues() []*ExternalIssue
- func (t *Task) GetExtraProperties() map[string]interface{}
- func (t *Task) GetID() string
- func (t *Task) GetLink() string
- func (t *Task) GetLinkedIssues() []*MiniIssue
- func (t *Task) GetMilestone() *MiniMilestone
- func (t *Task) GetParentTaskID() *string
- func (t *Task) GetProject() *MiniProject
- func (t *Task) GetStatus() TaskStatus
- func (t *Task) GetSubtaskIDs() []string
- func (t *Task) GetTitle() string
- func (t *Task) GetUpdatedAt() time.Time
- func (t *Task) MarshalJSON() ([]byte, error)
- func (t *Task) SetAccount(account *MiniAccount)
- func (t *Task) SetAiInstructions(aiInstructions string)
- func (t *Task) SetAssignee(assignee *Actor)
- func (t *Task) SetBlockedByTaskIDs(blockedByTaskIDs []string)
- func (t *Task) SetBlocksTaskIDs(blocksTaskIDs []string)
- func (t *Task) SetBodyHTML(bodyHTML string)
- func (t *Task) SetCompletedAt(completedAt *time.Time)
- func (t *Task) SetCreatedAt(createdAt time.Time)
- func (t *Task) SetCustomFields(customFields map[string]*CustomFieldValue)
- func (t *Task) SetCustomerPortalVisible(customerPortalVisible bool)
- func (t *Task) SetDueDate(dueDate *time.Time)
- func (t *Task) SetExternalIssues(externalIssues []*ExternalIssue)
- func (t *Task) SetID(id string)
- func (t *Task) SetLink(link string)
- func (t *Task) SetLinkedIssues(linkedIssues []*MiniIssue)
- func (t *Task) SetMilestone(milestone *MiniMilestone)
- func (t *Task) SetParentTaskID(parentTaskID *string)
- func (t *Task) SetProject(project *MiniProject)
- func (t *Task) SetStatus(status TaskStatus)
- func (t *Task) SetSubtaskIDs(subtaskIDs []string)
- func (t *Task) SetTitle(title string)
- func (t *Task) SetUpdatedAt(updatedAt time.Time)
- func (t *Task) String() string
- func (t *Task) UnmarshalJSON(data []byte) error
- type TaskComment
- func (t *TaskComment) GetAuthor() *Actor
- func (t *TaskComment) GetBodyHTML() string
- func (t *TaskComment) GetCreatedAt() time.Time
- func (t *TaskComment) GetExtraProperties() map[string]interface{}
- func (t *TaskComment) GetID() string
- func (t *TaskComment) GetIsInternal() bool
- func (t *TaskComment) GetLastEditedAt() *time.Time
- func (t *TaskComment) GetTaskID() string
- func (t *TaskComment) GetUpdatedAt() time.Time
- func (t *TaskComment) MarshalJSON() ([]byte, error)
- func (t *TaskComment) SetAuthor(author *Actor)
- func (t *TaskComment) SetBodyHTML(bodyHTML string)
- func (t *TaskComment) SetCreatedAt(createdAt time.Time)
- func (t *TaskComment) SetID(id string)
- func (t *TaskComment) SetIsInternal(isInternal bool)
- func (t *TaskComment) SetLastEditedAt(lastEditedAt *time.Time)
- func (t *TaskComment) SetTaskID(taskID string)
- func (t *TaskComment) SetUpdatedAt(updatedAt time.Time)
- func (t *TaskComment) String() string
- func (t *TaskComment) UnmarshalJSON(data []byte) error
- type TaskStatus
- type TaskStatusDetails
- func (t *TaskStatusDetails) GetCategory() string
- func (t *TaskStatusDetails) GetExtraProperties() map[string]interface{}
- func (t *TaskStatusDetails) GetIsArchived() bool
- func (t *TaskStatusDetails) GetIsDefaultStatus() bool
- func (t *TaskStatusDetails) GetLabel() string
- func (t *TaskStatusDetails) GetSlug() string
- func (t *TaskStatusDetails) MarshalJSON() ([]byte, error)
- func (t *TaskStatusDetails) SetCategory(category string)
- func (t *TaskStatusDetails) SetIsArchived(isArchived bool)
- func (t *TaskStatusDetails) SetIsDefaultStatus(isDefaultStatus bool)
- func (t *TaskStatusDetails) SetLabel(label string)
- func (t *TaskStatusDetails) SetSlug(slug string)
- func (t *TaskStatusDetails) String() string
- func (t *TaskStatusDetails) UnmarshalJSON(data []byte) error
- type TasksCreateRequest
- func (t *TasksCreateRequest) MarshalJSON() ([]byte, error)
- func (t *TasksCreateRequest) SetAccountID(accountID *string)
- func (t *TasksCreateRequest) SetAiInstructions(aiInstructions *string)
- func (t *TasksCreateRequest) SetAssigneeID(assigneeID *string)
- func (t *TasksCreateRequest) SetBlockedByTaskIDs(blockedByTaskIDs []string)
- func (t *TasksCreateRequest) SetBodyHTML(bodyHTML *string)
- func (t *TasksCreateRequest) SetCustomFields(customFields []*CustomFieldValue)
- func (t *TasksCreateRequest) SetCustomerPortalVisible(customerPortalVisible *bool)
- func (t *TasksCreateRequest) SetDueDate(dueDate *time.Time)
- func (t *TasksCreateRequest) SetMilestoneID(milestoneID *string)
- func (t *TasksCreateRequest) SetParentTaskID(parentTaskID *string)
- func (t *TasksCreateRequest) SetProjectID(projectID *string)
- func (t *TasksCreateRequest) SetStatus(status *TaskStatus)
- func (t *TasksCreateRequest) SetTitle(title string)
- func (t *TasksCreateRequest) UnmarshalJSON(data []byte) error
- type TasksDeleteRequest
- type TasksGetRequest
- type TasksLinkExternalIssueRequest
- func (t *TasksLinkExternalIssueRequest) MarshalJSON() ([]byte, error)
- func (t *TasksLinkExternalIssueRequest) SetExternalIssueID(externalIssueID string)
- func (t *TasksLinkExternalIssueRequest) SetOperation(operation *string)
- func (t *TasksLinkExternalIssueRequest) SetSource(source string)
- func (t *TasksLinkExternalIssueRequest) SetTaskID(taskID string)
- func (t *TasksLinkExternalIssueRequest) UnmarshalJSON(data []byte) error
- type TasksLinkIssueRequest
- func (t *TasksLinkIssueRequest) MarshalJSON() ([]byte, error)
- func (t *TasksLinkIssueRequest) SetIssueID(issueID string)
- func (t *TasksLinkIssueRequest) SetOperation(operation *string)
- func (t *TasksLinkIssueRequest) SetTaskID(taskID string)
- func (t *TasksLinkIssueRequest) UnmarshalJSON(data []byte) error
- type TasksListRequest
- type TasksSearchRequest
- type TasksUpdateRequest
- func (t *TasksUpdateRequest) MarshalJSON() ([]byte, error)
- func (t *TasksUpdateRequest) SetAiInstructions(aiInstructions *string)
- func (t *TasksUpdateRequest) SetAssigneeID(assigneeID *string)
- func (t *TasksUpdateRequest) SetBlockedByTaskIDs(blockedByTaskIDs []string)
- func (t *TasksUpdateRequest) SetBodyHTML(bodyHTML *string)
- func (t *TasksUpdateRequest) SetCompletedAt(completedAt *time.Time)
- func (t *TasksUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
- func (t *TasksUpdateRequest) SetCustomerPortalVisible(customerPortalVisible *bool)
- func (t *TasksUpdateRequest) SetDueDate(dueDate *string)
- func (t *TasksUpdateRequest) SetID(id string)
- func (t *TasksUpdateRequest) SetMilestoneID(milestoneID *string)
- func (t *TasksUpdateRequest) SetProjectID(projectID *string)
- func (t *TasksUpdateRequest) SetStatus(status *TaskStatus)
- func (t *TasksUpdateRequest) SetTitle(title *string)
- func (t *TasksUpdateRequest) UnmarshalJSON(data []byte) error
- type Team
- func (t *Team) GetAssignmentConfiguration() *TeamAssignmentConfiguration
- func (t *Team) GetExtraProperties() map[string]interface{}
- func (t *Team) GetID() string
- func (t *Team) GetName() string
- func (t *Team) GetSchedule() *TeamSchedule
- func (t *Team) GetUsers() []*MiniUser
- func (t *Team) MarshalJSON() ([]byte, error)
- func (t *Team) SetAssignmentConfiguration(assignmentConfiguration *TeamAssignmentConfiguration)
- func (t *Team) SetID(id string)
- func (t *Team) SetName(name string)
- func (t *Team) SetSchedule(schedule *TeamSchedule)
- func (t *Team) SetUsers(users []*MiniUser)
- func (t *Team) String() string
- func (t *Team) UnmarshalJSON(data []byte) error
- type TeamAssignmentConfiguration
- func (t *TeamAssignmentConfiguration) GetAssignableUserStatuses() []string
- func (t *TeamAssignmentConfiguration) GetAssignmentMethod() string
- func (t *TeamAssignmentConfiguration) GetExtraProperties() map[string]interface{}
- func (t *TeamAssignmentConfiguration) GetOnlyAssignIfUserActive() bool
- func (t *TeamAssignmentConfiguration) GetOverrideExistingAssignee() bool
- func (t *TeamAssignmentConfiguration) GetTeamScheduleID() *string
- func (t *TeamAssignmentConfiguration) MarshalJSON() ([]byte, error)
- func (t *TeamAssignmentConfiguration) SetAssignableUserStatuses(assignableUserStatuses []string)
- func (t *TeamAssignmentConfiguration) SetAssignmentMethod(assignmentMethod string)
- func (t *TeamAssignmentConfiguration) SetOnlyAssignIfUserActive(onlyAssignIfUserActive bool)
- func (t *TeamAssignmentConfiguration) SetOverrideExistingAssignee(overrideExistingAssignee bool)
- func (t *TeamAssignmentConfiguration) SetTeamScheduleID(teamScheduleID *string)
- func (t *TeamAssignmentConfiguration) String() string
- func (t *TeamAssignmentConfiguration) UnmarshalJSON(data []byte) error
- type TeamAssignmentConfigurationInput
- func (t *TeamAssignmentConfigurationInput) GetAssignableUserStatuses() []string
- func (t *TeamAssignmentConfigurationInput) GetAssignmentMethod() *TeamAssignmentConfigurationInputAssignmentMethod
- func (t *TeamAssignmentConfigurationInput) GetExtraProperties() map[string]interface{}
- func (t *TeamAssignmentConfigurationInput) GetOnlyAssignIfUserActive() *bool
- func (t *TeamAssignmentConfigurationInput) GetOverrideExistingAssignee() *bool
- func (t *TeamAssignmentConfigurationInput) MarshalJSON() ([]byte, error)
- func (t *TeamAssignmentConfigurationInput) SetAssignableUserStatuses(assignableUserStatuses []string)
- func (t *TeamAssignmentConfigurationInput) SetAssignmentMethod(assignmentMethod *TeamAssignmentConfigurationInputAssignmentMethod)
- func (t *TeamAssignmentConfigurationInput) SetOnlyAssignIfUserActive(onlyAssignIfUserActive *bool)
- func (t *TeamAssignmentConfigurationInput) SetOverrideExistingAssignee(overrideExistingAssignee *bool)
- func (t *TeamAssignmentConfigurationInput) String() string
- func (t *TeamAssignmentConfigurationInput) UnmarshalJSON(data []byte) error
- type TeamAssignmentConfigurationInputAssignmentMethod
- type TeamSLA
- func (t *TeamSLA) GetExtraProperties() map[string]interface{}
- func (t *TeamSLA) GetFirstResolution() *SLATimes
- func (t *TeamSLA) GetFirstResponse() *SLATimes
- func (t *TeamSLA) GetFollowUp() *SLATimes
- func (t *TeamSLA) GetNextReply() *SLATimes
- func (t *TeamSLA) GetResolution() *SLATimes
- func (t *TeamSLA) GetTeamID() string
- func (t *TeamSLA) MarshalJSON() ([]byte, error)
- func (t *TeamSLA) SetFirstResolution(firstResolution *SLATimes)
- func (t *TeamSLA) SetFirstResponse(firstResponse *SLATimes)
- func (t *TeamSLA) SetFollowUp(followUp *SLATimes)
- func (t *TeamSLA) SetNextReply(nextReply *SLATimes)
- func (t *TeamSLA) SetResolution(resolution *SLATimes)
- func (t *TeamSLA) SetTeamID(teamID string)
- func (t *TeamSLA) String() string
- func (t *TeamSLA) UnmarshalJSON(data []byte) error
- type TeamSchedule
- func (t *TeamSchedule) GetBlocks() []*TeamScheduleBlock
- func (t *TeamSchedule) GetExtraProperties() map[string]interface{}
- func (t *TeamSchedule) GetID() string
- func (t *TeamSchedule) GetTimezone() string
- func (t *TeamSchedule) MarshalJSON() ([]byte, error)
- func (t *TeamSchedule) SetBlocks(blocks []*TeamScheduleBlock)
- func (t *TeamSchedule) SetID(id string)
- func (t *TeamSchedule) SetTimezone(timezone string)
- func (t *TeamSchedule) String() string
- func (t *TeamSchedule) UnmarshalJSON(data []byte) error
- type TeamScheduleBlock
- func (t *TeamScheduleBlock) GetDays() []string
- func (t *TeamScheduleBlock) GetEndTime() *string
- func (t *TeamScheduleBlock) GetExtraProperties() map[string]interface{}
- func (t *TeamScheduleBlock) GetRecurrence() string
- func (t *TeamScheduleBlock) GetStartTime() *string
- func (t *TeamScheduleBlock) GetTeamID() *string
- func (t *TeamScheduleBlock) GetUserID() *string
- func (t *TeamScheduleBlock) GetWeekOffset() *int64
- func (t *TeamScheduleBlock) MarshalJSON() ([]byte, error)
- func (t *TeamScheduleBlock) SetDays(days []string)
- func (t *TeamScheduleBlock) SetEndTime(endTime *string)
- func (t *TeamScheduleBlock) SetRecurrence(recurrence string)
- func (t *TeamScheduleBlock) SetStartTime(startTime *string)
- func (t *TeamScheduleBlock) SetTeamID(teamID *string)
- func (t *TeamScheduleBlock) SetUserID(userID *string)
- func (t *TeamScheduleBlock) SetWeekOffset(weekOffset *int64)
- func (t *TeamScheduleBlock) String() string
- func (t *TeamScheduleBlock) UnmarshalJSON(data []byte) error
- type TeamScheduleBlockInput
- func (t *TeamScheduleBlockInput) GetDays() []string
- func (t *TeamScheduleBlockInput) GetEndTime() string
- func (t *TeamScheduleBlockInput) GetExtraProperties() map[string]interface{}
- func (t *TeamScheduleBlockInput) GetRecurrence() *TeamScheduleBlockInputRecurrence
- func (t *TeamScheduleBlockInput) GetStartTime() string
- func (t *TeamScheduleBlockInput) GetTeamID() *string
- func (t *TeamScheduleBlockInput) GetUserID() *string
- func (t *TeamScheduleBlockInput) GetWeekOffset() *int64
- func (t *TeamScheduleBlockInput) MarshalJSON() ([]byte, error)
- func (t *TeamScheduleBlockInput) SetDays(days []string)
- func (t *TeamScheduleBlockInput) SetEndTime(endTime string)
- func (t *TeamScheduleBlockInput) SetRecurrence(recurrence *TeamScheduleBlockInputRecurrence)
- func (t *TeamScheduleBlockInput) SetStartTime(startTime string)
- func (t *TeamScheduleBlockInput) SetTeamID(teamID *string)
- func (t *TeamScheduleBlockInput) SetUserID(userID *string)
- func (t *TeamScheduleBlockInput) SetWeekOffset(weekOffset *int64)
- func (t *TeamScheduleBlockInput) String() string
- func (t *TeamScheduleBlockInput) UnmarshalJSON(data []byte) error
- type TeamScheduleBlockInputRecurrence
- type TeamScheduleInput
- func (t *TeamScheduleInput) GetBlocks() []*TeamScheduleBlockInput
- func (t *TeamScheduleInput) GetExtraProperties() map[string]interface{}
- func (t *TeamScheduleInput) GetTimezone() *string
- func (t *TeamScheduleInput) MarshalJSON() ([]byte, error)
- func (t *TeamScheduleInput) SetBlocks(blocks []*TeamScheduleBlockInput)
- func (t *TeamScheduleInput) SetTimezone(timezone *string)
- func (t *TeamScheduleInput) String() string
- func (t *TeamScheduleInput) UnmarshalJSON(data []byte) error
- type TeamsCreateRequest
- func (t *TeamsCreateRequest) MarshalJSON() ([]byte, error)
- func (t *TeamsCreateRequest) SetAssignmentConfiguration(assignmentConfiguration *TeamAssignmentConfigurationInput)
- func (t *TeamsCreateRequest) SetName(name string)
- func (t *TeamsCreateRequest) SetSchedule(schedule *TeamScheduleInput)
- func (t *TeamsCreateRequest) SetUserIDs(userIDs []string)
- func (t *TeamsCreateRequest) UnmarshalJSON(data []byte) error
- type TeamsDeleteRequest
- type TeamsGetRequest
- type TeamsUpdateRequest
- func (t *TeamsUpdateRequest) MarshalJSON() ([]byte, error)
- func (t *TeamsUpdateRequest) SetAssignmentConfiguration(assignmentConfiguration *TeamAssignmentConfigurationInput)
- func (t *TeamsUpdateRequest) SetID(id string)
- func (t *TeamsUpdateRequest) SetName(name *string)
- func (t *TeamsUpdateRequest) SetSchedule(schedule *TeamScheduleInput)
- func (t *TeamsUpdateRequest) SetUserIDs(userIDs []string)
- func (t *TeamsUpdateRequest) UnmarshalJSON(data []byte) error
- type TicketForm
- func (t *TicketForm) GetAiSearchEnabled() bool
- func (t *TicketForm) GetDescriptionHTML() string
- func (t *TicketForm) GetExtraProperties() map[string]interface{}
- func (t *TicketForm) GetFields() []*TicketFormLayoutField
- func (t *TicketForm) GetID() string
- func (t *TicketForm) GetIsPublic() bool
- func (t *TicketForm) GetName() string
- func (t *TicketForm) GetSlug() string
- func (t *TicketForm) GetURL() string
- func (t *TicketForm) MarshalJSON() ([]byte, error)
- func (t *TicketForm) SetAiSearchEnabled(aiSearchEnabled bool)
- func (t *TicketForm) SetDescriptionHTML(descriptionHTML string)
- func (t *TicketForm) SetFields(fields []*TicketFormLayoutField)
- func (t *TicketForm) SetID(id string)
- func (t *TicketForm) SetIsPublic(isPublic bool)
- func (t *TicketForm) SetName(name string)
- func (t *TicketForm) SetSlug(slug string)
- func (t *TicketForm) SetURL(url string)
- func (t *TicketForm) String() string
- func (t *TicketForm) UnmarshalJSON(data []byte) error
- type TicketFormLayoutField
- func (t *TicketFormLayoutField) GetCustomFieldID() *string
- func (t *TicketFormLayoutField) GetDescriptionHTML() string
- func (t *TicketFormLayoutField) GetExtraProperties() map[string]interface{}
- func (t *TicketFormLayoutField) GetHidden() bool
- func (t *TicketFormLayoutField) GetName() string
- func (t *TicketFormLayoutField) GetPrefillKey() string
- func (t *TicketFormLayoutField) GetRequired() bool
- func (t *TicketFormLayoutField) GetSlug() string
- func (t *TicketFormLayoutField) GetType() string
- func (t *TicketFormLayoutField) GetVisibilityConditions() []*TicketFormVisibilityCondition
- func (t *TicketFormLayoutField) MarshalJSON() ([]byte, error)
- func (t *TicketFormLayoutField) SetCustomFieldID(customFieldID *string)
- func (t *TicketFormLayoutField) SetDescriptionHTML(descriptionHTML string)
- func (t *TicketFormLayoutField) SetHidden(hidden bool)
- func (t *TicketFormLayoutField) SetName(name string)
- func (t *TicketFormLayoutField) SetPrefillKey(prefillKey string)
- func (t *TicketFormLayoutField) SetRequired(required bool)
- func (t *TicketFormLayoutField) SetSlug(slug string)
- func (t *TicketFormLayoutField) SetType(type_ string)
- func (t *TicketFormLayoutField) SetVisibilityConditions(visibilityConditions []*TicketFormVisibilityCondition)
- func (t *TicketFormLayoutField) String() string
- func (t *TicketFormLayoutField) UnmarshalJSON(data []byte) error
- type TicketFormVisibilityAffectedField
- func (t *TicketFormVisibilityAffectedField) GetExtraProperties() map[string]interface{}
- func (t *TicketFormVisibilityAffectedField) GetRequired() bool
- func (t *TicketFormVisibilityAffectedField) GetSlug() string
- func (t *TicketFormVisibilityAffectedField) GetType() string
- func (t *TicketFormVisibilityAffectedField) GetVisible() bool
- func (t *TicketFormVisibilityAffectedField) MarshalJSON() ([]byte, error)
- func (t *TicketFormVisibilityAffectedField) SetRequired(required bool)
- func (t *TicketFormVisibilityAffectedField) SetSlug(slug string)
- func (t *TicketFormVisibilityAffectedField) SetType(type_ string)
- func (t *TicketFormVisibilityAffectedField) SetVisible(visible bool)
- func (t *TicketFormVisibilityAffectedField) String() string
- func (t *TicketFormVisibilityAffectedField) UnmarshalJSON(data []byte) error
- type TicketFormVisibilityCondition
- func (t *TicketFormVisibilityCondition) GetAffectedFields() []*TicketFormVisibilityAffectedField
- func (t *TicketFormVisibilityCondition) GetExtraProperties() map[string]interface{}
- func (t *TicketFormVisibilityCondition) GetFilter() *Filter
- func (t *TicketFormVisibilityCondition) GetFilterUnsupported() *bool
- func (t *TicketFormVisibilityCondition) GetID() string
- func (t *TicketFormVisibilityCondition) MarshalJSON() ([]byte, error)
- func (t *TicketFormVisibilityCondition) SetAffectedFields(affectedFields []*TicketFormVisibilityAffectedField)
- func (t *TicketFormVisibilityCondition) SetFilter(filter *Filter)
- func (t *TicketFormVisibilityCondition) SetFilterUnsupported(filterUnsupported *bool)
- func (t *TicketFormVisibilityCondition) SetID(id string)
- func (t *TicketFormVisibilityCondition) String() string
- func (t *TicketFormVisibilityCondition) UnmarshalJSON(data []byte) error
- type TicketFormsGetRequest
- type TicketFormsSubmitRequest
- func (t *TicketFormsSubmitRequest) MarshalJSON() ([]byte, error)
- func (t *TicketFormsSubmitRequest) SetAttachmentURLs(attachmentURLs []string)
- func (t *TicketFormsSubmitRequest) SetFields(fields []*SubmitTicketFormField)
- func (t *TicketFormsSubmitRequest) SetRequesterEmail(requesterEmail *string)
- func (t *TicketFormsSubmitRequest) SetRequesterID(requesterID *string)
- func (t *TicketFormsSubmitRequest) SetRequesterName(requesterName *string)
- func (t *TicketFormsSubmitRequest) SetTicketFormID(ticketFormID string)
- func (t *TicketFormsSubmitRequest) UnmarshalJSON(data []byte) error
- type TooManyRequestsError
- type TrainingData
- func (t *TrainingData) GetCreatedAt() time.Time
- func (t *TrainingData) GetDocuments() []*TrainingDataDocument
- func (t *TrainingData) GetExcludeFromKbSearch() bool
- func (t *TrainingData) GetExtraProperties() map[string]interface{}
- func (t *TrainingData) GetID() string
- func (t *TrainingData) GetName() string
- func (t *TrainingData) GetScrapeStatus() *TrainingDataScrapeStatus
- func (t *TrainingData) GetType() string
- func (t *TrainingData) GetUpdatedAt() time.Time
- func (t *TrainingData) GetVisibility() string
- func (t *TrainingData) MarshalJSON() ([]byte, error)
- func (t *TrainingData) SetCreatedAt(createdAt time.Time)
- func (t *TrainingData) SetDocuments(documents []*TrainingDataDocument)
- func (t *TrainingData) SetExcludeFromKbSearch(excludeFromKbSearch bool)
- func (t *TrainingData) SetID(id string)
- func (t *TrainingData) SetName(name string)
- func (t *TrainingData) SetScrapeStatus(scrapeStatus *TrainingDataScrapeStatus)
- func (t *TrainingData) SetType(type_ string)
- func (t *TrainingData) SetUpdatedAt(updatedAt time.Time)
- func (t *TrainingData) SetVisibility(visibility string)
- func (t *TrainingData) String() string
- func (t *TrainingData) UnmarshalJSON(data []byte) error
- type TrainingDataCreateRequest
- func (t *TrainingDataCreateRequest) MarshalJSON() ([]byte, error)
- func (t *TrainingDataCreateRequest) SetTrainingDataName(trainingDataName *string)
- func (t *TrainingDataCreateRequest) SetVisibility(visibility *CreateTrainingDataRequestBodyVisibility)
- func (t *TrainingDataCreateRequest) UnmarshalJSON(data []byte) error
- type TrainingDataDocument
- func (t *TrainingDataDocument) GetExternalID() *string
- func (t *TrainingDataDocument) GetExtraProperties() map[string]interface{}
- func (t *TrainingDataDocument) GetFileName() string
- func (t *TrainingDataDocument) GetFileSize() int64
- func (t *TrainingDataDocument) GetFileType() string
- func (t *TrainingDataDocument) GetID() string
- func (t *TrainingDataDocument) GetS3Key() string
- func (t *TrainingDataDocument) MarshalJSON() ([]byte, error)
- func (t *TrainingDataDocument) SetExternalID(externalID *string)
- func (t *TrainingDataDocument) SetFileName(fileName string)
- func (t *TrainingDataDocument) SetFileSize(fileSize int64)
- func (t *TrainingDataDocument) SetFileType(fileType string)
- func (t *TrainingDataDocument) SetID(id string)
- func (t *TrainingDataDocument) SetS3Key(s3Key string)
- func (t *TrainingDataDocument) String() string
- func (t *TrainingDataDocument) UnmarshalJSON(data []byte) error
- type TrainingDataGetRequest
- type TrainingDataScrapeStatus
- func (t *TrainingDataScrapeStatus) GetExtraProperties() map[string]interface{}
- func (t *TrainingDataScrapeStatus) GetLastScrapedAt() *time.Time
- func (t *TrainingDataScrapeStatus) GetPagesScraped() int64
- func (t *TrainingDataScrapeStatus) GetStatus() string
- func (t *TrainingDataScrapeStatus) GetTotalPages() int64
- func (t *TrainingDataScrapeStatus) MarshalJSON() ([]byte, error)
- func (t *TrainingDataScrapeStatus) SetLastScrapedAt(lastScrapedAt *time.Time)
- func (t *TrainingDataScrapeStatus) SetPagesScraped(pagesScraped int64)
- func (t *TrainingDataScrapeStatus) SetStatus(status string)
- func (t *TrainingDataScrapeStatus) SetTotalPages(totalPages int64)
- func (t *TrainingDataScrapeStatus) String() string
- func (t *TrainingDataScrapeStatus) UnmarshalJSON(data []byte) error
- type TrainingDataUploadContentRequest
- func (t *TrainingDataUploadContentRequest) MarshalJSON() ([]byte, error)
- func (t *TrainingDataUploadContentRequest) SetContent(content *string)
- func (t *TrainingDataUploadContentRequest) SetExternalID(externalID *string)
- func (t *TrainingDataUploadContentRequest) SetFileName(fileName *string)
- func (t *TrainingDataUploadContentRequest) SetTrainingDataID(trainingDataID *string)
- func (t *TrainingDataUploadContentRequest) SetTrainingDataName(trainingDataName *string)
- func (t *TrainingDataUploadContentRequest) SetVisibility(visibility *UploadTrainingDataFileContentRequestBodyVisibility)
- func (t *TrainingDataUploadContentRequest) UnmarshalJSON(data []byte) error
- type TrainingDataUploadFilesRequest
- type TrainingDataUploadResponseBody
- func (t *TrainingDataUploadResponseBody) GetData() *TrainingData
- func (t *TrainingDataUploadResponseBody) GetExtraProperties() map[string]interface{}
- func (t *TrainingDataUploadResponseBody) GetRequestID() string
- func (t *TrainingDataUploadResponseBody) MarshalJSON() ([]byte, error)
- func (t *TrainingDataUploadResponseBody) SetData(data *TrainingData)
- func (t *TrainingDataUploadResponseBody) SetRequestID(requestID string)
- func (t *TrainingDataUploadResponseBody) String() string
- func (t *TrainingDataUploadResponseBody) UnmarshalJSON(data []byte) error
- type UnauthorizedError
- type UpdateAccountHighlightResponseBody
- func (u *UpdateAccountHighlightResponseBody) GetData() *AccountHighlight
- func (u *UpdateAccountHighlightResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateAccountHighlightResponseBody) GetRequestID() string
- func (u *UpdateAccountHighlightResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateAccountHighlightResponseBody) SetData(data *AccountHighlight)
- func (u *UpdateAccountHighlightResponseBody) SetRequestID(requestID string)
- func (u *UpdateAccountHighlightResponseBody) String() string
- func (u *UpdateAccountHighlightResponseBody) UnmarshalJSON(data []byte) error
- type UpdateAccountRequestBodyAccountType
- type UpdateAccountRequestBodyTagsApplyMode
- type UpdateAccountResponseBody
- func (u *UpdateAccountResponseBody) GetData() *Account
- func (u *UpdateAccountResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateAccountResponseBody) GetRequestID() string
- func (u *UpdateAccountResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateAccountResponseBody) SetData(data *Account)
- func (u *UpdateAccountResponseBody) SetRequestID(requestID string)
- func (u *UpdateAccountResponseBody) String() string
- func (u *UpdateAccountResponseBody) UnmarshalJSON(data []byte) error
- type UpdateAccountsRequestAccountType
- type UpdateAccountsRequestTagsApplyMode
- type UpdateAccountsResponseBody
- func (u *UpdateAccountsResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateAccountsResponseBody) GetRequestID() string
- func (u *UpdateAccountsResponseBody) GetSuccess() bool
- func (u *UpdateAccountsResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateAccountsResponseBody) SetRequestID(requestID string)
- func (u *UpdateAccountsResponseBody) SetSuccess(success bool)
- func (u *UpdateAccountsResponseBody) String() string
- func (u *UpdateAccountsResponseBody) UnmarshalJSON(data []byte) error
- type UpdateArticleResponseBody
- func (u *UpdateArticleResponseBody) GetData() *Article
- func (u *UpdateArticleResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateArticleResponseBody) GetRequestID() string
- func (u *UpdateArticleResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateArticleResponseBody) SetData(data *Article)
- func (u *UpdateArticleResponseBody) SetRequestID(requestID string)
- func (u *UpdateArticleResponseBody) String() string
- func (u *UpdateArticleResponseBody) UnmarshalJSON(data []byte) error
- type UpdateCallRecordingResponseBody
- func (u *UpdateCallRecordingResponseBody) GetData() *CallRecording
- func (u *UpdateCallRecordingResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateCallRecordingResponseBody) GetRequestID() string
- func (u *UpdateCallRecordingResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateCallRecordingResponseBody) SetData(data *CallRecording)
- func (u *UpdateCallRecordingResponseBody) SetRequestID(requestID string)
- func (u *UpdateCallRecordingResponseBody) String() string
- func (u *UpdateCallRecordingResponseBody) UnmarshalJSON(data []byte) error
- type UpdateCollectionResponseBody
- func (u *UpdateCollectionResponseBody) GetData() *Collection
- func (u *UpdateCollectionResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateCollectionResponseBody) GetRequestID() string
- func (u *UpdateCollectionResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateCollectionResponseBody) SetData(data *Collection)
- func (u *UpdateCollectionResponseBody) SetRequestID(requestID string)
- func (u *UpdateCollectionResponseBody) String() string
- func (u *UpdateCollectionResponseBody) UnmarshalJSON(data []byte) error
- type UpdateContactEmail
- func (u *UpdateContactEmail) GetEmail() string
- func (u *UpdateContactEmail) GetExtraProperties() map[string]interface{}
- func (u *UpdateContactEmail) GetIsPrimary() *bool
- func (u *UpdateContactEmail) MarshalJSON() ([]byte, error)
- func (u *UpdateContactEmail) SetEmail(email string)
- func (u *UpdateContactEmail) SetIsPrimary(isPrimary *bool)
- func (u *UpdateContactEmail) String() string
- func (u *UpdateContactEmail) UnmarshalJSON(data []byte) error
- type UpdateContactResponseBody
- func (u *UpdateContactResponseBody) GetData() *Contact
- func (u *UpdateContactResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateContactResponseBody) GetRequestID() string
- func (u *UpdateContactResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateContactResponseBody) SetData(data *Contact)
- func (u *UpdateContactResponseBody) SetRequestID(requestID string)
- func (u *UpdateContactResponseBody) String() string
- func (u *UpdateContactResponseBody) UnmarshalJSON(data []byte) error
- type UpdateCustomFieldRequirement
- func (u *UpdateCustomFieldRequirement) GetExtraProperties() map[string]interface{}
- func (u *UpdateCustomFieldRequirement) GetFilter() *Filter
- func (u *UpdateCustomFieldRequirement) GetFilterUnsupported() *bool
- func (u *UpdateCustomFieldRequirement) GetSetting() UpdateCustomFieldRequirementSetting
- func (u *UpdateCustomFieldRequirement) MarshalJSON() ([]byte, error)
- func (u *UpdateCustomFieldRequirement) SetFilter(filter *Filter)
- func (u *UpdateCustomFieldRequirement) SetFilterUnsupported(filterUnsupported *bool)
- func (u *UpdateCustomFieldRequirement) SetSetting(setting UpdateCustomFieldRequirementSetting)
- func (u *UpdateCustomFieldRequirement) String() string
- func (u *UpdateCustomFieldRequirement) UnmarshalJSON(data []byte) error
- type UpdateCustomFieldRequirementSetting
- type UpdateCustomFieldResponseBody
- func (u *UpdateCustomFieldResponseBody) GetData() *CustomFieldDefinition
- func (u *UpdateCustomFieldResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateCustomFieldResponseBody) GetRequestID() string
- func (u *UpdateCustomFieldResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateCustomFieldResponseBody) SetData(data *CustomFieldDefinition)
- func (u *UpdateCustomFieldResponseBody) SetRequestID(requestID string)
- func (u *UpdateCustomFieldResponseBody) String() string
- func (u *UpdateCustomFieldResponseBody) UnmarshalJSON(data []byte) error
- type UpdateCustomFieldSelectOptionResponseBody
- func (u *UpdateCustomFieldSelectOptionResponseBody) GetData() *CustomFieldDefinitionSelectOption
- func (u *UpdateCustomFieldSelectOptionResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateCustomFieldSelectOptionResponseBody) GetRequestID() string
- func (u *UpdateCustomFieldSelectOptionResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateCustomFieldSelectOptionResponseBody) SetData(data *CustomFieldDefinitionSelectOption)
- func (u *UpdateCustomFieldSelectOptionResponseBody) SetRequestID(requestID string)
- func (u *UpdateCustomFieldSelectOptionResponseBody) String() string
- func (u *UpdateCustomFieldSelectOptionResponseBody) UnmarshalJSON(data []byte) error
- type UpdateCustomObjectResponseBody
- func (u *UpdateCustomObjectResponseBody) GetData() *APICustomObject
- func (u *UpdateCustomObjectResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateCustomObjectResponseBody) GetRequestID() string
- func (u *UpdateCustomObjectResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateCustomObjectResponseBody) SetData(data *APICustomObject)
- func (u *UpdateCustomObjectResponseBody) SetRequestID(requestID string)
- func (u *UpdateCustomObjectResponseBody) String() string
- func (u *UpdateCustomObjectResponseBody) UnmarshalJSON(data []byte) error
- type UpdateCustomObjectsResponseBody
- func (u *UpdateCustomObjectsResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateCustomObjectsResponseBody) GetRequestID() string
- func (u *UpdateCustomObjectsResponseBody) GetSuccess() bool
- func (u *UpdateCustomObjectsResponseBody) GetUpdatedIDs() []string
- func (u *UpdateCustomObjectsResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateCustomObjectsResponseBody) SetRequestID(requestID string)
- func (u *UpdateCustomObjectsResponseBody) SetSuccess(success bool)
- func (u *UpdateCustomObjectsResponseBody) SetUpdatedIDs(updatedIDs []string)
- func (u *UpdateCustomObjectsResponseBody) String() string
- func (u *UpdateCustomObjectsResponseBody) UnmarshalJSON(data []byte) error
- type UpdateFeatureRequestResponseBody
- func (u *UpdateFeatureRequestResponseBody) GetData() *FeatureRequest
- func (u *UpdateFeatureRequestResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateFeatureRequestResponseBody) GetRequestID() string
- func (u *UpdateFeatureRequestResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateFeatureRequestResponseBody) SetData(data *FeatureRequest)
- func (u *UpdateFeatureRequestResponseBody) SetRequestID(requestID string)
- func (u *UpdateFeatureRequestResponseBody) String() string
- func (u *UpdateFeatureRequestResponseBody) UnmarshalJSON(data []byte) error
- type UpdateIssueRequestBodyTagsApplyMode
- type UpdateIssueRequestBodyType
- type UpdateIssueResponseBody
- func (u *UpdateIssueResponseBody) GetData() *Issue
- func (u *UpdateIssueResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateIssueResponseBody) GetRequestID() string
- func (u *UpdateIssueResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateIssueResponseBody) SetData(data *Issue)
- func (u *UpdateIssueResponseBody) SetRequestID(requestID string)
- func (u *UpdateIssueResponseBody) String() string
- func (u *UpdateIssueResponseBody) UnmarshalJSON(data []byte) error
- type UpdateIssuesRequestTagsApplyMode
- type UpdateIssuesResponseBody
- func (u *UpdateIssuesResponseBody) GetData() *BulkIssueResult
- func (u *UpdateIssuesResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateIssuesResponseBody) GetRequestID() string
- func (u *UpdateIssuesResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateIssuesResponseBody) SetData(data *BulkIssueResult)
- func (u *UpdateIssuesResponseBody) SetRequestID(requestID string)
- func (u *UpdateIssuesResponseBody) String() string
- func (u *UpdateIssuesResponseBody) UnmarshalJSON(data []byte) error
- type UpdateKnowledgeBaseThemeAsset
- func (u *UpdateKnowledgeBaseThemeAsset) GetAssetType() string
- func (u *UpdateKnowledgeBaseThemeAsset) GetContent() string
- func (u *UpdateKnowledgeBaseThemeAsset) GetExtraProperties() map[string]interface{}
- func (u *UpdateKnowledgeBaseThemeAsset) MarshalJSON() ([]byte, error)
- func (u *UpdateKnowledgeBaseThemeAsset) SetAssetType(assetType string)
- func (u *UpdateKnowledgeBaseThemeAsset) SetContent(content string)
- func (u *UpdateKnowledgeBaseThemeAsset) String() string
- func (u *UpdateKnowledgeBaseThemeAsset) UnmarshalJSON(data []byte) error
- type UpdateKnowledgeBaseThemeResponseBody
- func (u *UpdateKnowledgeBaseThemeResponseBody) GetData() *KnowledgeBaseTheme
- func (u *UpdateKnowledgeBaseThemeResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateKnowledgeBaseThemeResponseBody) GetRequestID() string
- func (u *UpdateKnowledgeBaseThemeResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateKnowledgeBaseThemeResponseBody) SetData(data *KnowledgeBaseTheme)
- func (u *UpdateKnowledgeBaseThemeResponseBody) SetRequestID(requestID string)
- func (u *UpdateKnowledgeBaseThemeResponseBody) String() string
- func (u *UpdateKnowledgeBaseThemeResponseBody) UnmarshalJSON(data []byte) error
- type UpdateMacroResponseBody
- func (u *UpdateMacroResponseBody) GetData() *Macro
- func (u *UpdateMacroResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateMacroResponseBody) GetRequestID() string
- func (u *UpdateMacroResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateMacroResponseBody) SetData(data *Macro)
- func (u *UpdateMacroResponseBody) SetRequestID(requestID string)
- func (u *UpdateMacroResponseBody) String() string
- func (u *UpdateMacroResponseBody) UnmarshalJSON(data []byte) error
- type UpdateMessageResponseBody
- func (u *UpdateMessageResponseBody) GetData() *Message
- func (u *UpdateMessageResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateMessageResponseBody) GetRequestID() string
- func (u *UpdateMessageResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateMessageResponseBody) SetData(data *Message)
- func (u *UpdateMessageResponseBody) SetRequestID(requestID string)
- func (u *UpdateMessageResponseBody) String() string
- func (u *UpdateMessageResponseBody) UnmarshalJSON(data []byte) error
- type UpdateMilestoneResponseBody
- func (u *UpdateMilestoneResponseBody) GetData() *Milestone
- func (u *UpdateMilestoneResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateMilestoneResponseBody) GetRequestID() string
- func (u *UpdateMilestoneResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateMilestoneResponseBody) SetData(data *Milestone)
- func (u *UpdateMilestoneResponseBody) SetRequestID(requestID string)
- func (u *UpdateMilestoneResponseBody) String() string
- func (u *UpdateMilestoneResponseBody) UnmarshalJSON(data []byte) error
- type UpdateProjectResponseBody
- func (u *UpdateProjectResponseBody) GetData() *Project
- func (u *UpdateProjectResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateProjectResponseBody) GetRequestID() string
- func (u *UpdateProjectResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateProjectResponseBody) SetData(data *Project)
- func (u *UpdateProjectResponseBody) SetRequestID(requestID string)
- func (u *UpdateProjectResponseBody) String() string
- func (u *UpdateProjectResponseBody) UnmarshalJSON(data []byte) error
- type UpdateTagResponseBody
- func (u *UpdateTagResponseBody) GetData() *Tag
- func (u *UpdateTagResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateTagResponseBody) GetRequestID() string
- func (u *UpdateTagResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateTagResponseBody) SetData(data *Tag)
- func (u *UpdateTagResponseBody) SetRequestID(requestID string)
- func (u *UpdateTagResponseBody) String() string
- func (u *UpdateTagResponseBody) UnmarshalJSON(data []byte) error
- type UpdateTaskCommentResponseBody
- func (u *UpdateTaskCommentResponseBody) GetData() *TaskComment
- func (u *UpdateTaskCommentResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateTaskCommentResponseBody) GetRequestID() string
- func (u *UpdateTaskCommentResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateTaskCommentResponseBody) SetData(data *TaskComment)
- func (u *UpdateTaskCommentResponseBody) SetRequestID(requestID string)
- func (u *UpdateTaskCommentResponseBody) String() string
- func (u *UpdateTaskCommentResponseBody) UnmarshalJSON(data []byte) error
- type UpdateTaskResponseBody
- func (u *UpdateTaskResponseBody) GetData() *Task
- func (u *UpdateTaskResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateTaskResponseBody) GetRequestID() string
- func (u *UpdateTaskResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateTaskResponseBody) SetData(data *Task)
- func (u *UpdateTaskResponseBody) SetRequestID(requestID string)
- func (u *UpdateTaskResponseBody) String() string
- func (u *UpdateTaskResponseBody) UnmarshalJSON(data []byte) error
- type UpdateTeamResponseBody
- func (u *UpdateTeamResponseBody) GetData() *Team
- func (u *UpdateTeamResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateTeamResponseBody) GetRequestID() string
- func (u *UpdateTeamResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateTeamResponseBody) SetData(data *Team)
- func (u *UpdateTeamResponseBody) SetRequestID(requestID string)
- func (u *UpdateTeamResponseBody) String() string
- func (u *UpdateTeamResponseBody) UnmarshalJSON(data []byte) error
- type UpdateUserResponseBody
- func (u *UpdateUserResponseBody) GetData() *User
- func (u *UpdateUserResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UpdateUserResponseBody) GetRequestID() *string
- func (u *UpdateUserResponseBody) MarshalJSON() ([]byte, error)
- func (u *UpdateUserResponseBody) SetData(data *User)
- func (u *UpdateUserResponseBody) SetRequestID(requestID *string)
- func (u *UpdateUserResponseBody) String() string
- func (u *UpdateUserResponseBody) UnmarshalJSON(data []byte) error
- type UploadAccountFileResponseBody
- func (u *UploadAccountFileResponseBody) GetData() []*Attachment
- func (u *UploadAccountFileResponseBody) GetExtraProperties() map[string]interface{}
- func (u *UploadAccountFileResponseBody) GetRequestID() string
- func (u *UploadAccountFileResponseBody) MarshalJSON() ([]byte, error)
- func (u *UploadAccountFileResponseBody) SetData(data []*Attachment)
- func (u *UploadAccountFileResponseBody) SetRequestID(requestID string)
- func (u *UploadAccountFileResponseBody) String() string
- func (u *UploadAccountFileResponseBody) UnmarshalJSON(data []byte) error
- type UploadFilesTrainingDataRequestVisibility
- type UploadTrainingDataFileContentRequestBodyVisibility
- type User
- func (u *User) GetAvatarURL() string
- func (u *User) GetEmail() string
- func (u *User) GetEmails() []string
- func (u *User) GetExtraProperties() map[string]interface{}
- func (u *User) GetID() string
- func (u *User) GetIsDeactivated() bool
- func (u *User) GetName() string
- func (u *User) GetRole() *MiniRole
- func (u *User) GetRoleID() string
- func (u *User) GetRoleIDs() []string
- func (u *User) GetRoles() []*MiniRole
- func (u *User) GetSkills() []*UserSkill
- func (u *User) GetStatus() string
- func (u *User) MarshalJSON() ([]byte, error)
- func (u *User) SetAvatarURL(avatarURL string)
- func (u *User) SetEmail(email string)
- func (u *User) SetEmails(emails []string)
- func (u *User) SetID(id string)
- func (u *User) SetIsDeactivated(isDeactivated bool)
- func (u *User) SetName(name string)
- func (u *User) SetRole(role *MiniRole)
- func (u *User) SetRoleID(roleID string)
- func (u *User) SetRoleIDs(roleIDs []string)
- func (u *User) SetRoles(roles []*MiniRole)
- func (u *User) SetSkills(skills []*UserSkill)
- func (u *User) SetStatus(status string)
- func (u *User) String() string
- func (u *User) UnmarshalJSON(data []byte) error
- type UserRole
- func (u *UserRole) GetExtraProperties() map[string]interface{}
- func (u *UserRole) GetID() string
- func (u *UserRole) GetIssueAccessPolicy() *UserRoleIssueAccessPolicy
- func (u *UserRole) GetName() string
- func (u *UserRole) GetPermissions() []*UserRolePermission
- func (u *UserRole) GetSlug() string
- func (u *UserRole) MarshalJSON() ([]byte, error)
- func (u *UserRole) SetID(id string)
- func (u *UserRole) SetIssueAccessPolicy(issueAccessPolicy *UserRoleIssueAccessPolicy)
- func (u *UserRole) SetName(name string)
- func (u *UserRole) SetPermissions(permissions []*UserRolePermission)
- func (u *UserRole) SetSlug(slug string)
- func (u *UserRole) String() string
- func (u *UserRole) UnmarshalJSON(data []byte) error
- type UserRoleIssueAccessPolicy
- func (u *UserRoleIssueAccessPolicy) GetDefaultActions() []string
- func (u *UserRoleIssueAccessPolicy) GetExtraProperties() map[string]interface{}
- func (u *UserRoleIssueAccessPolicy) GetRules() []*UserRoleIssueAccessRule
- func (u *UserRoleIssueAccessPolicy) MarshalJSON() ([]byte, error)
- func (u *UserRoleIssueAccessPolicy) SetDefaultActions(defaultActions []string)
- func (u *UserRoleIssueAccessPolicy) SetRules(rules []*UserRoleIssueAccessRule)
- func (u *UserRoleIssueAccessPolicy) String() string
- func (u *UserRoleIssueAccessPolicy) UnmarshalJSON(data []byte) error
- type UserRoleIssueAccessRule
- func (u *UserRoleIssueAccessRule) GetActions() []string
- func (u *UserRoleIssueAccessRule) GetExtraProperties() map[string]interface{}
- func (u *UserRoleIssueAccessRule) GetFilter() *Filter
- func (u *UserRoleIssueAccessRule) GetFilterUnsupported() *bool
- func (u *UserRoleIssueAccessRule) GetID() string
- func (u *UserRoleIssueAccessRule) MarshalJSON() ([]byte, error)
- func (u *UserRoleIssueAccessRule) SetActions(actions []string)
- func (u *UserRoleIssueAccessRule) SetFilter(filter *Filter)
- func (u *UserRoleIssueAccessRule) SetFilterUnsupported(filterUnsupported *bool)
- func (u *UserRoleIssueAccessRule) SetID(id string)
- func (u *UserRoleIssueAccessRule) String() string
- func (u *UserRoleIssueAccessRule) UnmarshalJSON(data []byte) error
- type UserRolePermission
- func (u *UserRolePermission) GetAction() string
- func (u *UserRolePermission) GetExtraProperties() map[string]interface{}
- func (u *UserRolePermission) GetFieldRestrictionsUnsupported() *bool
- func (u *UserRolePermission) GetFilter() *Filter
- func (u *UserRolePermission) GetFilterUnsupported() *bool
- func (u *UserRolePermission) MarshalJSON() ([]byte, error)
- func (u *UserRolePermission) SetAction(action string)
- func (u *UserRolePermission) SetFieldRestrictionsUnsupported(fieldRestrictionsUnsupported *bool)
- func (u *UserRolePermission) SetFilter(filter *Filter)
- func (u *UserRolePermission) SetFilterUnsupported(filterUnsupported *bool)
- func (u *UserRolePermission) String() string
- func (u *UserRolePermission) UnmarshalJSON(data []byte) error
- type UserSkill
- func (u *UserSkill) GetAttribute() string
- func (u *UserSkill) GetAttributeType() string
- func (u *UserSkill) GetExtraProperties() map[string]interface{}
- func (u *UserSkill) GetValues() []*UserSkillValue
- func (u *UserSkill) MarshalJSON() ([]byte, error)
- func (u *UserSkill) SetAttribute(attribute string)
- func (u *UserSkill) SetAttributeType(attributeType string)
- func (u *UserSkill) SetValues(values []*UserSkillValue)
- func (u *UserSkill) String() string
- func (u *UserSkill) UnmarshalJSON(data []byte) error
- type UserSkillValue
- func (u *UserSkillValue) GetExtraProperties() map[string]interface{}
- func (u *UserSkillValue) GetLevel() int64
- func (u *UserSkillValue) GetValue() string
- func (u *UserSkillValue) MarshalJSON() ([]byte, error)
- func (u *UserSkillValue) SetLevel(level int64)
- func (u *UserSkillValue) SetValue(value string)
- func (u *UserSkillValue) String() string
- func (u *UserSkillValue) UnmarshalJSON(data []byte) error
- type UserStatus
- func (u *UserStatus) GetCategory() string
- func (u *UserStatus) GetExtraProperties() map[string]interface{}
- func (u *UserStatus) GetIsArchived() bool
- func (u *UserStatus) GetIsDefaultStatus() bool
- func (u *UserStatus) GetLabel() string
- func (u *UserStatus) GetSlug() string
- func (u *UserStatus) MarshalJSON() ([]byte, error)
- func (u *UserStatus) SetCategory(category string)
- func (u *UserStatus) SetIsArchived(isArchived bool)
- func (u *UserStatus) SetIsDefaultStatus(isDefaultStatus bool)
- func (u *UserStatus) SetLabel(label string)
- func (u *UserStatus) SetSlug(slug string)
- func (u *UserStatus) String() string
- func (u *UserStatus) UnmarshalJSON(data []byte) error
- type UsersGetRequest
- type UsersInviteRequest
- type UsersListRequest
- type UsersSearchRequest
- type UsersUpdateRequest
- func (u *UsersUpdateRequest) MarshalJSON() ([]byte, error)
- func (u *UsersUpdateRequest) SetAvatarURL(avatarURL *string)
- func (u *UsersUpdateRequest) SetID(id string)
- func (u *UsersUpdateRequest) SetIsDeactivated(isDeactivated *bool)
- func (u *UsersUpdateRequest) SetName(name *string)
- func (u *UsersUpdateRequest) SetReassignOpenIssuesToUserID(reassignOpenIssuesToUserID *string)
- func (u *UsersUpdateRequest) SetRoleID(roleID *string)
- func (u *UsersUpdateRequest) SetStatus(status *string)
- func (u *UsersUpdateRequest) UnmarshalJSON(data []byte) error
- type Visibility
- func (v *Visibility) GetExtraProperties() map[string]interface{}
- func (v *Visibility) GetTeamIDs() []string
- func (v *Visibility) GetType() string
- func (v *Visibility) GetUserIDs() []string
- func (v *Visibility) MarshalJSON() ([]byte, error)
- func (v *Visibility) SetTeamIDs(teamIDs []string)
- func (v *Visibility) SetType(type_ string)
- func (v *Visibility) SetUserIDs(userIDs []string)
- func (v *Visibility) String() string
- func (v *Visibility) UnmarshalJSON(data []byte) error
- type VisibilityInput
- func (v *VisibilityInput) GetExtraProperties() map[string]interface{}
- func (v *VisibilityInput) GetTeamIDs() []string
- func (v *VisibilityInput) GetType() VisibilityInputType
- func (v *VisibilityInput) GetUserIDs() []string
- func (v *VisibilityInput) MarshalJSON() ([]byte, error)
- func (v *VisibilityInput) SetTeamIDs(teamIDs []string)
- func (v *VisibilityInput) SetType(type_ VisibilityInputType)
- func (v *VisibilityInput) SetUserIDs(userIDs []string)
- func (v *VisibilityInput) String() string
- func (v *VisibilityInput) UnmarshalJSON(data []byte) error
- type VisibilityInputType
- type VoiceCall
- func (v *VoiceCall) GetCreatedAt() time.Time
- func (v *VoiceCall) GetDurationSec() *int64
- func (v *VoiceCall) GetExtraProperties() map[string]interface{}
- func (v *VoiceCall) GetFromPhoneNumber() string
- func (v *VoiceCall) GetID() string
- func (v *VoiceCall) GetParticipants() []*VoiceCallParticipant
- func (v *VoiceCall) GetRecordings() []*VoiceCallRecording
- func (v *VoiceCall) GetToPhoneNumber() string
- func (v *VoiceCall) MarshalJSON() ([]byte, error)
- func (v *VoiceCall) SetCreatedAt(createdAt time.Time)
- func (v *VoiceCall) SetDurationSec(durationSec *int64)
- func (v *VoiceCall) SetFromPhoneNumber(fromPhoneNumber string)
- func (v *VoiceCall) SetID(id string)
- func (v *VoiceCall) SetParticipants(participants []*VoiceCallParticipant)
- func (v *VoiceCall) SetRecordings(recordings []*VoiceCallRecording)
- func (v *VoiceCall) SetToPhoneNumber(toPhoneNumber string)
- func (v *VoiceCall) String() string
- func (v *VoiceCall) UnmarshalJSON(data []byte) error
- type VoiceCallParticipant
- func (v *VoiceCallParticipant) GetContactID() *string
- func (v *VoiceCallParticipant) GetExtraProperties() map[string]interface{}
- func (v *VoiceCallParticipant) GetID() string
- func (v *VoiceCallParticipant) GetJoinedAt() *time.Time
- func (v *VoiceCallParticipant) GetLeftAt() *time.Time
- func (v *VoiceCallParticipant) GetPhoneNumber() *string
- func (v *VoiceCallParticipant) GetRecordingConsent() string
- func (v *VoiceCallParticipant) GetRole() string
- func (v *VoiceCallParticipant) GetStatus() string
- func (v *VoiceCallParticipant) GetUserID() *string
- func (v *VoiceCallParticipant) MarshalJSON() ([]byte, error)
- func (v *VoiceCallParticipant) SetContactID(contactID *string)
- func (v *VoiceCallParticipant) SetID(id string)
- func (v *VoiceCallParticipant) SetJoinedAt(joinedAt *time.Time)
- func (v *VoiceCallParticipant) SetLeftAt(leftAt *time.Time)
- func (v *VoiceCallParticipant) SetPhoneNumber(phoneNumber *string)
- func (v *VoiceCallParticipant) SetRecordingConsent(recordingConsent string)
- func (v *VoiceCallParticipant) SetRole(role string)
- func (v *VoiceCallParticipant) SetStatus(status string)
- func (v *VoiceCallParticipant) SetUserID(userID *string)
- func (v *VoiceCallParticipant) String() string
- func (v *VoiceCallParticipant) UnmarshalJSON(data []byte) error
- type VoiceCallRecording
- func (v *VoiceCallRecording) GetDownloadURL() string
- func (v *VoiceCallRecording) GetExtraProperties() map[string]interface{}
- func (v *VoiceCallRecording) GetID() string
- func (v *VoiceCallRecording) GetTranscriptSegments() []*VoiceCallTranscriptSegment
- func (v *VoiceCallRecording) MarshalJSON() ([]byte, error)
- func (v *VoiceCallRecording) SetDownloadURL(downloadURL string)
- func (v *VoiceCallRecording) SetID(id string)
- func (v *VoiceCallRecording) SetTranscriptSegments(transcriptSegments []*VoiceCallTranscriptSegment)
- func (v *VoiceCallRecording) String() string
- func (v *VoiceCallRecording) UnmarshalJSON(data []byte) error
- type VoiceCallTranscriptSegment
- func (v *VoiceCallTranscriptSegment) GetExtraProperties() map[string]interface{}
- func (v *VoiceCallTranscriptSegment) GetSpeaker() string
- func (v *VoiceCallTranscriptSegment) GetText() string
- func (v *VoiceCallTranscriptSegment) MarshalJSON() ([]byte, error)
- func (v *VoiceCallTranscriptSegment) SetSpeaker(speaker string)
- func (v *VoiceCallTranscriptSegment) SetText(text string)
- func (v *VoiceCallTranscriptSegment) String() string
- func (v *VoiceCallTranscriptSegment) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
var Environments = struct { Us string Eu string }{ Us: "https://api.usepylon.com", Eu: "https://api.eu.usepylon.com", }
Environments defines all of the API environments. These values can be used with the WithBaseURL RequestOption to override the client's default environment, if any.
var ErrorCodes internal.ErrorCodes = internal.ErrorCodes{ 400: func(apiError *core.APIError) error { return &BadRequestError{ APIError: apiError, } }, 401: func(apiError *core.APIError) error { return &UnauthorizedError{ APIError: apiError, } }, 403: func(apiError *core.APIError) error { return &ForbiddenError{ APIError: apiError, } }, 404: func(apiError *core.APIError) error { return &NotFoundError{ APIError: apiError, } }, 429: func(apiError *core.APIError) error { return &TooManyRequestsError{ APIError: apiError, } }, 500: func(apiError *core.APIError) error { return &InternalServerError{ APIError: apiError, } }, 413: func(apiError *core.APIError) error { return &ContentTooLargeError{ APIError: apiError, } }, 409: func(apiError *core.APIError) error { return &ConflictError{ APIError: apiError, } }, }
Functions ¶
func Complex128 ¶
func Complex128(c complex128) *complex128
Complex128 returns a pointer to the given complex128 value.
func MustParseDate ¶
MustParseDate attempts to parse the given string as a date time.Time, and panics upon failure.
func MustParseDateTime ¶
MustParseDateTime attempts to parse the given string as a datetime time.Time, and panics upon failure.
Types ¶
type APICustomObject ¶
type APICustomObject struct {
// When the object was created.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// Custom field values keyed by field slug. Relationship-typed fields are excluded here and returned in the `relations` field instead.
CustomFields map[string]*CustomFieldValue `json:"custom_fields,omitempty" url:"custom_fields,omitempty"`
// The ID of the custom object.
ID string `json:"id" url:"id"`
// The name of the custom object.
Name string `json:"name" url:"name"`
// Relationships from this object to other objects, sourced from relationship-typed custom fields.
Relations []*APIObjectRelation `json:"relations,omitempty" url:"relations,omitempty"`
// The type slug of the custom object.
Type string `json:"type" url:"type"`
// When the object was last updated.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// contains filtered or unexported fields
}
func (*APICustomObject) GetCreatedAt ¶
func (a *APICustomObject) GetCreatedAt() time.Time
func (*APICustomObject) GetCustomFields ¶
func (a *APICustomObject) GetCustomFields() map[string]*CustomFieldValue
func (*APICustomObject) GetExtraProperties ¶
func (a *APICustomObject) GetExtraProperties() map[string]interface{}
func (*APICustomObject) GetID ¶
func (a *APICustomObject) GetID() string
func (*APICustomObject) GetName ¶
func (a *APICustomObject) GetName() string
func (*APICustomObject) GetRelations ¶
func (a *APICustomObject) GetRelations() []*APIObjectRelation
func (*APICustomObject) GetType ¶
func (a *APICustomObject) GetType() string
func (*APICustomObject) GetUpdatedAt ¶
func (a *APICustomObject) GetUpdatedAt() time.Time
func (*APICustomObject) MarshalJSON ¶
func (a *APICustomObject) MarshalJSON() ([]byte, error)
func (*APICustomObject) SetCreatedAt ¶
func (a *APICustomObject) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*APICustomObject) SetCustomFields ¶
func (a *APICustomObject) SetCustomFields(customFields map[string]*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*APICustomObject) SetID ¶
func (a *APICustomObject) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*APICustomObject) SetName ¶
func (a *APICustomObject) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*APICustomObject) SetRelations ¶
func (a *APICustomObject) SetRelations(relations []*APIObjectRelation)
SetRelations sets the Relations field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*APICustomObject) SetType ¶
func (a *APICustomObject) SetType(type_ string)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*APICustomObject) SetUpdatedAt ¶
func (a *APICustomObject) SetUpdatedAt(updatedAt time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*APICustomObject) String ¶
func (a *APICustomObject) String() string
func (*APICustomObject) UnmarshalJSON ¶
func (a *APICustomObject) UnmarshalJSON(data []byte) error
type APIObjectRelation ¶
type APIObjectRelation struct {
// The ID of the related object.
ObjectID string `json:"object_id" url:"object_id"`
// The type of the related object (e.g. "account", "contact", "issue").
ObjectType string `json:"object_type" url:"object_type"`
// contains filtered or unexported fields
}
func (*APIObjectRelation) GetExtraProperties ¶
func (a *APIObjectRelation) GetExtraProperties() map[string]interface{}
func (*APIObjectRelation) GetObjectID ¶
func (a *APIObjectRelation) GetObjectID() string
func (*APIObjectRelation) GetObjectType ¶
func (a *APIObjectRelation) GetObjectType() string
func (*APIObjectRelation) MarshalJSON ¶
func (a *APIObjectRelation) MarshalJSON() ([]byte, error)
func (*APIObjectRelation) SetObjectID ¶
func (a *APIObjectRelation) SetObjectID(objectID string)
SetObjectID sets the ObjectID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*APIObjectRelation) SetObjectType ¶
func (a *APIObjectRelation) SetObjectType(objectType string)
SetObjectType sets the ObjectType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*APIObjectRelation) String ¶
func (a *APIObjectRelation) String() string
func (*APIObjectRelation) UnmarshalJSON ¶
func (a *APIObjectRelation) UnmarshalJSON(data []byte) error
type Account ¶
type Account struct {
// The IDs of accounts associated with this partner that the caller can read. Present only for partner accounts; an empty array indicates no visible associated accounts.
AssociatedAccountIDs []string `json:"associated_account_ids,omitempty" url:"associated_account_ids,omitempty"`
// Channels associated with the account.
Channels []*Channel `json:"channels,omitempty" url:"channels,omitempty"`
// The creation time of the account.
CreatedAt time.Time `json:"created_at" url:"created_at"`
CrmSettings *CrmSettings `json:"crm_settings,omitempty" url:"crm_settings,omitempty"`
// Custom fields associated with the account.
CustomFields map[string]*CustomFieldValue `json:"custom_fields,omitempty" url:"custom_fields,omitempty"`
// The primary domain of the account.
Domain *string `json:"domain,omitempty" url:"domain,omitempty"`
// The list of domains associated with the account.
Domains []string `json:"domains,omitempty" url:"domains,omitempty"`
// External IDs associated with the account.
ExternalIDs []*ExternalID `json:"external_ids,omitempty" url:"external_ids,omitempty"`
// The ID of the account.
ID string `json:"id" url:"id"`
// Whether the account is disabled.
IsDisabled bool `json:"is_disabled" url:"is_disabled"`
// The time of the latest customer activity.
LatestCustomerActivityTime string `json:"latest_customer_activity_time" url:"latest_customer_activity_time"`
// The time of the latest vendor activity.
LatestVendorActivityTime string `json:"latest_vendor_activity_time" url:"latest_vendor_activity_time"`
// The logo URL of the account.
LogoURL string `json:"logo_url" url:"logo_url"`
// The name of the account.
Name string `json:"name" url:"name"`
Owner *MiniUser `json:"owner,omitempty" url:"owner,omitempty"`
// The ID of this account's parent account, or null if it has no parent.
ParentAccountID *string `json:"parent_account_id,omitempty" url:"parent_account_id,omitempty"`
// The primary domain of the account.
PrimaryDomain *string `json:"primary_domain,omitempty" url:"primary_domain,omitempty"`
// The IDs of the subaccounts belonging to this account.
SubaccountIDs []string `json:"subaccount_ids,omitempty" url:"subaccount_ids,omitempty"`
// Tags associated with the account.
Tags []string `json:"tags,omitempty" url:"tags,omitempty"`
// The type of the account.
//
// Known values: `customer`, `internal`, `community`, `partner`. This list is not exhaustive.
Type string `json:"type" url:"type"`
// The time the account was last updated.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// contains filtered or unexported fields
}
func (*Account) GetAssociatedAccountIDs ¶
func (*Account) GetChannels ¶
func (*Account) GetCreatedAt ¶
func (*Account) GetCrmSettings ¶
func (a *Account) GetCrmSettings() *CrmSettings
func (*Account) GetCustomFields ¶
func (a *Account) GetCustomFields() map[string]*CustomFieldValue
func (*Account) GetDomains ¶
func (*Account) GetExternalIDs ¶
func (a *Account) GetExternalIDs() []*ExternalID
func (*Account) GetExtraProperties ¶
func (*Account) GetIsDisabled ¶
func (*Account) GetLatestCustomerActivityTime ¶
func (*Account) GetLatestVendorActivityTime ¶
func (*Account) GetLogoURL ¶
func (*Account) GetParentAccountID ¶
func (*Account) GetPrimaryDomain ¶
func (*Account) GetSubaccountIDs ¶
func (*Account) GetUpdatedAt ¶
func (*Account) MarshalJSON ¶
func (*Account) SetAssociatedAccountIDs ¶
SetAssociatedAccountIDs sets the AssociatedAccountIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetChannels ¶
SetChannels sets the Channels field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetCrmSettings ¶
func (a *Account) SetCrmSettings(crmSettings *CrmSettings)
SetCrmSettings sets the CrmSettings field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetCustomFields ¶
func (a *Account) SetCustomFields(customFields map[string]*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetDomain ¶
SetDomain sets the Domain field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetDomains ¶
SetDomains sets the Domains field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetExternalIDs ¶
func (a *Account) SetExternalIDs(externalIDs []*ExternalID)
SetExternalIDs sets the ExternalIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetIsDisabled ¶
SetIsDisabled sets the IsDisabled field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetLatestCustomerActivityTime ¶
SetLatestCustomerActivityTime sets the LatestCustomerActivityTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetLatestVendorActivityTime ¶
SetLatestVendorActivityTime sets the LatestVendorActivityTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetLogoURL ¶
SetLogoURL sets the LogoURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetName ¶
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetOwner ¶
SetOwner sets the Owner field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetParentAccountID ¶
SetParentAccountID sets the ParentAccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetPrimaryDomain ¶
SetPrimaryDomain sets the PrimaryDomain field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetSubaccountIDs ¶
SetSubaccountIDs sets the SubaccountIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetTags ¶
SetTags sets the Tags field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetType ¶
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) SetUpdatedAt ¶
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Account) UnmarshalJSON ¶
type AccountFile ¶
type AccountFile struct {
// When the file was uploaded, in RFC 3339 format.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// The file's MIME type.
FileType string `json:"file_type" url:"file_type"`
// The ID of the file.
ID string `json:"id" url:"id"`
// The file name.
Name string `json:"name" url:"name"`
// When the file was last replaced or renamed, in RFC 3339 format.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// The URL to download the file from.
URL string `json:"url" url:"url"`
// contains filtered or unexported fields
}
func (*AccountFile) GetCreatedAt ¶
func (a *AccountFile) GetCreatedAt() time.Time
func (*AccountFile) GetExtraProperties ¶
func (a *AccountFile) GetExtraProperties() map[string]interface{}
func (*AccountFile) GetFileType ¶
func (a *AccountFile) GetFileType() string
func (*AccountFile) GetID ¶
func (a *AccountFile) GetID() string
func (*AccountFile) GetName ¶
func (a *AccountFile) GetName() string
func (*AccountFile) GetURL ¶
func (a *AccountFile) GetURL() string
func (*AccountFile) GetUpdatedAt ¶
func (a *AccountFile) GetUpdatedAt() time.Time
func (*AccountFile) MarshalJSON ¶
func (a *AccountFile) MarshalJSON() ([]byte, error)
func (*AccountFile) SetCreatedAt ¶
func (a *AccountFile) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountFile) SetFileType ¶
func (a *AccountFile) SetFileType(fileType string)
SetFileType sets the FileType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountFile) SetID ¶
func (a *AccountFile) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountFile) SetName ¶
func (a *AccountFile) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountFile) SetURL ¶
func (a *AccountFile) SetURL(url string)
SetURL sets the URL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountFile) SetUpdatedAt ¶
func (a *AccountFile) SetUpdatedAt(updatedAt time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountFile) String ¶
func (a *AccountFile) String() string
func (*AccountFile) UnmarshalJSON ¶
func (a *AccountFile) UnmarshalJSON(data []byte) error
type AccountHighlight ¶
type AccountHighlight struct {
// The ID of the account this highlight belongs to.
AccountID string `json:"account_id" url:"account_id"`
// The HTML content of the highlight.
ContentHTML string `json:"content_html" url:"content_html"`
// The timestamp of when the highlight was created.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// The timestamp of when the highlight expires, if set.
ExpiresAt *time.Time `json:"expires_at,omitempty" url:"expires_at,omitempty"`
// The ID of the account highlight.
ID string `json:"id" url:"id"`
// The timestamp of when the highlight was last updated.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// contains filtered or unexported fields
}
func (*AccountHighlight) GetAccountID ¶
func (a *AccountHighlight) GetAccountID() string
func (*AccountHighlight) GetContentHTML ¶
func (a *AccountHighlight) GetContentHTML() string
func (*AccountHighlight) GetCreatedAt ¶
func (a *AccountHighlight) GetCreatedAt() time.Time
func (*AccountHighlight) GetExpiresAt ¶
func (a *AccountHighlight) GetExpiresAt() *time.Time
func (*AccountHighlight) GetExtraProperties ¶
func (a *AccountHighlight) GetExtraProperties() map[string]interface{}
func (*AccountHighlight) GetID ¶
func (a *AccountHighlight) GetID() string
func (*AccountHighlight) GetUpdatedAt ¶
func (a *AccountHighlight) GetUpdatedAt() time.Time
func (*AccountHighlight) MarshalJSON ¶
func (a *AccountHighlight) MarshalJSON() ([]byte, error)
func (*AccountHighlight) SetAccountID ¶
func (a *AccountHighlight) SetAccountID(accountID string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountHighlight) SetContentHTML ¶
func (a *AccountHighlight) SetContentHTML(contentHTML string)
SetContentHTML sets the ContentHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountHighlight) SetCreatedAt ¶
func (a *AccountHighlight) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountHighlight) SetExpiresAt ¶
func (a *AccountHighlight) SetExpiresAt(expiresAt *time.Time)
SetExpiresAt sets the ExpiresAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountHighlight) SetID ¶
func (a *AccountHighlight) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountHighlight) SetUpdatedAt ¶
func (a *AccountHighlight) SetUpdatedAt(updatedAt time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountHighlight) String ¶
func (a *AccountHighlight) String() string
func (*AccountHighlight) UnmarshalJSON ¶
func (a *AccountHighlight) UnmarshalJSON(data []byte) error
type AccountNotebookNote ¶
type AccountNotebookNote struct {
// The ID of the account that the note belongs to.
AccountID string `json:"account_id" url:"account_id"`
// The ID of the notebook block that contains the note.
BlockID string `json:"block_id" url:"block_id"`
// The HTML content of the note.
ContentHTML string `json:"content_html" url:"content_html"`
// The creation time of the note in RFC3339 format.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// The ID of the user who created the note, if available.
CreatedByUserID *string `json:"created_by_user_id,omitempty" url:"created_by_user_id,omitempty"`
// The ID of the note.
ID string `json:"id" url:"id"`
// The optional title of the note.
Title *string `json:"title,omitempty" url:"title,omitempty"`
// The last update time of the note in RFC3339 format.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// contains filtered or unexported fields
}
func (*AccountNotebookNote) GetAccountID ¶
func (a *AccountNotebookNote) GetAccountID() string
func (*AccountNotebookNote) GetBlockID ¶
func (a *AccountNotebookNote) GetBlockID() string
func (*AccountNotebookNote) GetContentHTML ¶
func (a *AccountNotebookNote) GetContentHTML() string
func (*AccountNotebookNote) GetCreatedAt ¶
func (a *AccountNotebookNote) GetCreatedAt() time.Time
func (*AccountNotebookNote) GetCreatedByUserID ¶
func (a *AccountNotebookNote) GetCreatedByUserID() *string
func (*AccountNotebookNote) GetExtraProperties ¶
func (a *AccountNotebookNote) GetExtraProperties() map[string]interface{}
func (*AccountNotebookNote) GetID ¶
func (a *AccountNotebookNote) GetID() string
func (*AccountNotebookNote) GetTitle ¶
func (a *AccountNotebookNote) GetTitle() *string
func (*AccountNotebookNote) GetUpdatedAt ¶
func (a *AccountNotebookNote) GetUpdatedAt() time.Time
func (*AccountNotebookNote) MarshalJSON ¶
func (a *AccountNotebookNote) MarshalJSON() ([]byte, error)
func (*AccountNotebookNote) SetAccountID ¶
func (a *AccountNotebookNote) SetAccountID(accountID string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountNotebookNote) SetBlockID ¶
func (a *AccountNotebookNote) SetBlockID(blockID string)
SetBlockID sets the BlockID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountNotebookNote) SetContentHTML ¶
func (a *AccountNotebookNote) SetContentHTML(contentHTML string)
SetContentHTML sets the ContentHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountNotebookNote) SetCreatedAt ¶
func (a *AccountNotebookNote) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountNotebookNote) SetCreatedByUserID ¶
func (a *AccountNotebookNote) SetCreatedByUserID(createdByUserID *string)
SetCreatedByUserID sets the CreatedByUserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountNotebookNote) SetID ¶
func (a *AccountNotebookNote) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountNotebookNote) SetTitle ¶
func (a *AccountNotebookNote) SetTitle(title *string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountNotebookNote) SetUpdatedAt ¶
func (a *AccountNotebookNote) SetUpdatedAt(updatedAt time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountNotebookNote) String ¶
func (a *AccountNotebookNote) String() string
func (*AccountNotebookNote) UnmarshalJSON ¶
func (a *AccountNotebookNote) UnmarshalJSON(data []byte) error
type AccountRelationship ¶
type AccountRelationship struct {
// The ID of the account on the child or client side of the relationship.
ChildAccountID string `json:"child_account_id" url:"child_account_id"`
// The creation time of the relationship.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// The ID of the relationship.
ID string `json:"id" url:"id"`
// The ID of the account on the parent or partner side of the relationship.
ParentAccountID string `json:"parent_account_id" url:"parent_account_id"`
// The ID of the related parent or partner account.
RelatedObjectID string `json:"related_object_id" url:"related_object_id"`
// The relationship type. One of "parent_account" or "partner_account".
RelationshipType string `json:"relationship_type" url:"relationship_type"`
// The time the relationship was last updated.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// contains filtered or unexported fields
}
func (*AccountRelationship) GetChildAccountID ¶
func (a *AccountRelationship) GetChildAccountID() string
func (*AccountRelationship) GetCreatedAt ¶
func (a *AccountRelationship) GetCreatedAt() time.Time
func (*AccountRelationship) GetExtraProperties ¶
func (a *AccountRelationship) GetExtraProperties() map[string]interface{}
func (*AccountRelationship) GetID ¶
func (a *AccountRelationship) GetID() string
func (*AccountRelationship) GetParentAccountID ¶
func (a *AccountRelationship) GetParentAccountID() string
func (*AccountRelationship) GetRelatedObjectID ¶
func (a *AccountRelationship) GetRelatedObjectID() string
func (*AccountRelationship) GetRelationshipType ¶
func (a *AccountRelationship) GetRelationshipType() string
func (*AccountRelationship) GetUpdatedAt ¶
func (a *AccountRelationship) GetUpdatedAt() time.Time
func (*AccountRelationship) MarshalJSON ¶
func (a *AccountRelationship) MarshalJSON() ([]byte, error)
func (*AccountRelationship) SetChildAccountID ¶
func (a *AccountRelationship) SetChildAccountID(childAccountID string)
SetChildAccountID sets the ChildAccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountRelationship) SetCreatedAt ¶
func (a *AccountRelationship) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountRelationship) SetID ¶
func (a *AccountRelationship) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountRelationship) SetParentAccountID ¶
func (a *AccountRelationship) SetParentAccountID(parentAccountID string)
SetParentAccountID sets the ParentAccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountRelationship) SetRelatedObjectID ¶
func (a *AccountRelationship) SetRelatedObjectID(relatedObjectID string)
SetRelatedObjectID sets the RelatedObjectID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountRelationship) SetRelationshipType ¶
func (a *AccountRelationship) SetRelationshipType(relationshipType string)
SetRelationshipType sets the RelationshipType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountRelationship) SetUpdatedAt ¶
func (a *AccountRelationship) SetUpdatedAt(updatedAt time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountRelationship) String ¶
func (a *AccountRelationship) String() string
func (*AccountRelationship) UnmarshalJSON ¶
func (a *AccountRelationship) UnmarshalJSON(data []byte) error
type AccountsBulkUpdateRequest ¶
type AccountsBulkUpdateRequest struct {
// The account IDs to update. The number of accounts to update must be between 1 and 100.
AccountIDs []string `json:"account_ids" url:"-"`
// The type of the account. Can only be changed to "customer" or "partner".
AccountType *UpdateAccountsRequestAccountType `json:"account_type,omitempty" url:"-"`
// An array of custom fields to be updated on the accounts.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// Whether the accounts are disabled.
IsDisabled *bool `json:"is_disabled,omitempty" url:"-"`
// The ID of the new owner. If empty string is passed in, the owner will be removed.
OwnerID *string `json:"owner_id,omitempty" url:"-"`
// An array of tags to be updated on the accounts.
Tags []string `json:"tags,omitempty" url:"-"`
// The mode for applying tags. Valid values: "append_only", "remove_only", "replace". Defaults to "replace".
TagsApplyMode *UpdateAccountsRequestTagsApplyMode `json:"tags_apply_mode,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*AccountsBulkUpdateRequest) MarshalJSON ¶
func (a *AccountsBulkUpdateRequest) MarshalJSON() ([]byte, error)
func (*AccountsBulkUpdateRequest) SetAccountIDs ¶
func (a *AccountsBulkUpdateRequest) SetAccountIDs(accountIDs []string)
SetAccountIDs sets the AccountIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsBulkUpdateRequest) SetAccountType ¶
func (a *AccountsBulkUpdateRequest) SetAccountType(accountType *UpdateAccountsRequestAccountType)
SetAccountType sets the AccountType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsBulkUpdateRequest) SetCustomFields ¶
func (a *AccountsBulkUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsBulkUpdateRequest) SetIsDisabled ¶
func (a *AccountsBulkUpdateRequest) SetIsDisabled(isDisabled *bool)
SetIsDisabled sets the IsDisabled field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsBulkUpdateRequest) SetOwnerID ¶
func (a *AccountsBulkUpdateRequest) SetOwnerID(ownerID *string)
SetOwnerID sets the OwnerID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsBulkUpdateRequest) SetTags ¶
func (a *AccountsBulkUpdateRequest) SetTags(tags []string)
SetTags sets the Tags field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsBulkUpdateRequest) SetTagsApplyMode ¶
func (a *AccountsBulkUpdateRequest) SetTagsApplyMode(tagsApplyMode *UpdateAccountsRequestTagsApplyMode)
SetTagsApplyMode sets the TagsApplyMode field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsBulkUpdateRequest) UnmarshalJSON ¶
func (a *AccountsBulkUpdateRequest) UnmarshalJSON(data []byte) error
type AccountsCreateRequest ¶
type AccountsCreateRequest struct {
// The type of the account. Must be one of "customer", "internal", "community", or "partner". Defaults to "customer" if not specified.
AccountType *CreateAccountRequestAccountType `json:"account_type,omitempty" url:"-"`
// An array of channels to be linked to this account.
Channels []*Channel `json:"channels,omitempty" url:"-"`
// An array of custom fields to be used on this account.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// Deprecated. Please use Domains and PrimaryDomain instead.
Domain *string `json:"domain,omitempty" url:"-"`
// The domains of the account, without any leading scheme, for example stripe.com. Must specify one domain as primary.
Domains []string `json:"domains,omitempty" url:"-"`
// An array of external IDs to be used on this account. If provided, the account's external IDs will be updated to the given external IDs.
ExternalIDs []*ExternalID `json:"external_ids,omitempty" url:"-"`
// The logo URL of the account. Must be a square .png, .jpg or .jpeg.
LogoURL *string `json:"logo_url,omitempty" url:"-"`
// The name of the account.
Name string `json:"name" url:"-"`
// The ID of the owner of the account.
OwnerID *string `json:"owner_id,omitempty" url:"-"`
// Must be in the list of domains. If there are any domains, there must be exactly one primary domain.
PrimaryDomain *string `json:"primary_domain,omitempty" url:"-"`
// An array of account IDs to be added as subaccounts to this account. For normal accounts, these represent subaccounts. For partner accounts, these represent associated accounts.
SubaccountIDs []string `json:"subaccount_ids,omitempty" url:"-"`
// An array of strings to use as tags on this account. If provided, the accounts tags will be updated to the given tags.
Tags []string `json:"tags,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*AccountsCreateRequest) MarshalJSON ¶
func (a *AccountsCreateRequest) MarshalJSON() ([]byte, error)
func (*AccountsCreateRequest) SetAccountType ¶
func (a *AccountsCreateRequest) SetAccountType(accountType *CreateAccountRequestAccountType)
SetAccountType sets the AccountType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsCreateRequest) SetChannels ¶
func (a *AccountsCreateRequest) SetChannels(channels []*Channel)
SetChannels sets the Channels field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsCreateRequest) SetCustomFields ¶
func (a *AccountsCreateRequest) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsCreateRequest) SetDomain ¶
func (a *AccountsCreateRequest) SetDomain(domain *string)
SetDomain sets the Domain field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsCreateRequest) SetDomains ¶
func (a *AccountsCreateRequest) SetDomains(domains []string)
SetDomains sets the Domains field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsCreateRequest) SetExternalIDs ¶
func (a *AccountsCreateRequest) SetExternalIDs(externalIDs []*ExternalID)
SetExternalIDs sets the ExternalIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsCreateRequest) SetLogoURL ¶
func (a *AccountsCreateRequest) SetLogoURL(logoURL *string)
SetLogoURL sets the LogoURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsCreateRequest) SetName ¶
func (a *AccountsCreateRequest) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsCreateRequest) SetOwnerID ¶
func (a *AccountsCreateRequest) SetOwnerID(ownerID *string)
SetOwnerID sets the OwnerID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsCreateRequest) SetPrimaryDomain ¶
func (a *AccountsCreateRequest) SetPrimaryDomain(primaryDomain *string)
SetPrimaryDomain sets the PrimaryDomain field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsCreateRequest) SetSubaccountIDs ¶
func (a *AccountsCreateRequest) SetSubaccountIDs(subaccountIDs []string)
SetSubaccountIDs sets the SubaccountIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsCreateRequest) SetTags ¶
func (a *AccountsCreateRequest) SetTags(tags []string)
SetTags sets the Tags field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsCreateRequest) UnmarshalJSON ¶
func (a *AccountsCreateRequest) UnmarshalJSON(data []byte) error
type AccountsDeleteRequest ¶
type AccountsDeleteRequest struct {
// The ID or external ID of the account to delete.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*AccountsDeleteRequest) SetID ¶
func (a *AccountsDeleteRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type AccountsGetRequest ¶
type AccountsGetRequest struct {
// The ID or external ID of the account to fetch.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*AccountsGetRequest) SetID ¶
func (a *AccountsGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type AccountsListFilesRequest ¶
type AccountsListFilesRequest struct {
// The ID or external ID of the account.
AccountID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*AccountsListFilesRequest) SetAccountID ¶
func (a *AccountsListFilesRequest) SetAccountID(accountID string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type AccountsListRequest ¶
type AccountsListRequest struct {
// The cursor to use for pagination.
Cursor *string `json:"-" url:"cursor,omitempty"`
// The number of accounts to fetch. Defaults to 100. Must be greater than 0 and less than 1000.
Limit *int64 `json:"-" url:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*AccountsListRequest) SetCursor ¶
func (a *AccountsListRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsListRequest) SetLimit ¶
func (a *AccountsListRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type AccountsMergeRequest ¶
type AccountsMergeRequest struct {
// The IDs of the accounts to merge into the surviving account. These accounts are permanently deleted after their data is transferred. The number of accounts to merge must be between 1 and 100.
MergeAccountIDs []string `json:"merge_account_ids" url:"-"`
// The ID of the account that will survive the merge and receive the merged data.
MergeIntoAccountID string `json:"merge_into_account_id" url:"-"`
// contains filtered or unexported fields
}
func (*AccountsMergeRequest) MarshalJSON ¶
func (a *AccountsMergeRequest) MarshalJSON() ([]byte, error)
func (*AccountsMergeRequest) SetMergeAccountIDs ¶
func (a *AccountsMergeRequest) SetMergeAccountIDs(mergeAccountIDs []string)
SetMergeAccountIDs sets the MergeAccountIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsMergeRequest) SetMergeIntoAccountID ¶
func (a *AccountsMergeRequest) SetMergeIntoAccountID(mergeIntoAccountID string)
SetMergeIntoAccountID sets the MergeIntoAccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsMergeRequest) UnmarshalJSON ¶
func (a *AccountsMergeRequest) UnmarshalJSON(data []byte) error
type AccountsSearchRequest ¶
type AccountsSearchRequest struct {
// The cursor to use for pagination.
Cursor *string `json:"cursor,omitempty" url:"-"`
Filter *Filter `json:"filter,omitempty" url:"-"`
// The number of accounts to fetch. Defaults to 100. Must be between 1 and 1000.
Limit *int64 `json:"limit,omitempty" url:"-"`
// Fuzzy text search. Results are intersected with any provided filter.
SearchText *string `json:"search_text,omitempty" url:"-"`
// The order of results, as a list of sort keys. Only one sort key is supported right now. Omit for the default order. Send the same sort with every page of a cursor.
Sort []*SearchAccountsSort `json:"sort,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*AccountsSearchRequest) MarshalJSON ¶
func (a *AccountsSearchRequest) MarshalJSON() ([]byte, error)
func (*AccountsSearchRequest) SetCursor ¶
func (a *AccountsSearchRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsSearchRequest) SetFilter ¶
func (a *AccountsSearchRequest) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsSearchRequest) SetLimit ¶
func (a *AccountsSearchRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsSearchRequest) SetSearchText ¶
func (a *AccountsSearchRequest) SetSearchText(searchText *string)
SetSearchText sets the SearchText field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsSearchRequest) SetSort ¶
func (a *AccountsSearchRequest) SetSort(sort []*SearchAccountsSort)
SetSort sets the Sort field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsSearchRequest) UnmarshalJSON ¶
func (a *AccountsSearchRequest) UnmarshalJSON(data []byte) error
type AccountsUpdateRequest ¶
type AccountsUpdateRequest struct {
// The ID or external ID of the account to update.
ID string `json:"-" url:"-"`
// The type of the account. Can only be changed to "customer" or "partner".
AccountType *UpdateAccountRequestBodyAccountType `json:"account_type,omitempty" url:"-"`
// An array of channels to be linked to this account. If provided, replaces the account's linked channels; channels you leave out are unlinked.
Channels []*Channel `json:"channels,omitempty" url:"-"`
// An array of custom fields to be used on this account.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// Domains of the account. Replaces the account's domains. Must specify one domain as primary.
Domains []string `json:"domains,omitempty" url:"-"`
// An array of external IDs to be used on this account. If provided, the account's external IDs will be updated to the given external IDs.
ExternalIDs []*ExternalID `json:"external_ids,omitempty" url:"-"`
// Whether the account is disabled.
IsDisabled *bool `json:"is_disabled,omitempty" url:"-"`
// Logo URL of the account.
LogoURL *string `json:"logo_url,omitempty" url:"-"`
// The name of the account.
Name *string `json:"name,omitempty" url:"-"`
// The ID of the owner of the account. If empty string is passed in, the owner will be removed.
OwnerID *string `json:"owner_id,omitempty" url:"-"`
// Must be in the list of domains. If there are any domains, there must be exactly one primary domain.
PrimaryDomain *string `json:"primary_domain,omitempty" url:"-"`
// An array of account IDs to set as this account's subaccounts. If provided, the account's subaccounts become exactly this list; accounts you leave out are detached.
SubaccountIDs []string `json:"subaccount_ids,omitempty" url:"-"`
// An array of strings to use as tags on this account, applied according to tags_apply_mode. By default the account's tags will be updated to the given tags.
Tags []string `json:"tags,omitempty" url:"-"`
// The mode for applying tags. Valid values: "append_only", "remove_only", "replace". Defaults to "replace".
TagsApplyMode *UpdateAccountRequestBodyTagsApplyMode `json:"tags_apply_mode,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*AccountsUpdateRequest) MarshalJSON ¶
func (a *AccountsUpdateRequest) MarshalJSON() ([]byte, error)
func (*AccountsUpdateRequest) SetAccountType ¶
func (a *AccountsUpdateRequest) SetAccountType(accountType *UpdateAccountRequestBodyAccountType)
SetAccountType sets the AccountType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsUpdateRequest) SetChannels ¶
func (a *AccountsUpdateRequest) SetChannels(channels []*Channel)
SetChannels sets the Channels field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsUpdateRequest) SetCustomFields ¶
func (a *AccountsUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsUpdateRequest) SetDomains ¶
func (a *AccountsUpdateRequest) SetDomains(domains []string)
SetDomains sets the Domains field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsUpdateRequest) SetExternalIDs ¶
func (a *AccountsUpdateRequest) SetExternalIDs(externalIDs []*ExternalID)
SetExternalIDs sets the ExternalIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsUpdateRequest) SetID ¶
func (a *AccountsUpdateRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsUpdateRequest) SetIsDisabled ¶
func (a *AccountsUpdateRequest) SetIsDisabled(isDisabled *bool)
SetIsDisabled sets the IsDisabled field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsUpdateRequest) SetLogoURL ¶
func (a *AccountsUpdateRequest) SetLogoURL(logoURL *string)
SetLogoURL sets the LogoURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsUpdateRequest) SetName ¶
func (a *AccountsUpdateRequest) SetName(name *string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsUpdateRequest) SetOwnerID ¶
func (a *AccountsUpdateRequest) SetOwnerID(ownerID *string)
SetOwnerID sets the OwnerID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsUpdateRequest) SetPrimaryDomain ¶
func (a *AccountsUpdateRequest) SetPrimaryDomain(primaryDomain *string)
SetPrimaryDomain sets the PrimaryDomain field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsUpdateRequest) SetSubaccountIDs ¶
func (a *AccountsUpdateRequest) SetSubaccountIDs(subaccountIDs []string)
SetSubaccountIDs sets the SubaccountIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsUpdateRequest) SetTags ¶
func (a *AccountsUpdateRequest) SetTags(tags []string)
SetTags sets the Tags field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsUpdateRequest) SetTagsApplyMode ¶
func (a *AccountsUpdateRequest) SetTagsApplyMode(tagsApplyMode *UpdateAccountRequestBodyTagsApplyMode)
SetTagsApplyMode sets the TagsApplyMode field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsUpdateRequest) UnmarshalJSON ¶
func (a *AccountsUpdateRequest) UnmarshalJSON(data []byte) error
type AccountsUploadFileRequest ¶
type AccountsUploadFileRequest struct {
// The ID or external ID of the account to upload files to.
AccountID string `json:"-" url:"-"`
File io.Reader `json:"-" url:"-"`
// The URL to fetch the file from, if the file is not provided.
FileURL *string `json:"file_url,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*AccountsUploadFileRequest) MarshalJSON ¶
func (a *AccountsUploadFileRequest) MarshalJSON() ([]byte, error)
func (*AccountsUploadFileRequest) SetAccountID ¶
func (a *AccountsUploadFileRequest) SetAccountID(accountID string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AccountsUploadFileRequest) UnmarshalJSON ¶
func (a *AccountsUploadFileRequest) UnmarshalJSON(data []byte) error
type ActiveTimeByUser ¶
type ActiveTimeByUser struct {
// The user's active time on the issue in seconds.
ActiveTimeSeconds int64 `json:"active_time_seconds" url:"active_time_seconds"`
// The user's business-hours active time on the issue in seconds.
BusinessHoursActiveTimeSeconds int64 `json:"business_hours_active_time_seconds" url:"business_hours_active_time_seconds"`
// The ID of the user who spent the time.
UserID string `json:"user_id" url:"user_id"`
// contains filtered or unexported fields
}
func (*ActiveTimeByUser) GetActiveTimeSeconds ¶
func (a *ActiveTimeByUser) GetActiveTimeSeconds() int64
func (*ActiveTimeByUser) GetBusinessHoursActiveTimeSeconds ¶
func (a *ActiveTimeByUser) GetBusinessHoursActiveTimeSeconds() int64
func (*ActiveTimeByUser) GetExtraProperties ¶
func (a *ActiveTimeByUser) GetExtraProperties() map[string]interface{}
func (*ActiveTimeByUser) GetUserID ¶
func (a *ActiveTimeByUser) GetUserID() string
func (*ActiveTimeByUser) MarshalJSON ¶
func (a *ActiveTimeByUser) MarshalJSON() ([]byte, error)
func (*ActiveTimeByUser) SetActiveTimeSeconds ¶
func (a *ActiveTimeByUser) SetActiveTimeSeconds(activeTimeSeconds int64)
SetActiveTimeSeconds sets the ActiveTimeSeconds field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ActiveTimeByUser) SetBusinessHoursActiveTimeSeconds ¶
func (a *ActiveTimeByUser) SetBusinessHoursActiveTimeSeconds(businessHoursActiveTimeSeconds int64)
SetBusinessHoursActiveTimeSeconds sets the BusinessHoursActiveTimeSeconds field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ActiveTimeByUser) SetUserID ¶
func (a *ActiveTimeByUser) SetUserID(userID string)
SetUserID sets the UserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ActiveTimeByUser) String ¶
func (a *ActiveTimeByUser) String() string
func (*ActiveTimeByUser) UnmarshalJSON ¶
func (a *ActiveTimeByUser) UnmarshalJSON(data []byte) error
type ActivityType ¶
type ActivityType struct {
// The icon url of the activity type.
IconURL string `json:"icon_url" url:"icon_url"`
// The ID of the activity type.
ID string `json:"id" url:"id"`
// The label of the activity type.
Label string `json:"label" url:"label"`
// The slug of the activity type.
Slug string `json:"slug" url:"slug"`
// contains filtered or unexported fields
}
func (*ActivityType) GetExtraProperties ¶
func (a *ActivityType) GetExtraProperties() map[string]interface{}
func (*ActivityType) GetID ¶
func (a *ActivityType) GetID() string
func (*ActivityType) GetIconURL ¶
func (a *ActivityType) GetIconURL() string
func (*ActivityType) GetLabel ¶
func (a *ActivityType) GetLabel() string
func (*ActivityType) GetSlug ¶
func (a *ActivityType) GetSlug() string
func (*ActivityType) MarshalJSON ¶
func (a *ActivityType) MarshalJSON() ([]byte, error)
func (*ActivityType) SetID ¶
func (a *ActivityType) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ActivityType) SetIconURL ¶
func (a *ActivityType) SetIconURL(iconURL string)
SetIconURL sets the IconURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ActivityType) SetLabel ¶
func (a *ActivityType) SetLabel(label string)
SetLabel sets the Label field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ActivityType) SetSlug ¶
func (a *ActivityType) SetSlug(slug string)
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ActivityType) String ¶
func (a *ActivityType) String() string
func (*ActivityType) UnmarshalJSON ¶
func (a *ActivityType) UnmarshalJSON(data []byte) error
type Actor ¶
type Actor struct {
Contact *MiniContact `json:"contact,omitempty" url:"contact,omitempty"`
User *MiniUser `json:"user,omitempty" url:"user,omitempty"`
// contains filtered or unexported fields
}
func (*Actor) GetContact ¶
func (a *Actor) GetContact() *MiniContact
func (*Actor) GetExtraProperties ¶
func (*Actor) MarshalJSON ¶
func (*Actor) SetContact ¶
func (a *Actor) SetContact(contact *MiniContact)
SetContact sets the Contact field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Actor) SetUser ¶
SetUser sets the User field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Actor) UnmarshalJSON ¶
type AddIssueFollowersResponseBody ¶
type AddIssueFollowersResponseBody struct {
// The data payload of the response.
Data []*Follower `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*AddIssueFollowersResponseBody) GetData ¶
func (a *AddIssueFollowersResponseBody) GetData() []*Follower
func (*AddIssueFollowersResponseBody) GetExtraProperties ¶
func (a *AddIssueFollowersResponseBody) GetExtraProperties() map[string]interface{}
func (*AddIssueFollowersResponseBody) GetRequestID ¶
func (a *AddIssueFollowersResponseBody) GetRequestID() string
func (*AddIssueFollowersResponseBody) MarshalJSON ¶
func (a *AddIssueFollowersResponseBody) MarshalJSON() ([]byte, error)
func (*AddIssueFollowersResponseBody) SetData ¶
func (a *AddIssueFollowersResponseBody) SetData(data []*Follower)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AddIssueFollowersResponseBody) SetRequestID ¶
func (a *AddIssueFollowersResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AddIssueFollowersResponseBody) String ¶
func (a *AddIssueFollowersResponseBody) String() string
func (*AddIssueFollowersResponseBody) UnmarshalJSON ¶
func (a *AddIssueFollowersResponseBody) UnmarshalJSON(data []byte) error
type Article ¶
type Article struct {
ApprovalInfo *ArticleApprovalInfo `json:"approval_info,omitempty" url:"approval_info,omitempty"`
// The ID of the user who authored the article.
AuthorUserID *string `json:"author_user_id,omitempty" url:"author_user_id,omitempty"`
// The ID of the collection this article belongs to, if any.
CollectionID *string `json:"collection_id,omitempty" url:"collection_id,omitempty"`
// The time the article was created.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// The current draft content of the article in HTML. This is the latest version, which may differ from the published version.
CurrentDraftContentHTML *string `json:"current_draft_content_html,omitempty" url:"current_draft_content_html,omitempty"`
// The current draft content of the article in markdown. This is the latest version, which may differ from the published version.
CurrentDraftContentMarkdown *string `json:"current_draft_content_markdown,omitempty" url:"current_draft_content_markdown,omitempty"`
// The current published content of the article in HTML.
CurrentPublishedContentHTML *string `json:"current_published_content_html,omitempty" url:"current_published_content_html,omitempty"`
// The current published content of the article in markdown.
CurrentPublishedContentMarkdown *string `json:"current_published_content_markdown,omitempty" url:"current_published_content_markdown,omitempty"`
// The ID of the article.
ID string `json:"id" url:"id"`
// The identifier of the article
Identifier string `json:"identifier" url:"identifier"`
// IsPublished indicates if the article is published.
IsPublished bool `json:"is_published" url:"is_published"`
// Whether the article is accessible only via a direct link.
IsUnlisted bool `json:"is_unlisted" url:"is_unlisted"`
// The time the article content was last edited.
LastEditedAt *time.Time `json:"last_edited_at,omitempty" url:"last_edited_at,omitempty"`
// The last published at time of the article.
LastPublishedAt *time.Time `json:"last_published_at,omitempty" url:"last_published_at,omitempty"`
// The slug of the article.
Slug string `json:"slug" url:"slug"`
// Tags assigned to the article.
Tags []*Tag `json:"tags,omitempty" url:"tags,omitempty"`
// The name of the article.
Title string `json:"title" url:"title"`
// The URL of the article.
URL string `json:"url" url:"url"`
VisibilityConfig *ArticleVisibilityConfig `json:"visibility_config,omitempty" url:"visibility_config,omitempty"`
// contains filtered or unexported fields
}
func (*Article) GetApprovalInfo ¶
func (a *Article) GetApprovalInfo() *ArticleApprovalInfo
func (*Article) GetAuthorUserID ¶
func (*Article) GetCollectionID ¶
func (*Article) GetCreatedAt ¶
func (*Article) GetCurrentDraftContentHTML ¶
func (*Article) GetCurrentDraftContentMarkdown ¶
func (*Article) GetCurrentPublishedContentHTML ¶
func (*Article) GetCurrentPublishedContentMarkdown ¶
func (*Article) GetExtraProperties ¶
func (*Article) GetIdentifier ¶
func (*Article) GetIsPublished ¶
func (*Article) GetIsUnlisted ¶
func (*Article) GetLastEditedAt ¶
func (*Article) GetLastPublishedAt ¶
func (*Article) GetVisibilityConfig ¶
func (a *Article) GetVisibilityConfig() *ArticleVisibilityConfig
func (*Article) MarshalJSON ¶
func (*Article) SetApprovalInfo ¶
func (a *Article) SetApprovalInfo(approvalInfo *ArticleApprovalInfo)
SetApprovalInfo sets the ApprovalInfo field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetAuthorUserID ¶
SetAuthorUserID sets the AuthorUserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetCollectionID ¶
SetCollectionID sets the CollectionID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetCurrentDraftContentHTML ¶
SetCurrentDraftContentHTML sets the CurrentDraftContentHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetCurrentDraftContentMarkdown ¶
SetCurrentDraftContentMarkdown sets the CurrentDraftContentMarkdown field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetCurrentPublishedContentHTML ¶
SetCurrentPublishedContentHTML sets the CurrentPublishedContentHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetCurrentPublishedContentMarkdown ¶
SetCurrentPublishedContentMarkdown sets the CurrentPublishedContentMarkdown field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetIdentifier ¶
SetIdentifier sets the Identifier field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetIsPublished ¶
SetIsPublished sets the IsPublished field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetIsUnlisted ¶
SetIsUnlisted sets the IsUnlisted field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetLastEditedAt ¶
SetLastEditedAt sets the LastEditedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetLastPublishedAt ¶
SetLastPublishedAt sets the LastPublishedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetSlug ¶
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetTags ¶
SetTags sets the Tags field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetTitle ¶
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetURL ¶
SetURL sets the URL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) SetVisibilityConfig ¶
func (a *Article) SetVisibilityConfig(visibilityConfig *ArticleVisibilityConfig)
SetVisibilityConfig sets the VisibilityConfig field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Article) UnmarshalJSON ¶
type ArticleApprovalInfo ¶
type ArticleApprovalInfo struct {
// The time a review was requested. Null if no review has been requested.
RequestedAt *time.Time `json:"requested_at,omitempty" url:"requested_at,omitempty"`
// The time the current review decision was made. Null if no review decision has been made.
ReviewedAt *time.Time `json:"reviewed_at,omitempty" url:"reviewed_at,omitempty"`
// The ID of the user who made the current review decision. Null if no review decision has been made.
ReviewedByUserID *string `json:"reviewed_by_user_id,omitempty" url:"reviewed_by_user_id,omitempty"`
// The approval status. Possible values: needs_review, changes_requested, approved.
Status string `json:"status" url:"status"`
// contains filtered or unexported fields
}
func (*ArticleApprovalInfo) GetExtraProperties ¶
func (a *ArticleApprovalInfo) GetExtraProperties() map[string]interface{}
func (*ArticleApprovalInfo) GetRequestedAt ¶
func (a *ArticleApprovalInfo) GetRequestedAt() *time.Time
func (*ArticleApprovalInfo) GetReviewedAt ¶
func (a *ArticleApprovalInfo) GetReviewedAt() *time.Time
func (*ArticleApprovalInfo) GetReviewedByUserID ¶
func (a *ArticleApprovalInfo) GetReviewedByUserID() *string
func (*ArticleApprovalInfo) GetStatus ¶
func (a *ArticleApprovalInfo) GetStatus() string
func (*ArticleApprovalInfo) MarshalJSON ¶
func (a *ArticleApprovalInfo) MarshalJSON() ([]byte, error)
func (*ArticleApprovalInfo) SetRequestedAt ¶
func (a *ArticleApprovalInfo) SetRequestedAt(requestedAt *time.Time)
SetRequestedAt sets the RequestedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleApprovalInfo) SetReviewedAt ¶
func (a *ArticleApprovalInfo) SetReviewedAt(reviewedAt *time.Time)
SetReviewedAt sets the ReviewedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleApprovalInfo) SetReviewedByUserID ¶
func (a *ArticleApprovalInfo) SetReviewedByUserID(reviewedByUserID *string)
SetReviewedByUserID sets the ReviewedByUserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleApprovalInfo) SetStatus ¶
func (a *ArticleApprovalInfo) SetStatus(status string)
SetStatus sets the Status field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleApprovalInfo) String ¶
func (a *ArticleApprovalInfo) String() string
func (*ArticleApprovalInfo) UnmarshalJSON ¶
func (a *ArticleApprovalInfo) UnmarshalJSON(data []byte) error
type ArticleFeedback ¶
type ArticleFeedback struct {
// The ID of the article that received the feedback.
ArticleID string `json:"article_id" url:"article_id"`
// The optional comment submitted with the feedback.
Comment *string `json:"comment,omitempty" url:"comment,omitempty"`
// The ID of the feedback submission.
ID string `json:"id" url:"id"`
// The ID of the knowledge base containing the article.
KnowledgeBaseID string `json:"knowledge_base_id" url:"knowledge_base_id"`
// The feedback score, from 1 (very unhelpful) to 5 (very helpful).
Score int64 `json:"score" url:"score"`
// The time the feedback was submitted, in RFC 3339 format.
SubmittedAt time.Time `json:"submitted_at" url:"submitted_at"`
Submitter *Actor `json:"submitter,omitempty" url:"submitter,omitempty"`
// The time the feedback was last updated, in RFC 3339 format.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// contains filtered or unexported fields
}
func (*ArticleFeedback) GetArticleID ¶
func (a *ArticleFeedback) GetArticleID() string
func (*ArticleFeedback) GetComment ¶
func (a *ArticleFeedback) GetComment() *string
func (*ArticleFeedback) GetExtraProperties ¶
func (a *ArticleFeedback) GetExtraProperties() map[string]interface{}
func (*ArticleFeedback) GetID ¶
func (a *ArticleFeedback) GetID() string
func (*ArticleFeedback) GetKnowledgeBaseID ¶
func (a *ArticleFeedback) GetKnowledgeBaseID() string
func (*ArticleFeedback) GetScore ¶
func (a *ArticleFeedback) GetScore() int64
func (*ArticleFeedback) GetSubmittedAt ¶
func (a *ArticleFeedback) GetSubmittedAt() time.Time
func (*ArticleFeedback) GetSubmitter ¶
func (a *ArticleFeedback) GetSubmitter() *Actor
func (*ArticleFeedback) GetUpdatedAt ¶
func (a *ArticleFeedback) GetUpdatedAt() time.Time
func (*ArticleFeedback) MarshalJSON ¶
func (a *ArticleFeedback) MarshalJSON() ([]byte, error)
func (*ArticleFeedback) SetArticleID ¶
func (a *ArticleFeedback) SetArticleID(articleID string)
SetArticleID sets the ArticleID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleFeedback) SetComment ¶
func (a *ArticleFeedback) SetComment(comment *string)
SetComment sets the Comment field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleFeedback) SetID ¶
func (a *ArticleFeedback) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleFeedback) SetKnowledgeBaseID ¶
func (a *ArticleFeedback) SetKnowledgeBaseID(knowledgeBaseID string)
SetKnowledgeBaseID sets the KnowledgeBaseID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleFeedback) SetScore ¶
func (a *ArticleFeedback) SetScore(score int64)
SetScore sets the Score field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleFeedback) SetSubmittedAt ¶
func (a *ArticleFeedback) SetSubmittedAt(submittedAt time.Time)
SetSubmittedAt sets the SubmittedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleFeedback) SetSubmitter ¶
func (a *ArticleFeedback) SetSubmitter(submitter *Actor)
SetSubmitter sets the Submitter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleFeedback) SetUpdatedAt ¶
func (a *ArticleFeedback) SetUpdatedAt(updatedAt time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleFeedback) String ¶
func (a *ArticleFeedback) String() string
func (*ArticleFeedback) UnmarshalJSON ¶
func (a *ArticleFeedback) UnmarshalJSON(data []byte) error
type ArticleFeedbackListRequest ¶
type ArticleFeedbackListRequest struct {
// The cursor to use for pagination.
Cursor *string `json:"-" url:"cursor,omitempty"`
// The number of feedback submissions to fetch. Defaults to 100. Must be greater than 0 and less than 1000.
Limit *int64 `json:"-" url:"limit,omitempty"`
// The ID of the knowledge base to filter by.
KnowledgeBaseID *string `json:"-" url:"knowledge_base_id,omitempty"`
// The ID of the article to filter by.
ArticleID *string `json:"-" url:"article_id,omitempty"`
// contains filtered or unexported fields
}
func (*ArticleFeedbackListRequest) SetArticleID ¶
func (a *ArticleFeedbackListRequest) SetArticleID(articleID *string)
SetArticleID sets the ArticleID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleFeedbackListRequest) SetCursor ¶
func (a *ArticleFeedbackListRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleFeedbackListRequest) SetKnowledgeBaseID ¶
func (a *ArticleFeedbackListRequest) SetKnowledgeBaseID(knowledgeBaseID *string)
SetKnowledgeBaseID sets the KnowledgeBaseID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleFeedbackListRequest) SetLimit ¶
func (a *ArticleFeedbackListRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type ArticleTranslationInput ¶
type ArticleTranslationInput struct {
// The translated HTML body of the article. Required unless body_markdown is set.
BodyHTML *string `json:"body_html,omitempty" url:"body_html,omitempty"`
// The translated body of the article in markdown, instead of body_html.
BodyMarkdown *string `json:"body_markdown,omitempty" url:"body_markdown,omitempty"`
// The language code of the translation, for example `fr`, `pt-br`, or `zh-cn`. See https://docs.usepylon.com/pylon-docs/knowledge-base/translations.
Language string `json:"language" url:"language"`
// The translated title of the article.
Title string `json:"title" url:"title"`
// contains filtered or unexported fields
}
func (*ArticleTranslationInput) GetBodyHTML ¶
func (a *ArticleTranslationInput) GetBodyHTML() *string
func (*ArticleTranslationInput) GetBodyMarkdown ¶
func (a *ArticleTranslationInput) GetBodyMarkdown() *string
func (*ArticleTranslationInput) GetExtraProperties ¶
func (a *ArticleTranslationInput) GetExtraProperties() map[string]interface{}
func (*ArticleTranslationInput) GetLanguage ¶
func (a *ArticleTranslationInput) GetLanguage() string
func (*ArticleTranslationInput) GetTitle ¶
func (a *ArticleTranslationInput) GetTitle() string
func (*ArticleTranslationInput) MarshalJSON ¶
func (a *ArticleTranslationInput) MarshalJSON() ([]byte, error)
func (*ArticleTranslationInput) SetBodyHTML ¶
func (a *ArticleTranslationInput) SetBodyHTML(bodyHTML *string)
SetBodyHTML sets the BodyHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleTranslationInput) SetBodyMarkdown ¶
func (a *ArticleTranslationInput) SetBodyMarkdown(bodyMarkdown *string)
SetBodyMarkdown sets the BodyMarkdown field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleTranslationInput) SetLanguage ¶
func (a *ArticleTranslationInput) SetLanguage(language string)
SetLanguage sets the Language field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleTranslationInput) SetTitle ¶
func (a *ArticleTranslationInput) SetTitle(title string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleTranslationInput) String ¶
func (a *ArticleTranslationInput) String() string
func (*ArticleTranslationInput) UnmarshalJSON ¶
func (a *ArticleTranslationInput) UnmarshalJSON(data []byte) error
type ArticleVisibilityConfig ¶
type ArticleVisibilityConfig struct {
// AI agent access control. Defaults to inherit from the parent scope when omitted.
AiAgentAccess *ArticleVisibilityConfigAiAgentAccess `json:"ai_agent_access,omitempty" url:"ai_agent_access,omitempty"`
// List of AI agent IDs that may access this resource when ai_agent_access is set to "specific_agents".
AllowedAgentIDs []string `json:"allowed_agent_ids,omitempty" url:"allowed_agent_ids,omitempty"`
CustomerVisibilityCondition *Filter `json:"customer_visibility_condition,omitempty" url:"customer_visibility_condition,omitempty"`
// Read-only. True when the article's customer visibility condition cannot be expressed in the
// API filter format. The condition still applies, but customer_visibility_condition is omitted.
CustomerVisibilityConditionUnsupported *bool `json:"customer_visibility_condition_unsupported,omitempty" url:"customer_visibility_condition_unsupported,omitempty"`
// The visibility setting.
Visibility *ArticleVisibilityConfigVisibility `json:"visibility,omitempty" url:"visibility,omitempty"`
// contains filtered or unexported fields
}
func (*ArticleVisibilityConfig) GetAiAgentAccess ¶
func (a *ArticleVisibilityConfig) GetAiAgentAccess() *ArticleVisibilityConfigAiAgentAccess
func (*ArticleVisibilityConfig) GetAllowedAgentIDs ¶
func (a *ArticleVisibilityConfig) GetAllowedAgentIDs() []string
func (*ArticleVisibilityConfig) GetCustomerVisibilityCondition ¶
func (a *ArticleVisibilityConfig) GetCustomerVisibilityCondition() *Filter
func (*ArticleVisibilityConfig) GetCustomerVisibilityConditionUnsupported ¶
func (a *ArticleVisibilityConfig) GetCustomerVisibilityConditionUnsupported() *bool
func (*ArticleVisibilityConfig) GetExtraProperties ¶
func (a *ArticleVisibilityConfig) GetExtraProperties() map[string]interface{}
func (*ArticleVisibilityConfig) GetVisibility ¶
func (a *ArticleVisibilityConfig) GetVisibility() *ArticleVisibilityConfigVisibility
func (*ArticleVisibilityConfig) MarshalJSON ¶
func (a *ArticleVisibilityConfig) MarshalJSON() ([]byte, error)
func (*ArticleVisibilityConfig) SetAiAgentAccess ¶
func (a *ArticleVisibilityConfig) SetAiAgentAccess(aiAgentAccess *ArticleVisibilityConfigAiAgentAccess)
SetAiAgentAccess sets the AiAgentAccess field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleVisibilityConfig) SetAllowedAgentIDs ¶
func (a *ArticleVisibilityConfig) SetAllowedAgentIDs(allowedAgentIDs []string)
SetAllowedAgentIDs sets the AllowedAgentIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleVisibilityConfig) SetCustomerVisibilityCondition ¶
func (a *ArticleVisibilityConfig) SetCustomerVisibilityCondition(customerVisibilityCondition *Filter)
SetCustomerVisibilityCondition sets the CustomerVisibilityCondition field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleVisibilityConfig) SetCustomerVisibilityConditionUnsupported ¶
func (a *ArticleVisibilityConfig) SetCustomerVisibilityConditionUnsupported(customerVisibilityConditionUnsupported *bool)
SetCustomerVisibilityConditionUnsupported sets the CustomerVisibilityConditionUnsupported field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleVisibilityConfig) SetVisibility ¶
func (a *ArticleVisibilityConfig) SetVisibility(visibility *ArticleVisibilityConfigVisibility)
SetVisibility sets the Visibility field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ArticleVisibilityConfig) String ¶
func (a *ArticleVisibilityConfig) String() string
func (*ArticleVisibilityConfig) UnmarshalJSON ¶
func (a *ArticleVisibilityConfig) UnmarshalJSON(data []byte) error
type ArticleVisibilityConfigAiAgentAccess ¶
type ArticleVisibilityConfigAiAgentAccess string
AI agent access control. Defaults to inherit from the parent scope when omitted.
const ( ArticleVisibilityConfigAiAgentAccessInherit ArticleVisibilityConfigAiAgentAccess = "inherit" ArticleVisibilityConfigAiAgentAccessNone ArticleVisibilityConfigAiAgentAccess = "none" ArticleVisibilityConfigAiAgentAccessSpecificAgents ArticleVisibilityConfigAiAgentAccess = "specific_agents" )
func NewArticleVisibilityConfigAiAgentAccessFromString ¶
func NewArticleVisibilityConfigAiAgentAccessFromString(s string) (ArticleVisibilityConfigAiAgentAccess, error)
type ArticleVisibilityConfigVisibility ¶
type ArticleVisibilityConfigVisibility string
The visibility setting.
const ( ArticleVisibilityConfigVisibilityPublic ArticleVisibilityConfigVisibility = "public" ArticleVisibilityConfigVisibilityCustomer ArticleVisibilityConfigVisibility = "customer" ArticleVisibilityConfigVisibilityInternalOnly ArticleVisibilityConfigVisibility = "internal_only" )
func NewArticleVisibilityConfigVisibilityFromString ¶
func NewArticleVisibilityConfigVisibilityFromString(s string) (ArticleVisibilityConfigVisibility, error)
func (ArticleVisibilityConfigVisibility) Ptr ¶
func (a ArticleVisibilityConfigVisibility) Ptr() *ArticleVisibilityConfigVisibility
type Attachment ¶
type Attachment struct {
// The description of the attachment.
Description string `json:"description" url:"description"`
// The ID of the attachment.
ID string `json:"id" url:"id"`
// The name of the attachment.
Name string `json:"name" url:"name"`
// The URL of the attachment.
URL string `json:"url" url:"url"`
// contains filtered or unexported fields
}
func (*Attachment) GetDescription ¶
func (a *Attachment) GetDescription() string
func (*Attachment) GetExtraProperties ¶
func (a *Attachment) GetExtraProperties() map[string]interface{}
func (*Attachment) GetID ¶
func (a *Attachment) GetID() string
func (*Attachment) GetName ¶
func (a *Attachment) GetName() string
func (*Attachment) GetURL ¶
func (a *Attachment) GetURL() string
func (*Attachment) MarshalJSON ¶
func (a *Attachment) MarshalJSON() ([]byte, error)
func (*Attachment) SetDescription ¶
func (a *Attachment) SetDescription(description string)
SetDescription sets the Description field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Attachment) SetID ¶
func (a *Attachment) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Attachment) SetName ¶
func (a *Attachment) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Attachment) SetURL ¶
func (a *Attachment) SetURL(url string)
SetURL sets the URL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Attachment) String ¶
func (a *Attachment) String() string
func (*Attachment) UnmarshalJSON ¶
func (a *Attachment) UnmarshalJSON(data []byte) error
type AttachmentsCreateRequest ¶
type AttachmentsCreateRequest struct {
File io.Reader `json:"-" url:"-"`
// The description of the file.
Description *string `json:"description,omitempty" url:"-"`
// The URL to fetch the file from. Ignored when `file` is also sent. Fetched files up to 100 MB (104,857,600 bytes) are supported. Larger files may be rejected and should be shared using an externally hosted link.
FileURL *string `json:"file_url,omitempty" url:"-"`
// contains filtered or unexported fields
}
type AuditLog ¶
type AuditLog struct {
// The action that was performed.
Action string `json:"action" url:"action"`
// The time at which the action happened.
ActionHappenedAt time.Time `json:"action_happened_at" url:"action_happened_at"`
// The ID of the contact who performed the action, if applicable.
ActorContactID *string `json:"actor_contact_id,omitempty" url:"actor_contact_id,omitempty"`
// The ID of the user who performed the action, if applicable.
ActorUserID *string `json:"actor_user_id,omitempty" url:"actor_user_id,omitempty"`
// Key-value attributes associated with the audit log.
Attributes map[string]string `json:"attributes,omitempty" url:"attributes,omitempty"`
// The time at which the audit log was created.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// The ID of the audit log.
ID string `json:"id" url:"id"`
// The link associated with the audit log, if applicable.
Link *string `json:"link,omitempty" url:"link,omitempty"`
// Additional metadata associated with the audit log. The structure varies based on the action type.
Metadata map[string]any `json:"metadata,omitempty" url:"metadata,omitempty"`
// The ID of the object that the audit log is for.
ObjectID string `json:"object_id" url:"object_id"`
// The type of object that the audit log is for.
ObjectType string `json:"object_type" url:"object_type"`
// The source of the audit log.
Source string `json:"source" url:"source"`
// contains filtered or unexported fields
}
func (*AuditLog) GetActionHappenedAt ¶
func (*AuditLog) GetActorContactID ¶
func (*AuditLog) GetActorUserID ¶
func (*AuditLog) GetAttributes ¶
func (*AuditLog) GetCreatedAt ¶
func (*AuditLog) GetExtraProperties ¶
func (*AuditLog) GetMetadata ¶
func (*AuditLog) GetObjectID ¶
func (*AuditLog) GetObjectType ¶
func (*AuditLog) MarshalJSON ¶
func (*AuditLog) SetAction ¶
SetAction sets the Action field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AuditLog) SetActionHappenedAt ¶
SetActionHappenedAt sets the ActionHappenedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AuditLog) SetActorContactID ¶
SetActorContactID sets the ActorContactID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AuditLog) SetActorUserID ¶
SetActorUserID sets the ActorUserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AuditLog) SetAttributes ¶
SetAttributes sets the Attributes field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AuditLog) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AuditLog) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AuditLog) SetLink ¶
SetLink sets the Link field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AuditLog) SetMetadata ¶
SetMetadata sets the Metadata field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AuditLog) SetObjectID ¶
SetObjectID sets the ObjectID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AuditLog) SetObjectType ¶
SetObjectType sets the ObjectType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AuditLog) SetSource ¶
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AuditLog) UnmarshalJSON ¶
type AuditLogsListRequest ¶
type AuditLogsListRequest struct {
// The cursor to use for pagination.
Cursor *string `json:"-" url:"cursor,omitempty"`
// The number of audit logs to fetch. Defaults to 100. Must be greater than 0 and less than 1000.
Limit *int64 `json:"-" url:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*AuditLogsListRequest) SetCursor ¶
func (a *AuditLogsListRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AuditLogsListRequest) SetLimit ¶
func (a *AuditLogsListRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type AuditLogsSearchRequest ¶
type AuditLogsSearchRequest struct {
// The cursor to use for pagination.
Cursor *string `json:"cursor,omitempty" url:"-"`
Filter *Filter `json:"filter,omitempty" url:"-"`
// The number of audit logs to fetch. Defaults to 100. Must be greater than 0 and less than 1000.
Limit *int64 `json:"limit,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*AuditLogsSearchRequest) MarshalJSON ¶
func (a *AuditLogsSearchRequest) MarshalJSON() ([]byte, error)
func (*AuditLogsSearchRequest) SetCursor ¶
func (a *AuditLogsSearchRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AuditLogsSearchRequest) SetFilter ¶
func (a *AuditLogsSearchRequest) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AuditLogsSearchRequest) SetLimit ¶
func (a *AuditLogsSearchRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*AuditLogsSearchRequest) UnmarshalJSON ¶
func (a *AuditLogsSearchRequest) UnmarshalJSON(data []byte) error
type BadRequestError ¶
type BadRequestError struct {
*core.APIError
Body *ErrorAPIResponseBody
}
The request was invalid or could not be completed.
func (*BadRequestError) GetBody ¶
func (b *BadRequestError) GetBody() *ErrorAPIResponseBody
func (*BadRequestError) MarshalJSON ¶
func (b *BadRequestError) MarshalJSON() ([]byte, error)
func (*BadRequestError) UnmarshalJSON ¶
func (b *BadRequestError) UnmarshalJSON(data []byte) error
func (*BadRequestError) Unwrap ¶
func (b *BadRequestError) Unwrap() error
type BulkIssueResult ¶
type BulkIssueResult struct {
// The issues the operation was not applied to, with the reason for each.
SkippedIssues []*SkippedIssue `json:"skipped_issues,omitempty" url:"skipped_issues,omitempty"`
// The issues the operation was applied to.
SucceededIssueIDs []string `json:"succeeded_issue_ids,omitempty" url:"succeeded_issue_ids,omitempty"`
// contains filtered or unexported fields
}
func (*BulkIssueResult) GetExtraProperties ¶
func (b *BulkIssueResult) GetExtraProperties() map[string]interface{}
func (*BulkIssueResult) GetSkippedIssues ¶
func (b *BulkIssueResult) GetSkippedIssues() []*SkippedIssue
func (*BulkIssueResult) GetSucceededIssueIDs ¶
func (b *BulkIssueResult) GetSucceededIssueIDs() []string
func (*BulkIssueResult) MarshalJSON ¶
func (b *BulkIssueResult) MarshalJSON() ([]byte, error)
func (*BulkIssueResult) SetSkippedIssues ¶
func (b *BulkIssueResult) SetSkippedIssues(skippedIssues []*SkippedIssue)
SetSkippedIssues sets the SkippedIssues field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*BulkIssueResult) SetSucceededIssueIDs ¶
func (b *BulkIssueResult) SetSucceededIssueIDs(succeededIssueIDs []string)
SetSucceededIssueIDs sets the SucceededIssueIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*BulkIssueResult) String ¶
func (b *BulkIssueResult) String() string
func (*BulkIssueResult) UnmarshalJSON ¶
func (b *BulkIssueResult) UnmarshalJSON(data []byte) error
type CallRecording ¶
type CallRecording struct {
// The account ID associated with the call recording.
AccountID *string `json:"account_id,omitempty" url:"account_id,omitempty"`
// The calendar event ID associated with the call recording.
CalendarEventID *string `json:"calendar_event_id,omitempty" url:"calendar_event_id,omitempty"`
// The creation time of the call recording in RFC3339 format.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// Custom fields associated with the call recording.
CustomFields map[string]*CustomFieldValue `json:"custom_fields,omitempty" url:"custom_fields,omitempty"`
// The duration of the call recording in milliseconds.
DurationMs int64 `json:"duration_ms" url:"duration_ms"`
// The end time of the call recording in RFC3339 format.
EndTime time.Time `json:"end_time" url:"end_time"`
// The external ID of the call recording from the source system.
ExternalID string `json:"external_id" url:"external_id"`
// The ID of the call recording.
ID string `json:"id" url:"id"`
// The participant emails of the call recording.
ParticipantEmails []string `json:"participant_emails,omitempty" url:"participant_emails,omitempty"`
// The source of the call recording (e.g. fathom, gong, grain, granola, custom_call_recorder).
Source string `json:"source" url:"source"`
// The start time of the call recording in RFC3339 format.
StartTime time.Time `json:"start_time" url:"start_time"`
// The summary of the call recording.
Summary string `json:"summary" url:"summary"`
// The title of the call recording.
Title string `json:"title" url:"title"`
// The last update time of the call recording in RFC3339 format.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// The URL of the call recording.
URL string `json:"url" url:"url"`
// contains filtered or unexported fields
}
func (*CallRecording) GetAccountID ¶
func (c *CallRecording) GetAccountID() *string
func (*CallRecording) GetCalendarEventID ¶
func (c *CallRecording) GetCalendarEventID() *string
func (*CallRecording) GetCreatedAt ¶
func (c *CallRecording) GetCreatedAt() time.Time
func (*CallRecording) GetCustomFields ¶
func (c *CallRecording) GetCustomFields() map[string]*CustomFieldValue
func (*CallRecording) GetDurationMs ¶
func (c *CallRecording) GetDurationMs() int64
func (*CallRecording) GetEndTime ¶
func (c *CallRecording) GetEndTime() time.Time
func (*CallRecording) GetExternalID ¶
func (c *CallRecording) GetExternalID() string
func (*CallRecording) GetExtraProperties ¶
func (c *CallRecording) GetExtraProperties() map[string]interface{}
func (*CallRecording) GetID ¶
func (c *CallRecording) GetID() string
func (*CallRecording) GetParticipantEmails ¶
func (c *CallRecording) GetParticipantEmails() []string
func (*CallRecording) GetSource ¶
func (c *CallRecording) GetSource() string
func (*CallRecording) GetStartTime ¶
func (c *CallRecording) GetStartTime() time.Time
func (*CallRecording) GetSummary ¶
func (c *CallRecording) GetSummary() string
func (*CallRecording) GetTitle ¶
func (c *CallRecording) GetTitle() string
func (*CallRecording) GetURL ¶
func (c *CallRecording) GetURL() string
func (*CallRecording) GetUpdatedAt ¶
func (c *CallRecording) GetUpdatedAt() time.Time
func (*CallRecording) MarshalJSON ¶
func (c *CallRecording) MarshalJSON() ([]byte, error)
func (*CallRecording) SetAccountID ¶
func (c *CallRecording) SetAccountID(accountID *string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecording) SetCalendarEventID ¶
func (c *CallRecording) SetCalendarEventID(calendarEventID *string)
SetCalendarEventID sets the CalendarEventID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecording) SetCreatedAt ¶
func (c *CallRecording) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecording) SetCustomFields ¶
func (c *CallRecording) SetCustomFields(customFields map[string]*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecording) SetDurationMs ¶
func (c *CallRecording) SetDurationMs(durationMs int64)
SetDurationMs sets the DurationMs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecording) SetEndTime ¶
func (c *CallRecording) SetEndTime(endTime time.Time)
SetEndTime sets the EndTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecording) SetExternalID ¶
func (c *CallRecording) SetExternalID(externalID string)
SetExternalID sets the ExternalID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecording) SetID ¶
func (c *CallRecording) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecording) SetParticipantEmails ¶
func (c *CallRecording) SetParticipantEmails(participantEmails []string)
SetParticipantEmails sets the ParticipantEmails field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecording) SetSource ¶
func (c *CallRecording) SetSource(source string)
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecording) SetStartTime ¶
func (c *CallRecording) SetStartTime(startTime time.Time)
SetStartTime sets the StartTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecording) SetSummary ¶
func (c *CallRecording) SetSummary(summary string)
SetSummary sets the Summary field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecording) SetTitle ¶
func (c *CallRecording) SetTitle(title string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecording) SetURL ¶
func (c *CallRecording) SetURL(url string)
SetURL sets the URL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecording) SetUpdatedAt ¶
func (c *CallRecording) SetUpdatedAt(updatedAt time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecording) String ¶
func (c *CallRecording) String() string
func (*CallRecording) UnmarshalJSON ¶
func (c *CallRecording) UnmarshalJSON(data []byte) error
type CallRecordingsCreateRequest ¶
type CallRecordingsCreateRequest struct {
// The ID of the account to link this call recording to. If provided, the participant emails are not used for account matching, and an unknown ID returns 400. If omitted, Pylon matches an account from the participant emails, ignoring your organization's own domains; the recording is created without an account if none matches.
AccountID *string `json:"account_id,omitempty" url:"-"`
// The source of the recording. Must be `custom_call_recorder`, which requires the Custom Call Recorder integration to be enabled.
AppType CreateCallRecordingRequestAppType `json:"app_type" url:"-"`
// The transcript, one entry per utterance. `custom_call_recorder` takes its transcript only from this field and ignores a plain-text transcript.
CallRecordingMessages []*CreateCallRecordingMessageRequest `json:"call_recording_messages" url:"-"`
// Custom fields to set on the call recording. Use slugs from GET /custom-fields?object_type=meeting. Each entry needs a slug and either value or values, not both.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// When the call ended, in RFC3339 format (e.g. 2025-01-01T01:00:00Z).
EndTime time.Time `json:"end_time" url:"-"`
// Comma-separated emails of everyone on the call (e.g. "alice@customer.com,bob@yourcompany.com"). Used to match the account when account_id is omitted. Every speaker_email in call_recording_messages must be in this list or match primary_user_email.
ParticipantEmails *string `json:"participant_emails,omitempty" url:"-"`
// The email of the Pylon user who owns the recording. Counted as a participant, so it does not need to be repeated in participant_emails.
PrimaryUserEmail *string `json:"primary_user_email,omitempty" url:"-"`
// Your unique ID for this recording. Pylon deduplicates on recording_id and app_type: a request that reuses a recording_id returns the existing recording unchanged. Send a unique value for every call; if you omit it, every request after the first returns the same recording.
RecordingID *string `json:"recording_id,omitempty" url:"-"`
// A link to the recording in your call recorder. Maximum 255 characters.
RecordingURL *string `json:"recording_url,omitempty" url:"-"`
// When the call started, in RFC3339 format (e.g. 2025-01-01T00:00:00Z).
StartTime time.Time `json:"start_time" url:"-"`
// The title of the call recording.
Title *string `json:"title,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*CallRecordingsCreateRequest) MarshalJSON ¶
func (c *CallRecordingsCreateRequest) MarshalJSON() ([]byte, error)
func (*CallRecordingsCreateRequest) SetAccountID ¶
func (c *CallRecordingsCreateRequest) SetAccountID(accountID *string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsCreateRequest) SetAppType ¶
func (c *CallRecordingsCreateRequest) SetAppType(appType CreateCallRecordingRequestAppType)
SetAppType sets the AppType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsCreateRequest) SetCallRecordingMessages ¶
func (c *CallRecordingsCreateRequest) SetCallRecordingMessages(callRecordingMessages []*CreateCallRecordingMessageRequest)
SetCallRecordingMessages sets the CallRecordingMessages field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsCreateRequest) SetCustomFields ¶
func (c *CallRecordingsCreateRequest) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsCreateRequest) SetEndTime ¶
func (c *CallRecordingsCreateRequest) SetEndTime(endTime time.Time)
SetEndTime sets the EndTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsCreateRequest) SetParticipantEmails ¶
func (c *CallRecordingsCreateRequest) SetParticipantEmails(participantEmails *string)
SetParticipantEmails sets the ParticipantEmails field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsCreateRequest) SetPrimaryUserEmail ¶
func (c *CallRecordingsCreateRequest) SetPrimaryUserEmail(primaryUserEmail *string)
SetPrimaryUserEmail sets the PrimaryUserEmail field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsCreateRequest) SetRecordingID ¶
func (c *CallRecordingsCreateRequest) SetRecordingID(recordingID *string)
SetRecordingID sets the RecordingID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsCreateRequest) SetRecordingURL ¶
func (c *CallRecordingsCreateRequest) SetRecordingURL(recordingURL *string)
SetRecordingURL sets the RecordingURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsCreateRequest) SetStartTime ¶
func (c *CallRecordingsCreateRequest) SetStartTime(startTime time.Time)
SetStartTime sets the StartTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsCreateRequest) SetTitle ¶
func (c *CallRecordingsCreateRequest) SetTitle(title *string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsCreateRequest) UnmarshalJSON ¶
func (c *CallRecordingsCreateRequest) UnmarshalJSON(data []byte) error
type CallRecordingsDeleteRequest ¶
type CallRecordingsDeleteRequest struct {
// The Pylon ID of the call recording to delete.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*CallRecordingsDeleteRequest) SetID ¶
func (c *CallRecordingsDeleteRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type CallRecordingsGetRequest ¶
type CallRecordingsGetRequest struct {
// The ID of the call recording to fetch.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*CallRecordingsGetRequest) SetID ¶
func (c *CallRecordingsGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type CallRecordingsSearchRequest ¶
type CallRecordingsSearchRequest struct {
// The cursor to use for pagination.
Cursor *string `json:"cursor,omitempty" url:"-"`
Filter *Filter `json:"filter,omitempty" url:"-"`
// The number of call recordings to fetch. Defaults to 100. Must be greater than 0 and less than or equal to 1000.
Limit *int64 `json:"limit,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*CallRecordingsSearchRequest) MarshalJSON ¶
func (c *CallRecordingsSearchRequest) MarshalJSON() ([]byte, error)
func (*CallRecordingsSearchRequest) SetCursor ¶
func (c *CallRecordingsSearchRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsSearchRequest) SetFilter ¶
func (c *CallRecordingsSearchRequest) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsSearchRequest) SetLimit ¶
func (c *CallRecordingsSearchRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsSearchRequest) UnmarshalJSON ¶
func (c *CallRecordingsSearchRequest) UnmarshalJSON(data []byte) error
type CallRecordingsUpdateRequest ¶
type CallRecordingsUpdateRequest struct {
// The ID of the call recording to update.
ID string `json:"-" url:"-"`
// The account ID to associate with the call recording. Pass an empty string to remove the account association.
AccountID *string `json:"account_id,omitempty" url:"-"`
// An array of custom fields to set on the call recording. Only passed in fields will be modified.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*CallRecordingsUpdateRequest) MarshalJSON ¶
func (c *CallRecordingsUpdateRequest) MarshalJSON() ([]byte, error)
func (*CallRecordingsUpdateRequest) SetAccountID ¶
func (c *CallRecordingsUpdateRequest) SetAccountID(accountID *string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsUpdateRequest) SetCustomFields ¶
func (c *CallRecordingsUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsUpdateRequest) SetID ¶
func (c *CallRecordingsUpdateRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CallRecordingsUpdateRequest) UnmarshalJSON ¶
func (c *CallRecordingsUpdateRequest) UnmarshalJSON(data []byte) error
type Channel ¶
type Channel struct {
// The ID of the channel. If this is a Microsoft Teams channel, the ID must be in the format of `{team_id}|{channel_id}`.
ChannelID *string `json:"channel_id,omitempty" url:"channel_id,omitempty"`
// The human-readable name of the channel. On account create or update, it is saved only for channels from a custom issue source and ignored for all other sources.
ChannelName *string `json:"channel_name,omitempty" url:"channel_name,omitempty"`
// The direct URL to the channel in its source app, if available.
ChannelURL *string `json:"channel_url,omitempty" url:"channel_url,omitempty"`
// Whether this is an internal channel (e.g., a triage channel) as opposed to a customer-facing channel.
IsInternal *bool `json:"is_internal,omitempty" url:"is_internal,omitempty"`
// Whether this channel is the primary channel for the account.
IsPrimary *bool `json:"is_primary,omitempty" url:"is_primary,omitempty"`
MirrorTo *MirrorChannel `json:"mirror_to,omitempty" url:"mirror_to,omitempty"`
// The channel source. This can be any supported integration source, or a custom issue source's slug or ID. A custom issue source ID is stored and returned as the source's slug.
Source *string `json:"source,omitempty" url:"source,omitempty"`
// contains filtered or unexported fields
}
func (*Channel) GetChannelID ¶
func (*Channel) GetChannelName ¶
func (*Channel) GetChannelURL ¶
func (*Channel) GetExtraProperties ¶
func (*Channel) GetIsInternal ¶
func (*Channel) GetIsPrimary ¶
func (*Channel) GetMirrorTo ¶
func (c *Channel) GetMirrorTo() *MirrorChannel
func (*Channel) MarshalJSON ¶
func (*Channel) SetChannelID ¶
SetChannelID sets the ChannelID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Channel) SetChannelName ¶
SetChannelName sets the ChannelName field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Channel) SetChannelURL ¶
SetChannelURL sets the ChannelURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Channel) SetIsInternal ¶
SetIsInternal sets the IsInternal field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Channel) SetIsPrimary ¶
SetIsPrimary sets the IsPrimary field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Channel) SetMirrorTo ¶
func (c *Channel) SetMirrorTo(mirrorTo *MirrorChannel)
SetMirrorTo sets the MirrorTo field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Channel) SetSource ¶
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Channel) UnmarshalJSON ¶
type Collection ¶
type Collection struct {
// The created at time of the collection.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// The description of the collection.
Description string `json:"description" url:"description"`
// The icon of the collection.
Icon *string `json:"icon,omitempty" url:"icon,omitempty"`
// The ID of the collection.
ID string `json:"id" url:"id"`
// The ID of the parent collection.
ParentCollectionID *string `json:"parent_collection_id,omitempty" url:"parent_collection_id,omitempty"`
// The slug of the collection.
Slug string `json:"slug" url:"slug"`
// The name of the collection.
Title string `json:"title" url:"title"`
VisibilityConfig *CollectionVisibilityConfig `json:"visibility_config,omitempty" url:"visibility_config,omitempty"`
// contains filtered or unexported fields
}
func (*Collection) GetCreatedAt ¶
func (c *Collection) GetCreatedAt() time.Time
func (*Collection) GetDescription ¶
func (c *Collection) GetDescription() string
func (*Collection) GetExtraProperties ¶
func (c *Collection) GetExtraProperties() map[string]interface{}
func (*Collection) GetID ¶
func (c *Collection) GetID() string
func (*Collection) GetIcon ¶
func (c *Collection) GetIcon() *string
func (*Collection) GetParentCollectionID ¶
func (c *Collection) GetParentCollectionID() *string
func (*Collection) GetSlug ¶
func (c *Collection) GetSlug() string
func (*Collection) GetTitle ¶
func (c *Collection) GetTitle() string
func (*Collection) GetVisibilityConfig ¶
func (c *Collection) GetVisibilityConfig() *CollectionVisibilityConfig
func (*Collection) MarshalJSON ¶
func (c *Collection) MarshalJSON() ([]byte, error)
func (*Collection) SetCreatedAt ¶
func (c *Collection) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Collection) SetDescription ¶
func (c *Collection) SetDescription(description string)
SetDescription sets the Description field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Collection) SetID ¶
func (c *Collection) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Collection) SetIcon ¶
func (c *Collection) SetIcon(icon *string)
SetIcon sets the Icon field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Collection) SetParentCollectionID ¶
func (c *Collection) SetParentCollectionID(parentCollectionID *string)
SetParentCollectionID sets the ParentCollectionID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Collection) SetSlug ¶
func (c *Collection) SetSlug(slug string)
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Collection) SetTitle ¶
func (c *Collection) SetTitle(title string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Collection) SetVisibilityConfig ¶
func (c *Collection) SetVisibilityConfig(visibilityConfig *CollectionVisibilityConfig)
SetVisibilityConfig sets the VisibilityConfig field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Collection) String ¶
func (c *Collection) String() string
func (*Collection) UnmarshalJSON ¶
func (c *Collection) UnmarshalJSON(data []byte) error
type CollectionVisibilityConfig ¶
type CollectionVisibilityConfig struct {
// AI agent access control. Defaults to inherit from the parent scope when omitted.
AiAgentAccess *CollectionVisibilityConfigAiAgentAccess `json:"ai_agent_access,omitempty" url:"ai_agent_access,omitempty"`
// List of AI agent IDs that may access this resource when ai_agent_access is set to "specific_agents".
AllowedAgentIDs []string `json:"allowed_agent_ids,omitempty" url:"allowed_agent_ids,omitempty"`
// The visibility setting.
Visibility *CollectionVisibilityConfigVisibility `json:"visibility,omitempty" url:"visibility,omitempty"`
// contains filtered or unexported fields
}
func (*CollectionVisibilityConfig) GetAiAgentAccess ¶
func (c *CollectionVisibilityConfig) GetAiAgentAccess() *CollectionVisibilityConfigAiAgentAccess
func (*CollectionVisibilityConfig) GetAllowedAgentIDs ¶
func (c *CollectionVisibilityConfig) GetAllowedAgentIDs() []string
func (*CollectionVisibilityConfig) GetExtraProperties ¶
func (c *CollectionVisibilityConfig) GetExtraProperties() map[string]interface{}
func (*CollectionVisibilityConfig) GetVisibility ¶
func (c *CollectionVisibilityConfig) GetVisibility() *CollectionVisibilityConfigVisibility
func (*CollectionVisibilityConfig) MarshalJSON ¶
func (c *CollectionVisibilityConfig) MarshalJSON() ([]byte, error)
func (*CollectionVisibilityConfig) SetAiAgentAccess ¶
func (c *CollectionVisibilityConfig) SetAiAgentAccess(aiAgentAccess *CollectionVisibilityConfigAiAgentAccess)
SetAiAgentAccess sets the AiAgentAccess field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CollectionVisibilityConfig) SetAllowedAgentIDs ¶
func (c *CollectionVisibilityConfig) SetAllowedAgentIDs(allowedAgentIDs []string)
SetAllowedAgentIDs sets the AllowedAgentIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CollectionVisibilityConfig) SetVisibility ¶
func (c *CollectionVisibilityConfig) SetVisibility(visibility *CollectionVisibilityConfigVisibility)
SetVisibility sets the Visibility field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CollectionVisibilityConfig) String ¶
func (c *CollectionVisibilityConfig) String() string
func (*CollectionVisibilityConfig) UnmarshalJSON ¶
func (c *CollectionVisibilityConfig) UnmarshalJSON(data []byte) error
type CollectionVisibilityConfigAiAgentAccess ¶
type CollectionVisibilityConfigAiAgentAccess string
AI agent access control. Defaults to inherit from the parent scope when omitted.
const ( CollectionVisibilityConfigAiAgentAccessInherit CollectionVisibilityConfigAiAgentAccess = "inherit" CollectionVisibilityConfigAiAgentAccessNone CollectionVisibilityConfigAiAgentAccess = "none" CollectionVisibilityConfigAiAgentAccessSpecificAgents CollectionVisibilityConfigAiAgentAccess = "specific_agents" )
func NewCollectionVisibilityConfigAiAgentAccessFromString ¶
func NewCollectionVisibilityConfigAiAgentAccessFromString(s string) (CollectionVisibilityConfigAiAgentAccess, error)
type CollectionVisibilityConfigVisibility ¶
type CollectionVisibilityConfigVisibility string
The visibility setting.
const ( CollectionVisibilityConfigVisibilityPublic CollectionVisibilityConfigVisibility = "public" CollectionVisibilityConfigVisibilityCustomer CollectionVisibilityConfigVisibility = "customer" CollectionVisibilityConfigVisibilityInternalOnly CollectionVisibilityConfigVisibility = "internal_only" )
func NewCollectionVisibilityConfigVisibilityFromString ¶
func NewCollectionVisibilityConfigVisibilityFromString(s string) (CollectionVisibilityConfigVisibility, error)
type ConflictError ¶
type ConflictError struct {
*core.APIError
Body *ErrorAPIResponseBody
}
func (*ConflictError) GetBody ¶
func (c *ConflictError) GetBody() *ErrorAPIResponseBody
func (*ConflictError) MarshalJSON ¶
func (c *ConflictError) MarshalJSON() ([]byte, error)
func (*ConflictError) UnmarshalJSON ¶
func (c *ConflictError) UnmarshalJSON(data []byte) error
func (*ConflictError) Unwrap ¶
func (c *ConflictError) Unwrap() error
type Contact ¶
type Contact struct {
Account *MiniAccount `json:"account,omitempty" url:"account,omitempty"`
// Avatar URL of the contact.
AvatarURL string `json:"avatar_url" url:"avatar_url"`
// Custom field values associated with the contact.
CustomFields map[string]*CustomFieldValue `json:"custom_fields,omitempty" url:"custom_fields,omitempty"`
// The primary email of the contact, if it exists.
Email *string `json:"email,omitempty" url:"email,omitempty"`
// The list of all emails of the contact.
Emails []string `json:"emails,omitempty" url:"emails,omitempty"`
// External IDs associated with the contact.
ExternalIDs []*ExternalID `json:"external_ids,omitempty" url:"external_ids,omitempty"`
// The ID of the contact.
ID string `json:"id" url:"id"`
// Integration user IDs linking this contact to external systems.
IntegrationUserIDs []*IntegrationUserID `json:"integration_user_ids,omitempty" url:"integration_user_ids,omitempty"`
// The name of the contact.
Name string `json:"name" url:"name"`
// The list of all phone numbers of the contact.
PhoneNumbers []string `json:"phone_numbers,omitempty" url:"phone_numbers,omitempty"`
// Portal role slug assigned to the contact. For backwards compatibility.
//
// Known values: `no_access`, `member`, `admin`. This list is not exhaustive.
PortalRole string `json:"portal_role" url:"portal_role"`
// The ID of the custom portal role assigned to the contact.
PortalRoleID *string `json:"portal_role_id,omitempty" url:"portal_role_id,omitempty"`
// The primary phone number of the contact, if it exists.
PrimaryPhoneNumber *string `json:"primary_phone_number,omitempty" url:"primary_phone_number,omitempty"`
// contains filtered or unexported fields
}
func (*Contact) GetAccount ¶
func (c *Contact) GetAccount() *MiniAccount
func (*Contact) GetAvatarURL ¶
func (*Contact) GetCustomFields ¶
func (c *Contact) GetCustomFields() map[string]*CustomFieldValue
func (*Contact) GetExternalIDs ¶
func (c *Contact) GetExternalIDs() []*ExternalID
func (*Contact) GetExtraProperties ¶
func (*Contact) GetIntegrationUserIDs ¶
func (c *Contact) GetIntegrationUserIDs() []*IntegrationUserID
func (*Contact) GetPhoneNumbers ¶
func (*Contact) GetPortalRole ¶
func (*Contact) GetPortalRoleID ¶
func (*Contact) GetPrimaryPhoneNumber ¶
func (*Contact) MarshalJSON ¶
func (*Contact) SetAccount ¶
func (c *Contact) SetAccount(account *MiniAccount)
SetAccount sets the Account field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Contact) SetAvatarURL ¶
SetAvatarURL sets the AvatarURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Contact) SetCustomFields ¶
func (c *Contact) SetCustomFields(customFields map[string]*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Contact) SetEmail ¶
SetEmail sets the Email field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Contact) SetEmails ¶
SetEmails sets the Emails field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Contact) SetExternalIDs ¶
func (c *Contact) SetExternalIDs(externalIDs []*ExternalID)
SetExternalIDs sets the ExternalIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Contact) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Contact) SetIntegrationUserIDs ¶
func (c *Contact) SetIntegrationUserIDs(integrationUserIDs []*IntegrationUserID)
SetIntegrationUserIDs sets the IntegrationUserIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Contact) SetName ¶
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Contact) SetPhoneNumbers ¶
SetPhoneNumbers sets the PhoneNumbers field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Contact) SetPortalRole ¶
SetPortalRole sets the PortalRole field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Contact) SetPortalRoleID ¶
SetPortalRoleID sets the PortalRoleID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Contact) SetPrimaryPhoneNumber ¶
SetPrimaryPhoneNumber sets the PrimaryPhoneNumber field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Contact) UnmarshalJSON ¶
type ContactsCreateRequest ¶
type ContactsCreateRequest struct {
// The external ID of the account that this contact belongs to. Cannot be used together with account_id.
AccountExternalID *string `json:"account_external_id,omitempty" url:"-"`
// The account that this contact belongs to.
AccountID *string `json:"account_id,omitempty" url:"-"`
// The avatar URL of the contact. Must be a square .png, .jpg or .jpeg.
AvatarURL *string `json:"avatar_url,omitempty" url:"-"`
// An array of custom fields to be applied to this contact.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// The email of the contact.
Email *string `json:"email,omitempty" url:"-"`
// An array of external IDs to be used on this contact.
ExternalIDs []*ExternalID `json:"external_ids,omitempty" url:"-"`
// The name of the contact.
Name string `json:"name" url:"-"`
// The phone numbers of the contact. Must contain only digits 0-9, optionally preceded by + (E.164, e.g. +4365446231), and be 15 digits or less. Include the + and country code for non-US numbers; a 10-digit number without + is treated as US.
PhoneNumbers []string `json:"phone_numbers,omitempty" url:"-"`
// The portal role to assign to the contact. If not provided uses the default portal role from the portal settings.
//
// Known values: `no_access`, `member`, `admin`. This list is not exhaustive.
PortalRole *string `json:"portal_role,omitempty" url:"-"`
// The ID of the custom portal role to assign to the contact. Takes precedence over portal_role if provided.
PortalRoleID *string `json:"portal_role_id,omitempty" url:"-"`
// The primary phone number. Must be in the list of phone_numbers. If there are any phone_numbers and this is not specified, the first phone number will be primary.
PrimaryPhoneNumber *string `json:"primary_phone_number,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*ContactsCreateRequest) MarshalJSON ¶
func (c *ContactsCreateRequest) MarshalJSON() ([]byte, error)
func (*ContactsCreateRequest) SetAccountExternalID ¶
func (c *ContactsCreateRequest) SetAccountExternalID(accountExternalID *string)
SetAccountExternalID sets the AccountExternalID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsCreateRequest) SetAccountID ¶
func (c *ContactsCreateRequest) SetAccountID(accountID *string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsCreateRequest) SetAvatarURL ¶
func (c *ContactsCreateRequest) SetAvatarURL(avatarURL *string)
SetAvatarURL sets the AvatarURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsCreateRequest) SetCustomFields ¶
func (c *ContactsCreateRequest) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsCreateRequest) SetEmail ¶
func (c *ContactsCreateRequest) SetEmail(email *string)
SetEmail sets the Email field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsCreateRequest) SetExternalIDs ¶
func (c *ContactsCreateRequest) SetExternalIDs(externalIDs []*ExternalID)
SetExternalIDs sets the ExternalIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsCreateRequest) SetName ¶
func (c *ContactsCreateRequest) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsCreateRequest) SetPhoneNumbers ¶
func (c *ContactsCreateRequest) SetPhoneNumbers(phoneNumbers []string)
SetPhoneNumbers sets the PhoneNumbers field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsCreateRequest) SetPortalRole ¶
func (c *ContactsCreateRequest) SetPortalRole(portalRole *string)
SetPortalRole sets the PortalRole field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsCreateRequest) SetPortalRoleID ¶
func (c *ContactsCreateRequest) SetPortalRoleID(portalRoleID *string)
SetPortalRoleID sets the PortalRoleID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsCreateRequest) SetPrimaryPhoneNumber ¶
func (c *ContactsCreateRequest) SetPrimaryPhoneNumber(primaryPhoneNumber *string)
SetPrimaryPhoneNumber sets the PrimaryPhoneNumber field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsCreateRequest) UnmarshalJSON ¶
func (c *ContactsCreateRequest) UnmarshalJSON(data []byte) error
type ContactsDeleteRequest ¶
type ContactsDeleteRequest struct {
// The ID or external ID of the contact to delete.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*ContactsDeleteRequest) SetID ¶
func (c *ContactsDeleteRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type ContactsGetRequest ¶
type ContactsGetRequest struct {
// The ID or external ID of the contact.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*ContactsGetRequest) SetID ¶
func (c *ContactsGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type ContactsListRequest ¶
type ContactsListRequest struct {
// The cursor to use for pagination.
Cursor *string `json:"-" url:"cursor,omitempty"`
// The number of contacts to fetch. Defaults to 100. Must be greater than 0 and less than 1000.
Limit *int64 `json:"-" url:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*ContactsListRequest) SetCursor ¶
func (c *ContactsListRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsListRequest) SetLimit ¶
func (c *ContactsListRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type ContactsMergeRequest ¶
type ContactsMergeRequest struct {
// The ID of the contact to merge into the surviving contact. This contact is permanently deleted after its data is transferred.
MergeContactID string `json:"merge_contact_id" url:"-"`
// The ID of the contact that will survive the merge and receive the merged data. If the merged contact belongs to an account, this contact must belong to the same account.
MergeIntoContactID string `json:"merge_into_contact_id" url:"-"`
// contains filtered or unexported fields
}
func (*ContactsMergeRequest) MarshalJSON ¶
func (c *ContactsMergeRequest) MarshalJSON() ([]byte, error)
func (*ContactsMergeRequest) SetMergeContactID ¶
func (c *ContactsMergeRequest) SetMergeContactID(mergeContactID string)
SetMergeContactID sets the MergeContactID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsMergeRequest) SetMergeIntoContactID ¶
func (c *ContactsMergeRequest) SetMergeIntoContactID(mergeIntoContactID string)
SetMergeIntoContactID sets the MergeIntoContactID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsMergeRequest) UnmarshalJSON ¶
func (c *ContactsMergeRequest) UnmarshalJSON(data []byte) error
type ContactsPortalInvitationRequest ¶
type ContactsPortalInvitationRequest struct {
// The ID of the contact to invite.
ContactID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*ContactsPortalInvitationRequest) SetContactID ¶
func (c *ContactsPortalInvitationRequest) SetContactID(contactID string)
SetContactID sets the ContactID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type ContactsSearchRequest ¶
type ContactsSearchRequest struct {
// The cursor to use for pagination.
Cursor *string `json:"cursor,omitempty" url:"-"`
Filter *Filter `json:"filter,omitempty" url:"-"`
// The number of contacts to fetch. Defaults to 100. Must be between 1 and 1000.
Limit *int64 `json:"limit,omitempty" url:"-"`
// Text search across contact name, primary email, secondary emails, primary phone number, and secondary phone numbers. Results are intersected with any provided filter.
SearchText *string `json:"search_text,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*ContactsSearchRequest) MarshalJSON ¶
func (c *ContactsSearchRequest) MarshalJSON() ([]byte, error)
func (*ContactsSearchRequest) SetCursor ¶
func (c *ContactsSearchRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsSearchRequest) SetFilter ¶
func (c *ContactsSearchRequest) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsSearchRequest) SetLimit ¶
func (c *ContactsSearchRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsSearchRequest) SetSearchText ¶
func (c *ContactsSearchRequest) SetSearchText(searchText *string)
SetSearchText sets the SearchText field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsSearchRequest) UnmarshalJSON ¶
func (c *ContactsSearchRequest) UnmarshalJSON(data []byte) error
type ContactsUpdateRequest ¶
type ContactsUpdateRequest struct {
// The ID or external ID of the contact to update.
ID string `json:"-" url:"-"`
// The external ID of the account to move the contact to. Cannot be used together with account_id.
AccountExternalID *string `json:"account_external_id,omitempty" url:"-"`
// The account to move the contact to. If empty string is passed in, the contact will be removed from its account.
AccountID *string `json:"account_id,omitempty" url:"-"`
// The avatar URL of the contact. Must be a square .png, .jpg or .jpeg.
AvatarURL *string `json:"avatar_url,omitempty" url:"-"`
// An array of custom fields to be applied to this contact.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// The email of the contact. Replaces all of the contact's emails with this single email. Cannot be used together with the `emails` array field.
Email *string `json:"email,omitempty" url:"-"`
// The emails of the contact as an array. Cannot be used together with the singular `email` field.
// Each entry must include an `email` string and an optional `is_primary` boolean.
// If no email is marked as primary, the first email becomes the primary.
Emails []*UpdateContactEmail `json:"emails,omitempty" url:"-"`
// An array of external IDs to be used on this contact. If provided, the contact's external IDs will be updated to the given external IDs.
ExternalIDs []*ExternalID `json:"external_ids,omitempty" url:"-"`
// in: body
// The name of the contact.
Name *string `json:"name,omitempty" url:"-"`
// The phone numbers of the contact. Must contain only digits 0-9, optionally preceded by + (E.164, e.g. +4365446231), and be 15 digits or less. Include the + and country code for non-US numbers; a 10-digit number without + is treated as US.
PhoneNumbers []string `json:"phone_numbers,omitempty" url:"-"`
// The portal role to assign to the contact. Can be one of `no_access`, `member`, or `admin`, or a custom role slug.
//
// Known values: `no_access`, `member`, `admin`. This list is not exhaustive.
PortalRole *string `json:"portal_role,omitempty" url:"-"`
// The ID of the custom portal role to assign to the contact. Takes precedence over portal_role if provided.
PortalRoleID *string `json:"portal_role_id,omitempty" url:"-"`
// The primary phone number. Must be in the list of phone_numbers. If there are any phone_numbers and this is not specified, the first phone number will be primary.
PrimaryPhoneNumber *string `json:"primary_phone_number,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*ContactsUpdateRequest) MarshalJSON ¶
func (c *ContactsUpdateRequest) MarshalJSON() ([]byte, error)
func (*ContactsUpdateRequest) SetAccountExternalID ¶
func (c *ContactsUpdateRequest) SetAccountExternalID(accountExternalID *string)
SetAccountExternalID sets the AccountExternalID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsUpdateRequest) SetAccountID ¶
func (c *ContactsUpdateRequest) SetAccountID(accountID *string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsUpdateRequest) SetAvatarURL ¶
func (c *ContactsUpdateRequest) SetAvatarURL(avatarURL *string)
SetAvatarURL sets the AvatarURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsUpdateRequest) SetCustomFields ¶
func (c *ContactsUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsUpdateRequest) SetEmail ¶
func (c *ContactsUpdateRequest) SetEmail(email *string)
SetEmail sets the Email field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsUpdateRequest) SetEmails ¶
func (c *ContactsUpdateRequest) SetEmails(emails []*UpdateContactEmail)
SetEmails sets the Emails field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsUpdateRequest) SetExternalIDs ¶
func (c *ContactsUpdateRequest) SetExternalIDs(externalIDs []*ExternalID)
SetExternalIDs sets the ExternalIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsUpdateRequest) SetID ¶
func (c *ContactsUpdateRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsUpdateRequest) SetName ¶
func (c *ContactsUpdateRequest) SetName(name *string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsUpdateRequest) SetPhoneNumbers ¶
func (c *ContactsUpdateRequest) SetPhoneNumbers(phoneNumbers []string)
SetPhoneNumbers sets the PhoneNumbers field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsUpdateRequest) SetPortalRole ¶
func (c *ContactsUpdateRequest) SetPortalRole(portalRole *string)
SetPortalRole sets the PortalRole field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsUpdateRequest) SetPortalRoleID ¶
func (c *ContactsUpdateRequest) SetPortalRoleID(portalRoleID *string)
SetPortalRoleID sets the PortalRoleID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsUpdateRequest) SetPrimaryPhoneNumber ¶
func (c *ContactsUpdateRequest) SetPrimaryPhoneNumber(primaryPhoneNumber *string)
SetPrimaryPhoneNumber sets the PrimaryPhoneNumber field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ContactsUpdateRequest) UnmarshalJSON ¶
func (c *ContactsUpdateRequest) UnmarshalJSON(data []byte) error
type ContentTooLargeError ¶
type ContentTooLargeError struct {
*core.APIError
Body *ErrorAPIResponseBody
}
The uploaded file is too large.
func (*ContentTooLargeError) GetBody ¶
func (c *ContentTooLargeError) GetBody() *ErrorAPIResponseBody
func (*ContentTooLargeError) MarshalJSON ¶
func (c *ContentTooLargeError) MarshalJSON() ([]byte, error)
func (*ContentTooLargeError) UnmarshalJSON ¶
func (c *ContentTooLargeError) UnmarshalJSON(data []byte) error
func (*ContentTooLargeError) Unwrap ¶
func (c *ContentTooLargeError) Unwrap() error
type CreateAccountHighlightResponseBody ¶
type CreateAccountHighlightResponseBody struct {
Data *AccountHighlight `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateAccountHighlightResponseBody) GetData ¶
func (c *CreateAccountHighlightResponseBody) GetData() *AccountHighlight
func (*CreateAccountHighlightResponseBody) GetExtraProperties ¶
func (c *CreateAccountHighlightResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateAccountHighlightResponseBody) GetRequestID ¶
func (c *CreateAccountHighlightResponseBody) GetRequestID() string
func (*CreateAccountHighlightResponseBody) MarshalJSON ¶
func (c *CreateAccountHighlightResponseBody) MarshalJSON() ([]byte, error)
func (*CreateAccountHighlightResponseBody) SetData ¶
func (c *CreateAccountHighlightResponseBody) SetData(data *AccountHighlight)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateAccountHighlightResponseBody) SetRequestID ¶
func (c *CreateAccountHighlightResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateAccountHighlightResponseBody) String ¶
func (c *CreateAccountHighlightResponseBody) String() string
func (*CreateAccountHighlightResponseBody) UnmarshalJSON ¶
func (c *CreateAccountHighlightResponseBody) UnmarshalJSON(data []byte) error
type CreateAccountNotebookNoteResponseBody ¶
type CreateAccountNotebookNoteResponseBody struct {
Data *AccountNotebookNote `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateAccountNotebookNoteResponseBody) GetData ¶
func (c *CreateAccountNotebookNoteResponseBody) GetData() *AccountNotebookNote
func (*CreateAccountNotebookNoteResponseBody) GetExtraProperties ¶
func (c *CreateAccountNotebookNoteResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateAccountNotebookNoteResponseBody) GetRequestID ¶
func (c *CreateAccountNotebookNoteResponseBody) GetRequestID() string
func (*CreateAccountNotebookNoteResponseBody) MarshalJSON ¶
func (c *CreateAccountNotebookNoteResponseBody) MarshalJSON() ([]byte, error)
func (*CreateAccountNotebookNoteResponseBody) SetData ¶
func (c *CreateAccountNotebookNoteResponseBody) SetData(data *AccountNotebookNote)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateAccountNotebookNoteResponseBody) SetRequestID ¶
func (c *CreateAccountNotebookNoteResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateAccountNotebookNoteResponseBody) String ¶
func (c *CreateAccountNotebookNoteResponseBody) String() string
func (*CreateAccountNotebookNoteResponseBody) UnmarshalJSON ¶
func (c *CreateAccountNotebookNoteResponseBody) UnmarshalJSON(data []byte) error
type CreateAccountRelationshipResponseBody ¶
type CreateAccountRelationshipResponseBody struct {
Data *AccountRelationship `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateAccountRelationshipResponseBody) GetData ¶
func (c *CreateAccountRelationshipResponseBody) GetData() *AccountRelationship
func (*CreateAccountRelationshipResponseBody) GetExtraProperties ¶
func (c *CreateAccountRelationshipResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateAccountRelationshipResponseBody) GetRequestID ¶
func (c *CreateAccountRelationshipResponseBody) GetRequestID() string
func (*CreateAccountRelationshipResponseBody) MarshalJSON ¶
func (c *CreateAccountRelationshipResponseBody) MarshalJSON() ([]byte, error)
func (*CreateAccountRelationshipResponseBody) SetData ¶
func (c *CreateAccountRelationshipResponseBody) SetData(data *AccountRelationship)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateAccountRelationshipResponseBody) SetRequestID ¶
func (c *CreateAccountRelationshipResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateAccountRelationshipResponseBody) String ¶
func (c *CreateAccountRelationshipResponseBody) String() string
func (*CreateAccountRelationshipResponseBody) UnmarshalJSON ¶
func (c *CreateAccountRelationshipResponseBody) UnmarshalJSON(data []byte) error
type CreateAccountRequestAccountType ¶
type CreateAccountRequestAccountType string
The type of the account. Must be one of "customer", "internal", "community", or "partner". Defaults to "customer" if not specified.
const ( CreateAccountRequestAccountTypeCustomer CreateAccountRequestAccountType = "customer" CreateAccountRequestAccountTypeInternal CreateAccountRequestAccountType = "internal" CreateAccountRequestAccountTypeCommunity CreateAccountRequestAccountType = "community" CreateAccountRequestAccountTypePartner CreateAccountRequestAccountType = "partner" )
func NewCreateAccountRequestAccountTypeFromString ¶
func NewCreateAccountRequestAccountTypeFromString(s string) (CreateAccountRequestAccountType, error)
func (CreateAccountRequestAccountType) Ptr ¶
func (c CreateAccountRequestAccountType) Ptr() *CreateAccountRequestAccountType
type CreateAccountResponseBody ¶
type CreateAccountResponseBody struct {
Data *Account `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateAccountResponseBody) GetData ¶
func (c *CreateAccountResponseBody) GetData() *Account
func (*CreateAccountResponseBody) GetExtraProperties ¶
func (c *CreateAccountResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateAccountResponseBody) GetRequestID ¶
func (c *CreateAccountResponseBody) GetRequestID() string
func (*CreateAccountResponseBody) MarshalJSON ¶
func (c *CreateAccountResponseBody) MarshalJSON() ([]byte, error)
func (*CreateAccountResponseBody) SetData ¶
func (c *CreateAccountResponseBody) SetData(data *Account)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateAccountResponseBody) SetRequestID ¶
func (c *CreateAccountResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateAccountResponseBody) String ¶
func (c *CreateAccountResponseBody) String() string
func (*CreateAccountResponseBody) UnmarshalJSON ¶
func (c *CreateAccountResponseBody) UnmarshalJSON(data []byte) error
type CreateActivityResponseBody ¶
type CreateActivityResponseBody struct {
Data *CreateActivityResponseData `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateActivityResponseBody) GetData ¶
func (c *CreateActivityResponseBody) GetData() *CreateActivityResponseData
func (*CreateActivityResponseBody) GetExtraProperties ¶
func (c *CreateActivityResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateActivityResponseBody) GetRequestID ¶
func (c *CreateActivityResponseBody) GetRequestID() string
func (*CreateActivityResponseBody) MarshalJSON ¶
func (c *CreateActivityResponseBody) MarshalJSON() ([]byte, error)
func (*CreateActivityResponseBody) SetData ¶
func (c *CreateActivityResponseBody) SetData(data *CreateActivityResponseData)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateActivityResponseBody) SetRequestID ¶
func (c *CreateActivityResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateActivityResponseBody) String ¶
func (c *CreateActivityResponseBody) String() string
func (*CreateActivityResponseBody) UnmarshalJSON ¶
func (c *CreateActivityResponseBody) UnmarshalJSON(data []byte) error
type CreateActivityResponseData ¶
type CreateActivityResponseData struct {
Success bool `json:"success" url:"success"`
// contains filtered or unexported fields
}
func (*CreateActivityResponseData) GetExtraProperties ¶
func (c *CreateActivityResponseData) GetExtraProperties() map[string]interface{}
func (*CreateActivityResponseData) GetSuccess ¶
func (c *CreateActivityResponseData) GetSuccess() bool
func (*CreateActivityResponseData) MarshalJSON ¶
func (c *CreateActivityResponseData) MarshalJSON() ([]byte, error)
func (*CreateActivityResponseData) SetSuccess ¶
func (c *CreateActivityResponseData) SetSuccess(success bool)
SetSuccess sets the Success field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateActivityResponseData) String ¶
func (c *CreateActivityResponseData) String() string
func (*CreateActivityResponseData) UnmarshalJSON ¶
func (c *CreateActivityResponseData) UnmarshalJSON(data []byte) error
type CreateArticleResponseBody ¶
type CreateArticleResponseBody struct {
Data *Article `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateArticleResponseBody) GetData ¶
func (c *CreateArticleResponseBody) GetData() *Article
func (*CreateArticleResponseBody) GetExtraProperties ¶
func (c *CreateArticleResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateArticleResponseBody) GetRequestID ¶
func (c *CreateArticleResponseBody) GetRequestID() string
func (*CreateArticleResponseBody) MarshalJSON ¶
func (c *CreateArticleResponseBody) MarshalJSON() ([]byte, error)
func (*CreateArticleResponseBody) SetData ¶
func (c *CreateArticleResponseBody) SetData(data *Article)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateArticleResponseBody) SetRequestID ¶
func (c *CreateArticleResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateArticleResponseBody) String ¶
func (c *CreateArticleResponseBody) String() string
func (*CreateArticleResponseBody) UnmarshalJSON ¶
func (c *CreateArticleResponseBody) UnmarshalJSON(data []byte) error
type CreateAttachmentResponseBody ¶
type CreateAttachmentResponseBody struct {
Data *Attachment `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateAttachmentResponseBody) GetData ¶
func (c *CreateAttachmentResponseBody) GetData() *Attachment
func (*CreateAttachmentResponseBody) GetExtraProperties ¶
func (c *CreateAttachmentResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateAttachmentResponseBody) GetRequestID ¶
func (c *CreateAttachmentResponseBody) GetRequestID() string
func (*CreateAttachmentResponseBody) MarshalJSON ¶
func (c *CreateAttachmentResponseBody) MarshalJSON() ([]byte, error)
func (*CreateAttachmentResponseBody) SetData ¶
func (c *CreateAttachmentResponseBody) SetData(data *Attachment)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateAttachmentResponseBody) SetRequestID ¶
func (c *CreateAttachmentResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateAttachmentResponseBody) String ¶
func (c *CreateAttachmentResponseBody) String() string
func (*CreateAttachmentResponseBody) UnmarshalJSON ¶
func (c *CreateAttachmentResponseBody) UnmarshalJSON(data []byte) error
type CreateCallRecordingMessageRequest ¶
type CreateCallRecordingMessageRequest struct {
// When the message starts, in milliseconds from start_time. Must be zero or greater.
MessageAtMs *int64 `json:"message_at_ms,omitempty" url:"message_at_ms,omitempty"`
// What the speaker said. Must not be empty.
MessageContent string `json:"message_content" url:"message_content"`
// The speaker's email. Must appear in participant_emails or match primary_user_email (case-insensitive). Each message needs speaker_email, speaker_name, or both.
SpeakerEmail *string `json:"speaker_email,omitempty" url:"speaker_email,omitempty"`
// The speaker's display name. Each message needs speaker_email, speaker_name, or both.
SpeakerName *string `json:"speaker_name,omitempty" url:"speaker_name,omitempty"`
// contains filtered or unexported fields
}
func (*CreateCallRecordingMessageRequest) GetExtraProperties ¶
func (c *CreateCallRecordingMessageRequest) GetExtraProperties() map[string]interface{}
func (*CreateCallRecordingMessageRequest) GetMessageAtMs ¶
func (c *CreateCallRecordingMessageRequest) GetMessageAtMs() *int64
func (*CreateCallRecordingMessageRequest) GetMessageContent ¶
func (c *CreateCallRecordingMessageRequest) GetMessageContent() string
func (*CreateCallRecordingMessageRequest) GetSpeakerEmail ¶
func (c *CreateCallRecordingMessageRequest) GetSpeakerEmail() *string
func (*CreateCallRecordingMessageRequest) GetSpeakerName ¶
func (c *CreateCallRecordingMessageRequest) GetSpeakerName() *string
func (*CreateCallRecordingMessageRequest) MarshalJSON ¶
func (c *CreateCallRecordingMessageRequest) MarshalJSON() ([]byte, error)
func (*CreateCallRecordingMessageRequest) SetMessageAtMs ¶
func (c *CreateCallRecordingMessageRequest) SetMessageAtMs(messageAtMs *int64)
SetMessageAtMs sets the MessageAtMs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateCallRecordingMessageRequest) SetMessageContent ¶
func (c *CreateCallRecordingMessageRequest) SetMessageContent(messageContent string)
SetMessageContent sets the MessageContent field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateCallRecordingMessageRequest) SetSpeakerEmail ¶
func (c *CreateCallRecordingMessageRequest) SetSpeakerEmail(speakerEmail *string)
SetSpeakerEmail sets the SpeakerEmail field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateCallRecordingMessageRequest) SetSpeakerName ¶
func (c *CreateCallRecordingMessageRequest) SetSpeakerName(speakerName *string)
SetSpeakerName sets the SpeakerName field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateCallRecordingMessageRequest) String ¶
func (c *CreateCallRecordingMessageRequest) String() string
func (*CreateCallRecordingMessageRequest) UnmarshalJSON ¶
func (c *CreateCallRecordingMessageRequest) UnmarshalJSON(data []byte) error
type CreateCallRecordingRequestAppType ¶
type CreateCallRecordingRequestAppType string
The source of the recording. Must be `custom_call_recorder`, which requires the Custom Call Recorder integration to be enabled.
const (
CreateCallRecordingRequestAppTypeCustomCallRecorder CreateCallRecordingRequestAppType = "custom_call_recorder"
)
func NewCreateCallRecordingRequestAppTypeFromString ¶
func NewCreateCallRecordingRequestAppTypeFromString(s string) (CreateCallRecordingRequestAppType, error)
func (CreateCallRecordingRequestAppType) Ptr ¶
func (c CreateCallRecordingRequestAppType) Ptr() *CreateCallRecordingRequestAppType
type CreateCallRecordingResponseBody ¶
type CreateCallRecordingResponseBody struct {
Data *CallRecording `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateCallRecordingResponseBody) GetData ¶
func (c *CreateCallRecordingResponseBody) GetData() *CallRecording
func (*CreateCallRecordingResponseBody) GetExtraProperties ¶
func (c *CreateCallRecordingResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateCallRecordingResponseBody) GetRequestID ¶
func (c *CreateCallRecordingResponseBody) GetRequestID() string
func (*CreateCallRecordingResponseBody) MarshalJSON ¶
func (c *CreateCallRecordingResponseBody) MarshalJSON() ([]byte, error)
func (*CreateCallRecordingResponseBody) SetData ¶
func (c *CreateCallRecordingResponseBody) SetData(data *CallRecording)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateCallRecordingResponseBody) SetRequestID ¶
func (c *CreateCallRecordingResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateCallRecordingResponseBody) String ¶
func (c *CreateCallRecordingResponseBody) String() string
func (*CreateCallRecordingResponseBody) UnmarshalJSON ¶
func (c *CreateCallRecordingResponseBody) UnmarshalJSON(data []byte) error
type CreateCollectionResponseBody ¶
type CreateCollectionResponseBody struct {
Data *Collection `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateCollectionResponseBody) GetData ¶
func (c *CreateCollectionResponseBody) GetData() *Collection
func (*CreateCollectionResponseBody) GetExtraProperties ¶
func (c *CreateCollectionResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateCollectionResponseBody) GetRequestID ¶
func (c *CreateCollectionResponseBody) GetRequestID() string
func (*CreateCollectionResponseBody) MarshalJSON ¶
func (c *CreateCollectionResponseBody) MarshalJSON() ([]byte, error)
func (*CreateCollectionResponseBody) SetData ¶
func (c *CreateCollectionResponseBody) SetData(data *Collection)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateCollectionResponseBody) SetRequestID ¶
func (c *CreateCollectionResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateCollectionResponseBody) String ¶
func (c *CreateCollectionResponseBody) String() string
func (*CreateCollectionResponseBody) UnmarshalJSON ¶
func (c *CreateCollectionResponseBody) UnmarshalJSON(data []byte) error
type CreateContactResponseBody ¶
type CreateContactResponseBody struct {
Data *Contact `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateContactResponseBody) GetData ¶
func (c *CreateContactResponseBody) GetData() *Contact
func (*CreateContactResponseBody) GetExtraProperties ¶
func (c *CreateContactResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateContactResponseBody) GetRequestID ¶
func (c *CreateContactResponseBody) GetRequestID() string
func (*CreateContactResponseBody) MarshalJSON ¶
func (c *CreateContactResponseBody) MarshalJSON() ([]byte, error)
func (*CreateContactResponseBody) SetData ¶
func (c *CreateContactResponseBody) SetData(data *Contact)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateContactResponseBody) SetRequestID ¶
func (c *CreateContactResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateContactResponseBody) String ¶
func (c *CreateContactResponseBody) String() string
func (*CreateContactResponseBody) UnmarshalJSON ¶
func (c *CreateContactResponseBody) UnmarshalJSON(data []byte) error
type CreateCustomFieldRequestBodyObjectType ¶
type CreateCustomFieldRequestBodyObjectType string
The object type of the custom field. Can be "account", "issue", "contact", "task", "project", "meeting", "opportunity", or "feature_request".
const ( CreateCustomFieldRequestBodyObjectTypeAccount CreateCustomFieldRequestBodyObjectType = "account" CreateCustomFieldRequestBodyObjectTypeIssue CreateCustomFieldRequestBodyObjectType = "issue" CreateCustomFieldRequestBodyObjectTypeContact CreateCustomFieldRequestBodyObjectType = "contact" CreateCustomFieldRequestBodyObjectTypeTask CreateCustomFieldRequestBodyObjectType = "task" CreateCustomFieldRequestBodyObjectTypeProject CreateCustomFieldRequestBodyObjectType = "project" CreateCustomFieldRequestBodyObjectTypeMeeting CreateCustomFieldRequestBodyObjectType = "meeting" CreateCustomFieldRequestBodyObjectTypeOpportunity CreateCustomFieldRequestBodyObjectType = "opportunity" CreateCustomFieldRequestBodyObjectTypeFeatureRequest CreateCustomFieldRequestBodyObjectType = "feature_request" )
func NewCreateCustomFieldRequestBodyObjectTypeFromString ¶
func NewCreateCustomFieldRequestBodyObjectTypeFromString(s string) (CreateCustomFieldRequestBodyObjectType, error)
type CreateCustomFieldResponseBody ¶
type CreateCustomFieldResponseBody struct {
Data *CustomFieldDefinition `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateCustomFieldResponseBody) GetData ¶
func (c *CreateCustomFieldResponseBody) GetData() *CustomFieldDefinition
func (*CreateCustomFieldResponseBody) GetExtraProperties ¶
func (c *CreateCustomFieldResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateCustomFieldResponseBody) GetRequestID ¶
func (c *CreateCustomFieldResponseBody) GetRequestID() string
func (*CreateCustomFieldResponseBody) MarshalJSON ¶
func (c *CreateCustomFieldResponseBody) MarshalJSON() ([]byte, error)
func (*CreateCustomFieldResponseBody) SetData ¶
func (c *CreateCustomFieldResponseBody) SetData(data *CustomFieldDefinition)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateCustomFieldResponseBody) SetRequestID ¶
func (c *CreateCustomFieldResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateCustomFieldResponseBody) String ¶
func (c *CreateCustomFieldResponseBody) String() string
func (*CreateCustomFieldResponseBody) UnmarshalJSON ¶
func (c *CreateCustomFieldResponseBody) UnmarshalJSON(data []byte) error
type CreateCustomFieldSelectOptionResponseBody ¶
type CreateCustomFieldSelectOptionResponseBody struct {
Data *CustomFieldDefinitionSelectOption `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateCustomFieldSelectOptionResponseBody) GetData ¶
func (c *CreateCustomFieldSelectOptionResponseBody) GetData() *CustomFieldDefinitionSelectOption
func (*CreateCustomFieldSelectOptionResponseBody) GetExtraProperties ¶
func (c *CreateCustomFieldSelectOptionResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateCustomFieldSelectOptionResponseBody) GetRequestID ¶
func (c *CreateCustomFieldSelectOptionResponseBody) GetRequestID() string
func (*CreateCustomFieldSelectOptionResponseBody) MarshalJSON ¶
func (c *CreateCustomFieldSelectOptionResponseBody) MarshalJSON() ([]byte, error)
func (*CreateCustomFieldSelectOptionResponseBody) SetData ¶
func (c *CreateCustomFieldSelectOptionResponseBody) SetData(data *CustomFieldDefinitionSelectOption)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateCustomFieldSelectOptionResponseBody) SetRequestID ¶
func (c *CreateCustomFieldSelectOptionResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateCustomFieldSelectOptionResponseBody) String ¶
func (c *CreateCustomFieldSelectOptionResponseBody) String() string
func (*CreateCustomFieldSelectOptionResponseBody) UnmarshalJSON ¶
func (c *CreateCustomFieldSelectOptionResponseBody) UnmarshalJSON(data []byte) error
type CreateCustomObjectResponseBody ¶
type CreateCustomObjectResponseBody struct {
Data *APICustomObject `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateCustomObjectResponseBody) GetData ¶
func (c *CreateCustomObjectResponseBody) GetData() *APICustomObject
func (*CreateCustomObjectResponseBody) GetExtraProperties ¶
func (c *CreateCustomObjectResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateCustomObjectResponseBody) GetRequestID ¶
func (c *CreateCustomObjectResponseBody) GetRequestID() string
func (*CreateCustomObjectResponseBody) MarshalJSON ¶
func (c *CreateCustomObjectResponseBody) MarshalJSON() ([]byte, error)
func (*CreateCustomObjectResponseBody) SetData ¶
func (c *CreateCustomObjectResponseBody) SetData(data *APICustomObject)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateCustomObjectResponseBody) SetRequestID ¶
func (c *CreateCustomObjectResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateCustomObjectResponseBody) String ¶
func (c *CreateCustomObjectResponseBody) String() string
func (*CreateCustomObjectResponseBody) UnmarshalJSON ¶
func (c *CreateCustomObjectResponseBody) UnmarshalJSON(data []byte) error
type CreateFeatureRequestEvidenceResponseBody ¶
type CreateFeatureRequestEvidenceResponseBody struct {
Data *FeatureRequestEvidence `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateFeatureRequestEvidenceResponseBody) GetData ¶
func (c *CreateFeatureRequestEvidenceResponseBody) GetData() *FeatureRequestEvidence
func (*CreateFeatureRequestEvidenceResponseBody) GetExtraProperties ¶
func (c *CreateFeatureRequestEvidenceResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateFeatureRequestEvidenceResponseBody) GetRequestID ¶
func (c *CreateFeatureRequestEvidenceResponseBody) GetRequestID() string
func (*CreateFeatureRequestEvidenceResponseBody) MarshalJSON ¶
func (c *CreateFeatureRequestEvidenceResponseBody) MarshalJSON() ([]byte, error)
func (*CreateFeatureRequestEvidenceResponseBody) SetData ¶
func (c *CreateFeatureRequestEvidenceResponseBody) SetData(data *FeatureRequestEvidence)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateFeatureRequestEvidenceResponseBody) SetRequestID ¶
func (c *CreateFeatureRequestEvidenceResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateFeatureRequestEvidenceResponseBody) String ¶
func (c *CreateFeatureRequestEvidenceResponseBody) String() string
func (*CreateFeatureRequestEvidenceResponseBody) UnmarshalJSON ¶
func (c *CreateFeatureRequestEvidenceResponseBody) UnmarshalJSON(data []byte) error
type CreateFeatureRequestResponseBody ¶
type CreateFeatureRequestResponseBody struct {
Data *FeatureRequest `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateFeatureRequestResponseBody) GetData ¶
func (c *CreateFeatureRequestResponseBody) GetData() *FeatureRequest
func (*CreateFeatureRequestResponseBody) GetExtraProperties ¶
func (c *CreateFeatureRequestResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateFeatureRequestResponseBody) GetRequestID ¶
func (c *CreateFeatureRequestResponseBody) GetRequestID() string
func (*CreateFeatureRequestResponseBody) MarshalJSON ¶
func (c *CreateFeatureRequestResponseBody) MarshalJSON() ([]byte, error)
func (*CreateFeatureRequestResponseBody) SetData ¶
func (c *CreateFeatureRequestResponseBody) SetData(data *FeatureRequest)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateFeatureRequestResponseBody) SetRequestID ¶
func (c *CreateFeatureRequestResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateFeatureRequestResponseBody) String ¶
func (c *CreateFeatureRequestResponseBody) String() string
func (*CreateFeatureRequestResponseBody) UnmarshalJSON ¶
func (c *CreateFeatureRequestResponseBody) UnmarshalJSON(data []byte) error
type CreateIssueAiResponseResponseBody ¶
type CreateIssueAiResponseResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// The HTML content of the AI response.
ResponseHTML string `json:"response_html" url:"response_html"`
// Whether the AI was able to answer the question.
ResponseValid bool `json:"response_valid" url:"response_valid"`
// contains filtered or unexported fields
}
func (*CreateIssueAiResponseResponseBody) GetExtraProperties ¶
func (c *CreateIssueAiResponseResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateIssueAiResponseResponseBody) GetRequestID ¶
func (c *CreateIssueAiResponseResponseBody) GetRequestID() string
func (*CreateIssueAiResponseResponseBody) GetResponseHTML ¶
func (c *CreateIssueAiResponseResponseBody) GetResponseHTML() string
func (*CreateIssueAiResponseResponseBody) GetResponseValid ¶
func (c *CreateIssueAiResponseResponseBody) GetResponseValid() bool
func (*CreateIssueAiResponseResponseBody) MarshalJSON ¶
func (c *CreateIssueAiResponseResponseBody) MarshalJSON() ([]byte, error)
func (*CreateIssueAiResponseResponseBody) SetRequestID ¶
func (c *CreateIssueAiResponseResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueAiResponseResponseBody) SetResponseHTML ¶
func (c *CreateIssueAiResponseResponseBody) SetResponseHTML(responseHTML string)
SetResponseHTML sets the ResponseHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueAiResponseResponseBody) SetResponseValid ¶
func (c *CreateIssueAiResponseResponseBody) SetResponseValid(responseValid bool)
SetResponseValid sets the ResponseValid field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueAiResponseResponseBody) String ¶
func (c *CreateIssueAiResponseResponseBody) String() string
func (*CreateIssueAiResponseResponseBody) UnmarshalJSON ¶
func (c *CreateIssueAiResponseResponseBody) UnmarshalJSON(data []byte) error
type CreateIssueDraftReplyResponseBody ¶
type CreateIssueDraftReplyResponseBody struct {
Data *CreateIssueDraftReplyResponseData `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateIssueDraftReplyResponseBody) GetData ¶
func (c *CreateIssueDraftReplyResponseBody) GetData() *CreateIssueDraftReplyResponseData
func (*CreateIssueDraftReplyResponseBody) GetExtraProperties ¶
func (c *CreateIssueDraftReplyResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateIssueDraftReplyResponseBody) GetRequestID ¶
func (c *CreateIssueDraftReplyResponseBody) GetRequestID() string
func (*CreateIssueDraftReplyResponseBody) MarshalJSON ¶
func (c *CreateIssueDraftReplyResponseBody) MarshalJSON() ([]byte, error)
func (*CreateIssueDraftReplyResponseBody) SetData ¶
func (c *CreateIssueDraftReplyResponseBody) SetData(data *CreateIssueDraftReplyResponseData)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueDraftReplyResponseBody) SetRequestID ¶
func (c *CreateIssueDraftReplyResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueDraftReplyResponseBody) String ¶
func (c *CreateIssueDraftReplyResponseBody) String() string
func (*CreateIssueDraftReplyResponseBody) UnmarshalJSON ¶
func (c *CreateIssueDraftReplyResponseBody) UnmarshalJSON(data []byte) error
type CreateIssueDraftReplyResponseData ¶
type CreateIssueDraftReplyResponseData struct {
// The ID of the draft.
ID string `json:"id" url:"id"`
// The ID of the issue.
IssueID string `json:"issue_id" url:"issue_id"`
// Whether the endpoint created or updated the draft.
//
// Known values: `created`, `updated`. This list is not exhaustive.
Status string `json:"status" url:"status"`
// The time the draft was last updated.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// The ID of the Pylon user who owns and can see the draft.
UserID string `json:"user_id" url:"user_id"`
// contains filtered or unexported fields
}
func (*CreateIssueDraftReplyResponseData) GetExtraProperties ¶
func (c *CreateIssueDraftReplyResponseData) GetExtraProperties() map[string]interface{}
func (*CreateIssueDraftReplyResponseData) GetID ¶
func (c *CreateIssueDraftReplyResponseData) GetID() string
func (*CreateIssueDraftReplyResponseData) GetIssueID ¶
func (c *CreateIssueDraftReplyResponseData) GetIssueID() string
func (*CreateIssueDraftReplyResponseData) GetStatus ¶
func (c *CreateIssueDraftReplyResponseData) GetStatus() string
func (*CreateIssueDraftReplyResponseData) GetUpdatedAt ¶
func (c *CreateIssueDraftReplyResponseData) GetUpdatedAt() time.Time
func (*CreateIssueDraftReplyResponseData) GetUserID ¶
func (c *CreateIssueDraftReplyResponseData) GetUserID() string
func (*CreateIssueDraftReplyResponseData) MarshalJSON ¶
func (c *CreateIssueDraftReplyResponseData) MarshalJSON() ([]byte, error)
func (*CreateIssueDraftReplyResponseData) SetID ¶
func (c *CreateIssueDraftReplyResponseData) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueDraftReplyResponseData) SetIssueID ¶
func (c *CreateIssueDraftReplyResponseData) SetIssueID(issueID string)
SetIssueID sets the IssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueDraftReplyResponseData) SetStatus ¶
func (c *CreateIssueDraftReplyResponseData) SetStatus(status string)
SetStatus sets the Status field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueDraftReplyResponseData) SetUpdatedAt ¶
func (c *CreateIssueDraftReplyResponseData) SetUpdatedAt(updatedAt time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueDraftReplyResponseData) SetUserID ¶
func (c *CreateIssueDraftReplyResponseData) SetUserID(userID string)
SetUserID sets the UserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueDraftReplyResponseData) String ¶
func (c *CreateIssueDraftReplyResponseData) String() string
func (*CreateIssueDraftReplyResponseData) UnmarshalJSON ¶
func (c *CreateIssueDraftReplyResponseData) UnmarshalJSON(data []byte) error
type CreateIssueGroupResponseBody ¶
type CreateIssueGroupResponseBody struct {
Data *Issue `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateIssueGroupResponseBody) GetData ¶
func (c *CreateIssueGroupResponseBody) GetData() *Issue
func (*CreateIssueGroupResponseBody) GetExtraProperties ¶
func (c *CreateIssueGroupResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateIssueGroupResponseBody) GetRequestID ¶
func (c *CreateIssueGroupResponseBody) GetRequestID() string
func (*CreateIssueGroupResponseBody) MarshalJSON ¶
func (c *CreateIssueGroupResponseBody) MarshalJSON() ([]byte, error)
func (*CreateIssueGroupResponseBody) SetData ¶
func (c *CreateIssueGroupResponseBody) SetData(data *Issue)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueGroupResponseBody) SetRequestID ¶
func (c *CreateIssueGroupResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueGroupResponseBody) String ¶
func (c *CreateIssueGroupResponseBody) String() string
func (*CreateIssueGroupResponseBody) UnmarshalJSON ¶
func (c *CreateIssueGroupResponseBody) UnmarshalJSON(data []byte) error
type CreateIssueNoteResponseBody ¶
type CreateIssueNoteResponseBody struct {
Data *CreateIssueNoteResponseData `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateIssueNoteResponseBody) GetData ¶
func (c *CreateIssueNoteResponseBody) GetData() *CreateIssueNoteResponseData
func (*CreateIssueNoteResponseBody) GetExtraProperties ¶
func (c *CreateIssueNoteResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateIssueNoteResponseBody) GetRequestID ¶
func (c *CreateIssueNoteResponseBody) GetRequestID() string
func (*CreateIssueNoteResponseBody) MarshalJSON ¶
func (c *CreateIssueNoteResponseBody) MarshalJSON() ([]byte, error)
func (*CreateIssueNoteResponseBody) SetData ¶
func (c *CreateIssueNoteResponseBody) SetData(data *CreateIssueNoteResponseData)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueNoteResponseBody) SetRequestID ¶
func (c *CreateIssueNoteResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueNoteResponseBody) String ¶
func (c *CreateIssueNoteResponseBody) String() string
func (*CreateIssueNoteResponseBody) UnmarshalJSON ¶
func (c *CreateIssueNoteResponseBody) UnmarshalJSON(data []byte) error
type CreateIssueNoteResponseData ¶
type CreateIssueNoteResponseData struct {
// The ID of the message.
ID string `json:"id" url:"id"`
// The ID of the issue.
IssueID string `json:"issue_id" url:"issue_id"`
// contains filtered or unexported fields
}
func (*CreateIssueNoteResponseData) GetExtraProperties ¶
func (c *CreateIssueNoteResponseData) GetExtraProperties() map[string]interface{}
func (*CreateIssueNoteResponseData) GetID ¶
func (c *CreateIssueNoteResponseData) GetID() string
func (*CreateIssueNoteResponseData) GetIssueID ¶
func (c *CreateIssueNoteResponseData) GetIssueID() string
func (*CreateIssueNoteResponseData) MarshalJSON ¶
func (c *CreateIssueNoteResponseData) MarshalJSON() ([]byte, error)
func (*CreateIssueNoteResponseData) SetID ¶
func (c *CreateIssueNoteResponseData) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueNoteResponseData) SetIssueID ¶
func (c *CreateIssueNoteResponseData) SetIssueID(issueID string)
SetIssueID sets the IssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueNoteResponseData) String ¶
func (c *CreateIssueNoteResponseData) String() string
func (*CreateIssueNoteResponseData) UnmarshalJSON ¶
func (c *CreateIssueNoteResponseData) UnmarshalJSON(data []byte) error
type CreateIssueReplyEmailInfo ¶
type CreateIssueReplyEmailInfo struct {
// The blind-carbon-copy recipients of the email reply.
BccEmails []string `json:"bcc_emails,omitempty" url:"bcc_emails,omitempty"`
// The carbon-copy recipients of the email reply.
CcEmails []string `json:"cc_emails,omitempty" url:"cc_emails,omitempty"`
// The primary recipients of the email reply.
ToEmails []string `json:"to_emails,omitempty" url:"to_emails,omitempty"`
// contains filtered or unexported fields
}
Recipient information for replies to email conversations. Provide at least one address across to_emails, cc_emails, and bcc_emails. Recipients are not inferred from the referenced message.
func (*CreateIssueReplyEmailInfo) GetBccEmails ¶
func (c *CreateIssueReplyEmailInfo) GetBccEmails() []string
func (*CreateIssueReplyEmailInfo) GetCcEmails ¶
func (c *CreateIssueReplyEmailInfo) GetCcEmails() []string
func (*CreateIssueReplyEmailInfo) GetExtraProperties ¶
func (c *CreateIssueReplyEmailInfo) GetExtraProperties() map[string]interface{}
func (*CreateIssueReplyEmailInfo) GetToEmails ¶
func (c *CreateIssueReplyEmailInfo) GetToEmails() []string
func (*CreateIssueReplyEmailInfo) MarshalJSON ¶
func (c *CreateIssueReplyEmailInfo) MarshalJSON() ([]byte, error)
func (*CreateIssueReplyEmailInfo) SetBccEmails ¶
func (c *CreateIssueReplyEmailInfo) SetBccEmails(bccEmails []string)
SetBccEmails sets the BccEmails field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueReplyEmailInfo) SetCcEmails ¶
func (c *CreateIssueReplyEmailInfo) SetCcEmails(ccEmails []string)
SetCcEmails sets the CcEmails field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueReplyEmailInfo) SetToEmails ¶
func (c *CreateIssueReplyEmailInfo) SetToEmails(toEmails []string)
SetToEmails sets the ToEmails field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueReplyEmailInfo) String ¶
func (c *CreateIssueReplyEmailInfo) String() string
func (*CreateIssueReplyEmailInfo) UnmarshalJSON ¶
func (c *CreateIssueReplyEmailInfo) UnmarshalJSON(data []byte) error
type CreateIssueReplyResponseBody ¶
type CreateIssueReplyResponseBody struct {
Data *CreateIssueReplyResponseData `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateIssueReplyResponseBody) GetData ¶
func (c *CreateIssueReplyResponseBody) GetData() *CreateIssueReplyResponseData
func (*CreateIssueReplyResponseBody) GetExtraProperties ¶
func (c *CreateIssueReplyResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateIssueReplyResponseBody) GetRequestID ¶
func (c *CreateIssueReplyResponseBody) GetRequestID() string
func (*CreateIssueReplyResponseBody) MarshalJSON ¶
func (c *CreateIssueReplyResponseBody) MarshalJSON() ([]byte, error)
func (*CreateIssueReplyResponseBody) SetData ¶
func (c *CreateIssueReplyResponseBody) SetData(data *CreateIssueReplyResponseData)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueReplyResponseBody) SetRequestID ¶
func (c *CreateIssueReplyResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueReplyResponseBody) String ¶
func (c *CreateIssueReplyResponseBody) String() string
func (*CreateIssueReplyResponseBody) UnmarshalJSON ¶
func (c *CreateIssueReplyResponseBody) UnmarshalJSON(data []byte) error
type CreateIssueReplyResponseData ¶
type CreateIssueReplyResponseData struct {
// The ID of the message.
ID string `json:"id" url:"id"`
// The ID of the issue.
IssueID string `json:"issue_id" url:"issue_id"`
// contains filtered or unexported fields
}
func (*CreateIssueReplyResponseData) GetExtraProperties ¶
func (c *CreateIssueReplyResponseData) GetExtraProperties() map[string]interface{}
func (*CreateIssueReplyResponseData) GetID ¶
func (c *CreateIssueReplyResponseData) GetID() string
func (*CreateIssueReplyResponseData) GetIssueID ¶
func (c *CreateIssueReplyResponseData) GetIssueID() string
func (*CreateIssueReplyResponseData) MarshalJSON ¶
func (c *CreateIssueReplyResponseData) MarshalJSON() ([]byte, error)
func (*CreateIssueReplyResponseData) SetID ¶
func (c *CreateIssueReplyResponseData) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueReplyResponseData) SetIssueID ¶
func (c *CreateIssueReplyResponseData) SetIssueID(issueID string)
SetIssueID sets the IssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueReplyResponseData) String ¶
func (c *CreateIssueReplyResponseData) String() string
func (*CreateIssueReplyResponseData) UnmarshalJSON ¶
func (c *CreateIssueReplyResponseData) UnmarshalJSON(data []byte) error
type CreateIssueRequestPriority ¶
type CreateIssueRequestPriority string
The priority of the issue. Can be one of: urgent, high, medium, or low.
const ( CreateIssueRequestPriorityUrgent CreateIssueRequestPriority = "urgent" CreateIssueRequestPriorityHigh CreateIssueRequestPriority = "high" CreateIssueRequestPriorityMedium CreateIssueRequestPriority = "medium" CreateIssueRequestPriorityLow CreateIssueRequestPriority = "low" )
func NewCreateIssueRequestPriorityFromString ¶
func NewCreateIssueRequestPriorityFromString(s string) (CreateIssueRequestPriority, error)
func (CreateIssueRequestPriority) Ptr ¶
func (c CreateIssueRequestPriority) Ptr() *CreateIssueRequestPriority
type CreateIssueResponseBody ¶
type CreateIssueResponseBody struct {
Data *Issue `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateIssueResponseBody) GetData ¶
func (c *CreateIssueResponseBody) GetData() *Issue
func (*CreateIssueResponseBody) GetExtraProperties ¶
func (c *CreateIssueResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateIssueResponseBody) GetRequestID ¶
func (c *CreateIssueResponseBody) GetRequestID() string
func (*CreateIssueResponseBody) MarshalJSON ¶
func (c *CreateIssueResponseBody) MarshalJSON() ([]byte, error)
func (*CreateIssueResponseBody) SetData ¶
func (c *CreateIssueResponseBody) SetData(data *Issue)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueResponseBody) SetRequestID ¶
func (c *CreateIssueResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueResponseBody) String ¶
func (c *CreateIssueResponseBody) String() string
func (*CreateIssueResponseBody) UnmarshalJSON ¶
func (c *CreateIssueResponseBody) UnmarshalJSON(data []byte) error
type CreateIssueThreadResponseBody ¶
type CreateIssueThreadResponseBody struct {
Data *IssueThread `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateIssueThreadResponseBody) GetData ¶
func (c *CreateIssueThreadResponseBody) GetData() *IssueThread
func (*CreateIssueThreadResponseBody) GetExtraProperties ¶
func (c *CreateIssueThreadResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateIssueThreadResponseBody) GetRequestID ¶
func (c *CreateIssueThreadResponseBody) GetRequestID() string
func (*CreateIssueThreadResponseBody) MarshalJSON ¶
func (c *CreateIssueThreadResponseBody) MarshalJSON() ([]byte, error)
func (*CreateIssueThreadResponseBody) SetData ¶
func (c *CreateIssueThreadResponseBody) SetData(data *IssueThread)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueThreadResponseBody) SetRequestID ¶
func (c *CreateIssueThreadResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateIssueThreadResponseBody) String ¶
func (c *CreateIssueThreadResponseBody) String() string
func (*CreateIssueThreadResponseBody) UnmarshalJSON ¶
func (c *CreateIssueThreadResponseBody) UnmarshalJSON(data []byte) error
type CreateMacroResponseBody ¶
type CreateMacroResponseBody struct {
Data *Macro `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateMacroResponseBody) GetData ¶
func (c *CreateMacroResponseBody) GetData() *Macro
func (*CreateMacroResponseBody) GetExtraProperties ¶
func (c *CreateMacroResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateMacroResponseBody) GetRequestID ¶
func (c *CreateMacroResponseBody) GetRequestID() string
func (*CreateMacroResponseBody) MarshalJSON ¶
func (c *CreateMacroResponseBody) MarshalJSON() ([]byte, error)
func (*CreateMacroResponseBody) SetData ¶
func (c *CreateMacroResponseBody) SetData(data *Macro)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateMacroResponseBody) SetRequestID ¶
func (c *CreateMacroResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateMacroResponseBody) String ¶
func (c *CreateMacroResponseBody) String() string
func (*CreateMacroResponseBody) UnmarshalJSON ¶
func (c *CreateMacroResponseBody) UnmarshalJSON(data []byte) error
type CreateMilestoneResponseBody ¶
type CreateMilestoneResponseBody struct {
Data *Milestone `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateMilestoneResponseBody) GetData ¶
func (c *CreateMilestoneResponseBody) GetData() *Milestone
func (*CreateMilestoneResponseBody) GetExtraProperties ¶
func (c *CreateMilestoneResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateMilestoneResponseBody) GetRequestID ¶
func (c *CreateMilestoneResponseBody) GetRequestID() string
func (*CreateMilestoneResponseBody) MarshalJSON ¶
func (c *CreateMilestoneResponseBody) MarshalJSON() ([]byte, error)
func (*CreateMilestoneResponseBody) SetData ¶
func (c *CreateMilestoneResponseBody) SetData(data *Milestone)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateMilestoneResponseBody) SetRequestID ¶
func (c *CreateMilestoneResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateMilestoneResponseBody) String ¶
func (c *CreateMilestoneResponseBody) String() string
func (*CreateMilestoneResponseBody) UnmarshalJSON ¶
func (c *CreateMilestoneResponseBody) UnmarshalJSON(data []byte) error
type CreateProjectResponseBody ¶
type CreateProjectResponseBody struct {
Data *Project `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateProjectResponseBody) GetData ¶
func (c *CreateProjectResponseBody) GetData() *Project
func (*CreateProjectResponseBody) GetExtraProperties ¶
func (c *CreateProjectResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateProjectResponseBody) GetRequestID ¶
func (c *CreateProjectResponseBody) GetRequestID() string
func (*CreateProjectResponseBody) MarshalJSON ¶
func (c *CreateProjectResponseBody) MarshalJSON() ([]byte, error)
func (*CreateProjectResponseBody) SetData ¶
func (c *CreateProjectResponseBody) SetData(data *Project)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateProjectResponseBody) SetRequestID ¶
func (c *CreateProjectResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateProjectResponseBody) String ¶
func (c *CreateProjectResponseBody) String() string
func (*CreateProjectResponseBody) UnmarshalJSON ¶
func (c *CreateProjectResponseBody) UnmarshalJSON(data []byte) error
type CreateRouteRedirectResponseBody ¶
type CreateRouteRedirectResponseBody struct {
Data *RouteRedirect `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateRouteRedirectResponseBody) GetData ¶
func (c *CreateRouteRedirectResponseBody) GetData() *RouteRedirect
func (*CreateRouteRedirectResponseBody) GetExtraProperties ¶
func (c *CreateRouteRedirectResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateRouteRedirectResponseBody) GetRequestID ¶
func (c *CreateRouteRedirectResponseBody) GetRequestID() string
func (*CreateRouteRedirectResponseBody) MarshalJSON ¶
func (c *CreateRouteRedirectResponseBody) MarshalJSON() ([]byte, error)
func (*CreateRouteRedirectResponseBody) SetData ¶
func (c *CreateRouteRedirectResponseBody) SetData(data *RouteRedirect)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateRouteRedirectResponseBody) SetRequestID ¶
func (c *CreateRouteRedirectResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateRouteRedirectResponseBody) String ¶
func (c *CreateRouteRedirectResponseBody) String() string
func (*CreateRouteRedirectResponseBody) UnmarshalJSON ¶
func (c *CreateRouteRedirectResponseBody) UnmarshalJSON(data []byte) error
type CreateTagRequestBodyObjectType ¶
type CreateTagRequestBodyObjectType string
The object type of the associated object. Can be "account", "article", or "issue".
const ( CreateTagRequestBodyObjectTypeAccount CreateTagRequestBodyObjectType = "account" CreateTagRequestBodyObjectTypeArticle CreateTagRequestBodyObjectType = "article" CreateTagRequestBodyObjectTypeIssue CreateTagRequestBodyObjectType = "issue" )
func NewCreateTagRequestBodyObjectTypeFromString ¶
func NewCreateTagRequestBodyObjectTypeFromString(s string) (CreateTagRequestBodyObjectType, error)
func (CreateTagRequestBodyObjectType) Ptr ¶
func (c CreateTagRequestBodyObjectType) Ptr() *CreateTagRequestBodyObjectType
type CreateTagResponseBody ¶
type CreateTagResponseBody struct {
Data *Tag `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateTagResponseBody) GetData ¶
func (c *CreateTagResponseBody) GetData() *Tag
func (*CreateTagResponseBody) GetExtraProperties ¶
func (c *CreateTagResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateTagResponseBody) GetRequestID ¶
func (c *CreateTagResponseBody) GetRequestID() string
func (*CreateTagResponseBody) MarshalJSON ¶
func (c *CreateTagResponseBody) MarshalJSON() ([]byte, error)
func (*CreateTagResponseBody) SetData ¶
func (c *CreateTagResponseBody) SetData(data *Tag)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateTagResponseBody) SetRequestID ¶
func (c *CreateTagResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateTagResponseBody) String ¶
func (c *CreateTagResponseBody) String() string
func (*CreateTagResponseBody) UnmarshalJSON ¶
func (c *CreateTagResponseBody) UnmarshalJSON(data []byte) error
type CreateTaskCommentResponseBody ¶
type CreateTaskCommentResponseBody struct {
Data *TaskComment `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateTaskCommentResponseBody) GetData ¶
func (c *CreateTaskCommentResponseBody) GetData() *TaskComment
func (*CreateTaskCommentResponseBody) GetExtraProperties ¶
func (c *CreateTaskCommentResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateTaskCommentResponseBody) GetRequestID ¶
func (c *CreateTaskCommentResponseBody) GetRequestID() string
func (*CreateTaskCommentResponseBody) MarshalJSON ¶
func (c *CreateTaskCommentResponseBody) MarshalJSON() ([]byte, error)
func (*CreateTaskCommentResponseBody) SetData ¶
func (c *CreateTaskCommentResponseBody) SetData(data *TaskComment)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateTaskCommentResponseBody) SetRequestID ¶
func (c *CreateTaskCommentResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateTaskCommentResponseBody) String ¶
func (c *CreateTaskCommentResponseBody) String() string
func (*CreateTaskCommentResponseBody) UnmarshalJSON ¶
func (c *CreateTaskCommentResponseBody) UnmarshalJSON(data []byte) error
type CreateTaskResponseBody ¶
type CreateTaskResponseBody struct {
Data *Task `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateTaskResponseBody) GetData ¶
func (c *CreateTaskResponseBody) GetData() *Task
func (*CreateTaskResponseBody) GetExtraProperties ¶
func (c *CreateTaskResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateTaskResponseBody) GetRequestID ¶
func (c *CreateTaskResponseBody) GetRequestID() string
func (*CreateTaskResponseBody) MarshalJSON ¶
func (c *CreateTaskResponseBody) MarshalJSON() ([]byte, error)
func (*CreateTaskResponseBody) SetData ¶
func (c *CreateTaskResponseBody) SetData(data *Task)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateTaskResponseBody) SetRequestID ¶
func (c *CreateTaskResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateTaskResponseBody) String ¶
func (c *CreateTaskResponseBody) String() string
func (*CreateTaskResponseBody) UnmarshalJSON ¶
func (c *CreateTaskResponseBody) UnmarshalJSON(data []byte) error
type CreateTeamResponseBody ¶
type CreateTeamResponseBody struct {
Data *Team `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateTeamResponseBody) GetData ¶
func (c *CreateTeamResponseBody) GetData() *Team
func (*CreateTeamResponseBody) GetExtraProperties ¶
func (c *CreateTeamResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateTeamResponseBody) GetRequestID ¶
func (c *CreateTeamResponseBody) GetRequestID() string
func (*CreateTeamResponseBody) MarshalJSON ¶
func (c *CreateTeamResponseBody) MarshalJSON() ([]byte, error)
func (*CreateTeamResponseBody) SetData ¶
func (c *CreateTeamResponseBody) SetData(data *Team)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateTeamResponseBody) SetRequestID ¶
func (c *CreateTeamResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateTeamResponseBody) String ¶
func (c *CreateTeamResponseBody) String() string
func (*CreateTeamResponseBody) UnmarshalJSON ¶
func (c *CreateTeamResponseBody) UnmarshalJSON(data []byte) error
type CreateTrainingDataRequestBodyVisibility ¶
type CreateTrainingDataRequestBodyVisibility string
The visibility of the training data. Defaults to "everyone". Valid values: "everyone", "user_only", "ai_agent_only"
const ( CreateTrainingDataRequestBodyVisibilityEveryone CreateTrainingDataRequestBodyVisibility = "everyone" CreateTrainingDataRequestBodyVisibilityUserOnly CreateTrainingDataRequestBodyVisibility = "user_only" CreateTrainingDataRequestBodyVisibilityAiAgentOnly CreateTrainingDataRequestBodyVisibility = "ai_agent_only" )
func NewCreateTrainingDataRequestBodyVisibilityFromString ¶
func NewCreateTrainingDataRequestBodyVisibilityFromString(s string) (CreateTrainingDataRequestBodyVisibility, error)
type CreateTrainingDataResponseBody ¶
type CreateTrainingDataResponseBody struct {
Data *TrainingData `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*CreateTrainingDataResponseBody) GetData ¶
func (c *CreateTrainingDataResponseBody) GetData() *TrainingData
func (*CreateTrainingDataResponseBody) GetExtraProperties ¶
func (c *CreateTrainingDataResponseBody) GetExtraProperties() map[string]interface{}
func (*CreateTrainingDataResponseBody) GetRequestID ¶
func (c *CreateTrainingDataResponseBody) GetRequestID() string
func (*CreateTrainingDataResponseBody) MarshalJSON ¶
func (c *CreateTrainingDataResponseBody) MarshalJSON() ([]byte, error)
func (*CreateTrainingDataResponseBody) SetData ¶
func (c *CreateTrainingDataResponseBody) SetData(data *TrainingData)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateTrainingDataResponseBody) SetRequestID ¶
func (c *CreateTrainingDataResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CreateTrainingDataResponseBody) String ¶
func (c *CreateTrainingDataResponseBody) String() string
func (*CreateTrainingDataResponseBody) UnmarshalJSON ¶
func (c *CreateTrainingDataResponseBody) UnmarshalJSON(data []byte) error
type CrmDetails ¶
type CrmDetails struct {
// The ID of the CRM for that source.
ID string `json:"id" url:"id"`
// The source of the CRM.
Source string `json:"source" url:"source"`
// contains filtered or unexported fields
}
func (*CrmDetails) GetExtraProperties ¶
func (c *CrmDetails) GetExtraProperties() map[string]interface{}
func (*CrmDetails) GetID ¶
func (c *CrmDetails) GetID() string
func (*CrmDetails) GetSource ¶
func (c *CrmDetails) GetSource() string
func (*CrmDetails) MarshalJSON ¶
func (c *CrmDetails) MarshalJSON() ([]byte, error)
func (*CrmDetails) SetID ¶
func (c *CrmDetails) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CrmDetails) SetSource ¶
func (c *CrmDetails) SetSource(source string)
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CrmDetails) String ¶
func (c *CrmDetails) String() string
func (*CrmDetails) UnmarshalJSON ¶
func (c *CrmDetails) UnmarshalJSON(data []byte) error
type CrmSettings ¶
type CrmSettings struct {
// List of all CRM details for the account.
Details []*CrmDetails `json:"details,omitempty" url:"details,omitempty"`
// contains filtered or unexported fields
}
func (*CrmSettings) GetDetails ¶
func (c *CrmSettings) GetDetails() []*CrmDetails
func (*CrmSettings) GetExtraProperties ¶
func (c *CrmSettings) GetExtraProperties() map[string]interface{}
func (*CrmSettings) MarshalJSON ¶
func (c *CrmSettings) MarshalJSON() ([]byte, error)
func (*CrmSettings) SetDetails ¶
func (c *CrmSettings) SetDetails(details []*CrmDetails)
SetDetails sets the Details field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CrmSettings) String ¶
func (c *CrmSettings) String() string
func (*CrmSettings) UnmarshalJSON ¶
func (c *CrmSettings) UnmarshalJSON(data []byte) error
type CsatResponse ¶
type CsatResponse struct {
// The comment of the CSAT response.
Comment *string `json:"comment,omitempty" url:"comment,omitempty"`
// The score of the CSAT response.
Score int64 `json:"score" url:"score"`
// contains filtered or unexported fields
}
func (*CsatResponse) GetComment ¶
func (c *CsatResponse) GetComment() *string
func (*CsatResponse) GetExtraProperties ¶
func (c *CsatResponse) GetExtraProperties() map[string]interface{}
func (*CsatResponse) GetScore ¶
func (c *CsatResponse) GetScore() int64
func (*CsatResponse) MarshalJSON ¶
func (c *CsatResponse) MarshalJSON() ([]byte, error)
func (*CsatResponse) SetComment ¶
func (c *CsatResponse) SetComment(comment *string)
SetComment sets the Comment field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CsatResponse) SetScore ¶
func (c *CsatResponse) SetScore(score int64)
SetScore sets the Score field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CsatResponse) String ¶
func (c *CsatResponse) String() string
func (*CsatResponse) UnmarshalJSON ¶
func (c *CsatResponse) UnmarshalJSON(data []byte) error
type CustomActivity ¶
type CustomActivity struct {
// The ID of the account that the activity belongs to.
AccountID string `json:"account_id" url:"account_id"`
ActivityType *ActivityType `json:"activity_type,omitempty" url:"activity_type,omitempty"`
// The HTML content displayed in the activity.
BodyHTML *string `json:"body_html,omitempty" url:"body_html,omitempty"`
// The ID of the contact who performed the activity, if applicable.
ContactID *string `json:"contact_id,omitempty" url:"contact_id,omitempty"`
// The creation time of the activity in RFC3339 format.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// The timestamp (RFC3339) when the activity happened.
HappenedAt time.Time `json:"happened_at" url:"happened_at"`
// The ID of the activity.
ID string `json:"id" url:"id"`
// The link associated with the activity.
Link *string `json:"link,omitempty" url:"link,omitempty"`
// The text displayed for the activity link.
LinkText *string `json:"link_text,omitempty" url:"link_text,omitempty"`
// The last update time of the activity in RFC3339 format.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// The ID of the user who performed the activity, if applicable.
UserID *string `json:"user_id,omitempty" url:"user_id,omitempty"`
// contains filtered or unexported fields
}
func (*CustomActivity) GetAccountID ¶
func (c *CustomActivity) GetAccountID() string
func (*CustomActivity) GetActivityType ¶
func (c *CustomActivity) GetActivityType() *ActivityType
func (*CustomActivity) GetBodyHTML ¶
func (c *CustomActivity) GetBodyHTML() *string
func (*CustomActivity) GetContactID ¶
func (c *CustomActivity) GetContactID() *string
func (*CustomActivity) GetCreatedAt ¶
func (c *CustomActivity) GetCreatedAt() time.Time
func (*CustomActivity) GetExtraProperties ¶
func (c *CustomActivity) GetExtraProperties() map[string]interface{}
func (*CustomActivity) GetHappenedAt ¶
func (c *CustomActivity) GetHappenedAt() time.Time
func (*CustomActivity) GetID ¶
func (c *CustomActivity) GetID() string
func (*CustomActivity) GetLink ¶
func (c *CustomActivity) GetLink() *string
func (*CustomActivity) GetLinkText ¶
func (c *CustomActivity) GetLinkText() *string
func (*CustomActivity) GetUpdatedAt ¶
func (c *CustomActivity) GetUpdatedAt() time.Time
func (*CustomActivity) GetUserID ¶
func (c *CustomActivity) GetUserID() *string
func (*CustomActivity) MarshalJSON ¶
func (c *CustomActivity) MarshalJSON() ([]byte, error)
func (*CustomActivity) SetAccountID ¶
func (c *CustomActivity) SetAccountID(accountID string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomActivity) SetActivityType ¶
func (c *CustomActivity) SetActivityType(activityType *ActivityType)
SetActivityType sets the ActivityType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomActivity) SetBodyHTML ¶
func (c *CustomActivity) SetBodyHTML(bodyHTML *string)
SetBodyHTML sets the BodyHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomActivity) SetContactID ¶
func (c *CustomActivity) SetContactID(contactID *string)
SetContactID sets the ContactID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomActivity) SetCreatedAt ¶
func (c *CustomActivity) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomActivity) SetHappenedAt ¶
func (c *CustomActivity) SetHappenedAt(happenedAt time.Time)
SetHappenedAt sets the HappenedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomActivity) SetID ¶
func (c *CustomActivity) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomActivity) SetLink ¶
func (c *CustomActivity) SetLink(link *string)
SetLink sets the Link field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomActivity) SetLinkText ¶
func (c *CustomActivity) SetLinkText(linkText *string)
SetLinkText sets the LinkText field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomActivity) SetUpdatedAt ¶
func (c *CustomActivity) SetUpdatedAt(updatedAt time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomActivity) SetUserID ¶
func (c *CustomActivity) SetUserID(userID *string)
SetUserID sets the UserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomActivity) String ¶
func (c *CustomActivity) String() string
func (*CustomActivity) UnmarshalJSON ¶
func (c *CustomActivity) UnmarshalJSON(data []byte) error
type CustomFieldActor ¶
type CustomFieldActor struct {
// "user" for a change made by a user, "system" for an automated change, such as AI-generated option descriptions, and "unknown" for a change made before authors were recorded.
//
// Known values: `user`, `system`, `unknown`. This list is not exhaustive.
Type string `json:"type" url:"type"`
User *MiniUser `json:"user,omitempty" url:"user,omitempty"`
// contains filtered or unexported fields
}
func (*CustomFieldActor) GetExtraProperties ¶
func (c *CustomFieldActor) GetExtraProperties() map[string]interface{}
func (*CustomFieldActor) GetType ¶
func (c *CustomFieldActor) GetType() string
func (*CustomFieldActor) GetUser ¶
func (c *CustomFieldActor) GetUser() *MiniUser
func (*CustomFieldActor) MarshalJSON ¶
func (c *CustomFieldActor) MarshalJSON() ([]byte, error)
func (*CustomFieldActor) SetType ¶
func (c *CustomFieldActor) SetType(type_ string)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldActor) SetUser ¶
func (c *CustomFieldActor) SetUser(user *MiniUser)
SetUser sets the User field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldActor) String ¶
func (c *CustomFieldActor) String() string
func (*CustomFieldActor) UnmarshalJSON ¶
func (c *CustomFieldActor) UnmarshalJSON(data []byte) error
type CustomFieldDefinition ¶
type CustomFieldDefinition struct {
// When the custom field was created.
CreatedAt time.Time `json:"created_at" url:"created_at"`
CreatedBy *CustomFieldActor `json:"created_by,omitempty" url:"created_by,omitempty"`
// The default value for single-valued custom fields.
DefaultValue *string `json:"default_value,omitempty" url:"default_value,omitempty"`
// The default values for multi-valued custom fields.
DefaultValues []string `json:"default_values,omitempty" url:"default_values,omitempty"`
// The description of the custom field.
Description string `json:"description" url:"description"`
// The ID of the custom field.
ID string `json:"id" url:"id"`
// Field-wide instructions for how AI populates the field.
Instructions string `json:"instructions" url:"instructions"`
// Whether AI is enabled for the field.
IsAiEnabled bool `json:"is_ai_enabled" url:"is_ai_enabled"`
// Whether the custom field is read only. Fields synced from apps and integrations are read-only.
IsReadOnly bool `json:"is_read_only" url:"is_read_only"`
// JSON schema for structured web research results, when configured.
JSONSchema *string `json:"json_schema,omitempty" url:"json_schema,omitempty"`
// The label of the custom field.
Label string `json:"label" url:"label"`
NumberMetadata *NumberMetadata `json:"number_metadata,omitempty" url:"number_metadata,omitempty"`
// The type of object this custom field is for. This can be a built-in or custom object type.
ObjectType string `json:"object_type" url:"object_type"`
Requirement *CustomFieldRequirement `json:"requirement,omitempty" url:"requirement,omitempty"`
SelectMetadata *SelectMetadata `json:"select_metadata,omitempty" url:"select_metadata,omitempty"`
// The slug of the custom field.
Slug string `json:"slug" url:"slug"`
// The source of the custom field.
Source string `json:"source" url:"source"`
// The type of the custom field.
Type string `json:"type" url:"type"`
// When the custom field was last updated.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
UpdatedBy *CustomFieldActor `json:"updated_by,omitempty" url:"updated_by,omitempty"`
// Whether the custom field shows on records in Pylon by default. When false, it shows only where a field visibility condition makes it visible.
VisibleByDefault bool `json:"visible_by_default" url:"visible_by_default"`
// contains filtered or unexported fields
}
func (*CustomFieldDefinition) GetCreatedAt ¶
func (c *CustomFieldDefinition) GetCreatedAt() time.Time
func (*CustomFieldDefinition) GetCreatedBy ¶
func (c *CustomFieldDefinition) GetCreatedBy() *CustomFieldActor
func (*CustomFieldDefinition) GetDefaultValue ¶
func (c *CustomFieldDefinition) GetDefaultValue() *string
func (*CustomFieldDefinition) GetDefaultValues ¶
func (c *CustomFieldDefinition) GetDefaultValues() []string
func (*CustomFieldDefinition) GetDescription ¶
func (c *CustomFieldDefinition) GetDescription() string
func (*CustomFieldDefinition) GetExtraProperties ¶
func (c *CustomFieldDefinition) GetExtraProperties() map[string]interface{}
func (*CustomFieldDefinition) GetID ¶
func (c *CustomFieldDefinition) GetID() string
func (*CustomFieldDefinition) GetInstructions ¶
func (c *CustomFieldDefinition) GetInstructions() string
func (*CustomFieldDefinition) GetIsAiEnabled ¶
func (c *CustomFieldDefinition) GetIsAiEnabled() bool
func (*CustomFieldDefinition) GetIsReadOnly ¶
func (c *CustomFieldDefinition) GetIsReadOnly() bool
func (*CustomFieldDefinition) GetJSONSchema ¶
func (c *CustomFieldDefinition) GetJSONSchema() *string
func (*CustomFieldDefinition) GetLabel ¶
func (c *CustomFieldDefinition) GetLabel() string
func (*CustomFieldDefinition) GetNumberMetadata ¶
func (c *CustomFieldDefinition) GetNumberMetadata() *NumberMetadata
func (*CustomFieldDefinition) GetObjectType ¶
func (c *CustomFieldDefinition) GetObjectType() string
func (*CustomFieldDefinition) GetRequirement ¶
func (c *CustomFieldDefinition) GetRequirement() *CustomFieldRequirement
func (*CustomFieldDefinition) GetSelectMetadata ¶
func (c *CustomFieldDefinition) GetSelectMetadata() *SelectMetadata
func (*CustomFieldDefinition) GetSlug ¶
func (c *CustomFieldDefinition) GetSlug() string
func (*CustomFieldDefinition) GetSource ¶
func (c *CustomFieldDefinition) GetSource() string
func (*CustomFieldDefinition) GetType ¶
func (c *CustomFieldDefinition) GetType() string
func (*CustomFieldDefinition) GetUpdatedAt ¶
func (c *CustomFieldDefinition) GetUpdatedAt() time.Time
func (*CustomFieldDefinition) GetUpdatedBy ¶
func (c *CustomFieldDefinition) GetUpdatedBy() *CustomFieldActor
func (*CustomFieldDefinition) GetVisibleByDefault ¶
func (c *CustomFieldDefinition) GetVisibleByDefault() bool
func (*CustomFieldDefinition) MarshalJSON ¶
func (c *CustomFieldDefinition) MarshalJSON() ([]byte, error)
func (*CustomFieldDefinition) SetCreatedAt ¶
func (c *CustomFieldDefinition) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetCreatedBy ¶
func (c *CustomFieldDefinition) SetCreatedBy(createdBy *CustomFieldActor)
SetCreatedBy sets the CreatedBy field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetDefaultValue ¶
func (c *CustomFieldDefinition) SetDefaultValue(defaultValue *string)
SetDefaultValue sets the DefaultValue field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetDefaultValues ¶
func (c *CustomFieldDefinition) SetDefaultValues(defaultValues []string)
SetDefaultValues sets the DefaultValues field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetDescription ¶
func (c *CustomFieldDefinition) SetDescription(description string)
SetDescription sets the Description field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetID ¶
func (c *CustomFieldDefinition) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetInstructions ¶
func (c *CustomFieldDefinition) SetInstructions(instructions string)
SetInstructions sets the Instructions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetIsAiEnabled ¶
func (c *CustomFieldDefinition) SetIsAiEnabled(isAiEnabled bool)
SetIsAiEnabled sets the IsAiEnabled field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetIsReadOnly ¶
func (c *CustomFieldDefinition) SetIsReadOnly(isReadOnly bool)
SetIsReadOnly sets the IsReadOnly field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetJSONSchema ¶
func (c *CustomFieldDefinition) SetJSONSchema(jsonSchema *string)
SetJSONSchema sets the JSONSchema field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetLabel ¶
func (c *CustomFieldDefinition) SetLabel(label string)
SetLabel sets the Label field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetNumberMetadata ¶
func (c *CustomFieldDefinition) SetNumberMetadata(numberMetadata *NumberMetadata)
SetNumberMetadata sets the NumberMetadata field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetObjectType ¶
func (c *CustomFieldDefinition) SetObjectType(objectType string)
SetObjectType sets the ObjectType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetRequirement ¶
func (c *CustomFieldDefinition) SetRequirement(requirement *CustomFieldRequirement)
SetRequirement sets the Requirement field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetSelectMetadata ¶
func (c *CustomFieldDefinition) SetSelectMetadata(selectMetadata *SelectMetadata)
SetSelectMetadata sets the SelectMetadata field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetSlug ¶
func (c *CustomFieldDefinition) SetSlug(slug string)
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetSource ¶
func (c *CustomFieldDefinition) SetSource(source string)
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetType ¶
func (c *CustomFieldDefinition) SetType(type_ string)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetUpdatedAt ¶
func (c *CustomFieldDefinition) SetUpdatedAt(updatedAt time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetUpdatedBy ¶
func (c *CustomFieldDefinition) SetUpdatedBy(updatedBy *CustomFieldActor)
SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) SetVisibleByDefault ¶
func (c *CustomFieldDefinition) SetVisibleByDefault(visibleByDefault bool)
SetVisibleByDefault sets the VisibleByDefault field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinition) String ¶
func (c *CustomFieldDefinition) String() string
func (*CustomFieldDefinition) UnmarshalJSON ¶
func (c *CustomFieldDefinition) UnmarshalJSON(data []byte) error
type CustomFieldDefinitionSelectOption ¶
type CustomFieldDefinitionSelectOption struct {
// The AI description of the option. This is used to help the AI understand when to select this option.
AiDescription *string `json:"ai_description,omitempty" url:"ai_description,omitempty"`
// The label of the option.
Label *string `json:"label,omitempty" url:"label,omitempty"`
// The slug of the option.
Slug *string `json:"slug,omitempty" url:"slug,omitempty"`
// contains filtered or unexported fields
}
func (*CustomFieldDefinitionSelectOption) GetAiDescription ¶
func (c *CustomFieldDefinitionSelectOption) GetAiDescription() *string
func (*CustomFieldDefinitionSelectOption) GetExtraProperties ¶
func (c *CustomFieldDefinitionSelectOption) GetExtraProperties() map[string]interface{}
func (*CustomFieldDefinitionSelectOption) GetLabel ¶
func (c *CustomFieldDefinitionSelectOption) GetLabel() *string
func (*CustomFieldDefinitionSelectOption) GetSlug ¶
func (c *CustomFieldDefinitionSelectOption) GetSlug() *string
func (*CustomFieldDefinitionSelectOption) MarshalJSON ¶
func (c *CustomFieldDefinitionSelectOption) MarshalJSON() ([]byte, error)
func (*CustomFieldDefinitionSelectOption) SetAiDescription ¶
func (c *CustomFieldDefinitionSelectOption) SetAiDescription(aiDescription *string)
SetAiDescription sets the AiDescription field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinitionSelectOption) SetLabel ¶
func (c *CustomFieldDefinitionSelectOption) SetLabel(label *string)
SetLabel sets the Label field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinitionSelectOption) SetSlug ¶
func (c *CustomFieldDefinitionSelectOption) SetSlug(slug *string)
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldDefinitionSelectOption) String ¶
func (c *CustomFieldDefinitionSelectOption) String() string
func (*CustomFieldDefinitionSelectOption) UnmarshalJSON ¶
func (c *CustomFieldDefinitionSelectOption) UnmarshalJSON(data []byte) error
type CustomFieldRequirement ¶
type CustomFieldRequirement struct {
Filter *Filter `json:"filter,omitempty" url:"filter,omitempty"`
// Whether the requirement has conditions that can't be expressed as an API filter. When true, filter is omitted.
FilterUnsupported *bool `json:"filter_unsupported,omitempty" url:"filter_unsupported,omitempty"`
// When the custom field is required. "required_for_closed" requires it when closing an issue, and "required_under_certain_conditions" requires it on issues that match filter.
//
// Known values: `not_required`, `required`, `required_for_closed`, `required_under_certain_conditions`. This list is not exhaustive.
Setting string `json:"setting" url:"setting"`
// contains filtered or unexported fields
}
func (*CustomFieldRequirement) GetExtraProperties ¶
func (c *CustomFieldRequirement) GetExtraProperties() map[string]interface{}
func (*CustomFieldRequirement) GetFilter ¶
func (c *CustomFieldRequirement) GetFilter() *Filter
func (*CustomFieldRequirement) GetFilterUnsupported ¶
func (c *CustomFieldRequirement) GetFilterUnsupported() *bool
func (*CustomFieldRequirement) GetSetting ¶
func (c *CustomFieldRequirement) GetSetting() string
func (*CustomFieldRequirement) MarshalJSON ¶
func (c *CustomFieldRequirement) MarshalJSON() ([]byte, error)
func (*CustomFieldRequirement) SetFilter ¶
func (c *CustomFieldRequirement) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldRequirement) SetFilterUnsupported ¶
func (c *CustomFieldRequirement) SetFilterUnsupported(filterUnsupported *bool)
SetFilterUnsupported sets the FilterUnsupported field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldRequirement) SetSetting ¶
func (c *CustomFieldRequirement) SetSetting(setting string)
SetSetting sets the Setting field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldRequirement) String ¶
func (c *CustomFieldRequirement) String() string
func (*CustomFieldRequirement) UnmarshalJSON ¶
func (c *CustomFieldRequirement) UnmarshalJSON(data []byte) error
type CustomFieldValue ¶
type CustomFieldValue struct {
// The slug of the custom field.
Slug *string `json:"slug,omitempty" url:"slug,omitempty"`
// The value of the custom field. Only to be used for single-valued custom fields. If unset, the custom field will be unset. If the custom field is a select field, the value must be the select option slug, which you can find from the GET /custom-fields endpoint. If the custom field is a relationship field, the value must be the related object ID. If the custom field is a date or datetime field, the value must be an RFC3339 timestamp, such as 2026-01-31T00:00:00Z.
Value *string `json:"value,omitempty" url:"value,omitempty"`
// The values of the custom field. Only to be used for multi-valued custom fields (ex. multiselect). Replaces the full selection; it does not add to or remove from the existing values. If unset, the custom field will be unset. If the custom field is a multiselect field, the values must be the select option slugs which you can find from the GET /custom-fields endpoint.
Values []string `json:"values,omitempty" url:"values,omitempty"`
// contains filtered or unexported fields
}
A custom field value to set. Custom fields not listed in a write request are left unchanged.
func (*CustomFieldValue) GetExtraProperties ¶
func (c *CustomFieldValue) GetExtraProperties() map[string]interface{}
func (*CustomFieldValue) GetSlug ¶
func (c *CustomFieldValue) GetSlug() *string
func (*CustomFieldValue) GetValue ¶
func (c *CustomFieldValue) GetValue() *string
func (*CustomFieldValue) GetValues ¶
func (c *CustomFieldValue) GetValues() []string
func (*CustomFieldValue) MarshalJSON ¶
func (c *CustomFieldValue) MarshalJSON() ([]byte, error)
func (*CustomFieldValue) SetSlug ¶
func (c *CustomFieldValue) SetSlug(slug *string)
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldValue) SetValue ¶
func (c *CustomFieldValue) SetValue(value *string)
SetValue sets the Value field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldValue) SetValues ¶
func (c *CustomFieldValue) SetValues(values []string)
SetValues sets the Values field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldValue) String ¶
func (c *CustomFieldValue) String() string
func (*CustomFieldValue) UnmarshalJSON ¶
func (c *CustomFieldValue) UnmarshalJSON(data []byte) error
type CustomFieldsCreateRequest ¶
type CustomFieldsCreateRequest struct {
// The default value for single-valued custom fields.
DefaultValue *string `json:"default_value,omitempty" url:"-"`
// The default values for multi-valued custom fields.
DefaultValues []string `json:"default_values,omitempty" url:"-"`
// The description of the custom field.
Description *string `json:"description,omitempty" url:"-"`
// Field-wide instructions for how AI should populate the field. For AI-enabled fields, an empty value falls back to description.
Instructions *string `json:"instructions,omitempty" url:"-"`
// Whether AI should populate the field. Web research fields are always AI-enabled.
IsAiEnabled *bool `json:"is_ai_enabled,omitempty" url:"-"`
// JSON schema for structured web research results. Required for contact web research fields.
JSONSchema *string `json:"json_schema,omitempty" url:"-"`
// The label of the custom field.
Label string `json:"label" url:"-"`
// The object type of the custom field. Can be "account", "issue", "contact", "task", "project", "meeting", "opportunity", or "feature_request".
ObjectType CreateCustomFieldRequestBodyObjectType `json:"object_type" url:"-"`
// The list options of the select custom field. This is only present for select and multiselect custom fields.
SelectOptions []*CustomFieldDefinitionSelectOption `json:"select_options,omitempty" url:"-"`
// The slug of the custom field.
Slug *string `json:"slug,omitempty" url:"-"`
// The type of the custom field. Can be one of `text`, `number`, `boolean`, `date`, `datetime`, `user`, `url`, `select`, `multiselect`, or `web_research`. Number fields accept integers and fractional values, such as 7.4; decimal is not a separate field type. Web research is supported for accounts and for contacts when enabled for the organization.
Type string `json:"type" url:"-"`
// contains filtered or unexported fields
}
func (*CustomFieldsCreateRequest) MarshalJSON ¶
func (c *CustomFieldsCreateRequest) MarshalJSON() ([]byte, error)
func (*CustomFieldsCreateRequest) SetDefaultValue ¶
func (c *CustomFieldsCreateRequest) SetDefaultValue(defaultValue *string)
SetDefaultValue sets the DefaultValue field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsCreateRequest) SetDefaultValues ¶
func (c *CustomFieldsCreateRequest) SetDefaultValues(defaultValues []string)
SetDefaultValues sets the DefaultValues field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsCreateRequest) SetDescription ¶
func (c *CustomFieldsCreateRequest) SetDescription(description *string)
SetDescription sets the Description field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsCreateRequest) SetInstructions ¶
func (c *CustomFieldsCreateRequest) SetInstructions(instructions *string)
SetInstructions sets the Instructions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsCreateRequest) SetIsAiEnabled ¶
func (c *CustomFieldsCreateRequest) SetIsAiEnabled(isAiEnabled *bool)
SetIsAiEnabled sets the IsAiEnabled field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsCreateRequest) SetJSONSchema ¶
func (c *CustomFieldsCreateRequest) SetJSONSchema(jsonSchema *string)
SetJSONSchema sets the JSONSchema field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsCreateRequest) SetLabel ¶
func (c *CustomFieldsCreateRequest) SetLabel(label string)
SetLabel sets the Label field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsCreateRequest) SetObjectType ¶
func (c *CustomFieldsCreateRequest) SetObjectType(objectType CreateCustomFieldRequestBodyObjectType)
SetObjectType sets the ObjectType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsCreateRequest) SetSelectOptions ¶
func (c *CustomFieldsCreateRequest) SetSelectOptions(selectOptions []*CustomFieldDefinitionSelectOption)
SetSelectOptions sets the SelectOptions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsCreateRequest) SetSlug ¶
func (c *CustomFieldsCreateRequest) SetSlug(slug *string)
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsCreateRequest) SetType ¶
func (c *CustomFieldsCreateRequest) SetType(type_ string)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsCreateRequest) UnmarshalJSON ¶
func (c *CustomFieldsCreateRequest) UnmarshalJSON(data []byte) error
type CustomFieldsGetRequest ¶
type CustomFieldsGetRequest struct {
// The ID of the custom field.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*CustomFieldsGetRequest) SetID ¶
func (c *CustomFieldsGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type CustomFieldsListRequest ¶
type CustomFieldsListRequest struct {
// The object type of the custom fields. Can be "account", "issue", "contact", "task", "project", "meeting", "opportunity", or "feature_request".
ObjectType ListCustomFieldsRequestObjectType `json:"-" url:"object_type"`
// contains filtered or unexported fields
}
func (*CustomFieldsListRequest) SetObjectType ¶
func (c *CustomFieldsListRequest) SetObjectType(objectType ListCustomFieldsRequestObjectType)
SetObjectType sets the ObjectType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type CustomFieldsUpdateRequest ¶
type CustomFieldsUpdateRequest struct {
// The ID of the custom field.
ID string `json:"-" url:"-"`
// Options to add without replacing existing options or changing existing labels and AI criteria. Cannot be combined with select_options.
AddSelectOptions []*CustomFieldDefinitionSelectOption `json:"add_select_options,omitempty" url:"-"`
// The default value for single-valued custom fields.
DefaultValue *string `json:"default_value,omitempty" url:"-"`
// The default values for multi-valued custom fields.
DefaultValues []string `json:"default_values,omitempty" url:"-"`
// The description of the custom field.
Description *string `json:"description,omitempty" url:"-"`
// Field-wide instructions for how AI should populate the field. An empty string clears saved instructions when AI is disabled.
Instructions *string `json:"instructions,omitempty" url:"-"`
// Whether AI should populate the field. Omit to preserve the current setting.
IsAiEnabled *bool `json:"is_ai_enabled,omitempty" url:"-"`
// The label of the custom field.
Label *string `json:"label,omitempty" url:"-"`
// AI selection criteria keyed by exact option slug. Omitted options are preserved; an empty string clears an option's criteria.
OptionDescriptions map[string]string `json:"option_descriptions,omitempty" url:"-"`
Requirement *UpdateCustomFieldRequirement `json:"requirement,omitempty" url:"-"`
// The complete list of options for a select or multiselect custom field. Options missing from the list are deleted and their stored values are cleared asynchronously. Prefer the dedicated select option endpoints, which can rename an option without losing stored values.
SelectOptions []*CustomFieldDefinitionSelectOption `json:"select_options,omitempty" url:"-"`
// The slug of the custom field.
Slug *string `json:"slug,omitempty" url:"-"`
// Whether the custom field shows on records in Pylon by default. When false, it shows only where a field visibility condition makes it visible. Omit to keep the current setting.
VisibleByDefault *bool `json:"visible_by_default,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*CustomFieldsUpdateRequest) MarshalJSON ¶
func (c *CustomFieldsUpdateRequest) MarshalJSON() ([]byte, error)
func (*CustomFieldsUpdateRequest) SetAddSelectOptions ¶
func (c *CustomFieldsUpdateRequest) SetAddSelectOptions(addSelectOptions []*CustomFieldDefinitionSelectOption)
SetAddSelectOptions sets the AddSelectOptions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsUpdateRequest) SetDefaultValue ¶
func (c *CustomFieldsUpdateRequest) SetDefaultValue(defaultValue *string)
SetDefaultValue sets the DefaultValue field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsUpdateRequest) SetDefaultValues ¶
func (c *CustomFieldsUpdateRequest) SetDefaultValues(defaultValues []string)
SetDefaultValues sets the DefaultValues field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsUpdateRequest) SetDescription ¶
func (c *CustomFieldsUpdateRequest) SetDescription(description *string)
SetDescription sets the Description field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsUpdateRequest) SetID ¶
func (c *CustomFieldsUpdateRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsUpdateRequest) SetInstructions ¶
func (c *CustomFieldsUpdateRequest) SetInstructions(instructions *string)
SetInstructions sets the Instructions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsUpdateRequest) SetIsAiEnabled ¶
func (c *CustomFieldsUpdateRequest) SetIsAiEnabled(isAiEnabled *bool)
SetIsAiEnabled sets the IsAiEnabled field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsUpdateRequest) SetLabel ¶
func (c *CustomFieldsUpdateRequest) SetLabel(label *string)
SetLabel sets the Label field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsUpdateRequest) SetOptionDescriptions ¶
func (c *CustomFieldsUpdateRequest) SetOptionDescriptions(optionDescriptions map[string]string)
SetOptionDescriptions sets the OptionDescriptions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsUpdateRequest) SetRequirement ¶
func (c *CustomFieldsUpdateRequest) SetRequirement(requirement *UpdateCustomFieldRequirement)
SetRequirement sets the Requirement field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsUpdateRequest) SetSelectOptions ¶
func (c *CustomFieldsUpdateRequest) SetSelectOptions(selectOptions []*CustomFieldDefinitionSelectOption)
SetSelectOptions sets the SelectOptions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsUpdateRequest) SetSlug ¶
func (c *CustomFieldsUpdateRequest) SetSlug(slug *string)
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsUpdateRequest) SetVisibleByDefault ¶
func (c *CustomFieldsUpdateRequest) SetVisibleByDefault(visibleByDefault *bool)
SetVisibleByDefault sets the VisibleByDefault field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomFieldsUpdateRequest) UnmarshalJSON ¶
func (c *CustomFieldsUpdateRequest) UnmarshalJSON(data []byte) error
type CustomObjectsBulkUpdateRequest ¶
type CustomObjectsBulkUpdateRequest struct {
// The type slug of the custom object (e.g. "opportunity").
Type string `json:"-" url:"-"`
// Custom field values to apply to every listed custom object, keyed by field slug. To unset a field, pass its slug with an empty value.
CustomFields map[string]*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// The IDs of the custom objects to update. Must be between 1 and 100 IDs.
IDs []string `json:"ids" url:"-"`
// contains filtered or unexported fields
}
func (*CustomObjectsBulkUpdateRequest) MarshalJSON ¶
func (c *CustomObjectsBulkUpdateRequest) MarshalJSON() ([]byte, error)
func (*CustomObjectsBulkUpdateRequest) SetCustomFields ¶
func (c *CustomObjectsBulkUpdateRequest) SetCustomFields(customFields map[string]*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsBulkUpdateRequest) SetIDs ¶
func (c *CustomObjectsBulkUpdateRequest) SetIDs(ids []string)
SetIDs sets the IDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsBulkUpdateRequest) SetType ¶
func (c *CustomObjectsBulkUpdateRequest) SetType(type_ string)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsBulkUpdateRequest) UnmarshalJSON ¶
func (c *CustomObjectsBulkUpdateRequest) UnmarshalJSON(data []byte) error
type CustomObjectsCreateRequest ¶
type CustomObjectsCreateRequest struct {
// The type slug of the custom object (e.g. "companies").
Type string `json:"-" url:"-"`
// Custom field values to set on the object, keyed by field slug. To link the object to an account, pass the built-in Account relationship field as `custom_fields.account.value`, for example `{"custom_fields":{"account":{"value":"account_uuid"}}}`.
CustomFields map[string]*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// The name of the custom object.
Name string `json:"name" url:"-"`
// contains filtered or unexported fields
}
func (*CustomObjectsCreateRequest) MarshalJSON ¶
func (c *CustomObjectsCreateRequest) MarshalJSON() ([]byte, error)
func (*CustomObjectsCreateRequest) SetCustomFields ¶
func (c *CustomObjectsCreateRequest) SetCustomFields(customFields map[string]*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsCreateRequest) SetName ¶
func (c *CustomObjectsCreateRequest) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsCreateRequest) SetType ¶
func (c *CustomObjectsCreateRequest) SetType(type_ string)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsCreateRequest) UnmarshalJSON ¶
func (c *CustomObjectsCreateRequest) UnmarshalJSON(data []byte) error
type CustomObjectsDeleteRequest ¶
type CustomObjectsDeleteRequest struct {
// The type slug of the custom object (e.g. "companies").
Type string `json:"-" url:"-"`
// The ID of the custom object.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*CustomObjectsDeleteRequest) SetID ¶
func (c *CustomObjectsDeleteRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsDeleteRequest) SetType ¶
func (c *CustomObjectsDeleteRequest) SetType(type_ string)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type CustomObjectsGetRequest ¶
type CustomObjectsGetRequest struct {
// The type slug of the custom object (e.g. "companies").
Type string `json:"-" url:"-"`
// The ID of the custom object.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*CustomObjectsGetRequest) SetID ¶
func (c *CustomObjectsGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsGetRequest) SetType ¶
func (c *CustomObjectsGetRequest) SetType(type_ string)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type CustomObjectsListRequest ¶
type CustomObjectsListRequest struct {
// The type slug of the custom object (e.g. "companies").
Type string `json:"-" url:"-"`
// Pagination cursor for the next page.
Cursor *string `json:"-" url:"cursor,omitempty"`
// Number of results per page. Defaults to 25, max 100.
Limit *int64 `json:"-" url:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*CustomObjectsListRequest) SetCursor ¶
func (c *CustomObjectsListRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsListRequest) SetLimit ¶
func (c *CustomObjectsListRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsListRequest) SetType ¶
func (c *CustomObjectsListRequest) SetType(type_ string)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type CustomObjectsSearchRequest ¶
type CustomObjectsSearchRequest struct {
// The type slug of the custom object (e.g. "companies").
Type string `json:"-" url:"-"`
// The cursor to use for pagination.
Cursor *string `json:"cursor,omitempty" url:"-"`
Filter *Filter `json:"filter,omitempty" url:"-"`
// The number of results to fetch. Defaults to 25, max 100.
Limit *int64 `json:"limit,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*CustomObjectsSearchRequest) MarshalJSON ¶
func (c *CustomObjectsSearchRequest) MarshalJSON() ([]byte, error)
func (*CustomObjectsSearchRequest) SetCursor ¶
func (c *CustomObjectsSearchRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsSearchRequest) SetFilter ¶
func (c *CustomObjectsSearchRequest) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsSearchRequest) SetLimit ¶
func (c *CustomObjectsSearchRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsSearchRequest) SetType ¶
func (c *CustomObjectsSearchRequest) SetType(type_ string)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsSearchRequest) UnmarshalJSON ¶
func (c *CustomObjectsSearchRequest) UnmarshalJSON(data []byte) error
type CustomObjectsUpdateRequest ¶
type CustomObjectsUpdateRequest struct {
// The type slug of the custom object (e.g. "companies").
Type string `json:"-" url:"-"`
// The ID of the custom object.
ID string `json:"-" url:"-"`
// Custom field values to set on the object, keyed by field slug. To update the linked account, pass the built-in Account relationship field as `custom_fields.account.value`, for example `{"custom_fields":{"account":{"value":"account_uuid"}}}`.
CustomFields map[string]*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// The name of the custom object.
Name *string `json:"name,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*CustomObjectsUpdateRequest) MarshalJSON ¶
func (c *CustomObjectsUpdateRequest) MarshalJSON() ([]byte, error)
func (*CustomObjectsUpdateRequest) SetCustomFields ¶
func (c *CustomObjectsUpdateRequest) SetCustomFields(customFields map[string]*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsUpdateRequest) SetID ¶
func (c *CustomObjectsUpdateRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsUpdateRequest) SetName ¶
func (c *CustomObjectsUpdateRequest) SetName(name *string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsUpdateRequest) SetType ¶
func (c *CustomObjectsUpdateRequest) SetType(type_ string)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomObjectsUpdateRequest) UnmarshalJSON ¶
func (c *CustomObjectsUpdateRequest) UnmarshalJSON(data []byte) error
type CustomSourceInfo ¶
type CustomSourceInfo struct {
// The timestamp of when the message was created in the external system. (RFC3339)
CreatedAt *time.Time `json:"created_at,omitempty" url:"created_at,omitempty"`
// The external ID of this message in the custom system. Unique per custom source: retrying a reply with the same external_id on the same issue returns the existing message instead of creating a duplicate.
ExternalID string `json:"external_id" url:"external_id"`
// Arbitrary metadata to store with the message.
Metadata map[string]any `json:"metadata,omitempty" url:"metadata,omitempty"`
// contains filtered or unexported fields
}
func (*CustomSourceInfo) GetCreatedAt ¶
func (c *CustomSourceInfo) GetCreatedAt() *time.Time
func (*CustomSourceInfo) GetExternalID ¶
func (c *CustomSourceInfo) GetExternalID() string
func (*CustomSourceInfo) GetExtraProperties ¶
func (c *CustomSourceInfo) GetExtraProperties() map[string]interface{}
func (*CustomSourceInfo) GetMetadata ¶
func (c *CustomSourceInfo) GetMetadata() map[string]any
func (*CustomSourceInfo) MarshalJSON ¶
func (c *CustomSourceInfo) MarshalJSON() ([]byte, error)
func (*CustomSourceInfo) SetCreatedAt ¶
func (c *CustomSourceInfo) SetCreatedAt(createdAt *time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomSourceInfo) SetExternalID ¶
func (c *CustomSourceInfo) SetExternalID(externalID string)
SetExternalID sets the ExternalID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomSourceInfo) SetMetadata ¶
func (c *CustomSourceInfo) SetMetadata(metadata map[string]any)
SetMetadata sets the Metadata field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomSourceInfo) String ¶
func (c *CustomSourceInfo) String() string
func (*CustomSourceInfo) UnmarshalJSON ¶
func (c *CustomSourceInfo) UnmarshalJSON(data []byte) error
type CustomerPortalInvitationResult ¶
type CustomerPortalInvitationResult struct {
// Whether the invitation was accepted for sending. This does not guarantee email delivery.
Accepted bool `json:"accepted" url:"accepted"`
// contains filtered or unexported fields
}
func (*CustomerPortalInvitationResult) GetAccepted ¶
func (c *CustomerPortalInvitationResult) GetAccepted() bool
func (*CustomerPortalInvitationResult) GetExtraProperties ¶
func (c *CustomerPortalInvitationResult) GetExtraProperties() map[string]interface{}
func (*CustomerPortalInvitationResult) MarshalJSON ¶
func (c *CustomerPortalInvitationResult) MarshalJSON() ([]byte, error)
func (*CustomerPortalInvitationResult) SetAccepted ¶
func (c *CustomerPortalInvitationResult) SetAccepted(accepted bool)
SetAccepted sets the Accepted field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*CustomerPortalInvitationResult) String ¶
func (c *CustomerPortalInvitationResult) String() string
func (*CustomerPortalInvitationResult) UnmarshalJSON ¶
func (c *CustomerPortalInvitationResult) UnmarshalJSON(data []byte) error
type DeleteAccountHighlightResponseBody ¶
type DeleteAccountHighlightResponseBody struct {
Data *DeleteAccountHighlightResponseData `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteAccountHighlightResponseBody) GetData ¶
func (d *DeleteAccountHighlightResponseBody) GetData() *DeleteAccountHighlightResponseData
func (*DeleteAccountHighlightResponseBody) GetExtraProperties ¶
func (d *DeleteAccountHighlightResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteAccountHighlightResponseBody) GetRequestID ¶
func (d *DeleteAccountHighlightResponseBody) GetRequestID() string
func (*DeleteAccountHighlightResponseBody) MarshalJSON ¶
func (d *DeleteAccountHighlightResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteAccountHighlightResponseBody) SetData ¶
func (d *DeleteAccountHighlightResponseBody) SetData(data *DeleteAccountHighlightResponseData)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteAccountHighlightResponseBody) SetRequestID ¶
func (d *DeleteAccountHighlightResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteAccountHighlightResponseBody) String ¶
func (d *DeleteAccountHighlightResponseBody) String() string
func (*DeleteAccountHighlightResponseBody) UnmarshalJSON ¶
func (d *DeleteAccountHighlightResponseBody) UnmarshalJSON(data []byte) error
type DeleteAccountHighlightResponseData ¶
type DeleteAccountHighlightResponseData struct {
Success bool `json:"success" url:"success"`
// contains filtered or unexported fields
}
func (*DeleteAccountHighlightResponseData) GetExtraProperties ¶
func (d *DeleteAccountHighlightResponseData) GetExtraProperties() map[string]interface{}
func (*DeleteAccountHighlightResponseData) GetSuccess ¶
func (d *DeleteAccountHighlightResponseData) GetSuccess() bool
func (*DeleteAccountHighlightResponseData) MarshalJSON ¶
func (d *DeleteAccountHighlightResponseData) MarshalJSON() ([]byte, error)
func (*DeleteAccountHighlightResponseData) SetSuccess ¶
func (d *DeleteAccountHighlightResponseData) SetSuccess(success bool)
SetSuccess sets the Success field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteAccountHighlightResponseData) String ¶
func (d *DeleteAccountHighlightResponseData) String() string
func (*DeleteAccountHighlightResponseData) UnmarshalJSON ¶
func (d *DeleteAccountHighlightResponseData) UnmarshalJSON(data []byte) error
type DeleteAccountRelationshipResponseBody ¶
type DeleteAccountRelationshipResponseBody struct {
Data *AccountRelationship `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteAccountRelationshipResponseBody) GetData ¶
func (d *DeleteAccountRelationshipResponseBody) GetData() *AccountRelationship
func (*DeleteAccountRelationshipResponseBody) GetExtraProperties ¶
func (d *DeleteAccountRelationshipResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteAccountRelationshipResponseBody) GetRequestID ¶
func (d *DeleteAccountRelationshipResponseBody) GetRequestID() string
func (*DeleteAccountRelationshipResponseBody) MarshalJSON ¶
func (d *DeleteAccountRelationshipResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteAccountRelationshipResponseBody) SetData ¶
func (d *DeleteAccountRelationshipResponseBody) SetData(data *AccountRelationship)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteAccountRelationshipResponseBody) SetRequestID ¶
func (d *DeleteAccountRelationshipResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteAccountRelationshipResponseBody) String ¶
func (d *DeleteAccountRelationshipResponseBody) String() string
func (*DeleteAccountRelationshipResponseBody) UnmarshalJSON ¶
func (d *DeleteAccountRelationshipResponseBody) UnmarshalJSON(data []byte) error
type DeleteAccountResponseBody ¶
type DeleteAccountResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteAccountResponseBody) GetExtraProperties ¶
func (d *DeleteAccountResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteAccountResponseBody) GetRequestID ¶
func (d *DeleteAccountResponseBody) GetRequestID() string
func (*DeleteAccountResponseBody) MarshalJSON ¶
func (d *DeleteAccountResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteAccountResponseBody) SetRequestID ¶
func (d *DeleteAccountResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteAccountResponseBody) String ¶
func (d *DeleteAccountResponseBody) String() string
func (*DeleteAccountResponseBody) UnmarshalJSON ¶
func (d *DeleteAccountResponseBody) UnmarshalJSON(data []byte) error
type DeleteArticleResponseBody ¶
type DeleteArticleResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteArticleResponseBody) GetExtraProperties ¶
func (d *DeleteArticleResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteArticleResponseBody) GetRequestID ¶
func (d *DeleteArticleResponseBody) GetRequestID() string
func (*DeleteArticleResponseBody) MarshalJSON ¶
func (d *DeleteArticleResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteArticleResponseBody) SetRequestID ¶
func (d *DeleteArticleResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteArticleResponseBody) String ¶
func (d *DeleteArticleResponseBody) String() string
func (*DeleteArticleResponseBody) UnmarshalJSON ¶
func (d *DeleteArticleResponseBody) UnmarshalJSON(data []byte) error
type DeleteCallRecordingResponseBody ¶
type DeleteCallRecordingResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteCallRecordingResponseBody) GetExtraProperties ¶
func (d *DeleteCallRecordingResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteCallRecordingResponseBody) GetRequestID ¶
func (d *DeleteCallRecordingResponseBody) GetRequestID() string
func (*DeleteCallRecordingResponseBody) MarshalJSON ¶
func (d *DeleteCallRecordingResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteCallRecordingResponseBody) SetRequestID ¶
func (d *DeleteCallRecordingResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteCallRecordingResponseBody) String ¶
func (d *DeleteCallRecordingResponseBody) String() string
func (*DeleteCallRecordingResponseBody) UnmarshalJSON ¶
func (d *DeleteCallRecordingResponseBody) UnmarshalJSON(data []byte) error
type DeleteCollectionResponseBody ¶
type DeleteCollectionResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteCollectionResponseBody) GetExtraProperties ¶
func (d *DeleteCollectionResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteCollectionResponseBody) GetRequestID ¶
func (d *DeleteCollectionResponseBody) GetRequestID() string
func (*DeleteCollectionResponseBody) MarshalJSON ¶
func (d *DeleteCollectionResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteCollectionResponseBody) SetRequestID ¶
func (d *DeleteCollectionResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteCollectionResponseBody) String ¶
func (d *DeleteCollectionResponseBody) String() string
func (*DeleteCollectionResponseBody) UnmarshalJSON ¶
func (d *DeleteCollectionResponseBody) UnmarshalJSON(data []byte) error
type DeleteContactResponseBody ¶
type DeleteContactResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteContactResponseBody) GetExtraProperties ¶
func (d *DeleteContactResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteContactResponseBody) GetRequestID ¶
func (d *DeleteContactResponseBody) GetRequestID() string
func (*DeleteContactResponseBody) MarshalJSON ¶
func (d *DeleteContactResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteContactResponseBody) SetRequestID ¶
func (d *DeleteContactResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteContactResponseBody) String ¶
func (d *DeleteContactResponseBody) String() string
func (*DeleteContactResponseBody) UnmarshalJSON ¶
func (d *DeleteContactResponseBody) UnmarshalJSON(data []byte) error
type DeleteCustomFieldSelectOptionResponseBody ¶
type DeleteCustomFieldSelectOptionResponseBody struct {
Data *DeleteCustomFieldSelectOptionResponseData `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteCustomFieldSelectOptionResponseBody) GetData ¶
func (d *DeleteCustomFieldSelectOptionResponseBody) GetData() *DeleteCustomFieldSelectOptionResponseData
func (*DeleteCustomFieldSelectOptionResponseBody) GetExtraProperties ¶
func (d *DeleteCustomFieldSelectOptionResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteCustomFieldSelectOptionResponseBody) GetRequestID ¶
func (d *DeleteCustomFieldSelectOptionResponseBody) GetRequestID() string
func (*DeleteCustomFieldSelectOptionResponseBody) MarshalJSON ¶
func (d *DeleteCustomFieldSelectOptionResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteCustomFieldSelectOptionResponseBody) SetData ¶
func (d *DeleteCustomFieldSelectOptionResponseBody) SetData(data *DeleteCustomFieldSelectOptionResponseData)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteCustomFieldSelectOptionResponseBody) SetRequestID ¶
func (d *DeleteCustomFieldSelectOptionResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteCustomFieldSelectOptionResponseBody) String ¶
func (d *DeleteCustomFieldSelectOptionResponseBody) String() string
func (*DeleteCustomFieldSelectOptionResponseBody) UnmarshalJSON ¶
func (d *DeleteCustomFieldSelectOptionResponseBody) UnmarshalJSON(data []byte) error
type DeleteCustomFieldSelectOptionResponseData ¶
type DeleteCustomFieldSelectOptionResponseData struct {
Success bool `json:"success" url:"success"`
// contains filtered or unexported fields
}
func (*DeleteCustomFieldSelectOptionResponseData) GetExtraProperties ¶
func (d *DeleteCustomFieldSelectOptionResponseData) GetExtraProperties() map[string]interface{}
func (*DeleteCustomFieldSelectOptionResponseData) GetSuccess ¶
func (d *DeleteCustomFieldSelectOptionResponseData) GetSuccess() bool
func (*DeleteCustomFieldSelectOptionResponseData) MarshalJSON ¶
func (d *DeleteCustomFieldSelectOptionResponseData) MarshalJSON() ([]byte, error)
func (*DeleteCustomFieldSelectOptionResponseData) SetSuccess ¶
func (d *DeleteCustomFieldSelectOptionResponseData) SetSuccess(success bool)
SetSuccess sets the Success field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteCustomFieldSelectOptionResponseData) String ¶
func (d *DeleteCustomFieldSelectOptionResponseData) String() string
func (*DeleteCustomFieldSelectOptionResponseData) UnmarshalJSON ¶
func (d *DeleteCustomFieldSelectOptionResponseData) UnmarshalJSON(data []byte) error
type DeleteCustomObjectResponseBody ¶
type DeleteCustomObjectResponseBody struct {
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteCustomObjectResponseBody) GetExtraProperties ¶
func (d *DeleteCustomObjectResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteCustomObjectResponseBody) GetRequestID ¶
func (d *DeleteCustomObjectResponseBody) GetRequestID() string
func (*DeleteCustomObjectResponseBody) MarshalJSON ¶
func (d *DeleteCustomObjectResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteCustomObjectResponseBody) SetRequestID ¶
func (d *DeleteCustomObjectResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteCustomObjectResponseBody) String ¶
func (d *DeleteCustomObjectResponseBody) String() string
func (*DeleteCustomObjectResponseBody) UnmarshalJSON ¶
func (d *DeleteCustomObjectResponseBody) UnmarshalJSON(data []byte) error
type DeleteEmailSuppressionResponseBody ¶
type DeleteEmailSuppressionResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteEmailSuppressionResponseBody) GetExtraProperties ¶
func (d *DeleteEmailSuppressionResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteEmailSuppressionResponseBody) GetRequestID ¶
func (d *DeleteEmailSuppressionResponseBody) GetRequestID() string
func (*DeleteEmailSuppressionResponseBody) MarshalJSON ¶
func (d *DeleteEmailSuppressionResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteEmailSuppressionResponseBody) SetRequestID ¶
func (d *DeleteEmailSuppressionResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteEmailSuppressionResponseBody) String ¶
func (d *DeleteEmailSuppressionResponseBody) String() string
func (*DeleteEmailSuppressionResponseBody) UnmarshalJSON ¶
func (d *DeleteEmailSuppressionResponseBody) UnmarshalJSON(data []byte) error
type DeleteFeatureRequestResponseBody ¶
type DeleteFeatureRequestResponseBody struct {
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteFeatureRequestResponseBody) GetExtraProperties ¶
func (d *DeleteFeatureRequestResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteFeatureRequestResponseBody) GetRequestID ¶
func (d *DeleteFeatureRequestResponseBody) GetRequestID() string
func (*DeleteFeatureRequestResponseBody) MarshalJSON ¶
func (d *DeleteFeatureRequestResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteFeatureRequestResponseBody) SetRequestID ¶
func (d *DeleteFeatureRequestResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteFeatureRequestResponseBody) String ¶
func (d *DeleteFeatureRequestResponseBody) String() string
func (*DeleteFeatureRequestResponseBody) UnmarshalJSON ¶
func (d *DeleteFeatureRequestResponseBody) UnmarshalJSON(data []byte) error
type DeleteIssueResponseBody ¶
type DeleteIssueResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteIssueResponseBody) GetExtraProperties ¶
func (d *DeleteIssueResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteIssueResponseBody) GetRequestID ¶
func (d *DeleteIssueResponseBody) GetRequestID() string
func (*DeleteIssueResponseBody) MarshalJSON ¶
func (d *DeleteIssueResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteIssueResponseBody) SetRequestID ¶
func (d *DeleteIssueResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteIssueResponseBody) String ¶
func (d *DeleteIssueResponseBody) String() string
func (*DeleteIssueResponseBody) UnmarshalJSON ¶
func (d *DeleteIssueResponseBody) UnmarshalJSON(data []byte) error
type DeleteMacroResponseBody ¶
type DeleteMacroResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteMacroResponseBody) GetExtraProperties ¶
func (d *DeleteMacroResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteMacroResponseBody) GetRequestID ¶
func (d *DeleteMacroResponseBody) GetRequestID() string
func (*DeleteMacroResponseBody) MarshalJSON ¶
func (d *DeleteMacroResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteMacroResponseBody) SetRequestID ¶
func (d *DeleteMacroResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteMacroResponseBody) String ¶
func (d *DeleteMacroResponseBody) String() string
func (*DeleteMacroResponseBody) UnmarshalJSON ¶
func (d *DeleteMacroResponseBody) UnmarshalJSON(data []byte) error
type DeleteMessageResponseBody ¶
type DeleteMessageResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteMessageResponseBody) GetExtraProperties ¶
func (d *DeleteMessageResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteMessageResponseBody) GetRequestID ¶
func (d *DeleteMessageResponseBody) GetRequestID() string
func (*DeleteMessageResponseBody) MarshalJSON ¶
func (d *DeleteMessageResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteMessageResponseBody) SetRequestID ¶
func (d *DeleteMessageResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteMessageResponseBody) String ¶
func (d *DeleteMessageResponseBody) String() string
func (*DeleteMessageResponseBody) UnmarshalJSON ¶
func (d *DeleteMessageResponseBody) UnmarshalJSON(data []byte) error
type DeleteMilestoneResponseBody ¶
type DeleteMilestoneResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteMilestoneResponseBody) GetExtraProperties ¶
func (d *DeleteMilestoneResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteMilestoneResponseBody) GetRequestID ¶
func (d *DeleteMilestoneResponseBody) GetRequestID() string
func (*DeleteMilestoneResponseBody) MarshalJSON ¶
func (d *DeleteMilestoneResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteMilestoneResponseBody) SetRequestID ¶
func (d *DeleteMilestoneResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteMilestoneResponseBody) String ¶
func (d *DeleteMilestoneResponseBody) String() string
func (*DeleteMilestoneResponseBody) UnmarshalJSON ¶
func (d *DeleteMilestoneResponseBody) UnmarshalJSON(data []byte) error
type DeleteProjectResponseBody ¶
type DeleteProjectResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteProjectResponseBody) GetExtraProperties ¶
func (d *DeleteProjectResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteProjectResponseBody) GetRequestID ¶
func (d *DeleteProjectResponseBody) GetRequestID() string
func (*DeleteProjectResponseBody) MarshalJSON ¶
func (d *DeleteProjectResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteProjectResponseBody) SetRequestID ¶
func (d *DeleteProjectResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteProjectResponseBody) String ¶
func (d *DeleteProjectResponseBody) String() string
func (*DeleteProjectResponseBody) UnmarshalJSON ¶
func (d *DeleteProjectResponseBody) UnmarshalJSON(data []byte) error
type DeleteRouteRedirectResponseBody ¶
type DeleteRouteRedirectResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteRouteRedirectResponseBody) GetExtraProperties ¶
func (d *DeleteRouteRedirectResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteRouteRedirectResponseBody) GetRequestID ¶
func (d *DeleteRouteRedirectResponseBody) GetRequestID() string
func (*DeleteRouteRedirectResponseBody) MarshalJSON ¶
func (d *DeleteRouteRedirectResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteRouteRedirectResponseBody) SetRequestID ¶
func (d *DeleteRouteRedirectResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteRouteRedirectResponseBody) String ¶
func (d *DeleteRouteRedirectResponseBody) String() string
func (*DeleteRouteRedirectResponseBody) UnmarshalJSON ¶
func (d *DeleteRouteRedirectResponseBody) UnmarshalJSON(data []byte) error
type DeleteTagResponseBody ¶
type DeleteTagResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteTagResponseBody) GetExtraProperties ¶
func (d *DeleteTagResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteTagResponseBody) GetRequestID ¶
func (d *DeleteTagResponseBody) GetRequestID() string
func (*DeleteTagResponseBody) MarshalJSON ¶
func (d *DeleteTagResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteTagResponseBody) SetRequestID ¶
func (d *DeleteTagResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteTagResponseBody) String ¶
func (d *DeleteTagResponseBody) String() string
func (*DeleteTagResponseBody) UnmarshalJSON ¶
func (d *DeleteTagResponseBody) UnmarshalJSON(data []byte) error
type DeleteTaskCommentResponseBody ¶
type DeleteTaskCommentResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteTaskCommentResponseBody) GetExtraProperties ¶
func (d *DeleteTaskCommentResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteTaskCommentResponseBody) GetRequestID ¶
func (d *DeleteTaskCommentResponseBody) GetRequestID() string
func (*DeleteTaskCommentResponseBody) MarshalJSON ¶
func (d *DeleteTaskCommentResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteTaskCommentResponseBody) SetRequestID ¶
func (d *DeleteTaskCommentResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteTaskCommentResponseBody) String ¶
func (d *DeleteTaskCommentResponseBody) String() string
func (*DeleteTaskCommentResponseBody) UnmarshalJSON ¶
func (d *DeleteTaskCommentResponseBody) UnmarshalJSON(data []byte) error
type DeleteTaskResponseBody ¶
type DeleteTaskResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteTaskResponseBody) GetExtraProperties ¶
func (d *DeleteTaskResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteTaskResponseBody) GetRequestID ¶
func (d *DeleteTaskResponseBody) GetRequestID() string
func (*DeleteTaskResponseBody) MarshalJSON ¶
func (d *DeleteTaskResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteTaskResponseBody) SetRequestID ¶
func (d *DeleteTaskResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteTaskResponseBody) String ¶
func (d *DeleteTaskResponseBody) String() string
func (*DeleteTaskResponseBody) UnmarshalJSON ¶
func (d *DeleteTaskResponseBody) UnmarshalJSON(data []byte) error
type DeleteTeamResponseBody ¶
type DeleteTeamResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteTeamResponseBody) GetExtraProperties ¶
func (d *DeleteTeamResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteTeamResponseBody) GetRequestID ¶
func (d *DeleteTeamResponseBody) GetRequestID() string
func (*DeleteTeamResponseBody) MarshalJSON ¶
func (d *DeleteTeamResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteTeamResponseBody) SetRequestID ¶
func (d *DeleteTeamResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteTeamResponseBody) String ¶
func (d *DeleteTeamResponseBody) String() string
func (*DeleteTeamResponseBody) UnmarshalJSON ¶
func (d *DeleteTeamResponseBody) UnmarshalJSON(data []byte) error
type DeleteTrainingDataDocumentsResponseBody ¶
type DeleteTrainingDataDocumentsResponseBody struct {
DeletedCount int64 `json:"deleted_count" url:"deleted_count"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*DeleteTrainingDataDocumentsResponseBody) GetDeletedCount ¶
func (d *DeleteTrainingDataDocumentsResponseBody) GetDeletedCount() int64
func (*DeleteTrainingDataDocumentsResponseBody) GetExtraProperties ¶
func (d *DeleteTrainingDataDocumentsResponseBody) GetExtraProperties() map[string]interface{}
func (*DeleteTrainingDataDocumentsResponseBody) GetRequestID ¶
func (d *DeleteTrainingDataDocumentsResponseBody) GetRequestID() string
func (*DeleteTrainingDataDocumentsResponseBody) MarshalJSON ¶
func (d *DeleteTrainingDataDocumentsResponseBody) MarshalJSON() ([]byte, error)
func (*DeleteTrainingDataDocumentsResponseBody) SetDeletedCount ¶
func (d *DeleteTrainingDataDocumentsResponseBody) SetDeletedCount(deletedCount int64)
SetDeletedCount sets the DeletedCount field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteTrainingDataDocumentsResponseBody) SetRequestID ¶
func (d *DeleteTrainingDataDocumentsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DeleteTrainingDataDocumentsResponseBody) String ¶
func (d *DeleteTrainingDataDocumentsResponseBody) String() string
func (*DeleteTrainingDataDocumentsResponseBody) UnmarshalJSON ¶
func (d *DeleteTrainingDataDocumentsResponseBody) UnmarshalJSON(data []byte) error
type DestinationMetadata ¶
type DestinationMetadata struct {
// The ID of the chat widget app to use for in-app chat.
ChatWidgetAppID *string `json:"chat_widget_app_id,omitempty" url:"chat_widget_app_id,omitempty"`
// The destination type of the issue. Can be "email", "slack", "in_app_chat", "customer_portal", "sms", "whatsapp", or "internal". Required when destination_metadata is provided. Use "customer_portal" for a customer-visible issue with no external delivery; Customer Portal must be enabled for the organization. To create an internal issue, omit destination_metadata or set this field to "internal".
Destination DestinationMetadataDestination `json:"destination" url:"destination"`
// The email that emails to the requester will be sent from. You must configure an email app in Pylon with this address.
Email *string `json:"email,omitempty" url:"email,omitempty"`
// Emails that will be BCCed on emails to the requester.
EmailBccs []string `json:"email_bccs,omitempty" url:"email_bccs,omitempty"`
// Emails that will be CCed on emails to the requester.
EmailCcs []string `json:"email_ccs,omitempty" url:"email_ccs,omitempty"`
// The Pylon phone number to send SMS from, in E.164 format. Required if destination is "sms" unless from_sms_phone_number_id is provided.
FromSmsPhoneNumber *string `json:"from_sms_phone_number,omitempty" url:"from_sms_phone_number,omitempty"`
// The ID of the Pylon phone number to send SMS from. Required if destination is "sms" unless from_sms_phone_number is provided. Deprecated: Use from_sms_phone_number instead.
FromSmsPhoneNumberID *string `json:"from_sms_phone_number_id,omitempty" url:"from_sms_phone_number_id,omitempty"`
// The configured WhatsApp phone number to send messages from. Required if destination is "whatsapp" unless whatsapp_app_id is provided. The number is normalized and used to resolve the WhatsApp app within the organization.
FromWhatsappPhoneNumber *string `json:"from_whatsapp_phone_number,omitempty" url:"from_whatsapp_phone_number,omitempty"`
// The ID of the Slack channel to start the conversation in, as returned in the account's `channels[].channel_id`. Only valid when destination is "slack". Must be a non-internal Slack channel connected to the issue's account. Defaults to the account's primary Slack channel.
SlackChannelID *string `json:"slack_channel_id,omitempty" url:"slack_channel_id,omitempty"`
// The ID of the WhatsApp app to send messages from. Required if destination is "whatsapp" unless from_whatsapp_phone_number is provided. Deprecated: Use from_whatsapp_phone_number instead.
WhatsappAppID *string `json:"whatsapp_app_id,omitempty" url:"whatsapp_app_id,omitempty"`
// The language of the WhatsApp message template to use. Required if destination is "whatsapp".
WhatsappMessageTemplateLanguage *string `json:"whatsapp_message_template_language,omitempty" url:"whatsapp_message_template_language,omitempty"`
// The name of the WhatsApp message template to use. Required if destination is "whatsapp".
WhatsappMessageTemplateName *string `json:"whatsapp_message_template_name,omitempty" url:"whatsapp_message_template_name,omitempty"`
// contains filtered or unexported fields
}
Specifies if/how communication will be delivered to the customer. You can configure the issue to contact the requester via email, Slack, in-app chat, SMS, WhatsApp, make it available only in the customer portal, or keep it internal. If an external destination is specified, a message with the issue's BodyHTML will be delivered to the requester. The `customer_portal` destination requires Customer Portal to be enabled and creates a customer-visible message without external delivery. To avoid contacting the requester, omit destination_metadata from the create-issue request or specify the `internal` destination. If destination_metadata is provided, destination is required.
func (*DestinationMetadata) GetChatWidgetAppID ¶
func (d *DestinationMetadata) GetChatWidgetAppID() *string
func (*DestinationMetadata) GetDestination ¶
func (d *DestinationMetadata) GetDestination() DestinationMetadataDestination
func (*DestinationMetadata) GetEmail ¶
func (d *DestinationMetadata) GetEmail() *string
func (*DestinationMetadata) GetEmailBccs ¶
func (d *DestinationMetadata) GetEmailBccs() []string
func (*DestinationMetadata) GetEmailCcs ¶
func (d *DestinationMetadata) GetEmailCcs() []string
func (*DestinationMetadata) GetExtraProperties ¶
func (d *DestinationMetadata) GetExtraProperties() map[string]interface{}
func (*DestinationMetadata) GetFromSmsPhoneNumber ¶
func (d *DestinationMetadata) GetFromSmsPhoneNumber() *string
func (*DestinationMetadata) GetFromSmsPhoneNumberID ¶
func (d *DestinationMetadata) GetFromSmsPhoneNumberID() *string
func (*DestinationMetadata) GetFromWhatsappPhoneNumber ¶
func (d *DestinationMetadata) GetFromWhatsappPhoneNumber() *string
func (*DestinationMetadata) GetSlackChannelID ¶
func (d *DestinationMetadata) GetSlackChannelID() *string
func (*DestinationMetadata) GetWhatsappAppID ¶
func (d *DestinationMetadata) GetWhatsappAppID() *string
func (*DestinationMetadata) GetWhatsappMessageTemplateLanguage ¶
func (d *DestinationMetadata) GetWhatsappMessageTemplateLanguage() *string
func (*DestinationMetadata) GetWhatsappMessageTemplateName ¶
func (d *DestinationMetadata) GetWhatsappMessageTemplateName() *string
func (*DestinationMetadata) MarshalJSON ¶
func (d *DestinationMetadata) MarshalJSON() ([]byte, error)
func (*DestinationMetadata) SetChatWidgetAppID ¶
func (d *DestinationMetadata) SetChatWidgetAppID(chatWidgetAppID *string)
SetChatWidgetAppID sets the ChatWidgetAppID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DestinationMetadata) SetDestination ¶
func (d *DestinationMetadata) SetDestination(destination DestinationMetadataDestination)
SetDestination sets the Destination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DestinationMetadata) SetEmail ¶
func (d *DestinationMetadata) SetEmail(email *string)
SetEmail sets the Email field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DestinationMetadata) SetEmailBccs ¶
func (d *DestinationMetadata) SetEmailBccs(emailBccs []string)
SetEmailBccs sets the EmailBccs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DestinationMetadata) SetEmailCcs ¶
func (d *DestinationMetadata) SetEmailCcs(emailCcs []string)
SetEmailCcs sets the EmailCcs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DestinationMetadata) SetFromSmsPhoneNumber ¶
func (d *DestinationMetadata) SetFromSmsPhoneNumber(fromSmsPhoneNumber *string)
SetFromSmsPhoneNumber sets the FromSmsPhoneNumber field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DestinationMetadata) SetFromSmsPhoneNumberID ¶
func (d *DestinationMetadata) SetFromSmsPhoneNumberID(fromSmsPhoneNumberID *string)
SetFromSmsPhoneNumberID sets the FromSmsPhoneNumberID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DestinationMetadata) SetFromWhatsappPhoneNumber ¶
func (d *DestinationMetadata) SetFromWhatsappPhoneNumber(fromWhatsappPhoneNumber *string)
SetFromWhatsappPhoneNumber sets the FromWhatsappPhoneNumber field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DestinationMetadata) SetSlackChannelID ¶
func (d *DestinationMetadata) SetSlackChannelID(slackChannelID *string)
SetSlackChannelID sets the SlackChannelID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DestinationMetadata) SetWhatsappAppID ¶
func (d *DestinationMetadata) SetWhatsappAppID(whatsappAppID *string)
SetWhatsappAppID sets the WhatsappAppID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DestinationMetadata) SetWhatsappMessageTemplateLanguage ¶
func (d *DestinationMetadata) SetWhatsappMessageTemplateLanguage(whatsappMessageTemplateLanguage *string)
SetWhatsappMessageTemplateLanguage sets the WhatsappMessageTemplateLanguage field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DestinationMetadata) SetWhatsappMessageTemplateName ¶
func (d *DestinationMetadata) SetWhatsappMessageTemplateName(whatsappMessageTemplateName *string)
SetWhatsappMessageTemplateName sets the WhatsappMessageTemplateName field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*DestinationMetadata) String ¶
func (d *DestinationMetadata) String() string
func (*DestinationMetadata) UnmarshalJSON ¶
func (d *DestinationMetadata) UnmarshalJSON(data []byte) error
type DestinationMetadataDestination ¶
type DestinationMetadataDestination string
The destination type of the issue. Can be "email", "slack", "in_app_chat", "customer_portal", "sms", "whatsapp", or "internal". Required when destination_metadata is provided. Use "customer_portal" for a customer-visible issue with no external delivery; Customer Portal must be enabled for the organization. To create an internal issue, omit destination_metadata or set this field to "internal".
const ( DestinationMetadataDestinationSlack DestinationMetadataDestination = "slack" DestinationMetadataDestinationEmail DestinationMetadataDestination = "email" DestinationMetadataDestinationInAppChat DestinationMetadataDestination = "in_app_chat" DestinationMetadataDestinationCustomerPortal DestinationMetadataDestination = "customer_portal" DestinationMetadataDestinationInternal DestinationMetadataDestination = "internal" DestinationMetadataDestinationSms DestinationMetadataDestination = "sms" DestinationMetadataDestinationWhatsapp DestinationMetadataDestination = "whatsapp" )
func NewDestinationMetadataDestinationFromString ¶
func NewDestinationMetadataDestinationFromString(s string) (DestinationMetadataDestination, error)
func (DestinationMetadataDestination) Ptr ¶
func (d DestinationMetadataDestination) Ptr() *DestinationMetadataDestination
type EmailActivity ¶
type EmailActivity struct {
// The ID of the account that the activity belongs to.
AccountID string `json:"account_id" url:"account_id"`
// The timestamp (RFC3339) when the thread's latest email was sent. A thread moves forward as it gets replies.
HappenedAt time.Time `json:"happened_at" url:"happened_at"`
// The ID of the activity.
ID string `json:"id" url:"id"`
// The thread's emails sent from or to an account you can read, oldest first. Emails only between teammates are omitted.
Messages []*EmailActivityMessage `json:"messages" url:"messages"`
// contains filtered or unexported fields
}
func (*EmailActivity) GetAccountID ¶
func (e *EmailActivity) GetAccountID() string
func (*EmailActivity) GetExtraProperties ¶
func (e *EmailActivity) GetExtraProperties() map[string]interface{}
func (*EmailActivity) GetHappenedAt ¶
func (e *EmailActivity) GetHappenedAt() time.Time
func (*EmailActivity) GetID ¶
func (e *EmailActivity) GetID() string
func (*EmailActivity) GetMessages ¶
func (e *EmailActivity) GetMessages() []*EmailActivityMessage
func (*EmailActivity) MarshalJSON ¶
func (e *EmailActivity) MarshalJSON() ([]byte, error)
func (*EmailActivity) SetAccountID ¶
func (e *EmailActivity) SetAccountID(accountID string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailActivity) SetHappenedAt ¶
func (e *EmailActivity) SetHappenedAt(happenedAt time.Time)
SetHappenedAt sets the HappenedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailActivity) SetID ¶
func (e *EmailActivity) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailActivity) SetMessages ¶
func (e *EmailActivity) SetMessages(messages []*EmailActivityMessage)
SetMessages sets the Messages field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailActivity) String ¶
func (e *EmailActivity) String() string
func (*EmailActivity) UnmarshalJSON ¶
func (e *EmailActivity) UnmarshalJSON(data []byte) error
type EmailActivityMessage ¶
type EmailActivityMessage struct {
// The ID of the contact who sent the email, if the sender is a contact.
ContactID *string `json:"contact_id,omitempty" url:"contact_id,omitempty"`
EmailInfo *EmailMessageInfo `json:"email_info" url:"email_info"`
// The ID of the email message.
ID string `json:"id" url:"id"`
// The ID of the issue this email is on, if any. The issue messages endpoint also returns issue emails; match them by email_info.message_id.
IssueID *string `json:"issue_id,omitempty" url:"issue_id,omitempty"`
// The HTML body of the email.
MessageHTML string `json:"message_html" url:"message_html"`
// The subject of the email.
Subject string `json:"subject" url:"subject"`
// The time the email was sent.
Timestamp time.Time `json:"timestamp" url:"timestamp"`
// The ID of the user who sent the email, if the sender is a Pylon user.
UserID *string `json:"user_id,omitempty" url:"user_id,omitempty"`
// contains filtered or unexported fields
}
func (*EmailActivityMessage) GetContactID ¶
func (e *EmailActivityMessage) GetContactID() *string
func (*EmailActivityMessage) GetEmailInfo ¶
func (e *EmailActivityMessage) GetEmailInfo() *EmailMessageInfo
func (*EmailActivityMessage) GetExtraProperties ¶
func (e *EmailActivityMessage) GetExtraProperties() map[string]interface{}
func (*EmailActivityMessage) GetID ¶
func (e *EmailActivityMessage) GetID() string
func (*EmailActivityMessage) GetIssueID ¶
func (e *EmailActivityMessage) GetIssueID() *string
func (*EmailActivityMessage) GetMessageHTML ¶
func (e *EmailActivityMessage) GetMessageHTML() string
func (*EmailActivityMessage) GetSubject ¶
func (e *EmailActivityMessage) GetSubject() string
func (*EmailActivityMessage) GetTimestamp ¶
func (e *EmailActivityMessage) GetTimestamp() time.Time
func (*EmailActivityMessage) GetUserID ¶
func (e *EmailActivityMessage) GetUserID() *string
func (*EmailActivityMessage) MarshalJSON ¶
func (e *EmailActivityMessage) MarshalJSON() ([]byte, error)
func (*EmailActivityMessage) SetContactID ¶
func (e *EmailActivityMessage) SetContactID(contactID *string)
SetContactID sets the ContactID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailActivityMessage) SetEmailInfo ¶
func (e *EmailActivityMessage) SetEmailInfo(emailInfo *EmailMessageInfo)
SetEmailInfo sets the EmailInfo field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailActivityMessage) SetID ¶
func (e *EmailActivityMessage) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailActivityMessage) SetIssueID ¶
func (e *EmailActivityMessage) SetIssueID(issueID *string)
SetIssueID sets the IssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailActivityMessage) SetMessageHTML ¶
func (e *EmailActivityMessage) SetMessageHTML(messageHTML string)
SetMessageHTML sets the MessageHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailActivityMessage) SetSubject ¶
func (e *EmailActivityMessage) SetSubject(subject string)
SetSubject sets the Subject field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailActivityMessage) SetTimestamp ¶
func (e *EmailActivityMessage) SetTimestamp(timestamp time.Time)
SetTimestamp sets the Timestamp field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailActivityMessage) SetUserID ¶
func (e *EmailActivityMessage) SetUserID(userID *string)
SetUserID sets the UserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailActivityMessage) String ¶
func (e *EmailActivityMessage) String() string
func (*EmailActivityMessage) UnmarshalJSON ¶
func (e *EmailActivityMessage) UnmarshalJSON(data []byte) error
type EmailEvent ¶
type EmailEvent struct {
// The email address of the recipient the event applies to.
Email string `json:"email" url:"email"`
// When the event happened, in RFC 3339 format.
Time string `json:"time" url:"time"`
// contains filtered or unexported fields
}
func (*EmailEvent) GetEmail ¶
func (e *EmailEvent) GetEmail() string
func (*EmailEvent) GetExtraProperties ¶
func (e *EmailEvent) GetExtraProperties() map[string]interface{}
func (*EmailEvent) GetTime ¶
func (e *EmailEvent) GetTime() string
func (*EmailEvent) MarshalJSON ¶
func (e *EmailEvent) MarshalJSON() ([]byte, error)
func (*EmailEvent) SetEmail ¶
func (e *EmailEvent) SetEmail(email string)
SetEmail sets the Email field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailEvent) SetTime ¶
func (e *EmailEvent) SetTime(time string)
SetTime sets the Time field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailEvent) String ¶
func (e *EmailEvent) String() string
func (*EmailEvent) UnmarshalJSON ¶
func (e *EmailEvent) UnmarshalJSON(data []byte) error
type EmailMessageInfo ¶
type EmailMessageInfo struct {
// The email addresses of the BCC recipients of the message.
BccEmails []string `json:"bcc_emails,omitempty" url:"bcc_emails,omitempty"`
// The email addresses of the CC recipients of the message.
CcEmails []string `json:"cc_emails,omitempty" url:"cc_emails,omitempty"`
// The email address of the sender of the message.
FromEmail string `json:"from_email" url:"from_email"`
// The RFC 5322 Message-ID header value for this email. This is a provider-specific identifier, not the top-level Pylon message ID, and cannot be used as message_id when posting a reply or internal note.
MessageID string `json:"message_id" url:"message_id"`
// When each recipient first opened an email Pylon sent, at most one entry per recipient.
// Always empty for inbound mail and for mail sent through a connected personal email account.
// Open tracking is approximate: clients that prefetch images (such as Apple Mail Privacy Protection)
// can report opens that never happened, and clients that block images report none.
Opens []*EmailEvent `json:"opens,omitempty" url:"opens,omitempty"`
// The SPF/DKIM sender authentication result recorded by Pylon's inbound mail provider.
// One of "pass", "fail", or "unknown".
// "fail" means SPF failed outright, or the message carried a DKIM signature that did not validate.
// "pass" means SPF passed, or a DKIM signature validated.
// "unknown" means nothing vouched for the sender and must not be read as a pass. It covers
// mail Pylon sent, mail synced from a personal email integration, submissions stored as email
// messages, and senders whose domain published no SPF or DKIM records to check against.
SenderAuthenticationStatus string `json:"sender_authentication_status" url:"sender_authentication_status"`
// The email addresses of the recipients of the message.
ToEmails []string `json:"to_emails,omitempty" url:"to_emails,omitempty"`
// contains filtered or unexported fields
}
func (*EmailMessageInfo) GetBccEmails ¶
func (e *EmailMessageInfo) GetBccEmails() []string
func (*EmailMessageInfo) GetCcEmails ¶
func (e *EmailMessageInfo) GetCcEmails() []string
func (*EmailMessageInfo) GetExtraProperties ¶
func (e *EmailMessageInfo) GetExtraProperties() map[string]interface{}
func (*EmailMessageInfo) GetFromEmail ¶
func (e *EmailMessageInfo) GetFromEmail() string
func (*EmailMessageInfo) GetMessageID ¶
func (e *EmailMessageInfo) GetMessageID() string
func (*EmailMessageInfo) GetOpens ¶
func (e *EmailMessageInfo) GetOpens() []*EmailEvent
func (*EmailMessageInfo) GetSenderAuthenticationStatus ¶
func (e *EmailMessageInfo) GetSenderAuthenticationStatus() string
func (*EmailMessageInfo) GetToEmails ¶
func (e *EmailMessageInfo) GetToEmails() []string
func (*EmailMessageInfo) MarshalJSON ¶
func (e *EmailMessageInfo) MarshalJSON() ([]byte, error)
func (*EmailMessageInfo) SetBccEmails ¶
func (e *EmailMessageInfo) SetBccEmails(bccEmails []string)
SetBccEmails sets the BccEmails field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailMessageInfo) SetCcEmails ¶
func (e *EmailMessageInfo) SetCcEmails(ccEmails []string)
SetCcEmails sets the CcEmails field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailMessageInfo) SetFromEmail ¶
func (e *EmailMessageInfo) SetFromEmail(fromEmail string)
SetFromEmail sets the FromEmail field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailMessageInfo) SetMessageID ¶
func (e *EmailMessageInfo) SetMessageID(messageID string)
SetMessageID sets the MessageID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailMessageInfo) SetOpens ¶
func (e *EmailMessageInfo) SetOpens(opens []*EmailEvent)
SetOpens sets the Opens field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailMessageInfo) SetSenderAuthenticationStatus ¶
func (e *EmailMessageInfo) SetSenderAuthenticationStatus(senderAuthenticationStatus string)
SetSenderAuthenticationStatus sets the SenderAuthenticationStatus field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailMessageInfo) SetToEmails ¶
func (e *EmailMessageInfo) SetToEmails(toEmails []string)
SetToEmails sets the ToEmails field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailMessageInfo) String ¶
func (e *EmailMessageInfo) String() string
func (*EmailMessageInfo) UnmarshalJSON ¶
func (e *EmailMessageInfo) UnmarshalJSON(data []byte) error
type EmailSuppression ¶
type EmailSuppression struct {
// The SMTP diagnostic from the receiving server, when Pylon observed the bounce.
BounceDetails *string `json:"bounce_details,omitempty" url:"bounce_details,omitempty"`
// When the address was suppressed, in RFC3339 format.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// The suppressed email address.
Email string `json:"email" url:"email"`
// The ID of the email suppression.
ID string `json:"id" url:"id"`
// Why the address is suppressed.
//
// Known values: `hard_bounce`, `manual`, `spam_complaint`. This list is not exhaustive.
Reason string `json:"reason" url:"reason"`
// contains filtered or unexported fields
}
func (*EmailSuppression) GetBounceDetails ¶
func (e *EmailSuppression) GetBounceDetails() *string
func (*EmailSuppression) GetCreatedAt ¶
func (e *EmailSuppression) GetCreatedAt() time.Time
func (*EmailSuppression) GetEmail ¶
func (e *EmailSuppression) GetEmail() string
func (*EmailSuppression) GetExtraProperties ¶
func (e *EmailSuppression) GetExtraProperties() map[string]interface{}
func (*EmailSuppression) GetID ¶
func (e *EmailSuppression) GetID() string
func (*EmailSuppression) GetReason ¶
func (e *EmailSuppression) GetReason() string
func (*EmailSuppression) MarshalJSON ¶
func (e *EmailSuppression) MarshalJSON() ([]byte, error)
func (*EmailSuppression) SetBounceDetails ¶
func (e *EmailSuppression) SetBounceDetails(bounceDetails *string)
SetBounceDetails sets the BounceDetails field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailSuppression) SetCreatedAt ¶
func (e *EmailSuppression) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailSuppression) SetEmail ¶
func (e *EmailSuppression) SetEmail(email string)
SetEmail sets the Email field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailSuppression) SetID ¶
func (e *EmailSuppression) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailSuppression) SetReason ¶
func (e *EmailSuppression) SetReason(reason string)
SetReason sets the Reason field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailSuppression) String ¶
func (e *EmailSuppression) String() string
func (*EmailSuppression) UnmarshalJSON ¶
func (e *EmailSuppression) UnmarshalJSON(data []byte) error
type EmailSuppressionsDeleteRequest ¶
type EmailSuppressionsDeleteRequest struct {
// The ID of the email suppression to remove.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*EmailSuppressionsDeleteRequest) SetID ¶
func (e *EmailSuppressionsDeleteRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type EmailSuppressionsListRequest ¶
type EmailSuppressionsListRequest struct {
// Only return the suppression for this email address, if one exists.
Email *string `json:"-" url:"email,omitempty"`
// The cursor to use for pagination.
Cursor *string `json:"-" url:"cursor,omitempty"`
// The number of suppressions to fetch. Defaults to 100. Must be greater than 0 and less than or equal to 1000.
Limit *int64 `json:"-" url:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*EmailSuppressionsListRequest) SetCursor ¶
func (e *EmailSuppressionsListRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailSuppressionsListRequest) SetEmail ¶
func (e *EmailSuppressionsListRequest) SetEmail(email *string)
SetEmail sets the Email field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*EmailSuppressionsListRequest) SetLimit ¶
func (e *EmailSuppressionsListRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type ErrorAPIResponseBody ¶
type ErrorAPIResponseBody struct {
// A stable machine-readable identifier for this failure, safe to branch on
// instead of the message text. Omitted when the failure has no assigned code.
//
// Known values: `recipients_suppressed`, `email_bounced`, `internal_issue_reply_not_allowed`, `duplicate_object`, `invalid_authorization_header`, `invalid_api_token`, `invalid_oauth_token`, `wrong_region_token`, `organization_deactivated`, `organization_suspended`, `permission_denied`, `oauth_not_permitted`, `rate_limited`, `not_found`, `method_not_allowed`, `payload_too_large`, `invalid_request_body`, `internal_error`, `invalid_webhook_credentials`, `organization_inactive`, `invalid_filter`. This list is not exhaustive.
Code *string `json:"code,omitempty" url:"code,omitempty"`
// The list of errors.
Errors []string `json:"errors,omitempty" url:"errors,omitempty"`
// The ID of the object that already exists if this is a duplicate object error.
ExistsID *string `json:"exists_id,omitempty" url:"exists_id,omitempty"`
// One entry per problem found in the request's filter. Present only when code is
// "invalid_filter"; errors carries the same messages as plain text.
FilterErrors []*FilterError `json:"filter_errors,omitempty" url:"filter_errors,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*ErrorAPIResponseBody) GetCode ¶
func (e *ErrorAPIResponseBody) GetCode() *string
func (*ErrorAPIResponseBody) GetErrors ¶
func (e *ErrorAPIResponseBody) GetErrors() []string
func (*ErrorAPIResponseBody) GetExistsID ¶
func (e *ErrorAPIResponseBody) GetExistsID() *string
func (*ErrorAPIResponseBody) GetExtraProperties ¶
func (e *ErrorAPIResponseBody) GetExtraProperties() map[string]interface{}
func (*ErrorAPIResponseBody) GetFilterErrors ¶
func (e *ErrorAPIResponseBody) GetFilterErrors() []*FilterError
func (*ErrorAPIResponseBody) GetRequestID ¶
func (e *ErrorAPIResponseBody) GetRequestID() string
func (*ErrorAPIResponseBody) MarshalJSON ¶
func (e *ErrorAPIResponseBody) MarshalJSON() ([]byte, error)
func (*ErrorAPIResponseBody) SetCode ¶
func (e *ErrorAPIResponseBody) SetCode(code *string)
SetCode sets the Code field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ErrorAPIResponseBody) SetErrors ¶
func (e *ErrorAPIResponseBody) SetErrors(errors []string)
SetErrors sets the Errors field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ErrorAPIResponseBody) SetExistsID ¶
func (e *ErrorAPIResponseBody) SetExistsID(existsID *string)
SetExistsID sets the ExistsID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ErrorAPIResponseBody) SetFilterErrors ¶
func (e *ErrorAPIResponseBody) SetFilterErrors(filterErrors []*FilterError)
SetFilterErrors sets the FilterErrors field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ErrorAPIResponseBody) SetRequestID ¶
func (e *ErrorAPIResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ErrorAPIResponseBody) String ¶
func (e *ErrorAPIResponseBody) String() string
func (*ErrorAPIResponseBody) UnmarshalJSON ¶
func (e *ErrorAPIResponseBody) UnmarshalJSON(data []byte) error
type ExternalID ¶
type ExternalID struct {
// The external ID. Must be unique per object type (ex. account).
ExternalID *string `json:"external_id,omitempty" url:"external_id,omitempty"`
// The label of the external ID. Must be unique per object.
Label *string `json:"label,omitempty" url:"label,omitempty"`
// contains filtered or unexported fields
}
func (*ExternalID) GetExternalID ¶
func (e *ExternalID) GetExternalID() *string
func (*ExternalID) GetExtraProperties ¶
func (e *ExternalID) GetExtraProperties() map[string]interface{}
func (*ExternalID) GetLabel ¶
func (e *ExternalID) GetLabel() *string
func (*ExternalID) MarshalJSON ¶
func (e *ExternalID) MarshalJSON() ([]byte, error)
func (*ExternalID) SetExternalID ¶
func (e *ExternalID) SetExternalID(externalID *string)
SetExternalID sets the ExternalID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ExternalID) SetLabel ¶
func (e *ExternalID) SetLabel(label *string)
SetLabel sets the Label field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ExternalID) String ¶
func (e *ExternalID) String() string
func (*ExternalID) UnmarshalJSON ¶
func (e *ExternalID) UnmarshalJSON(data []byte) error
type ExternalIncident ¶
type ExternalIncident struct {
// The incident system's own ID for the incident, when known.
ExternalID *string `json:"external_id,omitempty" url:"external_id,omitempty"`
// Link to the incident, when known.
Link *string `json:"link,omitempty" url:"link,omitempty"`
// The incident's reference in the incident system, such as INC-123 or ROOT-123.
Reference string `json:"reference" url:"reference"`
// The incident system the incident belongs to.
//
// Known values: `incident_io`, `rootly`. This list is not exhaustive.
Source string `json:"source" url:"source"`
// contains filtered or unexported fields
}
func (*ExternalIncident) GetExternalID ¶
func (e *ExternalIncident) GetExternalID() *string
func (*ExternalIncident) GetExtraProperties ¶
func (e *ExternalIncident) GetExtraProperties() map[string]interface{}
func (*ExternalIncident) GetLink ¶
func (e *ExternalIncident) GetLink() *string
func (*ExternalIncident) GetReference ¶
func (e *ExternalIncident) GetReference() string
func (*ExternalIncident) GetSource ¶
func (e *ExternalIncident) GetSource() string
func (*ExternalIncident) MarshalJSON ¶
func (e *ExternalIncident) MarshalJSON() ([]byte, error)
func (*ExternalIncident) SetExternalID ¶
func (e *ExternalIncident) SetExternalID(externalID *string)
SetExternalID sets the ExternalID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ExternalIncident) SetLink ¶
func (e *ExternalIncident) SetLink(link *string)
SetLink sets the Link field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ExternalIncident) SetReference ¶
func (e *ExternalIncident) SetReference(reference string)
SetReference sets the Reference field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ExternalIncident) SetSource ¶
func (e *ExternalIncident) SetSource(source string)
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ExternalIncident) String ¶
func (e *ExternalIncident) String() string
func (*ExternalIncident) UnmarshalJSON ¶
func (e *ExternalIncident) UnmarshalJSON(data []byte) error
type ExternalIssue ¶
type ExternalIssue struct {
// The external ID of the external issue.
// Jira: ID of the issue (autoincrementing number from 10000).
// GitHub: Owner/Repo/IssueID.
// Linear: ID of the issue (UUID).
// Asana: ID of the task (Long number).
ExternalID string `json:"external_id" url:"external_id"`
// The human-readable key of the external issue, such as ENG-123 for Linear or Jira.
Key *string `json:"key,omitempty" url:"key,omitempty"`
// Link to the product issue.
Link string `json:"link" url:"link"`
// The source of the external issue.
Source string `json:"source" url:"source"`
// Whether the external issue is open, closed (done), or canceled, as last synced from the source.
//
// Known values: `open`, `closed`, `canceled`. This list is not exhaustive.
State *string `json:"state,omitempty" url:"state,omitempty"`
// contains filtered or unexported fields
}
func (*ExternalIssue) GetExternalID ¶
func (e *ExternalIssue) GetExternalID() string
func (*ExternalIssue) GetExtraProperties ¶
func (e *ExternalIssue) GetExtraProperties() map[string]interface{}
func (*ExternalIssue) GetKey ¶
func (e *ExternalIssue) GetKey() *string
func (*ExternalIssue) GetLink ¶
func (e *ExternalIssue) GetLink() string
func (*ExternalIssue) GetSource ¶
func (e *ExternalIssue) GetSource() string
func (*ExternalIssue) GetState ¶
func (e *ExternalIssue) GetState() *string
func (*ExternalIssue) MarshalJSON ¶
func (e *ExternalIssue) MarshalJSON() ([]byte, error)
func (*ExternalIssue) SetExternalID ¶
func (e *ExternalIssue) SetExternalID(externalID string)
SetExternalID sets the ExternalID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ExternalIssue) SetKey ¶
func (e *ExternalIssue) SetKey(key *string)
SetKey sets the Key field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ExternalIssue) SetLink ¶
func (e *ExternalIssue) SetLink(link string)
SetLink sets the Link field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ExternalIssue) SetSource ¶
func (e *ExternalIssue) SetSource(source string)
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ExternalIssue) SetState ¶
func (e *ExternalIssue) SetState(state *string)
SetState sets the State field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ExternalIssue) String ¶
func (e *ExternalIssue) String() string
func (*ExternalIssue) UnmarshalJSON ¶
func (e *ExternalIssue) UnmarshalJSON(data []byte) error
type FeatureRequest ¶
type FeatureRequest struct {
// The time the feature request was created (RFC3339).
CreatedAt time.Time `json:"created_at" url:"created_at"`
// Custom field values associated with the feature request, keyed by custom field slug.
CustomFields map[string]*CustomFieldValue `json:"custom_fields,omitempty" url:"custom_fields,omitempty"`
// The description of the feature request.
Description string `json:"description" url:"description"`
// Evidence items linked to this feature request. Only populated when fetch_evidence=true.
Evidence []*FeatureRequestEvidence `json:"evidence,omitempty" url:"evidence,omitempty"`
// The number of evidence items (excluding irrelevant) linked to this feature request.
EvidenceCount int64 `json:"evidence_count" url:"evidence_count"`
// The external product issues associated with the feature request, if any.
ExternalIssues []*ExternalIssue `json:"external_issues,omitempty" url:"external_issues,omitempty"`
// The ID of the feature request.
ID string `json:"id" url:"id"`
// Account IDs that can see this feature request in the customer portal. Empty means hidden from all accounts. Only takes effect when the Feature Requests tab is enabled in portal settings.
PortalVisibleToAccountIDs []string `json:"portal_visible_to_account_ids,omitempty" url:"portal_visible_to_account_ids,omitempty"`
// The status of the feature request. Can be a built-in status (new, in_progress, closed, archived) or a custom status slug.
RequestStatus *string `json:"request_status,omitempty" url:"request_status,omitempty"`
// The title of the feature request.
Title string `json:"title" url:"title"`
// The time the feature request was last updated (RFC3339).
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// contains filtered or unexported fields
}
func (*FeatureRequest) GetCreatedAt ¶
func (f *FeatureRequest) GetCreatedAt() time.Time
func (*FeatureRequest) GetCustomFields ¶
func (f *FeatureRequest) GetCustomFields() map[string]*CustomFieldValue
func (*FeatureRequest) GetDescription ¶
func (f *FeatureRequest) GetDescription() string
func (*FeatureRequest) GetEvidence ¶
func (f *FeatureRequest) GetEvidence() []*FeatureRequestEvidence
func (*FeatureRequest) GetEvidenceCount ¶
func (f *FeatureRequest) GetEvidenceCount() int64
func (*FeatureRequest) GetExternalIssues ¶
func (f *FeatureRequest) GetExternalIssues() []*ExternalIssue
func (*FeatureRequest) GetExtraProperties ¶
func (f *FeatureRequest) GetExtraProperties() map[string]interface{}
func (*FeatureRequest) GetID ¶
func (f *FeatureRequest) GetID() string
func (*FeatureRequest) GetPortalVisibleToAccountIDs ¶
func (f *FeatureRequest) GetPortalVisibleToAccountIDs() []string
func (*FeatureRequest) GetRequestStatus ¶
func (f *FeatureRequest) GetRequestStatus() *string
func (*FeatureRequest) GetTitle ¶
func (f *FeatureRequest) GetTitle() string
func (*FeatureRequest) GetUpdatedAt ¶
func (f *FeatureRequest) GetUpdatedAt() time.Time
func (*FeatureRequest) MarshalJSON ¶
func (f *FeatureRequest) MarshalJSON() ([]byte, error)
func (*FeatureRequest) SetCreatedAt ¶
func (f *FeatureRequest) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequest) SetCustomFields ¶
func (f *FeatureRequest) SetCustomFields(customFields map[string]*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequest) SetDescription ¶
func (f *FeatureRequest) SetDescription(description string)
SetDescription sets the Description field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequest) SetEvidence ¶
func (f *FeatureRequest) SetEvidence(evidence []*FeatureRequestEvidence)
SetEvidence sets the Evidence field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequest) SetEvidenceCount ¶
func (f *FeatureRequest) SetEvidenceCount(evidenceCount int64)
SetEvidenceCount sets the EvidenceCount field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequest) SetExternalIssues ¶
func (f *FeatureRequest) SetExternalIssues(externalIssues []*ExternalIssue)
SetExternalIssues sets the ExternalIssues field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequest) SetID ¶
func (f *FeatureRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequest) SetPortalVisibleToAccountIDs ¶
func (f *FeatureRequest) SetPortalVisibleToAccountIDs(portalVisibleToAccountIDs []string)
SetPortalVisibleToAccountIDs sets the PortalVisibleToAccountIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequest) SetRequestStatus ¶
func (f *FeatureRequest) SetRequestStatus(requestStatus *string)
SetRequestStatus sets the RequestStatus field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequest) SetTitle ¶
func (f *FeatureRequest) SetTitle(title string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequest) SetUpdatedAt ¶
func (f *FeatureRequest) SetUpdatedAt(updatedAt time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequest) String ¶
func (f *FeatureRequest) String() string
func (*FeatureRequest) UnmarshalJSON ¶
func (f *FeatureRequest) UnmarshalJSON(data []byte) error
type FeatureRequestEvidence ¶
type FeatureRequestEvidence struct {
// The ID of the customer account that submitted this evidence (e.g. the account whose issue or call recording is linked), if available.
AccountID *string `json:"account_id,omitempty" url:"account_id,omitempty"`
// The time when the evidence was created, in RFC 3339 format.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// The URL of the evidence in the external system (e.g. Fathom, Gong). Only included for call recording evidence when the value is known; omitted for other evidence sources.
ExternalURL *string `json:"external_url,omitempty" url:"external_url,omitempty"`
// The ID of the evidence record.
ID string `json:"id" url:"id"`
// The ID of the linked issue. Only present for issue evidence.
SourceID *string `json:"source_id,omitempty" url:"source_id,omitempty"`
// The source type of the evidence (e.g. 'issue', 'call_recording', 'survey_response', 'manual').
SourceType string `json:"source_type" url:"source_type"`
// A summary of why this evidence supports the feature request.
Summary *string `json:"summary,omitempty" url:"summary,omitempty"`
// contains filtered or unexported fields
}
func (*FeatureRequestEvidence) GetAccountID ¶
func (f *FeatureRequestEvidence) GetAccountID() *string
func (*FeatureRequestEvidence) GetCreatedAt ¶
func (f *FeatureRequestEvidence) GetCreatedAt() time.Time
func (*FeatureRequestEvidence) GetExternalURL ¶
func (f *FeatureRequestEvidence) GetExternalURL() *string
func (*FeatureRequestEvidence) GetExtraProperties ¶
func (f *FeatureRequestEvidence) GetExtraProperties() map[string]interface{}
func (*FeatureRequestEvidence) GetID ¶
func (f *FeatureRequestEvidence) GetID() string
func (*FeatureRequestEvidence) GetSourceID ¶
func (f *FeatureRequestEvidence) GetSourceID() *string
func (*FeatureRequestEvidence) GetSourceType ¶
func (f *FeatureRequestEvidence) GetSourceType() string
func (*FeatureRequestEvidence) GetSummary ¶
func (f *FeatureRequestEvidence) GetSummary() *string
func (*FeatureRequestEvidence) MarshalJSON ¶
func (f *FeatureRequestEvidence) MarshalJSON() ([]byte, error)
func (*FeatureRequestEvidence) SetAccountID ¶
func (f *FeatureRequestEvidence) SetAccountID(accountID *string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestEvidence) SetCreatedAt ¶
func (f *FeatureRequestEvidence) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestEvidence) SetExternalURL ¶
func (f *FeatureRequestEvidence) SetExternalURL(externalURL *string)
SetExternalURL sets the ExternalURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestEvidence) SetID ¶
func (f *FeatureRequestEvidence) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestEvidence) SetSourceID ¶
func (f *FeatureRequestEvidence) SetSourceID(sourceID *string)
SetSourceID sets the SourceID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestEvidence) SetSourceType ¶
func (f *FeatureRequestEvidence) SetSourceType(sourceType string)
SetSourceType sets the SourceType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestEvidence) SetSummary ¶
func (f *FeatureRequestEvidence) SetSummary(summary *string)
SetSummary sets the Summary field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestEvidence) String ¶
func (f *FeatureRequestEvidence) String() string
func (*FeatureRequestEvidence) UnmarshalJSON ¶
func (f *FeatureRequestEvidence) UnmarshalJSON(data []byte) error
type FeatureRequestSearchResult ¶
type FeatureRequestSearchResult struct {
// IDs of customer accounts that have requested this feature, resolved via the evidence chain.
AccountIDs []string `json:"account_ids,omitempty" url:"account_ids,omitempty"`
// The time the feature request was created (RFC3339).
CreatedAt time.Time `json:"created_at" url:"created_at"`
// Custom field values associated with the feature request, keyed by custom field slug.
CustomFields map[string]*CustomFieldValue `json:"custom_fields,omitempty" url:"custom_fields,omitempty"`
// The description of the feature request.
Description string `json:"description" url:"description"`
// The number of evidence items (excluding irrelevant) linked to this feature request.
EvidenceCount int64 `json:"evidence_count" url:"evidence_count"`
// The external product issues associated with the feature request, if any.
ExternalIssues []*ExternalIssue `json:"external_issues,omitempty" url:"external_issues,omitempty"`
// The ID of the feature request.
ID string `json:"id" url:"id"`
// Account IDs that can see this feature request in the customer portal. Empty means hidden from all accounts. Only takes effect when the Feature Requests tab is enabled in portal settings.
PortalVisibleToAccountIDs []string `json:"portal_visible_to_account_ids,omitempty" url:"portal_visible_to_account_ids,omitempty"`
// The status of the feature request. Can be a built-in status (new, in_progress, closed, archived) or a custom status slug.
RequestStatus *string `json:"request_status,omitempty" url:"request_status,omitempty"`
// The title of the feature request.
Title string `json:"title" url:"title"`
// The time the feature request was last updated (RFC3339).
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// contains filtered or unexported fields
}
func (*FeatureRequestSearchResult) GetAccountIDs ¶
func (f *FeatureRequestSearchResult) GetAccountIDs() []string
func (*FeatureRequestSearchResult) GetCreatedAt ¶
func (f *FeatureRequestSearchResult) GetCreatedAt() time.Time
func (*FeatureRequestSearchResult) GetCustomFields ¶
func (f *FeatureRequestSearchResult) GetCustomFields() map[string]*CustomFieldValue
func (*FeatureRequestSearchResult) GetDescription ¶
func (f *FeatureRequestSearchResult) GetDescription() string
func (*FeatureRequestSearchResult) GetEvidenceCount ¶
func (f *FeatureRequestSearchResult) GetEvidenceCount() int64
func (*FeatureRequestSearchResult) GetExternalIssues ¶
func (f *FeatureRequestSearchResult) GetExternalIssues() []*ExternalIssue
func (*FeatureRequestSearchResult) GetExtraProperties ¶
func (f *FeatureRequestSearchResult) GetExtraProperties() map[string]interface{}
func (*FeatureRequestSearchResult) GetID ¶
func (f *FeatureRequestSearchResult) GetID() string
func (*FeatureRequestSearchResult) GetPortalVisibleToAccountIDs ¶
func (f *FeatureRequestSearchResult) GetPortalVisibleToAccountIDs() []string
func (*FeatureRequestSearchResult) GetRequestStatus ¶
func (f *FeatureRequestSearchResult) GetRequestStatus() *string
func (*FeatureRequestSearchResult) GetTitle ¶
func (f *FeatureRequestSearchResult) GetTitle() string
func (*FeatureRequestSearchResult) GetUpdatedAt ¶
func (f *FeatureRequestSearchResult) GetUpdatedAt() time.Time
func (*FeatureRequestSearchResult) MarshalJSON ¶
func (f *FeatureRequestSearchResult) MarshalJSON() ([]byte, error)
func (*FeatureRequestSearchResult) SetAccountIDs ¶
func (f *FeatureRequestSearchResult) SetAccountIDs(accountIDs []string)
SetAccountIDs sets the AccountIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestSearchResult) SetCreatedAt ¶
func (f *FeatureRequestSearchResult) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestSearchResult) SetCustomFields ¶
func (f *FeatureRequestSearchResult) SetCustomFields(customFields map[string]*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestSearchResult) SetDescription ¶
func (f *FeatureRequestSearchResult) SetDescription(description string)
SetDescription sets the Description field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestSearchResult) SetEvidenceCount ¶
func (f *FeatureRequestSearchResult) SetEvidenceCount(evidenceCount int64)
SetEvidenceCount sets the EvidenceCount field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestSearchResult) SetExternalIssues ¶
func (f *FeatureRequestSearchResult) SetExternalIssues(externalIssues []*ExternalIssue)
SetExternalIssues sets the ExternalIssues field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestSearchResult) SetID ¶
func (f *FeatureRequestSearchResult) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestSearchResult) SetPortalVisibleToAccountIDs ¶
func (f *FeatureRequestSearchResult) SetPortalVisibleToAccountIDs(portalVisibleToAccountIDs []string)
SetPortalVisibleToAccountIDs sets the PortalVisibleToAccountIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestSearchResult) SetRequestStatus ¶
func (f *FeatureRequestSearchResult) SetRequestStatus(requestStatus *string)
SetRequestStatus sets the RequestStatus field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestSearchResult) SetTitle ¶
func (f *FeatureRequestSearchResult) SetTitle(title string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestSearchResult) SetUpdatedAt ¶
func (f *FeatureRequestSearchResult) SetUpdatedAt(updatedAt time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestSearchResult) String ¶
func (f *FeatureRequestSearchResult) String() string
func (*FeatureRequestSearchResult) UnmarshalJSON ¶
func (f *FeatureRequestSearchResult) UnmarshalJSON(data []byte) error
type FeatureRequestsAddEvidenceRequest ¶
type FeatureRequestsAddEvidenceRequest struct {
// The ID of the feature request.
FeatureRequestID string `json:"-" url:"-"`
// The ID of the customer account to link to the feature request.
AccountID string `json:"account_id" url:"-"`
// A summary explaining why this account is linked. Defaults to "Account manually linked via API."
Summary *string `json:"summary,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*FeatureRequestsAddEvidenceRequest) MarshalJSON ¶
func (f *FeatureRequestsAddEvidenceRequest) MarshalJSON() ([]byte, error)
func (*FeatureRequestsAddEvidenceRequest) SetAccountID ¶
func (f *FeatureRequestsAddEvidenceRequest) SetAccountID(accountID string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsAddEvidenceRequest) SetFeatureRequestID ¶
func (f *FeatureRequestsAddEvidenceRequest) SetFeatureRequestID(featureRequestID string)
SetFeatureRequestID sets the FeatureRequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsAddEvidenceRequest) SetSummary ¶
func (f *FeatureRequestsAddEvidenceRequest) SetSummary(summary *string)
SetSummary sets the Summary field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsAddEvidenceRequest) UnmarshalJSON ¶
func (f *FeatureRequestsAddEvidenceRequest) UnmarshalJSON(data []byte) error
type FeatureRequestsCreateRequest ¶
type FeatureRequestsCreateRequest struct {
// The description of the feature request. Ignored when should_auto_fetch_evidence is true, since the description is then generated from gathered evidence.
Description *string `json:"description,omitempty" url:"-"`
// When true, asynchronously gathers supporting evidence and generates a description, mirroring the in-app experience. Defaults to false, which creates the feature request as-is.
ShouldAutoFetchEvidence *bool `json:"should_auto_fetch_evidence,omitempty" url:"-"`
// The title of the feature request.
Title string `json:"title" url:"-"`
// contains filtered or unexported fields
}
func (*FeatureRequestsCreateRequest) MarshalJSON ¶
func (f *FeatureRequestsCreateRequest) MarshalJSON() ([]byte, error)
func (*FeatureRequestsCreateRequest) SetDescription ¶
func (f *FeatureRequestsCreateRequest) SetDescription(description *string)
SetDescription sets the Description field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsCreateRequest) SetShouldAutoFetchEvidence ¶
func (f *FeatureRequestsCreateRequest) SetShouldAutoFetchEvidence(shouldAutoFetchEvidence *bool)
SetShouldAutoFetchEvidence sets the ShouldAutoFetchEvidence field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsCreateRequest) SetTitle ¶
func (f *FeatureRequestsCreateRequest) SetTitle(title string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsCreateRequest) UnmarshalJSON ¶
func (f *FeatureRequestsCreateRequest) UnmarshalJSON(data []byte) error
type FeatureRequestsDeleteRequest ¶
type FeatureRequestsDeleteRequest struct {
// The ID of the feature request to delete.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*FeatureRequestsDeleteRequest) SetID ¶
func (f *FeatureRequestsDeleteRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type FeatureRequestsGetRequest ¶
type FeatureRequestsGetRequest struct {
// The ID of the feature request to fetch.
ID string `json:"-" url:"-"`
// Whether to include evidence items in the response. Defaults to false.
FetchEvidence *bool `json:"-" url:"fetch_evidence,omitempty"`
// contains filtered or unexported fields
}
func (*FeatureRequestsGetRequest) SetFetchEvidence ¶
func (f *FeatureRequestsGetRequest) SetFetchEvidence(fetchEvidence *bool)
SetFetchEvidence sets the FetchEvidence field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsGetRequest) SetID ¶
func (f *FeatureRequestsGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type FeatureRequestsLinkExternalIssueRequest ¶
type FeatureRequestsLinkExternalIssueRequest struct {
// The ID of the feature request to link an external issue to.
FeatureRequestID string `json:"-" url:"-"`
// The ID or human-readable key of the external issue in the source system.
ExternalIssueID string `json:"external_issue_id" url:"-"`
// Operation to perform. Use "link" to link the issue (default) or "unlink" to unlink it.
Operation *string `json:"operation,omitempty" url:"-"`
// The source system of the external issue (e.g., "linear", "asana", "jira", "github", "shortcut").
Source string `json:"source" url:"-"`
// contains filtered or unexported fields
}
func (*FeatureRequestsLinkExternalIssueRequest) MarshalJSON ¶
func (f *FeatureRequestsLinkExternalIssueRequest) MarshalJSON() ([]byte, error)
func (*FeatureRequestsLinkExternalIssueRequest) SetExternalIssueID ¶
func (f *FeatureRequestsLinkExternalIssueRequest) SetExternalIssueID(externalIssueID string)
SetExternalIssueID sets the ExternalIssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsLinkExternalIssueRequest) SetFeatureRequestID ¶
func (f *FeatureRequestsLinkExternalIssueRequest) SetFeatureRequestID(featureRequestID string)
SetFeatureRequestID sets the FeatureRequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsLinkExternalIssueRequest) SetOperation ¶
func (f *FeatureRequestsLinkExternalIssueRequest) SetOperation(operation *string)
SetOperation sets the Operation field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsLinkExternalIssueRequest) SetSource ¶
func (f *FeatureRequestsLinkExternalIssueRequest) SetSource(source string)
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsLinkExternalIssueRequest) UnmarshalJSON ¶
func (f *FeatureRequestsLinkExternalIssueRequest) UnmarshalJSON(data []byte) error
type FeatureRequestsMergeRequest ¶
type FeatureRequestsMergeRequest struct {
// The IDs of the Feature Requests to merge into the surviving Feature Request. Must contain between 1 and 100 unique IDs.
MergeFeatureRequestIDs []string `json:"merge_feature_request_ids" url:"-"`
// The ID of the Feature Request that will survive the merge.
MergeIntoFeatureRequestID string `json:"merge_into_feature_request_id" url:"-"`
// contains filtered or unexported fields
}
func (*FeatureRequestsMergeRequest) MarshalJSON ¶
func (f *FeatureRequestsMergeRequest) MarshalJSON() ([]byte, error)
func (*FeatureRequestsMergeRequest) SetMergeFeatureRequestIDs ¶
func (f *FeatureRequestsMergeRequest) SetMergeFeatureRequestIDs(mergeFeatureRequestIDs []string)
SetMergeFeatureRequestIDs sets the MergeFeatureRequestIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsMergeRequest) SetMergeIntoFeatureRequestID ¶
func (f *FeatureRequestsMergeRequest) SetMergeIntoFeatureRequestID(mergeIntoFeatureRequestID string)
SetMergeIntoFeatureRequestID sets the MergeIntoFeatureRequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsMergeRequest) UnmarshalJSON ¶
func (f *FeatureRequestsMergeRequest) UnmarshalJSON(data []byte) error
type FeatureRequestsSearchRequest ¶
type FeatureRequestsSearchRequest struct {
// Filter by one or more account IDs. Returns only feature requests with evidence linked to any of the given accounts.
AccountIDs []string `json:"account_ids,omitempty" url:"-"`
// The maximum number of feature requests to return. Defaults to 100, max 1000.
Limit *int64 `json:"limit,omitempty" url:"-"`
// A search query string for semantic and keyword matching. If omitted, all feature requests are returned (subject to other filters and limit).
Query *string `json:"query,omitempty" url:"-"`
// Filter by one or more request statuses. Each value can be a built-in status (new, in_progress, closed, archived) or a custom status slug.
RequestStatuses []string `json:"request_statuses,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*FeatureRequestsSearchRequest) MarshalJSON ¶
func (f *FeatureRequestsSearchRequest) MarshalJSON() ([]byte, error)
func (*FeatureRequestsSearchRequest) SetAccountIDs ¶
func (f *FeatureRequestsSearchRequest) SetAccountIDs(accountIDs []string)
SetAccountIDs sets the AccountIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsSearchRequest) SetLimit ¶
func (f *FeatureRequestsSearchRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsSearchRequest) SetQuery ¶
func (f *FeatureRequestsSearchRequest) SetQuery(query *string)
SetQuery sets the Query field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsSearchRequest) SetRequestStatuses ¶
func (f *FeatureRequestsSearchRequest) SetRequestStatuses(requestStatuses []string)
SetRequestStatuses sets the RequestStatuses field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsSearchRequest) UnmarshalJSON ¶
func (f *FeatureRequestsSearchRequest) UnmarshalJSON(data []byte) error
type FeatureRequestsSetPortalVisibilityRequest ¶
type FeatureRequestsSetPortalVisibilityRequest struct {
// The ID of the feature request.
FeatureRequestID string `json:"-" url:"-"`
// The account IDs to add or remove portal visibility for.
AccountIDs []string `json:"account_ids" url:"-"`
// Whether the specified accounts should be able to see this feature request in the portal. True to add visibility, false to remove.
Visible bool `json:"visible" url:"-"`
// contains filtered or unexported fields
}
func (*FeatureRequestsSetPortalVisibilityRequest) MarshalJSON ¶
func (f *FeatureRequestsSetPortalVisibilityRequest) MarshalJSON() ([]byte, error)
func (*FeatureRequestsSetPortalVisibilityRequest) SetAccountIDs ¶
func (f *FeatureRequestsSetPortalVisibilityRequest) SetAccountIDs(accountIDs []string)
SetAccountIDs sets the AccountIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsSetPortalVisibilityRequest) SetFeatureRequestID ¶
func (f *FeatureRequestsSetPortalVisibilityRequest) SetFeatureRequestID(featureRequestID string)
SetFeatureRequestID sets the FeatureRequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsSetPortalVisibilityRequest) SetVisible ¶
func (f *FeatureRequestsSetPortalVisibilityRequest) SetVisible(visible bool)
SetVisible sets the Visible field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsSetPortalVisibilityRequest) UnmarshalJSON ¶
func (f *FeatureRequestsSetPortalVisibilityRequest) UnmarshalJSON(data []byte) error
type FeatureRequestsUpdateRequest ¶
type FeatureRequestsUpdateRequest struct {
// The ID of the feature request to update.
ID string `json:"-" url:"-"`
// An array of custom fields to set. Only passed-in fields will be modified.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// The new request status. Can be a built-in status (new, in_progress, closed, archived) or a custom status slug.
RequestStatus *string `json:"request_status,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*FeatureRequestsUpdateRequest) MarshalJSON ¶
func (f *FeatureRequestsUpdateRequest) MarshalJSON() ([]byte, error)
func (*FeatureRequestsUpdateRequest) SetCustomFields ¶
func (f *FeatureRequestsUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsUpdateRequest) SetID ¶
func (f *FeatureRequestsUpdateRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsUpdateRequest) SetRequestStatus ¶
func (f *FeatureRequestsUpdateRequest) SetRequestStatus(requestStatus *string)
SetRequestStatus sets the RequestStatus field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FeatureRequestsUpdateRequest) UnmarshalJSON ¶
func (f *FeatureRequestsUpdateRequest) UnmarshalJSON(data []byte) error
type FileParam ¶
FileParam is a file type suitable for multipart/form-data uploads.
func NewFileParam ¶
func NewFileParam( reader io.Reader, filename string, contentType string, opts ...FileParamOption, ) *FileParam
NewFileParam returns a *FileParam type suitable for multipart/form-data uploads. All file upload endpoints accept a simple io.Reader, which is usually created by opening a file via os.Open.
However, some endpoints require additional metadata about the file such as a specific Content-Type or custom filename. FileParam makes it easier to create the correct type signature for these endpoints.
func (*FileParam) ContentType ¶
type FileParamOption ¶
type FileParamOption interface {
// contains filtered or unexported methods
}
FileParamOption adapts the behavior of the FileParam. No options are implemented yet, but this interface allows for future extensibility.
type Filter ¶
type Filter struct {
// The field for this filter. For allowed fields, see the documentation for
// the specific endpoint you are using.
// For non-compound filters (any operators other than "and", "or", or "not"),
// field must be set, along with either value or values, depending on the operator.
Field *string `json:"field,omitempty" url:"field,omitempty"`
// The operator for this filter. Required unless related_object is set.
Operator *FilterOperator `json:"operator,omitempty" url:"operator,omitempty"`
RelatedObject *FilterRelatedObject `json:"related_object,omitempty" url:"related_object,omitempty"`
// Sub-filters for this filter. Valid only when operator is "and", "or", or "not"; "not"
// takes exactly one subfilter.
// The maximum allowed depth for a tree of filters is 5, counting the top-level filter.
Subfilters []*Filter `json:"subfilters,omitempty" url:"subfilters,omitempty"`
// The value for this filter. Used by single-valued operators: "equals", "not_equals",
// "contains", "does_not_contain", "string_contains", "string_does_not_contain",
// "starts_with", "ends_with", "time_is_after", "time_is_before", "time_is_in_last",
// "time_is_not_in_last", "time_is_in_next", "time_is_not_in_next", "greater_than",
// "less_than", "greater_than_or_equals", and "less_than_or_equals".
// On fields that hold user IDs, "current_user" means the API token's user; on fields that
// hold team IDs, "my_teams" means that user's teams. The same applies to values.
Value *string `json:"value,omitempty" url:"value,omitempty"`
// The values for this filter. Used by multi-valued operators: "in", "not_in", "includes_all_of",
// "includes_exactly", "belongs_to", and "not_belongs_to". For "time_range", set to [start, end].
Values []string `json:"values,omitempty" url:"values,omitempty"`
// contains filtered or unexported fields
}
func (*Filter) GetExtraProperties ¶
func (*Filter) GetOperator ¶
func (f *Filter) GetOperator() *FilterOperator
func (*Filter) GetRelatedObject ¶
func (f *Filter) GetRelatedObject() *FilterRelatedObject
func (*Filter) GetSubfilters ¶
func (*Filter) MarshalJSON ¶
func (*Filter) SetField ¶
SetField sets the Field field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Filter) SetOperator ¶
func (f *Filter) SetOperator(operator *FilterOperator)
SetOperator sets the Operator field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Filter) SetRelatedObject ¶
func (f *Filter) SetRelatedObject(relatedObject *FilterRelatedObject)
SetRelatedObject sets the RelatedObject field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Filter) SetSubfilters ¶
SetSubfilters sets the Subfilters field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Filter) SetValue ¶
SetValue sets the Value field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Filter) SetValues ¶
SetValues sets the Values field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Filter) UnmarshalJSON ¶
type FilterError ¶
type FilterError struct {
// What is accepted in place of the rejected field, operator, value, or relationship.
// Long lists are cut off after 100 entries.
Allowed []string `json:"allowed,omitempty" url:"allowed,omitempty"`
// A stable machine-readable identifier for this problem.
//
// Known values: `invalid_shape`, `too_deep`, `unknown_operator`, `unknown_field`, `operator_not_allowed`, `missing_value`, `unexpected_value`, `invalid_value`, `unknown_relationship`, `unsupported`. This list is not exhaustive.
Code string `json:"code" url:"code"`
// The field of the filter at path, when it has one.
Field *string `json:"field,omitempty" url:"field,omitempty"`
// What is wrong and how to fix it.
Message string `json:"message" url:"message"`
// The operator of the filter at path, when it has one.
Operator *string `json:"operator,omitempty" url:"operator,omitempty"`
// Where the problem is, as a JSONPath from the root of the filter, such as
// "$.subfilters[1].related_object.filter".
Path string `json:"path" url:"path"`
// The accepted entry closest to the rejected one, when one is close enough.
Suggestion *string `json:"suggestion,omitempty" url:"suggestion,omitempty"`
// contains filtered or unexported fields
}
func (*FilterError) GetAllowed ¶
func (f *FilterError) GetAllowed() []string
func (*FilterError) GetCode ¶
func (f *FilterError) GetCode() string
func (*FilterError) GetExtraProperties ¶
func (f *FilterError) GetExtraProperties() map[string]interface{}
func (*FilterError) GetField ¶
func (f *FilterError) GetField() *string
func (*FilterError) GetMessage ¶
func (f *FilterError) GetMessage() string
func (*FilterError) GetOperator ¶
func (f *FilterError) GetOperator() *string
func (*FilterError) GetPath ¶
func (f *FilterError) GetPath() string
func (*FilterError) GetSuggestion ¶
func (f *FilterError) GetSuggestion() *string
func (*FilterError) MarshalJSON ¶
func (f *FilterError) MarshalJSON() ([]byte, error)
func (*FilterError) SetAllowed ¶
func (f *FilterError) SetAllowed(allowed []string)
SetAllowed sets the Allowed field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FilterError) SetCode ¶
func (f *FilterError) SetCode(code string)
SetCode sets the Code field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FilterError) SetField ¶
func (f *FilterError) SetField(field *string)
SetField sets the Field field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FilterError) SetMessage ¶
func (f *FilterError) SetMessage(message string)
SetMessage sets the Message field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FilterError) SetOperator ¶
func (f *FilterError) SetOperator(operator *string)
SetOperator sets the Operator field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FilterError) SetPath ¶
func (f *FilterError) SetPath(path string)
SetPath sets the Path field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FilterError) SetSuggestion ¶
func (f *FilterError) SetSuggestion(suggestion *string)
SetSuggestion sets the Suggestion field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FilterError) String ¶
func (f *FilterError) String() string
func (*FilterError) UnmarshalJSON ¶
func (f *FilterError) UnmarshalJSON(data []byte) error
type FilterOperator ¶
type FilterOperator string
The operator for this filter. Required unless related_object is set.
const ( FilterOperatorEquals FilterOperator = "equals" FilterOperatorNotEquals FilterOperator = "not_equals" FilterOperatorContains FilterOperator = "contains" FilterOperatorDoesNotContain FilterOperator = "does_not_contain" FilterOperatorIn FilterOperator = "in" FilterOperatorNotIn FilterOperator = "not_in" FilterOperatorAnd FilterOperator = "and" FilterOperatorOr FilterOperator = "or" FilterOperatorNot FilterOperator = "not" FilterOperatorTimeIsAfter FilterOperator = "time_is_after" FilterOperatorTimeIsBefore FilterOperator = "time_is_before" FilterOperatorTimeRange FilterOperator = "time_range" FilterOperatorStringContains FilterOperator = "string_contains" FilterOperatorStringDoesNotContain FilterOperator = "string_does_not_contain" FilterOperatorIsSet FilterOperator = "is_set" FilterOperatorIsUnset FilterOperator = "is_unset" FilterOperatorGreaterThan FilterOperator = "greater_than" FilterOperatorLessThan FilterOperator = "less_than" FilterOperatorGreaterThanOrEquals FilterOperator = "greater_than_or_equals" FilterOperatorLessThanOrEquals FilterOperator = "less_than_or_equals" FilterOperatorIncludesAllOf FilterOperator = "includes_all_of" FilterOperatorStartsWith FilterOperator = "starts_with" FilterOperatorEndsWith FilterOperator = "ends_with" FilterOperatorTimeIsInLast FilterOperator = "time_is_in_last" FilterOperatorTimeIsNotInLast FilterOperator = "time_is_not_in_last" FilterOperatorTimeIsInNext FilterOperator = "time_is_in_next" FilterOperatorTimeIsNotInNext FilterOperator = "time_is_not_in_next" FilterOperatorIncludesExactly FilterOperator = "includes_exactly" FilterOperatorBelongsTo FilterOperator = "belongs_to" FilterOperatorNotBelongsTo FilterOperator = "not_belongs_to" )
func NewFilterOperatorFromString ¶
func NewFilterOperatorFromString(s string) (FilterOperator, error)
func (FilterOperator) Ptr ¶
func (f FilterOperator) Ptr() *FilterOperator
type FilterRelatedObject ¶
type FilterRelatedObject struct {
// The slug of a relationship custom field to follow. Returned when reading stored filters,
// such as ticket form conditions; search filters don't accept it yet.
CustomField *string `json:"custom_field,omitempty" url:"custom_field,omitempty"`
Filter *Filter `json:"filter" url:"filter"`
// The built-in relationship to follow, such as "account". Each search endpoint lists the
// relationships its filter accepts. Exactly one of relationship and custom_field is set.
Relationship *string `json:"relationship,omitempty" url:"relationship,omitempty"`
// contains filtered or unexported fields
}
func (*FilterRelatedObject) GetCustomField ¶
func (f *FilterRelatedObject) GetCustomField() *string
func (*FilterRelatedObject) GetExtraProperties ¶
func (f *FilterRelatedObject) GetExtraProperties() map[string]interface{}
func (*FilterRelatedObject) GetFilter ¶
func (f *FilterRelatedObject) GetFilter() *Filter
func (*FilterRelatedObject) GetRelationship ¶
func (f *FilterRelatedObject) GetRelationship() *string
func (*FilterRelatedObject) MarshalJSON ¶
func (f *FilterRelatedObject) MarshalJSON() ([]byte, error)
func (*FilterRelatedObject) SetCustomField ¶
func (f *FilterRelatedObject) SetCustomField(customField *string)
SetCustomField sets the CustomField field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FilterRelatedObject) SetFilter ¶
func (f *FilterRelatedObject) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FilterRelatedObject) SetRelationship ¶
func (f *FilterRelatedObject) SetRelationship(relationship *string)
SetRelationship sets the Relationship field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*FilterRelatedObject) String ¶
func (f *FilterRelatedObject) String() string
func (*FilterRelatedObject) UnmarshalJSON ¶
func (f *FilterRelatedObject) UnmarshalJSON(data []byte) error
type Follower ¶
type Follower struct {
// The ID of the follower. Either a user or contact ID.
ID string `json:"id" url:"id"`
// The type of follower. Either "user" or "contact".
//
// Known values: `user`, `contact`. This list is not exhaustive.
Type string `json:"type" url:"type"`
// contains filtered or unexported fields
}
func (*Follower) GetExtraProperties ¶
func (*Follower) MarshalJSON ¶
func (*Follower) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Follower) SetType ¶
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Follower) UnmarshalJSON ¶
type ForbiddenError ¶
type ForbiddenError struct {
*core.APIError
Body *ErrorAPIResponseBody
}
The authenticated caller or organization is not allowed to access this endpoint or operation.
func (*ForbiddenError) GetBody ¶
func (f *ForbiddenError) GetBody() *ErrorAPIResponseBody
func (*ForbiddenError) MarshalJSON ¶
func (f *ForbiddenError) MarshalJSON() ([]byte, error)
func (*ForbiddenError) UnmarshalJSON ¶
func (f *ForbiddenError) UnmarshalJSON(data []byte) error
func (*ForbiddenError) Unwrap ¶
func (f *ForbiddenError) Unwrap() error
type GetAccountFilesResponseBody ¶
type GetAccountFilesResponseBody struct {
// The data payload of the response.
Data []*AccountFile `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetAccountFilesResponseBody) GetData ¶
func (g *GetAccountFilesResponseBody) GetData() []*AccountFile
func (*GetAccountFilesResponseBody) GetExtraProperties ¶
func (g *GetAccountFilesResponseBody) GetExtraProperties() map[string]interface{}
func (*GetAccountFilesResponseBody) GetRequestID ¶
func (g *GetAccountFilesResponseBody) GetRequestID() string
func (*GetAccountFilesResponseBody) MarshalJSON ¶
func (g *GetAccountFilesResponseBody) MarshalJSON() ([]byte, error)
func (*GetAccountFilesResponseBody) SetData ¶
func (g *GetAccountFilesResponseBody) SetData(data []*AccountFile)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetAccountFilesResponseBody) SetRequestID ¶
func (g *GetAccountFilesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetAccountFilesResponseBody) String ¶
func (g *GetAccountFilesResponseBody) String() string
func (*GetAccountFilesResponseBody) UnmarshalJSON ¶
func (g *GetAccountFilesResponseBody) UnmarshalJSON(data []byte) error
type GetAccountNotebookNotesResponseBody ¶
type GetAccountNotebookNotesResponseBody struct {
// The data payload of the response.
Data []*AccountNotebookNote `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetAccountNotebookNotesResponseBody) GetData ¶
func (g *GetAccountNotebookNotesResponseBody) GetData() []*AccountNotebookNote
func (*GetAccountNotebookNotesResponseBody) GetExtraProperties ¶
func (g *GetAccountNotebookNotesResponseBody) GetExtraProperties() map[string]interface{}
func (*GetAccountNotebookNotesResponseBody) GetPagination ¶
func (g *GetAccountNotebookNotesResponseBody) GetPagination() *Pagination
func (*GetAccountNotebookNotesResponseBody) GetRequestID ¶
func (g *GetAccountNotebookNotesResponseBody) GetRequestID() string
func (*GetAccountNotebookNotesResponseBody) MarshalJSON ¶
func (g *GetAccountNotebookNotesResponseBody) MarshalJSON() ([]byte, error)
func (*GetAccountNotebookNotesResponseBody) SetData ¶
func (g *GetAccountNotebookNotesResponseBody) SetData(data []*AccountNotebookNote)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetAccountNotebookNotesResponseBody) SetPagination ¶
func (g *GetAccountNotebookNotesResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetAccountNotebookNotesResponseBody) SetRequestID ¶
func (g *GetAccountNotebookNotesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetAccountNotebookNotesResponseBody) String ¶
func (g *GetAccountNotebookNotesResponseBody) String() string
func (*GetAccountNotebookNotesResponseBody) UnmarshalJSON ¶
func (g *GetAccountNotebookNotesResponseBody) UnmarshalJSON(data []byte) error
type GetAccountRelationshipsResponseBody ¶
type GetAccountRelationshipsResponseBody struct {
// The data payload of the response.
Data []*AccountRelationship `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetAccountRelationshipsResponseBody) GetData ¶
func (g *GetAccountRelationshipsResponseBody) GetData() []*AccountRelationship
func (*GetAccountRelationshipsResponseBody) GetExtraProperties ¶
func (g *GetAccountRelationshipsResponseBody) GetExtraProperties() map[string]interface{}
func (*GetAccountRelationshipsResponseBody) GetRequestID ¶
func (g *GetAccountRelationshipsResponseBody) GetRequestID() string
func (*GetAccountRelationshipsResponseBody) MarshalJSON ¶
func (g *GetAccountRelationshipsResponseBody) MarshalJSON() ([]byte, error)
func (*GetAccountRelationshipsResponseBody) SetData ¶
func (g *GetAccountRelationshipsResponseBody) SetData(data []*AccountRelationship)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetAccountRelationshipsResponseBody) SetRequestID ¶
func (g *GetAccountRelationshipsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetAccountRelationshipsResponseBody) String ¶
func (g *GetAccountRelationshipsResponseBody) String() string
func (*GetAccountRelationshipsResponseBody) UnmarshalJSON ¶
func (g *GetAccountRelationshipsResponseBody) UnmarshalJSON(data []byte) error
type GetAccountResponseBody ¶
type GetAccountResponseBody struct {
Data *Account `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetAccountResponseBody) GetData ¶
func (g *GetAccountResponseBody) GetData() *Account
func (*GetAccountResponseBody) GetExtraProperties ¶
func (g *GetAccountResponseBody) GetExtraProperties() map[string]interface{}
func (*GetAccountResponseBody) GetRequestID ¶
func (g *GetAccountResponseBody) GetRequestID() string
func (*GetAccountResponseBody) MarshalJSON ¶
func (g *GetAccountResponseBody) MarshalJSON() ([]byte, error)
func (*GetAccountResponseBody) SetData ¶
func (g *GetAccountResponseBody) SetData(data *Account)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetAccountResponseBody) SetRequestID ¶
func (g *GetAccountResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetAccountResponseBody) String ¶
func (g *GetAccountResponseBody) String() string
func (*GetAccountResponseBody) UnmarshalJSON ¶
func (g *GetAccountResponseBody) UnmarshalJSON(data []byte) error
type GetAccountsResponseBody ¶
type GetAccountsResponseBody struct {
// The data payload of the response.
Data []*Account `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetAccountsResponseBody) GetData ¶
func (g *GetAccountsResponseBody) GetData() []*Account
func (*GetAccountsResponseBody) GetExtraProperties ¶
func (g *GetAccountsResponseBody) GetExtraProperties() map[string]interface{}
func (*GetAccountsResponseBody) GetPagination ¶
func (g *GetAccountsResponseBody) GetPagination() *Pagination
func (*GetAccountsResponseBody) GetRequestID ¶
func (g *GetAccountsResponseBody) GetRequestID() string
func (*GetAccountsResponseBody) MarshalJSON ¶
func (g *GetAccountsResponseBody) MarshalJSON() ([]byte, error)
func (*GetAccountsResponseBody) SetData ¶
func (g *GetAccountsResponseBody) SetData(data []*Account)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetAccountsResponseBody) SetPagination ¶
func (g *GetAccountsResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetAccountsResponseBody) SetRequestID ¶
func (g *GetAccountsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetAccountsResponseBody) String ¶
func (g *GetAccountsResponseBody) String() string
func (*GetAccountsResponseBody) UnmarshalJSON ¶
func (g *GetAccountsResponseBody) UnmarshalJSON(data []byte) error
type GetActivitiesResponseBody ¶
type GetActivitiesResponseBody struct {
// The data payload of the response.
Data []*CustomActivity `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetActivitiesResponseBody) GetData ¶
func (g *GetActivitiesResponseBody) GetData() []*CustomActivity
func (*GetActivitiesResponseBody) GetExtraProperties ¶
func (g *GetActivitiesResponseBody) GetExtraProperties() map[string]interface{}
func (*GetActivitiesResponseBody) GetPagination ¶
func (g *GetActivitiesResponseBody) GetPagination() *Pagination
func (*GetActivitiesResponseBody) GetRequestID ¶
func (g *GetActivitiesResponseBody) GetRequestID() string
func (*GetActivitiesResponseBody) MarshalJSON ¶
func (g *GetActivitiesResponseBody) MarshalJSON() ([]byte, error)
func (*GetActivitiesResponseBody) SetData ¶
func (g *GetActivitiesResponseBody) SetData(data []*CustomActivity)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetActivitiesResponseBody) SetPagination ¶
func (g *GetActivitiesResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetActivitiesResponseBody) SetRequestID ¶
func (g *GetActivitiesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetActivitiesResponseBody) String ¶
func (g *GetActivitiesResponseBody) String() string
func (*GetActivitiesResponseBody) UnmarshalJSON ¶
func (g *GetActivitiesResponseBody) UnmarshalJSON(data []byte) error
type GetActivityTypesResponseBody ¶
type GetActivityTypesResponseBody struct {
// The data payload of the response.
Data []*ActivityType `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetActivityTypesResponseBody) GetData ¶
func (g *GetActivityTypesResponseBody) GetData() []*ActivityType
func (*GetActivityTypesResponseBody) GetExtraProperties ¶
func (g *GetActivityTypesResponseBody) GetExtraProperties() map[string]interface{}
func (*GetActivityTypesResponseBody) GetPagination ¶
func (g *GetActivityTypesResponseBody) GetPagination() *Pagination
func (*GetActivityTypesResponseBody) GetRequestID ¶
func (g *GetActivityTypesResponseBody) GetRequestID() string
func (*GetActivityTypesResponseBody) MarshalJSON ¶
func (g *GetActivityTypesResponseBody) MarshalJSON() ([]byte, error)
func (*GetActivityTypesResponseBody) SetData ¶
func (g *GetActivityTypesResponseBody) SetData(data []*ActivityType)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetActivityTypesResponseBody) SetPagination ¶
func (g *GetActivityTypesResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetActivityTypesResponseBody) SetRequestID ¶
func (g *GetActivityTypesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetActivityTypesResponseBody) String ¶
func (g *GetActivityTypesResponseBody) String() string
func (*GetActivityTypesResponseBody) UnmarshalJSON ¶
func (g *GetActivityTypesResponseBody) UnmarshalJSON(data []byte) error
type GetArticleFeedbackResponseBody ¶
type GetArticleFeedbackResponseBody struct {
// The data payload of the response.
Data []*ArticleFeedback `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetArticleFeedbackResponseBody) GetData ¶
func (g *GetArticleFeedbackResponseBody) GetData() []*ArticleFeedback
func (*GetArticleFeedbackResponseBody) GetExtraProperties ¶
func (g *GetArticleFeedbackResponseBody) GetExtraProperties() map[string]interface{}
func (*GetArticleFeedbackResponseBody) GetPagination ¶
func (g *GetArticleFeedbackResponseBody) GetPagination() *Pagination
func (*GetArticleFeedbackResponseBody) GetRequestID ¶
func (g *GetArticleFeedbackResponseBody) GetRequestID() string
func (*GetArticleFeedbackResponseBody) MarshalJSON ¶
func (g *GetArticleFeedbackResponseBody) MarshalJSON() ([]byte, error)
func (*GetArticleFeedbackResponseBody) SetData ¶
func (g *GetArticleFeedbackResponseBody) SetData(data []*ArticleFeedback)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetArticleFeedbackResponseBody) SetPagination ¶
func (g *GetArticleFeedbackResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetArticleFeedbackResponseBody) SetRequestID ¶
func (g *GetArticleFeedbackResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetArticleFeedbackResponseBody) String ¶
func (g *GetArticleFeedbackResponseBody) String() string
func (*GetArticleFeedbackResponseBody) UnmarshalJSON ¶
func (g *GetArticleFeedbackResponseBody) UnmarshalJSON(data []byte) error
type GetArticleResponseBody ¶
type GetArticleResponseBody struct {
Data *Article `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetArticleResponseBody) GetData ¶
func (g *GetArticleResponseBody) GetData() *Article
func (*GetArticleResponseBody) GetExtraProperties ¶
func (g *GetArticleResponseBody) GetExtraProperties() map[string]interface{}
func (*GetArticleResponseBody) GetRequestID ¶
func (g *GetArticleResponseBody) GetRequestID() string
func (*GetArticleResponseBody) MarshalJSON ¶
func (g *GetArticleResponseBody) MarshalJSON() ([]byte, error)
func (*GetArticleResponseBody) SetData ¶
func (g *GetArticleResponseBody) SetData(data *Article)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetArticleResponseBody) SetRequestID ¶
func (g *GetArticleResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetArticleResponseBody) String ¶
func (g *GetArticleResponseBody) String() string
func (*GetArticleResponseBody) UnmarshalJSON ¶
func (g *GetArticleResponseBody) UnmarshalJSON(data []byte) error
type GetArticlesResponseBody ¶
type GetArticlesResponseBody struct {
// The data payload of the response.
Data []*Article `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetArticlesResponseBody) GetData ¶
func (g *GetArticlesResponseBody) GetData() []*Article
func (*GetArticlesResponseBody) GetExtraProperties ¶
func (g *GetArticlesResponseBody) GetExtraProperties() map[string]interface{}
func (*GetArticlesResponseBody) GetPagination ¶
func (g *GetArticlesResponseBody) GetPagination() *Pagination
func (*GetArticlesResponseBody) GetRequestID ¶
func (g *GetArticlesResponseBody) GetRequestID() string
func (*GetArticlesResponseBody) MarshalJSON ¶
func (g *GetArticlesResponseBody) MarshalJSON() ([]byte, error)
func (*GetArticlesResponseBody) SetData ¶
func (g *GetArticlesResponseBody) SetData(data []*Article)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetArticlesResponseBody) SetPagination ¶
func (g *GetArticlesResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetArticlesResponseBody) SetRequestID ¶
func (g *GetArticlesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetArticlesResponseBody) String ¶
func (g *GetArticlesResponseBody) String() string
func (*GetArticlesResponseBody) UnmarshalJSON ¶
func (g *GetArticlesResponseBody) UnmarshalJSON(data []byte) error
type GetAuditLogsResponseBody ¶
type GetAuditLogsResponseBody struct {
// The data payload of the response.
Data []*AuditLog `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetAuditLogsResponseBody) GetData ¶
func (g *GetAuditLogsResponseBody) GetData() []*AuditLog
func (*GetAuditLogsResponseBody) GetExtraProperties ¶
func (g *GetAuditLogsResponseBody) GetExtraProperties() map[string]interface{}
func (*GetAuditLogsResponseBody) GetPagination ¶
func (g *GetAuditLogsResponseBody) GetPagination() *Pagination
func (*GetAuditLogsResponseBody) GetRequestID ¶
func (g *GetAuditLogsResponseBody) GetRequestID() string
func (*GetAuditLogsResponseBody) MarshalJSON ¶
func (g *GetAuditLogsResponseBody) MarshalJSON() ([]byte, error)
func (*GetAuditLogsResponseBody) SetData ¶
func (g *GetAuditLogsResponseBody) SetData(data []*AuditLog)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetAuditLogsResponseBody) SetPagination ¶
func (g *GetAuditLogsResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetAuditLogsResponseBody) SetRequestID ¶
func (g *GetAuditLogsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetAuditLogsResponseBody) String ¶
func (g *GetAuditLogsResponseBody) String() string
func (*GetAuditLogsResponseBody) UnmarshalJSON ¶
func (g *GetAuditLogsResponseBody) UnmarshalJSON(data []byte) error
type GetCallRecordingResponseBody ¶
type GetCallRecordingResponseBody struct {
Data *CallRecording `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetCallRecordingResponseBody) GetData ¶
func (g *GetCallRecordingResponseBody) GetData() *CallRecording
func (*GetCallRecordingResponseBody) GetExtraProperties ¶
func (g *GetCallRecordingResponseBody) GetExtraProperties() map[string]interface{}
func (*GetCallRecordingResponseBody) GetRequestID ¶
func (g *GetCallRecordingResponseBody) GetRequestID() string
func (*GetCallRecordingResponseBody) MarshalJSON ¶
func (g *GetCallRecordingResponseBody) MarshalJSON() ([]byte, error)
func (*GetCallRecordingResponseBody) SetData ¶
func (g *GetCallRecordingResponseBody) SetData(data *CallRecording)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetCallRecordingResponseBody) SetRequestID ¶
func (g *GetCallRecordingResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetCallRecordingResponseBody) String ¶
func (g *GetCallRecordingResponseBody) String() string
func (*GetCallRecordingResponseBody) UnmarshalJSON ¶
func (g *GetCallRecordingResponseBody) UnmarshalJSON(data []byte) error
type GetCollectionResponseBody ¶
type GetCollectionResponseBody struct {
Data *Collection `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetCollectionResponseBody) GetData ¶
func (g *GetCollectionResponseBody) GetData() *Collection
func (*GetCollectionResponseBody) GetExtraProperties ¶
func (g *GetCollectionResponseBody) GetExtraProperties() map[string]interface{}
func (*GetCollectionResponseBody) GetRequestID ¶
func (g *GetCollectionResponseBody) GetRequestID() string
func (*GetCollectionResponseBody) MarshalJSON ¶
func (g *GetCollectionResponseBody) MarshalJSON() ([]byte, error)
func (*GetCollectionResponseBody) SetData ¶
func (g *GetCollectionResponseBody) SetData(data *Collection)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetCollectionResponseBody) SetRequestID ¶
func (g *GetCollectionResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetCollectionResponseBody) String ¶
func (g *GetCollectionResponseBody) String() string
func (*GetCollectionResponseBody) UnmarshalJSON ¶
func (g *GetCollectionResponseBody) UnmarshalJSON(data []byte) error
type GetCollectionsResponseBody ¶
type GetCollectionsResponseBody struct {
// The data payload of the response.
Data []*Collection `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetCollectionsResponseBody) GetData ¶
func (g *GetCollectionsResponseBody) GetData() []*Collection
func (*GetCollectionsResponseBody) GetExtraProperties ¶
func (g *GetCollectionsResponseBody) GetExtraProperties() map[string]interface{}
func (*GetCollectionsResponseBody) GetRequestID ¶
func (g *GetCollectionsResponseBody) GetRequestID() string
func (*GetCollectionsResponseBody) MarshalJSON ¶
func (g *GetCollectionsResponseBody) MarshalJSON() ([]byte, error)
func (*GetCollectionsResponseBody) SetData ¶
func (g *GetCollectionsResponseBody) SetData(data []*Collection)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetCollectionsResponseBody) SetRequestID ¶
func (g *GetCollectionsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetCollectionsResponseBody) String ¶
func (g *GetCollectionsResponseBody) String() string
func (*GetCollectionsResponseBody) UnmarshalJSON ¶
func (g *GetCollectionsResponseBody) UnmarshalJSON(data []byte) error
type GetContactResponseBody ¶
type GetContactResponseBody struct {
Data *Contact `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetContactResponseBody) GetData ¶
func (g *GetContactResponseBody) GetData() *Contact
func (*GetContactResponseBody) GetExtraProperties ¶
func (g *GetContactResponseBody) GetExtraProperties() map[string]interface{}
func (*GetContactResponseBody) GetRequestID ¶
func (g *GetContactResponseBody) GetRequestID() string
func (*GetContactResponseBody) MarshalJSON ¶
func (g *GetContactResponseBody) MarshalJSON() ([]byte, error)
func (*GetContactResponseBody) SetData ¶
func (g *GetContactResponseBody) SetData(data *Contact)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetContactResponseBody) SetRequestID ¶
func (g *GetContactResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetContactResponseBody) String ¶
func (g *GetContactResponseBody) String() string
func (*GetContactResponseBody) UnmarshalJSON ¶
func (g *GetContactResponseBody) UnmarshalJSON(data []byte) error
type GetContactsResponseBody ¶
type GetContactsResponseBody struct {
// The data payload of the response.
Data []*Contact `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetContactsResponseBody) GetData ¶
func (g *GetContactsResponseBody) GetData() []*Contact
func (*GetContactsResponseBody) GetExtraProperties ¶
func (g *GetContactsResponseBody) GetExtraProperties() map[string]interface{}
func (*GetContactsResponseBody) GetPagination ¶
func (g *GetContactsResponseBody) GetPagination() *Pagination
func (*GetContactsResponseBody) GetRequestID ¶
func (g *GetContactsResponseBody) GetRequestID() string
func (*GetContactsResponseBody) MarshalJSON ¶
func (g *GetContactsResponseBody) MarshalJSON() ([]byte, error)
func (*GetContactsResponseBody) SetData ¶
func (g *GetContactsResponseBody) SetData(data []*Contact)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetContactsResponseBody) SetPagination ¶
func (g *GetContactsResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetContactsResponseBody) SetRequestID ¶
func (g *GetContactsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetContactsResponseBody) String ¶
func (g *GetContactsResponseBody) String() string
func (*GetContactsResponseBody) UnmarshalJSON ¶
func (g *GetContactsResponseBody) UnmarshalJSON(data []byte) error
type GetCustomFieldResponseBody ¶
type GetCustomFieldResponseBody struct {
Data *CustomFieldDefinition `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetCustomFieldResponseBody) GetData ¶
func (g *GetCustomFieldResponseBody) GetData() *CustomFieldDefinition
func (*GetCustomFieldResponseBody) GetExtraProperties ¶
func (g *GetCustomFieldResponseBody) GetExtraProperties() map[string]interface{}
func (*GetCustomFieldResponseBody) GetRequestID ¶
func (g *GetCustomFieldResponseBody) GetRequestID() string
func (*GetCustomFieldResponseBody) MarshalJSON ¶
func (g *GetCustomFieldResponseBody) MarshalJSON() ([]byte, error)
func (*GetCustomFieldResponseBody) SetData ¶
func (g *GetCustomFieldResponseBody) SetData(data *CustomFieldDefinition)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetCustomFieldResponseBody) SetRequestID ¶
func (g *GetCustomFieldResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetCustomFieldResponseBody) String ¶
func (g *GetCustomFieldResponseBody) String() string
func (*GetCustomFieldResponseBody) UnmarshalJSON ¶
func (g *GetCustomFieldResponseBody) UnmarshalJSON(data []byte) error
type GetCustomFieldsResponseBody ¶
type GetCustomFieldsResponseBody struct {
// The data payload of the response.
Data []*CustomFieldDefinition `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetCustomFieldsResponseBody) GetData ¶
func (g *GetCustomFieldsResponseBody) GetData() []*CustomFieldDefinition
func (*GetCustomFieldsResponseBody) GetExtraProperties ¶
func (g *GetCustomFieldsResponseBody) GetExtraProperties() map[string]interface{}
func (*GetCustomFieldsResponseBody) GetPagination ¶
func (g *GetCustomFieldsResponseBody) GetPagination() *Pagination
func (*GetCustomFieldsResponseBody) GetRequestID ¶
func (g *GetCustomFieldsResponseBody) GetRequestID() string
func (*GetCustomFieldsResponseBody) MarshalJSON ¶
func (g *GetCustomFieldsResponseBody) MarshalJSON() ([]byte, error)
func (*GetCustomFieldsResponseBody) SetData ¶
func (g *GetCustomFieldsResponseBody) SetData(data []*CustomFieldDefinition)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetCustomFieldsResponseBody) SetPagination ¶
func (g *GetCustomFieldsResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetCustomFieldsResponseBody) SetRequestID ¶
func (g *GetCustomFieldsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetCustomFieldsResponseBody) String ¶
func (g *GetCustomFieldsResponseBody) String() string
func (*GetCustomFieldsResponseBody) UnmarshalJSON ¶
func (g *GetCustomFieldsResponseBody) UnmarshalJSON(data []byte) error
type GetCustomObjectResponseBody ¶
type GetCustomObjectResponseBody struct {
Data *APICustomObject `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetCustomObjectResponseBody) GetData ¶
func (g *GetCustomObjectResponseBody) GetData() *APICustomObject
func (*GetCustomObjectResponseBody) GetExtraProperties ¶
func (g *GetCustomObjectResponseBody) GetExtraProperties() map[string]interface{}
func (*GetCustomObjectResponseBody) GetRequestID ¶
func (g *GetCustomObjectResponseBody) GetRequestID() string
func (*GetCustomObjectResponseBody) MarshalJSON ¶
func (g *GetCustomObjectResponseBody) MarshalJSON() ([]byte, error)
func (*GetCustomObjectResponseBody) SetData ¶
func (g *GetCustomObjectResponseBody) SetData(data *APICustomObject)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetCustomObjectResponseBody) SetRequestID ¶
func (g *GetCustomObjectResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetCustomObjectResponseBody) String ¶
func (g *GetCustomObjectResponseBody) String() string
func (*GetCustomObjectResponseBody) UnmarshalJSON ¶
func (g *GetCustomObjectResponseBody) UnmarshalJSON(data []byte) error
type GetCustomObjectsResponseBody ¶
type GetCustomObjectsResponseBody struct {
Data []*APICustomObject `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetCustomObjectsResponseBody) GetData ¶
func (g *GetCustomObjectsResponseBody) GetData() []*APICustomObject
func (*GetCustomObjectsResponseBody) GetExtraProperties ¶
func (g *GetCustomObjectsResponseBody) GetExtraProperties() map[string]interface{}
func (*GetCustomObjectsResponseBody) GetPagination ¶
func (g *GetCustomObjectsResponseBody) GetPagination() *Pagination
func (*GetCustomObjectsResponseBody) GetRequestID ¶
func (g *GetCustomObjectsResponseBody) GetRequestID() string
func (*GetCustomObjectsResponseBody) MarshalJSON ¶
func (g *GetCustomObjectsResponseBody) MarshalJSON() ([]byte, error)
func (*GetCustomObjectsResponseBody) SetData ¶
func (g *GetCustomObjectsResponseBody) SetData(data []*APICustomObject)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetCustomObjectsResponseBody) SetPagination ¶
func (g *GetCustomObjectsResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetCustomObjectsResponseBody) SetRequestID ¶
func (g *GetCustomObjectsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetCustomObjectsResponseBody) String ¶
func (g *GetCustomObjectsResponseBody) String() string
func (*GetCustomObjectsResponseBody) UnmarshalJSON ¶
func (g *GetCustomObjectsResponseBody) UnmarshalJSON(data []byte) error
type GetEmailActivitiesResponseBody ¶
type GetEmailActivitiesResponseBody struct {
// The data payload of the response.
Data []*EmailActivity `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetEmailActivitiesResponseBody) GetData ¶
func (g *GetEmailActivitiesResponseBody) GetData() []*EmailActivity
func (*GetEmailActivitiesResponseBody) GetExtraProperties ¶
func (g *GetEmailActivitiesResponseBody) GetExtraProperties() map[string]interface{}
func (*GetEmailActivitiesResponseBody) GetPagination ¶
func (g *GetEmailActivitiesResponseBody) GetPagination() *Pagination
func (*GetEmailActivitiesResponseBody) GetRequestID ¶
func (g *GetEmailActivitiesResponseBody) GetRequestID() string
func (*GetEmailActivitiesResponseBody) MarshalJSON ¶
func (g *GetEmailActivitiesResponseBody) MarshalJSON() ([]byte, error)
func (*GetEmailActivitiesResponseBody) SetData ¶
func (g *GetEmailActivitiesResponseBody) SetData(data []*EmailActivity)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetEmailActivitiesResponseBody) SetPagination ¶
func (g *GetEmailActivitiesResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetEmailActivitiesResponseBody) SetRequestID ¶
func (g *GetEmailActivitiesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetEmailActivitiesResponseBody) String ¶
func (g *GetEmailActivitiesResponseBody) String() string
func (*GetEmailActivitiesResponseBody) UnmarshalJSON ¶
func (g *GetEmailActivitiesResponseBody) UnmarshalJSON(data []byte) error
type GetEmailSuppressionsResponseBody ¶
type GetEmailSuppressionsResponseBody struct {
// The data payload of the response.
Data []*EmailSuppression `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetEmailSuppressionsResponseBody) GetData ¶
func (g *GetEmailSuppressionsResponseBody) GetData() []*EmailSuppression
func (*GetEmailSuppressionsResponseBody) GetExtraProperties ¶
func (g *GetEmailSuppressionsResponseBody) GetExtraProperties() map[string]interface{}
func (*GetEmailSuppressionsResponseBody) GetPagination ¶
func (g *GetEmailSuppressionsResponseBody) GetPagination() *Pagination
func (*GetEmailSuppressionsResponseBody) GetRequestID ¶
func (g *GetEmailSuppressionsResponseBody) GetRequestID() string
func (*GetEmailSuppressionsResponseBody) MarshalJSON ¶
func (g *GetEmailSuppressionsResponseBody) MarshalJSON() ([]byte, error)
func (*GetEmailSuppressionsResponseBody) SetData ¶
func (g *GetEmailSuppressionsResponseBody) SetData(data []*EmailSuppression)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetEmailSuppressionsResponseBody) SetPagination ¶
func (g *GetEmailSuppressionsResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetEmailSuppressionsResponseBody) SetRequestID ¶
func (g *GetEmailSuppressionsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetEmailSuppressionsResponseBody) String ¶
func (g *GetEmailSuppressionsResponseBody) String() string
func (*GetEmailSuppressionsResponseBody) UnmarshalJSON ¶
func (g *GetEmailSuppressionsResponseBody) UnmarshalJSON(data []byte) error
type GetFeatureRequestResponseBody ¶
type GetFeatureRequestResponseBody struct {
Data *FeatureRequest `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetFeatureRequestResponseBody) GetData ¶
func (g *GetFeatureRequestResponseBody) GetData() *FeatureRequest
func (*GetFeatureRequestResponseBody) GetExtraProperties ¶
func (g *GetFeatureRequestResponseBody) GetExtraProperties() map[string]interface{}
func (*GetFeatureRequestResponseBody) GetRequestID ¶
func (g *GetFeatureRequestResponseBody) GetRequestID() string
func (*GetFeatureRequestResponseBody) MarshalJSON ¶
func (g *GetFeatureRequestResponseBody) MarshalJSON() ([]byte, error)
func (*GetFeatureRequestResponseBody) SetData ¶
func (g *GetFeatureRequestResponseBody) SetData(data *FeatureRequest)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetFeatureRequestResponseBody) SetRequestID ¶
func (g *GetFeatureRequestResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetFeatureRequestResponseBody) String ¶
func (g *GetFeatureRequestResponseBody) String() string
func (*GetFeatureRequestResponseBody) UnmarshalJSON ¶
func (g *GetFeatureRequestResponseBody) UnmarshalJSON(data []byte) error
type GetIssueFollowersResponseBody ¶
type GetIssueFollowersResponseBody struct {
// The data payload of the response.
Data []*Follower `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetIssueFollowersResponseBody) GetData ¶
func (g *GetIssueFollowersResponseBody) GetData() []*Follower
func (*GetIssueFollowersResponseBody) GetExtraProperties ¶
func (g *GetIssueFollowersResponseBody) GetExtraProperties() map[string]interface{}
func (*GetIssueFollowersResponseBody) GetRequestID ¶
func (g *GetIssueFollowersResponseBody) GetRequestID() string
func (*GetIssueFollowersResponseBody) MarshalJSON ¶
func (g *GetIssueFollowersResponseBody) MarshalJSON() ([]byte, error)
func (*GetIssueFollowersResponseBody) SetData ¶
func (g *GetIssueFollowersResponseBody) SetData(data []*Follower)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueFollowersResponseBody) SetRequestID ¶
func (g *GetIssueFollowersResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueFollowersResponseBody) String ¶
func (g *GetIssueFollowersResponseBody) String() string
func (*GetIssueFollowersResponseBody) UnmarshalJSON ¶
func (g *GetIssueFollowersResponseBody) UnmarshalJSON(data []byte) error
type GetIssueMessagesResponseBody ¶
type GetIssueMessagesResponseBody struct {
// The data payload of the response.
Data []*Message `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetIssueMessagesResponseBody) GetData ¶
func (g *GetIssueMessagesResponseBody) GetData() []*Message
func (*GetIssueMessagesResponseBody) GetExtraProperties ¶
func (g *GetIssueMessagesResponseBody) GetExtraProperties() map[string]interface{}
func (*GetIssueMessagesResponseBody) GetPagination ¶
func (g *GetIssueMessagesResponseBody) GetPagination() *Pagination
func (*GetIssueMessagesResponseBody) GetRequestID ¶
func (g *GetIssueMessagesResponseBody) GetRequestID() string
func (*GetIssueMessagesResponseBody) MarshalJSON ¶
func (g *GetIssueMessagesResponseBody) MarshalJSON() ([]byte, error)
func (*GetIssueMessagesResponseBody) SetData ¶
func (g *GetIssueMessagesResponseBody) SetData(data []*Message)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueMessagesResponseBody) SetPagination ¶
func (g *GetIssueMessagesResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueMessagesResponseBody) SetRequestID ¶
func (g *GetIssueMessagesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueMessagesResponseBody) String ¶
func (g *GetIssueMessagesResponseBody) String() string
func (*GetIssueMessagesResponseBody) UnmarshalJSON ¶
func (g *GetIssueMessagesResponseBody) UnmarshalJSON(data []byte) error
type GetIssueResponseBody ¶
type GetIssueResponseBody struct {
Data *Issue `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetIssueResponseBody) GetData ¶
func (g *GetIssueResponseBody) GetData() *Issue
func (*GetIssueResponseBody) GetExtraProperties ¶
func (g *GetIssueResponseBody) GetExtraProperties() map[string]interface{}
func (*GetIssueResponseBody) GetRequestID ¶
func (g *GetIssueResponseBody) GetRequestID() string
func (*GetIssueResponseBody) MarshalJSON ¶
func (g *GetIssueResponseBody) MarshalJSON() ([]byte, error)
func (*GetIssueResponseBody) SetData ¶
func (g *GetIssueResponseBody) SetData(data *Issue)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueResponseBody) SetRequestID ¶
func (g *GetIssueResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueResponseBody) String ¶
func (g *GetIssueResponseBody) String() string
func (*GetIssueResponseBody) UnmarshalJSON ¶
func (g *GetIssueResponseBody) UnmarshalJSON(data []byte) error
type GetIssueStatusesResponseBody ¶
type GetIssueStatusesResponseBody struct {
// The data payload of the response.
Data []*IssueStatus `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetIssueStatusesResponseBody) GetData ¶
func (g *GetIssueStatusesResponseBody) GetData() []*IssueStatus
func (*GetIssueStatusesResponseBody) GetExtraProperties ¶
func (g *GetIssueStatusesResponseBody) GetExtraProperties() map[string]interface{}
func (*GetIssueStatusesResponseBody) GetPagination ¶
func (g *GetIssueStatusesResponseBody) GetPagination() *Pagination
func (*GetIssueStatusesResponseBody) GetRequestID ¶
func (g *GetIssueStatusesResponseBody) GetRequestID() string
func (*GetIssueStatusesResponseBody) MarshalJSON ¶
func (g *GetIssueStatusesResponseBody) MarshalJSON() ([]byte, error)
func (*GetIssueStatusesResponseBody) SetData ¶
func (g *GetIssueStatusesResponseBody) SetData(data []*IssueStatus)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueStatusesResponseBody) SetPagination ¶
func (g *GetIssueStatusesResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueStatusesResponseBody) SetRequestID ¶
func (g *GetIssueStatusesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueStatusesResponseBody) String ¶
func (g *GetIssueStatusesResponseBody) String() string
func (*GetIssueStatusesResponseBody) UnmarshalJSON ¶
func (g *GetIssueStatusesResponseBody) UnmarshalJSON(data []byte) error
type GetIssueSurveyResponsesResponseBody ¶
type GetIssueSurveyResponsesResponseBody struct {
// The data payload of the response.
Data []*SurveyResponse `json:"data" url:"data"`
// The canonical issue ID.
IssueID string `json:"issue_id" url:"issue_id"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetIssueSurveyResponsesResponseBody) GetData ¶
func (g *GetIssueSurveyResponsesResponseBody) GetData() []*SurveyResponse
func (*GetIssueSurveyResponsesResponseBody) GetExtraProperties ¶
func (g *GetIssueSurveyResponsesResponseBody) GetExtraProperties() map[string]interface{}
func (*GetIssueSurveyResponsesResponseBody) GetIssueID ¶
func (g *GetIssueSurveyResponsesResponseBody) GetIssueID() string
func (*GetIssueSurveyResponsesResponseBody) GetPagination ¶
func (g *GetIssueSurveyResponsesResponseBody) GetPagination() *Pagination
func (*GetIssueSurveyResponsesResponseBody) GetRequestID ¶
func (g *GetIssueSurveyResponsesResponseBody) GetRequestID() string
func (*GetIssueSurveyResponsesResponseBody) MarshalJSON ¶
func (g *GetIssueSurveyResponsesResponseBody) MarshalJSON() ([]byte, error)
func (*GetIssueSurveyResponsesResponseBody) SetData ¶
func (g *GetIssueSurveyResponsesResponseBody) SetData(data []*SurveyResponse)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueSurveyResponsesResponseBody) SetIssueID ¶
func (g *GetIssueSurveyResponsesResponseBody) SetIssueID(issueID string)
SetIssueID sets the IssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueSurveyResponsesResponseBody) SetPagination ¶
func (g *GetIssueSurveyResponsesResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueSurveyResponsesResponseBody) SetRequestID ¶
func (g *GetIssueSurveyResponsesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueSurveyResponsesResponseBody) String ¶
func (g *GetIssueSurveyResponsesResponseBody) String() string
func (*GetIssueSurveyResponsesResponseBody) UnmarshalJSON ¶
func (g *GetIssueSurveyResponsesResponseBody) UnmarshalJSON(data []byte) error
type GetIssueThreadsResponseBody ¶
type GetIssueThreadsResponseBody struct {
// The data payload of the response.
Data []*IssueThread `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetIssueThreadsResponseBody) GetData ¶
func (g *GetIssueThreadsResponseBody) GetData() []*IssueThread
func (*GetIssueThreadsResponseBody) GetExtraProperties ¶
func (g *GetIssueThreadsResponseBody) GetExtraProperties() map[string]interface{}
func (*GetIssueThreadsResponseBody) GetRequestID ¶
func (g *GetIssueThreadsResponseBody) GetRequestID() string
func (*GetIssueThreadsResponseBody) MarshalJSON ¶
func (g *GetIssueThreadsResponseBody) MarshalJSON() ([]byte, error)
func (*GetIssueThreadsResponseBody) SetData ¶
func (g *GetIssueThreadsResponseBody) SetData(data []*IssueThread)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueThreadsResponseBody) SetRequestID ¶
func (g *GetIssueThreadsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueThreadsResponseBody) String ¶
func (g *GetIssueThreadsResponseBody) String() string
func (*GetIssueThreadsResponseBody) UnmarshalJSON ¶
func (g *GetIssueThreadsResponseBody) UnmarshalJSON(data []byte) error
type GetIssueVoiceCallsResponseBody ¶
type GetIssueVoiceCallsResponseBody struct {
// The voice calls associated with the issue, including recordings and transcripts.
Data []*VoiceCall `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetIssueVoiceCallsResponseBody) GetData ¶
func (g *GetIssueVoiceCallsResponseBody) GetData() []*VoiceCall
func (*GetIssueVoiceCallsResponseBody) GetExtraProperties ¶
func (g *GetIssueVoiceCallsResponseBody) GetExtraProperties() map[string]interface{}
func (*GetIssueVoiceCallsResponseBody) GetRequestID ¶
func (g *GetIssueVoiceCallsResponseBody) GetRequestID() string
func (*GetIssueVoiceCallsResponseBody) MarshalJSON ¶
func (g *GetIssueVoiceCallsResponseBody) MarshalJSON() ([]byte, error)
func (*GetIssueVoiceCallsResponseBody) SetData ¶
func (g *GetIssueVoiceCallsResponseBody) SetData(data []*VoiceCall)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueVoiceCallsResponseBody) SetRequestID ¶
func (g *GetIssueVoiceCallsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssueVoiceCallsResponseBody) String ¶
func (g *GetIssueVoiceCallsResponseBody) String() string
func (*GetIssueVoiceCallsResponseBody) UnmarshalJSON ¶
func (g *GetIssueVoiceCallsResponseBody) UnmarshalJSON(data []byte) error
type GetIssuesResponseBody ¶
type GetIssuesResponseBody struct {
// The data payload of the response.
Data []*Issue `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetIssuesResponseBody) GetData ¶
func (g *GetIssuesResponseBody) GetData() []*Issue
func (*GetIssuesResponseBody) GetExtraProperties ¶
func (g *GetIssuesResponseBody) GetExtraProperties() map[string]interface{}
func (*GetIssuesResponseBody) GetPagination ¶
func (g *GetIssuesResponseBody) GetPagination() *Pagination
func (*GetIssuesResponseBody) GetRequestID ¶
func (g *GetIssuesResponseBody) GetRequestID() string
func (*GetIssuesResponseBody) MarshalJSON ¶
func (g *GetIssuesResponseBody) MarshalJSON() ([]byte, error)
func (*GetIssuesResponseBody) SetData ¶
func (g *GetIssuesResponseBody) SetData(data []*Issue)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssuesResponseBody) SetPagination ¶
func (g *GetIssuesResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssuesResponseBody) SetRequestID ¶
func (g *GetIssuesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetIssuesResponseBody) String ¶
func (g *GetIssuesResponseBody) String() string
func (*GetIssuesResponseBody) UnmarshalJSON ¶
func (g *GetIssuesResponseBody) UnmarshalJSON(data []byte) error
type GetKnowledgeBaseResponseBody ¶
type GetKnowledgeBaseResponseBody struct {
Data *KnowledgeBase `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetKnowledgeBaseResponseBody) GetData ¶
func (g *GetKnowledgeBaseResponseBody) GetData() *KnowledgeBase
func (*GetKnowledgeBaseResponseBody) GetExtraProperties ¶
func (g *GetKnowledgeBaseResponseBody) GetExtraProperties() map[string]interface{}
func (*GetKnowledgeBaseResponseBody) GetRequestID ¶
func (g *GetKnowledgeBaseResponseBody) GetRequestID() string
func (*GetKnowledgeBaseResponseBody) MarshalJSON ¶
func (g *GetKnowledgeBaseResponseBody) MarshalJSON() ([]byte, error)
func (*GetKnowledgeBaseResponseBody) SetData ¶
func (g *GetKnowledgeBaseResponseBody) SetData(data *KnowledgeBase)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetKnowledgeBaseResponseBody) SetRequestID ¶
func (g *GetKnowledgeBaseResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetKnowledgeBaseResponseBody) String ¶
func (g *GetKnowledgeBaseResponseBody) String() string
func (*GetKnowledgeBaseResponseBody) UnmarshalJSON ¶
func (g *GetKnowledgeBaseResponseBody) UnmarshalJSON(data []byte) error
type GetKnowledgeBaseThemeResponseBody ¶
type GetKnowledgeBaseThemeResponseBody struct {
Data *KnowledgeBaseTheme `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetKnowledgeBaseThemeResponseBody) GetData ¶
func (g *GetKnowledgeBaseThemeResponseBody) GetData() *KnowledgeBaseTheme
func (*GetKnowledgeBaseThemeResponseBody) GetExtraProperties ¶
func (g *GetKnowledgeBaseThemeResponseBody) GetExtraProperties() map[string]interface{}
func (*GetKnowledgeBaseThemeResponseBody) GetRequestID ¶
func (g *GetKnowledgeBaseThemeResponseBody) GetRequestID() string
func (*GetKnowledgeBaseThemeResponseBody) MarshalJSON ¶
func (g *GetKnowledgeBaseThemeResponseBody) MarshalJSON() ([]byte, error)
func (*GetKnowledgeBaseThemeResponseBody) SetData ¶
func (g *GetKnowledgeBaseThemeResponseBody) SetData(data *KnowledgeBaseTheme)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetKnowledgeBaseThemeResponseBody) SetRequestID ¶
func (g *GetKnowledgeBaseThemeResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetKnowledgeBaseThemeResponseBody) String ¶
func (g *GetKnowledgeBaseThemeResponseBody) String() string
func (*GetKnowledgeBaseThemeResponseBody) UnmarshalJSON ¶
func (g *GetKnowledgeBaseThemeResponseBody) UnmarshalJSON(data []byte) error
type GetKnowledgeBasesResponseBody ¶
type GetKnowledgeBasesResponseBody struct {
// The data payload of the response.
Data []*KnowledgeBase `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetKnowledgeBasesResponseBody) GetData ¶
func (g *GetKnowledgeBasesResponseBody) GetData() []*KnowledgeBase
func (*GetKnowledgeBasesResponseBody) GetExtraProperties ¶
func (g *GetKnowledgeBasesResponseBody) GetExtraProperties() map[string]interface{}
func (*GetKnowledgeBasesResponseBody) GetPagination ¶
func (g *GetKnowledgeBasesResponseBody) GetPagination() *Pagination
func (*GetKnowledgeBasesResponseBody) GetRequestID ¶
func (g *GetKnowledgeBasesResponseBody) GetRequestID() string
func (*GetKnowledgeBasesResponseBody) MarshalJSON ¶
func (g *GetKnowledgeBasesResponseBody) MarshalJSON() ([]byte, error)
func (*GetKnowledgeBasesResponseBody) SetData ¶
func (g *GetKnowledgeBasesResponseBody) SetData(data []*KnowledgeBase)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetKnowledgeBasesResponseBody) SetPagination ¶
func (g *GetKnowledgeBasesResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetKnowledgeBasesResponseBody) SetRequestID ¶
func (g *GetKnowledgeBasesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetKnowledgeBasesResponseBody) String ¶
func (g *GetKnowledgeBasesResponseBody) String() string
func (*GetKnowledgeBasesResponseBody) UnmarshalJSON ¶
func (g *GetKnowledgeBasesResponseBody) UnmarshalJSON(data []byte) error
type GetMacroGroupsResponseBody ¶
type GetMacroGroupsResponseBody struct {
// The data payload of the response.
Data []*MacroGroup `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetMacroGroupsResponseBody) GetData ¶
func (g *GetMacroGroupsResponseBody) GetData() []*MacroGroup
func (*GetMacroGroupsResponseBody) GetExtraProperties ¶
func (g *GetMacroGroupsResponseBody) GetExtraProperties() map[string]interface{}
func (*GetMacroGroupsResponseBody) GetRequestID ¶
func (g *GetMacroGroupsResponseBody) GetRequestID() string
func (*GetMacroGroupsResponseBody) MarshalJSON ¶
func (g *GetMacroGroupsResponseBody) MarshalJSON() ([]byte, error)
func (*GetMacroGroupsResponseBody) SetData ¶
func (g *GetMacroGroupsResponseBody) SetData(data []*MacroGroup)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetMacroGroupsResponseBody) SetRequestID ¶
func (g *GetMacroGroupsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetMacroGroupsResponseBody) String ¶
func (g *GetMacroGroupsResponseBody) String() string
func (*GetMacroGroupsResponseBody) UnmarshalJSON ¶
func (g *GetMacroGroupsResponseBody) UnmarshalJSON(data []byte) error
type GetMacroResponseBody ¶
type GetMacroResponseBody struct {
Data *Macro `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetMacroResponseBody) GetData ¶
func (g *GetMacroResponseBody) GetData() *Macro
func (*GetMacroResponseBody) GetExtraProperties ¶
func (g *GetMacroResponseBody) GetExtraProperties() map[string]interface{}
func (*GetMacroResponseBody) GetRequestID ¶
func (g *GetMacroResponseBody) GetRequestID() string
func (*GetMacroResponseBody) MarshalJSON ¶
func (g *GetMacroResponseBody) MarshalJSON() ([]byte, error)
func (*GetMacroResponseBody) SetData ¶
func (g *GetMacroResponseBody) SetData(data *Macro)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetMacroResponseBody) SetRequestID ¶
func (g *GetMacroResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetMacroResponseBody) String ¶
func (g *GetMacroResponseBody) String() string
func (*GetMacroResponseBody) UnmarshalJSON ¶
func (g *GetMacroResponseBody) UnmarshalJSON(data []byte) error
type GetMacrosResponseBody ¶
type GetMacrosResponseBody struct {
// The data payload of the response.
Data []*Macro `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetMacrosResponseBody) GetData ¶
func (g *GetMacrosResponseBody) GetData() []*Macro
func (*GetMacrosResponseBody) GetExtraProperties ¶
func (g *GetMacrosResponseBody) GetExtraProperties() map[string]interface{}
func (*GetMacrosResponseBody) GetRequestID ¶
func (g *GetMacrosResponseBody) GetRequestID() string
func (*GetMacrosResponseBody) MarshalJSON ¶
func (g *GetMacrosResponseBody) MarshalJSON() ([]byte, error)
func (*GetMacrosResponseBody) SetData ¶
func (g *GetMacrosResponseBody) SetData(data []*Macro)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetMacrosResponseBody) SetRequestID ¶
func (g *GetMacrosResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetMacrosResponseBody) String ¶
func (g *GetMacrosResponseBody) String() string
func (*GetMacrosResponseBody) UnmarshalJSON ¶
func (g *GetMacrosResponseBody) UnmarshalJSON(data []byte) error
type GetMeResponseBody ¶
type GetMeResponseBody struct {
Data *Me `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetMeResponseBody) GetData ¶
func (g *GetMeResponseBody) GetData() *Me
func (*GetMeResponseBody) GetExtraProperties ¶
func (g *GetMeResponseBody) GetExtraProperties() map[string]interface{}
func (*GetMeResponseBody) GetRequestID ¶
func (g *GetMeResponseBody) GetRequestID() string
func (*GetMeResponseBody) MarshalJSON ¶
func (g *GetMeResponseBody) MarshalJSON() ([]byte, error)
func (*GetMeResponseBody) SetData ¶
func (g *GetMeResponseBody) SetData(data *Me)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetMeResponseBody) SetRequestID ¶
func (g *GetMeResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetMeResponseBody) String ¶
func (g *GetMeResponseBody) String() string
func (*GetMeResponseBody) UnmarshalJSON ¶
func (g *GetMeResponseBody) UnmarshalJSON(data []byte) error
type GetMilestoneResponseBody ¶
type GetMilestoneResponseBody struct {
Data *Milestone `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetMilestoneResponseBody) GetData ¶
func (g *GetMilestoneResponseBody) GetData() *Milestone
func (*GetMilestoneResponseBody) GetExtraProperties ¶
func (g *GetMilestoneResponseBody) GetExtraProperties() map[string]interface{}
func (*GetMilestoneResponseBody) GetRequestID ¶
func (g *GetMilestoneResponseBody) GetRequestID() string
func (*GetMilestoneResponseBody) MarshalJSON ¶
func (g *GetMilestoneResponseBody) MarshalJSON() ([]byte, error)
func (*GetMilestoneResponseBody) SetData ¶
func (g *GetMilestoneResponseBody) SetData(data *Milestone)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetMilestoneResponseBody) SetRequestID ¶
func (g *GetMilestoneResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetMilestoneResponseBody) String ¶
func (g *GetMilestoneResponseBody) String() string
func (*GetMilestoneResponseBody) UnmarshalJSON ¶
func (g *GetMilestoneResponseBody) UnmarshalJSON(data []byte) error
type GetProjectResponseBody ¶
type GetProjectResponseBody struct {
Data *Project `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetProjectResponseBody) GetData ¶
func (g *GetProjectResponseBody) GetData() *Project
func (*GetProjectResponseBody) GetExtraProperties ¶
func (g *GetProjectResponseBody) GetExtraProperties() map[string]interface{}
func (*GetProjectResponseBody) GetRequestID ¶
func (g *GetProjectResponseBody) GetRequestID() string
func (*GetProjectResponseBody) MarshalJSON ¶
func (g *GetProjectResponseBody) MarshalJSON() ([]byte, error)
func (*GetProjectResponseBody) SetData ¶
func (g *GetProjectResponseBody) SetData(data *Project)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetProjectResponseBody) SetRequestID ¶
func (g *GetProjectResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetProjectResponseBody) String ¶
func (g *GetProjectResponseBody) String() string
func (*GetProjectResponseBody) UnmarshalJSON ¶
func (g *GetProjectResponseBody) UnmarshalJSON(data []byte) error
type GetRouteRedirectsResponseBody ¶
type GetRouteRedirectsResponseBody struct {
// The data payload of the response.
Data []*RouteRedirect `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetRouteRedirectsResponseBody) GetData ¶
func (g *GetRouteRedirectsResponseBody) GetData() []*RouteRedirect
func (*GetRouteRedirectsResponseBody) GetExtraProperties ¶
func (g *GetRouteRedirectsResponseBody) GetExtraProperties() map[string]interface{}
func (*GetRouteRedirectsResponseBody) GetRequestID ¶
func (g *GetRouteRedirectsResponseBody) GetRequestID() string
func (*GetRouteRedirectsResponseBody) MarshalJSON ¶
func (g *GetRouteRedirectsResponseBody) MarshalJSON() ([]byte, error)
func (*GetRouteRedirectsResponseBody) SetData ¶
func (g *GetRouteRedirectsResponseBody) SetData(data []*RouteRedirect)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetRouteRedirectsResponseBody) SetRequestID ¶
func (g *GetRouteRedirectsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetRouteRedirectsResponseBody) String ¶
func (g *GetRouteRedirectsResponseBody) String() string
func (*GetRouteRedirectsResponseBody) UnmarshalJSON ¶
func (g *GetRouteRedirectsResponseBody) UnmarshalJSON(data []byte) error
type GetSurveyResponseBody ¶
type GetSurveyResponseBody struct {
Data *Survey `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetSurveyResponseBody) GetData ¶
func (g *GetSurveyResponseBody) GetData() *Survey
func (*GetSurveyResponseBody) GetExtraProperties ¶
func (g *GetSurveyResponseBody) GetExtraProperties() map[string]interface{}
func (*GetSurveyResponseBody) GetRequestID ¶
func (g *GetSurveyResponseBody) GetRequestID() string
func (*GetSurveyResponseBody) MarshalJSON ¶
func (g *GetSurveyResponseBody) MarshalJSON() ([]byte, error)
func (*GetSurveyResponseBody) SetData ¶
func (g *GetSurveyResponseBody) SetData(data *Survey)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetSurveyResponseBody) SetRequestID ¶
func (g *GetSurveyResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetSurveyResponseBody) String ¶
func (g *GetSurveyResponseBody) String() string
func (*GetSurveyResponseBody) UnmarshalJSON ¶
func (g *GetSurveyResponseBody) UnmarshalJSON(data []byte) error
type GetSurveyResponsesResponseBody ¶
type GetSurveyResponsesResponseBody struct {
// The data payload of the response.
Data []*SurveyResponse `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetSurveyResponsesResponseBody) GetData ¶
func (g *GetSurveyResponsesResponseBody) GetData() []*SurveyResponse
func (*GetSurveyResponsesResponseBody) GetExtraProperties ¶
func (g *GetSurveyResponsesResponseBody) GetExtraProperties() map[string]interface{}
func (*GetSurveyResponsesResponseBody) GetPagination ¶
func (g *GetSurveyResponsesResponseBody) GetPagination() *Pagination
func (*GetSurveyResponsesResponseBody) GetRequestID ¶
func (g *GetSurveyResponsesResponseBody) GetRequestID() string
func (*GetSurveyResponsesResponseBody) MarshalJSON ¶
func (g *GetSurveyResponsesResponseBody) MarshalJSON() ([]byte, error)
func (*GetSurveyResponsesResponseBody) SetData ¶
func (g *GetSurveyResponsesResponseBody) SetData(data []*SurveyResponse)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetSurveyResponsesResponseBody) SetPagination ¶
func (g *GetSurveyResponsesResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetSurveyResponsesResponseBody) SetRequestID ¶
func (g *GetSurveyResponsesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetSurveyResponsesResponseBody) String ¶
func (g *GetSurveyResponsesResponseBody) String() string
func (*GetSurveyResponsesResponseBody) UnmarshalJSON ¶
func (g *GetSurveyResponsesResponseBody) UnmarshalJSON(data []byte) error
type GetSurveysResponseBody ¶
type GetSurveysResponseBody struct {
// The data payload of the response.
Data []*Survey `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetSurveysResponseBody) GetData ¶
func (g *GetSurveysResponseBody) GetData() []*Survey
func (*GetSurveysResponseBody) GetExtraProperties ¶
func (g *GetSurveysResponseBody) GetExtraProperties() map[string]interface{}
func (*GetSurveysResponseBody) GetRequestID ¶
func (g *GetSurveysResponseBody) GetRequestID() string
func (*GetSurveysResponseBody) MarshalJSON ¶
func (g *GetSurveysResponseBody) MarshalJSON() ([]byte, error)
func (*GetSurveysResponseBody) SetData ¶
func (g *GetSurveysResponseBody) SetData(data []*Survey)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetSurveysResponseBody) SetRequestID ¶
func (g *GetSurveysResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetSurveysResponseBody) String ¶
func (g *GetSurveysResponseBody) String() string
func (*GetSurveysResponseBody) UnmarshalJSON ¶
func (g *GetSurveysResponseBody) UnmarshalJSON(data []byte) error
type GetTagResponseBody ¶
type GetTagResponseBody struct {
Data *Tag `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetTagResponseBody) GetData ¶
func (g *GetTagResponseBody) GetData() *Tag
func (*GetTagResponseBody) GetExtraProperties ¶
func (g *GetTagResponseBody) GetExtraProperties() map[string]interface{}
func (*GetTagResponseBody) GetRequestID ¶
func (g *GetTagResponseBody) GetRequestID() string
func (*GetTagResponseBody) MarshalJSON ¶
func (g *GetTagResponseBody) MarshalJSON() ([]byte, error)
func (*GetTagResponseBody) SetData ¶
func (g *GetTagResponseBody) SetData(data *Tag)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTagResponseBody) SetRequestID ¶
func (g *GetTagResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTagResponseBody) String ¶
func (g *GetTagResponseBody) String() string
func (*GetTagResponseBody) UnmarshalJSON ¶
func (g *GetTagResponseBody) UnmarshalJSON(data []byte) error
type GetTagsResponseBody ¶
type GetTagsResponseBody struct {
// The data payload of the response.
Data []*Tag `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetTagsResponseBody) GetData ¶
func (g *GetTagsResponseBody) GetData() []*Tag
func (*GetTagsResponseBody) GetExtraProperties ¶
func (g *GetTagsResponseBody) GetExtraProperties() map[string]interface{}
func (*GetTagsResponseBody) GetPagination ¶
func (g *GetTagsResponseBody) GetPagination() *Pagination
func (*GetTagsResponseBody) GetRequestID ¶
func (g *GetTagsResponseBody) GetRequestID() string
func (*GetTagsResponseBody) MarshalJSON ¶
func (g *GetTagsResponseBody) MarshalJSON() ([]byte, error)
func (*GetTagsResponseBody) SetData ¶
func (g *GetTagsResponseBody) SetData(data []*Tag)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTagsResponseBody) SetPagination ¶
func (g *GetTagsResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTagsResponseBody) SetRequestID ¶
func (g *GetTagsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTagsResponseBody) String ¶
func (g *GetTagsResponseBody) String() string
func (*GetTagsResponseBody) UnmarshalJSON ¶
func (g *GetTagsResponseBody) UnmarshalJSON(data []byte) error
type GetTaskCommentsResponseBody ¶
type GetTaskCommentsResponseBody struct {
// The data payload of the response.
Data []*TaskComment `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetTaskCommentsResponseBody) GetData ¶
func (g *GetTaskCommentsResponseBody) GetData() []*TaskComment
func (*GetTaskCommentsResponseBody) GetExtraProperties ¶
func (g *GetTaskCommentsResponseBody) GetExtraProperties() map[string]interface{}
func (*GetTaskCommentsResponseBody) GetRequestID ¶
func (g *GetTaskCommentsResponseBody) GetRequestID() string
func (*GetTaskCommentsResponseBody) MarshalJSON ¶
func (g *GetTaskCommentsResponseBody) MarshalJSON() ([]byte, error)
func (*GetTaskCommentsResponseBody) SetData ¶
func (g *GetTaskCommentsResponseBody) SetData(data []*TaskComment)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTaskCommentsResponseBody) SetRequestID ¶
func (g *GetTaskCommentsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTaskCommentsResponseBody) String ¶
func (g *GetTaskCommentsResponseBody) String() string
func (*GetTaskCommentsResponseBody) UnmarshalJSON ¶
func (g *GetTaskCommentsResponseBody) UnmarshalJSON(data []byte) error
type GetTaskResponseBody ¶
type GetTaskResponseBody struct {
Data *Task `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetTaskResponseBody) GetData ¶
func (g *GetTaskResponseBody) GetData() *Task
func (*GetTaskResponseBody) GetExtraProperties ¶
func (g *GetTaskResponseBody) GetExtraProperties() map[string]interface{}
func (*GetTaskResponseBody) GetRequestID ¶
func (g *GetTaskResponseBody) GetRequestID() string
func (*GetTaskResponseBody) MarshalJSON ¶
func (g *GetTaskResponseBody) MarshalJSON() ([]byte, error)
func (*GetTaskResponseBody) SetData ¶
func (g *GetTaskResponseBody) SetData(data *Task)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTaskResponseBody) SetRequestID ¶
func (g *GetTaskResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTaskResponseBody) String ¶
func (g *GetTaskResponseBody) String() string
func (*GetTaskResponseBody) UnmarshalJSON ¶
func (g *GetTaskResponseBody) UnmarshalJSON(data []byte) error
type GetTaskStatusesResponseBody ¶
type GetTaskStatusesResponseBody struct {
// The data payload of the response.
Data []*TaskStatusDetails `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetTaskStatusesResponseBody) GetData ¶
func (g *GetTaskStatusesResponseBody) GetData() []*TaskStatusDetails
func (*GetTaskStatusesResponseBody) GetExtraProperties ¶
func (g *GetTaskStatusesResponseBody) GetExtraProperties() map[string]interface{}
func (*GetTaskStatusesResponseBody) GetPagination ¶
func (g *GetTaskStatusesResponseBody) GetPagination() *Pagination
func (*GetTaskStatusesResponseBody) GetRequestID ¶
func (g *GetTaskStatusesResponseBody) GetRequestID() string
func (*GetTaskStatusesResponseBody) MarshalJSON ¶
func (g *GetTaskStatusesResponseBody) MarshalJSON() ([]byte, error)
func (*GetTaskStatusesResponseBody) SetData ¶
func (g *GetTaskStatusesResponseBody) SetData(data []*TaskStatusDetails)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTaskStatusesResponseBody) SetPagination ¶
func (g *GetTaskStatusesResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTaskStatusesResponseBody) SetRequestID ¶
func (g *GetTaskStatusesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTaskStatusesResponseBody) String ¶
func (g *GetTaskStatusesResponseBody) String() string
func (*GetTaskStatusesResponseBody) UnmarshalJSON ¶
func (g *GetTaskStatusesResponseBody) UnmarshalJSON(data []byte) error
type GetTasksResponseBody ¶
type GetTasksResponseBody struct {
// The data payload of the response.
Data []*Task `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetTasksResponseBody) GetData ¶
func (g *GetTasksResponseBody) GetData() []*Task
func (*GetTasksResponseBody) GetExtraProperties ¶
func (g *GetTasksResponseBody) GetExtraProperties() map[string]interface{}
func (*GetTasksResponseBody) GetPagination ¶
func (g *GetTasksResponseBody) GetPagination() *Pagination
func (*GetTasksResponseBody) GetRequestID ¶
func (g *GetTasksResponseBody) GetRequestID() string
func (*GetTasksResponseBody) MarshalJSON ¶
func (g *GetTasksResponseBody) MarshalJSON() ([]byte, error)
func (*GetTasksResponseBody) SetData ¶
func (g *GetTasksResponseBody) SetData(data []*Task)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTasksResponseBody) SetPagination ¶
func (g *GetTasksResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTasksResponseBody) SetRequestID ¶
func (g *GetTasksResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTasksResponseBody) String ¶
func (g *GetTasksResponseBody) String() string
func (*GetTasksResponseBody) UnmarshalJSON ¶
func (g *GetTasksResponseBody) UnmarshalJSON(data []byte) error
type GetTeamResponseBody ¶
type GetTeamResponseBody struct {
Data *Team `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetTeamResponseBody) GetData ¶
func (g *GetTeamResponseBody) GetData() *Team
func (*GetTeamResponseBody) GetExtraProperties ¶
func (g *GetTeamResponseBody) GetExtraProperties() map[string]interface{}
func (*GetTeamResponseBody) GetRequestID ¶
func (g *GetTeamResponseBody) GetRequestID() string
func (*GetTeamResponseBody) MarshalJSON ¶
func (g *GetTeamResponseBody) MarshalJSON() ([]byte, error)
func (*GetTeamResponseBody) SetData ¶
func (g *GetTeamResponseBody) SetData(data *Team)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTeamResponseBody) SetRequestID ¶
func (g *GetTeamResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTeamResponseBody) String ¶
func (g *GetTeamResponseBody) String() string
func (*GetTeamResponseBody) UnmarshalJSON ¶
func (g *GetTeamResponseBody) UnmarshalJSON(data []byte) error
type GetTeamsResponseBody ¶
type GetTeamsResponseBody struct {
// The data payload of the response.
Data []*Team `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetTeamsResponseBody) GetData ¶
func (g *GetTeamsResponseBody) GetData() []*Team
func (*GetTeamsResponseBody) GetExtraProperties ¶
func (g *GetTeamsResponseBody) GetExtraProperties() map[string]interface{}
func (*GetTeamsResponseBody) GetPagination ¶
func (g *GetTeamsResponseBody) GetPagination() *Pagination
func (*GetTeamsResponseBody) GetRequestID ¶
func (g *GetTeamsResponseBody) GetRequestID() string
func (*GetTeamsResponseBody) MarshalJSON ¶
func (g *GetTeamsResponseBody) MarshalJSON() ([]byte, error)
func (*GetTeamsResponseBody) SetData ¶
func (g *GetTeamsResponseBody) SetData(data []*Team)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTeamsResponseBody) SetPagination ¶
func (g *GetTeamsResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTeamsResponseBody) SetRequestID ¶
func (g *GetTeamsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTeamsResponseBody) String ¶
func (g *GetTeamsResponseBody) String() string
func (*GetTeamsResponseBody) UnmarshalJSON ¶
func (g *GetTeamsResponseBody) UnmarshalJSON(data []byte) error
type GetTicketFormResponseBody ¶
type GetTicketFormResponseBody struct {
Data *TicketForm `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetTicketFormResponseBody) GetData ¶
func (g *GetTicketFormResponseBody) GetData() *TicketForm
func (*GetTicketFormResponseBody) GetExtraProperties ¶
func (g *GetTicketFormResponseBody) GetExtraProperties() map[string]interface{}
func (*GetTicketFormResponseBody) GetRequestID ¶
func (g *GetTicketFormResponseBody) GetRequestID() string
func (*GetTicketFormResponseBody) MarshalJSON ¶
func (g *GetTicketFormResponseBody) MarshalJSON() ([]byte, error)
func (*GetTicketFormResponseBody) SetData ¶
func (g *GetTicketFormResponseBody) SetData(data *TicketForm)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTicketFormResponseBody) SetRequestID ¶
func (g *GetTicketFormResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTicketFormResponseBody) String ¶
func (g *GetTicketFormResponseBody) String() string
func (*GetTicketFormResponseBody) UnmarshalJSON ¶
func (g *GetTicketFormResponseBody) UnmarshalJSON(data []byte) error
type GetTicketFormsResponseBody ¶
type GetTicketFormsResponseBody struct {
// The data payload of the response.
Data []*TicketForm `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetTicketFormsResponseBody) GetData ¶
func (g *GetTicketFormsResponseBody) GetData() []*TicketForm
func (*GetTicketFormsResponseBody) GetExtraProperties ¶
func (g *GetTicketFormsResponseBody) GetExtraProperties() map[string]interface{}
func (*GetTicketFormsResponseBody) GetPagination ¶
func (g *GetTicketFormsResponseBody) GetPagination() *Pagination
func (*GetTicketFormsResponseBody) GetRequestID ¶
func (g *GetTicketFormsResponseBody) GetRequestID() string
func (*GetTicketFormsResponseBody) MarshalJSON ¶
func (g *GetTicketFormsResponseBody) MarshalJSON() ([]byte, error)
func (*GetTicketFormsResponseBody) SetData ¶
func (g *GetTicketFormsResponseBody) SetData(data []*TicketForm)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTicketFormsResponseBody) SetPagination ¶
func (g *GetTicketFormsResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTicketFormsResponseBody) SetRequestID ¶
func (g *GetTicketFormsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTicketFormsResponseBody) String ¶
func (g *GetTicketFormsResponseBody) String() string
func (*GetTicketFormsResponseBody) UnmarshalJSON ¶
func (g *GetTicketFormsResponseBody) UnmarshalJSON(data []byte) error
type GetTrainingDataResponseBody ¶
type GetTrainingDataResponseBody struct {
Data *TrainingData `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetTrainingDataResponseBody) GetData ¶
func (g *GetTrainingDataResponseBody) GetData() *TrainingData
func (*GetTrainingDataResponseBody) GetExtraProperties ¶
func (g *GetTrainingDataResponseBody) GetExtraProperties() map[string]interface{}
func (*GetTrainingDataResponseBody) GetRequestID ¶
func (g *GetTrainingDataResponseBody) GetRequestID() string
func (*GetTrainingDataResponseBody) MarshalJSON ¶
func (g *GetTrainingDataResponseBody) MarshalJSON() ([]byte, error)
func (*GetTrainingDataResponseBody) SetData ¶
func (g *GetTrainingDataResponseBody) SetData(data *TrainingData)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTrainingDataResponseBody) SetRequestID ¶
func (g *GetTrainingDataResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetTrainingDataResponseBody) String ¶
func (g *GetTrainingDataResponseBody) String() string
func (*GetTrainingDataResponseBody) UnmarshalJSON ¶
func (g *GetTrainingDataResponseBody) UnmarshalJSON(data []byte) error
type GetUserResponseBody ¶
type GetUserResponseBody struct {
Data *User `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetUserResponseBody) GetData ¶
func (g *GetUserResponseBody) GetData() *User
func (*GetUserResponseBody) GetExtraProperties ¶
func (g *GetUserResponseBody) GetExtraProperties() map[string]interface{}
func (*GetUserResponseBody) GetRequestID ¶
func (g *GetUserResponseBody) GetRequestID() string
func (*GetUserResponseBody) MarshalJSON ¶
func (g *GetUserResponseBody) MarshalJSON() ([]byte, error)
func (*GetUserResponseBody) SetData ¶
func (g *GetUserResponseBody) SetData(data *User)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetUserResponseBody) SetRequestID ¶
func (g *GetUserResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetUserResponseBody) String ¶
func (g *GetUserResponseBody) String() string
func (*GetUserResponseBody) UnmarshalJSON ¶
func (g *GetUserResponseBody) UnmarshalJSON(data []byte) error
type GetUserRolesResponseBody ¶
type GetUserRolesResponseBody struct {
// The data payload of the response.
Data []*UserRole `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetUserRolesResponseBody) GetData ¶
func (g *GetUserRolesResponseBody) GetData() []*UserRole
func (*GetUserRolesResponseBody) GetExtraProperties ¶
func (g *GetUserRolesResponseBody) GetExtraProperties() map[string]interface{}
func (*GetUserRolesResponseBody) GetPagination ¶
func (g *GetUserRolesResponseBody) GetPagination() *Pagination
func (*GetUserRolesResponseBody) GetRequestID ¶
func (g *GetUserRolesResponseBody) GetRequestID() string
func (*GetUserRolesResponseBody) MarshalJSON ¶
func (g *GetUserRolesResponseBody) MarshalJSON() ([]byte, error)
func (*GetUserRolesResponseBody) SetData ¶
func (g *GetUserRolesResponseBody) SetData(data []*UserRole)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetUserRolesResponseBody) SetPagination ¶
func (g *GetUserRolesResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetUserRolesResponseBody) SetRequestID ¶
func (g *GetUserRolesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetUserRolesResponseBody) String ¶
func (g *GetUserRolesResponseBody) String() string
func (*GetUserRolesResponseBody) UnmarshalJSON ¶
func (g *GetUserRolesResponseBody) UnmarshalJSON(data []byte) error
type GetUserStatusesResponseBody ¶
type GetUserStatusesResponseBody struct {
// The data payload of the response.
Data []*UserStatus `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetUserStatusesResponseBody) GetData ¶
func (g *GetUserStatusesResponseBody) GetData() []*UserStatus
func (*GetUserStatusesResponseBody) GetExtraProperties ¶
func (g *GetUserStatusesResponseBody) GetExtraProperties() map[string]interface{}
func (*GetUserStatusesResponseBody) GetRequestID ¶
func (g *GetUserStatusesResponseBody) GetRequestID() string
func (*GetUserStatusesResponseBody) MarshalJSON ¶
func (g *GetUserStatusesResponseBody) MarshalJSON() ([]byte, error)
func (*GetUserStatusesResponseBody) SetData ¶
func (g *GetUserStatusesResponseBody) SetData(data []*UserStatus)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetUserStatusesResponseBody) SetRequestID ¶
func (g *GetUserStatusesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetUserStatusesResponseBody) String ¶
func (g *GetUserStatusesResponseBody) String() string
func (*GetUserStatusesResponseBody) UnmarshalJSON ¶
func (g *GetUserStatusesResponseBody) UnmarshalJSON(data []byte) error
type GetUsersResponseBody ¶
type GetUsersResponseBody struct {
// The data payload of the response.
Data []*User `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*GetUsersResponseBody) GetData ¶
func (g *GetUsersResponseBody) GetData() []*User
func (*GetUsersResponseBody) GetExtraProperties ¶
func (g *GetUsersResponseBody) GetExtraProperties() map[string]interface{}
func (*GetUsersResponseBody) GetPagination ¶
func (g *GetUsersResponseBody) GetPagination() *Pagination
func (*GetUsersResponseBody) GetRequestID ¶
func (g *GetUsersResponseBody) GetRequestID() string
func (*GetUsersResponseBody) MarshalJSON ¶
func (g *GetUsersResponseBody) MarshalJSON() ([]byte, error)
func (*GetUsersResponseBody) SetData ¶
func (g *GetUsersResponseBody) SetData(data []*User)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetUsersResponseBody) SetPagination ¶
func (g *GetUsersResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetUsersResponseBody) SetRequestID ¶
func (g *GetUsersResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*GetUsersResponseBody) String ¶
func (g *GetUsersResponseBody) String() string
func (*GetUsersResponseBody) UnmarshalJSON ¶
func (g *GetUsersResponseBody) UnmarshalJSON(data []byte) error
type ImportContactRequestBody ¶
type ImportContactRequestBody struct {
// The account that this contact belongs to.
AccountID *string `json:"account_id,omitempty" url:"account_id,omitempty"`
// The avatar URL of the contact. Must be a square .png, .jpg or .jpeg.
AvatarURL *string `json:"avatar_url,omitempty" url:"avatar_url,omitempty"`
// An array of custom fields to be applied to this contact.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"custom_fields,omitempty"`
// The email of the contact.
Email string `json:"email" url:"email"`
// The name of the contact.
Name string `json:"name" url:"name"`
// The phone numbers of the contact. Must contain only digits 0-9, optionally preceded by + (E.164, e.g. +4365446231), and be 15 digits or less. Include the + and country code for non-US numbers; a 10-digit number without + is treated as US.
PhoneNumbers []string `json:"phone_numbers,omitempty" url:"phone_numbers,omitempty"`
// The portal role to assign to the contact. If not provided uses the default portal role from the portal settings.
PortalRole *ImportContactRequestBodyPortalRole `json:"portal_role,omitempty" url:"portal_role,omitempty"`
// The primary phone number. Must be in the list of phone_numbers. If there are any phone_numbers and this is not specified, the first phone number will be primary.
PrimaryPhoneNumber *string `json:"primary_phone_number,omitempty" url:"primary_phone_number,omitempty"`
// contains filtered or unexported fields
}
func (*ImportContactRequestBody) GetAccountID ¶
func (i *ImportContactRequestBody) GetAccountID() *string
func (*ImportContactRequestBody) GetAvatarURL ¶
func (i *ImportContactRequestBody) GetAvatarURL() *string
func (*ImportContactRequestBody) GetCustomFields ¶
func (i *ImportContactRequestBody) GetCustomFields() []*CustomFieldValue
func (*ImportContactRequestBody) GetEmail ¶
func (i *ImportContactRequestBody) GetEmail() string
func (*ImportContactRequestBody) GetExtraProperties ¶
func (i *ImportContactRequestBody) GetExtraProperties() map[string]interface{}
func (*ImportContactRequestBody) GetName ¶
func (i *ImportContactRequestBody) GetName() string
func (*ImportContactRequestBody) GetPhoneNumbers ¶
func (i *ImportContactRequestBody) GetPhoneNumbers() []string
func (*ImportContactRequestBody) GetPortalRole ¶
func (i *ImportContactRequestBody) GetPortalRole() *ImportContactRequestBodyPortalRole
func (*ImportContactRequestBody) GetPrimaryPhoneNumber ¶
func (i *ImportContactRequestBody) GetPrimaryPhoneNumber() *string
func (*ImportContactRequestBody) MarshalJSON ¶
func (i *ImportContactRequestBody) MarshalJSON() ([]byte, error)
func (*ImportContactRequestBody) SetAccountID ¶
func (i *ImportContactRequestBody) SetAccountID(accountID *string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportContactRequestBody) SetAvatarURL ¶
func (i *ImportContactRequestBody) SetAvatarURL(avatarURL *string)
SetAvatarURL sets the AvatarURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportContactRequestBody) SetCustomFields ¶
func (i *ImportContactRequestBody) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportContactRequestBody) SetEmail ¶
func (i *ImportContactRequestBody) SetEmail(email string)
SetEmail sets the Email field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportContactRequestBody) SetName ¶
func (i *ImportContactRequestBody) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportContactRequestBody) SetPhoneNumbers ¶
func (i *ImportContactRequestBody) SetPhoneNumbers(phoneNumbers []string)
SetPhoneNumbers sets the PhoneNumbers field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportContactRequestBody) SetPortalRole ¶
func (i *ImportContactRequestBody) SetPortalRole(portalRole *ImportContactRequestBodyPortalRole)
SetPortalRole sets the PortalRole field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportContactRequestBody) SetPrimaryPhoneNumber ¶
func (i *ImportContactRequestBody) SetPrimaryPhoneNumber(primaryPhoneNumber *string)
SetPrimaryPhoneNumber sets the PrimaryPhoneNumber field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportContactRequestBody) String ¶
func (i *ImportContactRequestBody) String() string
func (*ImportContactRequestBody) UnmarshalJSON ¶
func (i *ImportContactRequestBody) UnmarshalJSON(data []byte) error
type ImportContactRequestBodyPortalRole ¶
type ImportContactRequestBodyPortalRole string
The portal role to assign to the contact. If not provided uses the default portal role from the portal settings.
const ( ImportContactRequestBodyPortalRoleNoAccess ImportContactRequestBodyPortalRole = "no_access" ImportContactRequestBodyPortalRoleMember ImportContactRequestBodyPortalRole = "member" ImportContactRequestBodyPortalRoleAdmin ImportContactRequestBodyPortalRole = "admin" )
func NewImportContactRequestBodyPortalRoleFromString ¶
func NewImportContactRequestBodyPortalRoleFromString(s string) (ImportContactRequestBodyPortalRole, error)
func (ImportContactRequestBodyPortalRole) Ptr ¶
func (i ImportContactRequestBodyPortalRole) Ptr() *ImportContactRequestBodyPortalRole
type ImportContactResponseBody ¶
type ImportContactResponseBody struct {
Data *Contact `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*ImportContactResponseBody) GetData ¶
func (i *ImportContactResponseBody) GetData() *Contact
func (*ImportContactResponseBody) GetExtraProperties ¶
func (i *ImportContactResponseBody) GetExtraProperties() map[string]interface{}
func (*ImportContactResponseBody) GetRequestID ¶
func (i *ImportContactResponseBody) GetRequestID() string
func (*ImportContactResponseBody) MarshalJSON ¶
func (i *ImportContactResponseBody) MarshalJSON() ([]byte, error)
func (*ImportContactResponseBody) SetData ¶
func (i *ImportContactResponseBody) SetData(data *Contact)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportContactResponseBody) SetRequestID ¶
func (i *ImportContactResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportContactResponseBody) String ¶
func (i *ImportContactResponseBody) String() string
func (*ImportContactResponseBody) UnmarshalJSON ¶
func (i *ImportContactResponseBody) UnmarshalJSON(data []byte) error
type ImportExternalIssue ¶
type ImportExternalIssue struct {
// The ID of the external issue in the source system.
ExternalIssueID string `json:"external_issue_id" url:"external_issue_id"`
// The source system of the external issue (e.g., "linear", "asana", "jira", "github").
Source string `json:"source" url:"source"`
// contains filtered or unexported fields
}
func (*ImportExternalIssue) GetExternalIssueID ¶
func (i *ImportExternalIssue) GetExternalIssueID() string
func (*ImportExternalIssue) GetExtraProperties ¶
func (i *ImportExternalIssue) GetExtraProperties() map[string]interface{}
func (*ImportExternalIssue) GetSource ¶
func (i *ImportExternalIssue) GetSource() string
func (*ImportExternalIssue) MarshalJSON ¶
func (i *ImportExternalIssue) MarshalJSON() ([]byte, error)
func (*ImportExternalIssue) SetExternalIssueID ¶
func (i *ImportExternalIssue) SetExternalIssueID(externalIssueID string)
SetExternalIssueID sets the ExternalIssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportExternalIssue) SetSource ¶
func (i *ImportExternalIssue) SetSource(source string)
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportExternalIssue) String ¶
func (i *ImportExternalIssue) String() string
func (*ImportExternalIssue) UnmarshalJSON ¶
func (i *ImportExternalIssue) UnmarshalJSON(data []byte) error
type ImportIssueExternalRefs ¶
type ImportIssueExternalRefs struct {
// The Intercom conversation ID associated with this issue, if any.
IntercomConversationID *string `json:"intercom_conversation_id,omitempty" url:"intercom_conversation_id,omitempty"`
// The Zendesk ticket ID associated with this issue, if any.
ZendeskTicketID *string `json:"zendesk_ticket_id,omitempty" url:"zendesk_ticket_id,omitempty"`
// contains filtered or unexported fields
}
func (*ImportIssueExternalRefs) GetExtraProperties ¶
func (i *ImportIssueExternalRefs) GetExtraProperties() map[string]interface{}
func (*ImportIssueExternalRefs) GetIntercomConversationID ¶
func (i *ImportIssueExternalRefs) GetIntercomConversationID() *string
func (*ImportIssueExternalRefs) GetZendeskTicketID ¶
func (i *ImportIssueExternalRefs) GetZendeskTicketID() *string
func (*ImportIssueExternalRefs) MarshalJSON ¶
func (i *ImportIssueExternalRefs) MarshalJSON() ([]byte, error)
func (*ImportIssueExternalRefs) SetIntercomConversationID ¶
func (i *ImportIssueExternalRefs) SetIntercomConversationID(intercomConversationID *string)
SetIntercomConversationID sets the IntercomConversationID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueExternalRefs) SetZendeskTicketID ¶
func (i *ImportIssueExternalRefs) SetZendeskTicketID(zendeskTicketID *string)
SetZendeskTicketID sets the ZendeskTicketID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueExternalRefs) String ¶
func (i *ImportIssueExternalRefs) String() string
func (*ImportIssueExternalRefs) UnmarshalJSON ¶
func (i *ImportIssueExternalRefs) UnmarshalJSON(data []byte) error
type ImportIssueMessage ¶
type ImportIssueMessage struct {
// An array of attachment URLs to attach to this message.
AttachmentURLs []string `json:"attachment_urls,omitempty" url:"attachment_urls,omitempty"`
// The HTML content of the message.
BodyHTML string `json:"body_html" url:"body_html"`
// The contact that sent the message. Only one of user_id or contact_id can be specified.
ContactID *string `json:"contact_id,omitempty" url:"contact_id,omitempty"`
// CreatedAt is the time the message was created (RFC3339).
CreatedAt *time.Time `json:"created_at,omitempty" url:"created_at,omitempty"`
// Whether the message is private.
IsPrivate bool `json:"is_private" url:"is_private"`
// The user that sent the message. Only one of user_id or contact_id can be specified.
UserID *string `json:"user_id,omitempty" url:"user_id,omitempty"`
// contains filtered or unexported fields
}
func (*ImportIssueMessage) GetAttachmentURLs ¶
func (i *ImportIssueMessage) GetAttachmentURLs() []string
func (*ImportIssueMessage) GetBodyHTML ¶
func (i *ImportIssueMessage) GetBodyHTML() string
func (*ImportIssueMessage) GetContactID ¶
func (i *ImportIssueMessage) GetContactID() *string
func (*ImportIssueMessage) GetCreatedAt ¶
func (i *ImportIssueMessage) GetCreatedAt() *time.Time
func (*ImportIssueMessage) GetExtraProperties ¶
func (i *ImportIssueMessage) GetExtraProperties() map[string]interface{}
func (*ImportIssueMessage) GetIsPrivate ¶
func (i *ImportIssueMessage) GetIsPrivate() bool
func (*ImportIssueMessage) GetUserID ¶
func (i *ImportIssueMessage) GetUserID() *string
func (*ImportIssueMessage) MarshalJSON ¶
func (i *ImportIssueMessage) MarshalJSON() ([]byte, error)
func (*ImportIssueMessage) SetAttachmentURLs ¶
func (i *ImportIssueMessage) SetAttachmentURLs(attachmentURLs []string)
SetAttachmentURLs sets the AttachmentURLs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueMessage) SetBodyHTML ¶
func (i *ImportIssueMessage) SetBodyHTML(bodyHTML string)
SetBodyHTML sets the BodyHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueMessage) SetContactID ¶
func (i *ImportIssueMessage) SetContactID(contactID *string)
SetContactID sets the ContactID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueMessage) SetCreatedAt ¶
func (i *ImportIssueMessage) SetCreatedAt(createdAt *time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueMessage) SetIsPrivate ¶
func (i *ImportIssueMessage) SetIsPrivate(isPrivate bool)
SetIsPrivate sets the IsPrivate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueMessage) SetUserID ¶
func (i *ImportIssueMessage) SetUserID(userID *string)
SetUserID sets the UserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueMessage) String ¶
func (i *ImportIssueMessage) String() string
func (*ImportIssueMessage) UnmarshalJSON ¶
func (i *ImportIssueMessage) UnmarshalJSON(data []byte) error
type ImportIssueRequest ¶
type ImportIssueRequest struct {
// AccountID that the issue should belong to.
AccountID *string `json:"account_id,omitempty" url:"account_id,omitempty"`
// UserID that the issue should be assigned to.
AssigneeID *string `json:"assignee_id,omitempty" url:"assignee_id,omitempty"`
// An array of attachment URLs to attach to this issue.
AttachmentURLs []string `json:"attachment_urls,omitempty" url:"attachment_urls,omitempty"`
// CreatedAt is the time the issue was created (RFC3339).
CreatedAt *time.Time `json:"created_at,omitempty" url:"created_at,omitempty"`
// An array of custom fields to be used on this issue.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"custom_fields,omitempty"`
// External issues to link to this issue.
ExternalIssues []*ImportExternalIssue `json:"external_issues,omitempty" url:"external_issues,omitempty"`
ExternalRefs *ImportIssueExternalRefs `json:"external_refs,omitempty" url:"external_refs,omitempty"`
// FirstResponseTime is the time the issue was first responded to (RFC3339).
FirstResponseTime *time.Time `json:"first_response_time,omitempty" url:"first_response_time,omitempty"`
// An optional issue number to preserve from the platform the issue is being imported from.
// Usually, do not set this field. Pylon normally assigns its own auto-incrementing ticket numbers.
// Use it only for customers who require their historical ticket numbers to be preserved.
// When set, it must be positive and lower than the organization's current ticket number counter.
IssueNumber *int64 `json:"issue_number,omitempty" url:"issue_number,omitempty"`
// Messages to be imported for this issue. At least one message is required.
Messages []*ImportIssueMessage `json:"messages" url:"messages"`
// The ID of a partner account that serves account_id. Requires account_id.
PartnerAccountID *string `json:"partner_account_id,omitempty" url:"partner_account_id,omitempty"`
// ContactID that the issue should be on behalf of. If omitted, the issue has no requester.
RequesterID *string `json:"requester_id,omitempty" url:"requester_id,omitempty"`
// ResolutionTime is the time the issue was resolved (RFC3339).
ResolutionTime *time.Time `json:"resolution_time,omitempty" url:"resolution_time,omitempty"`
// The state of the issue. Standard values are `new`, `waiting_on_you`, `waiting_on_customer`, `on_hold`, and `closed`; custom status slugs are also supported.
State string `json:"state" url:"state"`
// An array of strings to use as tags on this issue.
Tags []string `json:"tags,omitempty" url:"tags,omitempty"`
// TeamID that the issue should be assigned to.
TeamID *string `json:"team_id,omitempty" url:"team_id,omitempty"`
// The title of the issue.
Title string `json:"title" url:"title"`
// UpdatedAt is the time the issue was last updated (RFC3339).
UpdatedAt *time.Time `json:"updated_at,omitempty" url:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*ImportIssueRequest) GetAccountID ¶
func (i *ImportIssueRequest) GetAccountID() *string
func (*ImportIssueRequest) GetAssigneeID ¶
func (i *ImportIssueRequest) GetAssigneeID() *string
func (*ImportIssueRequest) GetAttachmentURLs ¶
func (i *ImportIssueRequest) GetAttachmentURLs() []string
func (*ImportIssueRequest) GetCreatedAt ¶
func (i *ImportIssueRequest) GetCreatedAt() *time.Time
func (*ImportIssueRequest) GetCustomFields ¶
func (i *ImportIssueRequest) GetCustomFields() []*CustomFieldValue
func (*ImportIssueRequest) GetExternalIssues ¶
func (i *ImportIssueRequest) GetExternalIssues() []*ImportExternalIssue
func (*ImportIssueRequest) GetExternalRefs ¶
func (i *ImportIssueRequest) GetExternalRefs() *ImportIssueExternalRefs
func (*ImportIssueRequest) GetExtraProperties ¶
func (i *ImportIssueRequest) GetExtraProperties() map[string]interface{}
func (*ImportIssueRequest) GetFirstResponseTime ¶
func (i *ImportIssueRequest) GetFirstResponseTime() *time.Time
func (*ImportIssueRequest) GetIssueNumber ¶
func (i *ImportIssueRequest) GetIssueNumber() *int64
func (*ImportIssueRequest) GetMessages ¶
func (i *ImportIssueRequest) GetMessages() []*ImportIssueMessage
func (*ImportIssueRequest) GetPartnerAccountID ¶
func (i *ImportIssueRequest) GetPartnerAccountID() *string
func (*ImportIssueRequest) GetRequesterID ¶
func (i *ImportIssueRequest) GetRequesterID() *string
func (*ImportIssueRequest) GetResolutionTime ¶
func (i *ImportIssueRequest) GetResolutionTime() *time.Time
func (*ImportIssueRequest) GetState ¶
func (i *ImportIssueRequest) GetState() string
func (*ImportIssueRequest) GetTags ¶
func (i *ImportIssueRequest) GetTags() []string
func (*ImportIssueRequest) GetTeamID ¶
func (i *ImportIssueRequest) GetTeamID() *string
func (*ImportIssueRequest) GetTitle ¶
func (i *ImportIssueRequest) GetTitle() string
func (*ImportIssueRequest) GetUpdatedAt ¶
func (i *ImportIssueRequest) GetUpdatedAt() *time.Time
func (*ImportIssueRequest) MarshalJSON ¶
func (i *ImportIssueRequest) MarshalJSON() ([]byte, error)
func (*ImportIssueRequest) SetAccountID ¶
func (i *ImportIssueRequest) SetAccountID(accountID *string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetAssigneeID ¶
func (i *ImportIssueRequest) SetAssigneeID(assigneeID *string)
SetAssigneeID sets the AssigneeID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetAttachmentURLs ¶
func (i *ImportIssueRequest) SetAttachmentURLs(attachmentURLs []string)
SetAttachmentURLs sets the AttachmentURLs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetCreatedAt ¶
func (i *ImportIssueRequest) SetCreatedAt(createdAt *time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetCustomFields ¶
func (i *ImportIssueRequest) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetExternalIssues ¶
func (i *ImportIssueRequest) SetExternalIssues(externalIssues []*ImportExternalIssue)
SetExternalIssues sets the ExternalIssues field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetExternalRefs ¶
func (i *ImportIssueRequest) SetExternalRefs(externalRefs *ImportIssueExternalRefs)
SetExternalRefs sets the ExternalRefs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetFirstResponseTime ¶
func (i *ImportIssueRequest) SetFirstResponseTime(firstResponseTime *time.Time)
SetFirstResponseTime sets the FirstResponseTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetIssueNumber ¶
func (i *ImportIssueRequest) SetIssueNumber(issueNumber *int64)
SetIssueNumber sets the IssueNumber field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetMessages ¶
func (i *ImportIssueRequest) SetMessages(messages []*ImportIssueMessage)
SetMessages sets the Messages field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetPartnerAccountID ¶
func (i *ImportIssueRequest) SetPartnerAccountID(partnerAccountID *string)
SetPartnerAccountID sets the PartnerAccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetRequesterID ¶
func (i *ImportIssueRequest) SetRequesterID(requesterID *string)
SetRequesterID sets the RequesterID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetResolutionTime ¶
func (i *ImportIssueRequest) SetResolutionTime(resolutionTime *time.Time)
SetResolutionTime sets the ResolutionTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetState ¶
func (i *ImportIssueRequest) SetState(state string)
SetState sets the State field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetTags ¶
func (i *ImportIssueRequest) SetTags(tags []string)
SetTags sets the Tags field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetTeamID ¶
func (i *ImportIssueRequest) SetTeamID(teamID *string)
SetTeamID sets the TeamID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetTitle ¶
func (i *ImportIssueRequest) SetTitle(title string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) SetUpdatedAt ¶
func (i *ImportIssueRequest) SetUpdatedAt(updatedAt *time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueRequest) String ¶
func (i *ImportIssueRequest) String() string
func (*ImportIssueRequest) UnmarshalJSON ¶
func (i *ImportIssueRequest) UnmarshalJSON(data []byte) error
type ImportIssueResponseBody ¶
type ImportIssueResponseBody struct {
Data *Issue `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
Warnings *ImportWarnings `json:"warnings,omitempty" url:"warnings,omitempty"`
// contains filtered or unexported fields
}
func (*ImportIssueResponseBody) GetData ¶
func (i *ImportIssueResponseBody) GetData() *Issue
func (*ImportIssueResponseBody) GetExtraProperties ¶
func (i *ImportIssueResponseBody) GetExtraProperties() map[string]interface{}
func (*ImportIssueResponseBody) GetRequestID ¶
func (i *ImportIssueResponseBody) GetRequestID() string
func (*ImportIssueResponseBody) GetWarnings ¶
func (i *ImportIssueResponseBody) GetWarnings() *ImportWarnings
func (*ImportIssueResponseBody) MarshalJSON ¶
func (i *ImportIssueResponseBody) MarshalJSON() ([]byte, error)
func (*ImportIssueResponseBody) SetData ¶
func (i *ImportIssueResponseBody) SetData(data *Issue)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueResponseBody) SetRequestID ¶
func (i *ImportIssueResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueResponseBody) SetWarnings ¶
func (i *ImportIssueResponseBody) SetWarnings(warnings *ImportWarnings)
SetWarnings sets the Warnings field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportIssueResponseBody) String ¶
func (i *ImportIssueResponseBody) String() string
func (*ImportIssueResponseBody) UnmarshalJSON ¶
func (i *ImportIssueResponseBody) UnmarshalJSON(data []byte) error
type ImportMessagesRequest ¶
type ImportMessagesRequest struct {
// Messages to be imported for this issue. At least one message is required.
Messages []*ImportIssueMessage `json:"messages" url:"messages"`
// contains filtered or unexported fields
}
func (*ImportMessagesRequest) GetExtraProperties ¶
func (i *ImportMessagesRequest) GetExtraProperties() map[string]interface{}
func (*ImportMessagesRequest) GetMessages ¶
func (i *ImportMessagesRequest) GetMessages() []*ImportIssueMessage
func (*ImportMessagesRequest) MarshalJSON ¶
func (i *ImportMessagesRequest) MarshalJSON() ([]byte, error)
func (*ImportMessagesRequest) SetMessages ¶
func (i *ImportMessagesRequest) SetMessages(messages []*ImportIssueMessage)
SetMessages sets the Messages field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportMessagesRequest) String ¶
func (i *ImportMessagesRequest) String() string
func (*ImportMessagesRequest) UnmarshalJSON ¶
func (i *ImportMessagesRequest) UnmarshalJSON(data []byte) error
type ImportMessagesResponseBody ¶
type ImportMessagesResponseBody struct {
Data *Issue `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
Warnings *ImportWarnings `json:"warnings,omitempty" url:"warnings,omitempty"`
// contains filtered or unexported fields
}
func (*ImportMessagesResponseBody) GetData ¶
func (i *ImportMessagesResponseBody) GetData() *Issue
func (*ImportMessagesResponseBody) GetExtraProperties ¶
func (i *ImportMessagesResponseBody) GetExtraProperties() map[string]interface{}
func (*ImportMessagesResponseBody) GetRequestID ¶
func (i *ImportMessagesResponseBody) GetRequestID() string
func (*ImportMessagesResponseBody) GetWarnings ¶
func (i *ImportMessagesResponseBody) GetWarnings() *ImportWarnings
func (*ImportMessagesResponseBody) MarshalJSON ¶
func (i *ImportMessagesResponseBody) MarshalJSON() ([]byte, error)
func (*ImportMessagesResponseBody) SetData ¶
func (i *ImportMessagesResponseBody) SetData(data *Issue)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportMessagesResponseBody) SetRequestID ¶
func (i *ImportMessagesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportMessagesResponseBody) SetWarnings ¶
func (i *ImportMessagesResponseBody) SetWarnings(warnings *ImportWarnings)
SetWarnings sets the Warnings field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportMessagesResponseBody) String ¶
func (i *ImportMessagesResponseBody) String() string
func (*ImportMessagesResponseBody) UnmarshalJSON ¶
func (i *ImportMessagesResponseBody) UnmarshalJSON(data []byte) error
type ImportProjectRequestBody ¶
type ImportProjectRequestBody struct {
// The ID of the account this project belongs to.
AccountID string `json:"account_id" url:"account_id"`
// The time the project was created in the system it is being imported from, in RFC 3339 format.
// Defaults to now.
CreatedAt *time.Time `json:"created_at,omitempty" url:"created_at,omitempty"`
// An array of custom fields to be used on this project. Values that cannot be applied are skipped
// and reported under warnings rather than failing the import.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"custom_fields,omitempty"`
// Whether the project is visible in the customer portal. Defaults to false.
CustomerPortalVisible *bool `json:"customer_portal_visible,omitempty" url:"customer_portal_visible,omitempty"`
// Description HTML for this project.
DescriptionHTML *string `json:"description_html,omitempty" url:"description_html,omitempty"`
// End date for this project, in RFC 3339 format.
EndDate *time.Time `json:"end_date,omitempty" url:"end_date,omitempty"`
// The name of the project.
Name string `json:"name" url:"name"`
// The ID of the user who owns this project.
OwnerID *string `json:"owner_id,omitempty" url:"owner_id,omitempty"`
// Start date for this project, in RFC 3339 format.
StartDate *time.Time `json:"start_date,omitempty" url:"start_date,omitempty"`
// The status of the project. One of not_started, in_progress, or completed. Defaults to not_started.
Status *string `json:"status,omitempty" url:"status,omitempty"`
// The time the project was last updated in the system it is being imported from, in RFC 3339 format.
// Defaults to now.
UpdatedAt *time.Time `json:"updated_at,omitempty" url:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*ImportProjectRequestBody) GetAccountID ¶
func (i *ImportProjectRequestBody) GetAccountID() string
func (*ImportProjectRequestBody) GetCreatedAt ¶
func (i *ImportProjectRequestBody) GetCreatedAt() *time.Time
func (*ImportProjectRequestBody) GetCustomFields ¶
func (i *ImportProjectRequestBody) GetCustomFields() []*CustomFieldValue
func (*ImportProjectRequestBody) GetCustomerPortalVisible ¶
func (i *ImportProjectRequestBody) GetCustomerPortalVisible() *bool
func (*ImportProjectRequestBody) GetDescriptionHTML ¶
func (i *ImportProjectRequestBody) GetDescriptionHTML() *string
func (*ImportProjectRequestBody) GetEndDate ¶
func (i *ImportProjectRequestBody) GetEndDate() *time.Time
func (*ImportProjectRequestBody) GetExtraProperties ¶
func (i *ImportProjectRequestBody) GetExtraProperties() map[string]interface{}
func (*ImportProjectRequestBody) GetName ¶
func (i *ImportProjectRequestBody) GetName() string
func (*ImportProjectRequestBody) GetOwnerID ¶
func (i *ImportProjectRequestBody) GetOwnerID() *string
func (*ImportProjectRequestBody) GetStartDate ¶
func (i *ImportProjectRequestBody) GetStartDate() *time.Time
func (*ImportProjectRequestBody) GetStatus ¶
func (i *ImportProjectRequestBody) GetStatus() *string
func (*ImportProjectRequestBody) GetUpdatedAt ¶
func (i *ImportProjectRequestBody) GetUpdatedAt() *time.Time
func (*ImportProjectRequestBody) MarshalJSON ¶
func (i *ImportProjectRequestBody) MarshalJSON() ([]byte, error)
func (*ImportProjectRequestBody) SetAccountID ¶
func (i *ImportProjectRequestBody) SetAccountID(accountID string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportProjectRequestBody) SetCreatedAt ¶
func (i *ImportProjectRequestBody) SetCreatedAt(createdAt *time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportProjectRequestBody) SetCustomFields ¶
func (i *ImportProjectRequestBody) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportProjectRequestBody) SetCustomerPortalVisible ¶
func (i *ImportProjectRequestBody) SetCustomerPortalVisible(customerPortalVisible *bool)
SetCustomerPortalVisible sets the CustomerPortalVisible field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportProjectRequestBody) SetDescriptionHTML ¶
func (i *ImportProjectRequestBody) SetDescriptionHTML(descriptionHTML *string)
SetDescriptionHTML sets the DescriptionHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportProjectRequestBody) SetEndDate ¶
func (i *ImportProjectRequestBody) SetEndDate(endDate *time.Time)
SetEndDate sets the EndDate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportProjectRequestBody) SetName ¶
func (i *ImportProjectRequestBody) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportProjectRequestBody) SetOwnerID ¶
func (i *ImportProjectRequestBody) SetOwnerID(ownerID *string)
SetOwnerID sets the OwnerID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportProjectRequestBody) SetStartDate ¶
func (i *ImportProjectRequestBody) SetStartDate(startDate *time.Time)
SetStartDate sets the StartDate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportProjectRequestBody) SetStatus ¶
func (i *ImportProjectRequestBody) SetStatus(status *string)
SetStatus sets the Status field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportProjectRequestBody) SetUpdatedAt ¶
func (i *ImportProjectRequestBody) SetUpdatedAt(updatedAt *time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportProjectRequestBody) String ¶
func (i *ImportProjectRequestBody) String() string
func (*ImportProjectRequestBody) UnmarshalJSON ¶
func (i *ImportProjectRequestBody) UnmarshalJSON(data []byte) error
type ImportProjectResponseBody ¶
type ImportProjectResponseBody struct {
Data *Project `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
Warnings *ImportWarnings `json:"warnings,omitempty" url:"warnings,omitempty"`
// contains filtered or unexported fields
}
func (*ImportProjectResponseBody) GetData ¶
func (i *ImportProjectResponseBody) GetData() *Project
func (*ImportProjectResponseBody) GetExtraProperties ¶
func (i *ImportProjectResponseBody) GetExtraProperties() map[string]interface{}
func (*ImportProjectResponseBody) GetRequestID ¶
func (i *ImportProjectResponseBody) GetRequestID() string
func (*ImportProjectResponseBody) GetWarnings ¶
func (i *ImportProjectResponseBody) GetWarnings() *ImportWarnings
func (*ImportProjectResponseBody) MarshalJSON ¶
func (i *ImportProjectResponseBody) MarshalJSON() ([]byte, error)
func (*ImportProjectResponseBody) SetData ¶
func (i *ImportProjectResponseBody) SetData(data *Project)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportProjectResponseBody) SetRequestID ¶
func (i *ImportProjectResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportProjectResponseBody) SetWarnings ¶
func (i *ImportProjectResponseBody) SetWarnings(warnings *ImportWarnings)
SetWarnings sets the Warnings field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportProjectResponseBody) String ¶
func (i *ImportProjectResponseBody) String() string
func (*ImportProjectResponseBody) UnmarshalJSON ¶
func (i *ImportProjectResponseBody) UnmarshalJSON(data []byte) error
type ImportTaskRequestBody ¶
type ImportTaskRequestBody struct {
// Account ID for this task.
AccountID *string `json:"account_id,omitempty" url:"account_id,omitempty"`
// Assignee ID for this task. May be a user or a contact.
AssigneeID *string `json:"assignee_id,omitempty" url:"assignee_id,omitempty"`
// Body HTML for this task.
BodyHTML *string `json:"body_html,omitempty" url:"body_html,omitempty"`
// The time the task was completed, in RFC 3339 format. Must be empty when status is not started.
CompletedAt *time.Time `json:"completed_at,omitempty" url:"completed_at,omitempty"`
// The time the task was created in the system it is being imported from, in RFC 3339 format.
// Defaults to now.
CreatedAt *time.Time `json:"created_at,omitempty" url:"created_at,omitempty"`
// An array of custom fields to be used on this task. Values that cannot be applied are skipped
// and reported under warnings rather than failing the import.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"custom_fields,omitempty"`
// Whether the task is visible in the customer portal. Defaults to false.
CustomerPortalVisible *bool `json:"customer_portal_visible,omitempty" url:"customer_portal_visible,omitempty"`
// Due date for this task, in RFC 3339 format.
DueDate *time.Time `json:"due_date,omitempty" url:"due_date,omitempty"`
// Milestone ID for this task.
MilestoneID *string `json:"milestone_id,omitempty" url:"milestone_id,omitempty"`
// Parent task ID, to import this task as a subtask.
ParentTaskID *string `json:"parent_task_id,omitempty" url:"parent_task_id,omitempty"`
// Project ID for this task.
ProjectID *string `json:"project_id,omitempty" url:"project_id,omitempty"`
// The time work started on the task, in RFC 3339 format. Must be empty when status is not started.
StartedAt *time.Time `json:"started_at,omitempty" url:"started_at,omitempty"`
// Status for this task. Accepts the default statuses or a custom status slug. Defaults to not_started.
Status *string `json:"status,omitempty" url:"status,omitempty"`
// Title for this task.
Title string `json:"title" url:"title"`
// The time the task was last updated in the system it is being imported from, in RFC 3339 format.
// Defaults to now.
UpdatedAt *time.Time `json:"updated_at,omitempty" url:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*ImportTaskRequestBody) GetAccountID ¶
func (i *ImportTaskRequestBody) GetAccountID() *string
func (*ImportTaskRequestBody) GetAssigneeID ¶
func (i *ImportTaskRequestBody) GetAssigneeID() *string
func (*ImportTaskRequestBody) GetBodyHTML ¶
func (i *ImportTaskRequestBody) GetBodyHTML() *string
func (*ImportTaskRequestBody) GetCompletedAt ¶
func (i *ImportTaskRequestBody) GetCompletedAt() *time.Time
func (*ImportTaskRequestBody) GetCreatedAt ¶
func (i *ImportTaskRequestBody) GetCreatedAt() *time.Time
func (*ImportTaskRequestBody) GetCustomFields ¶
func (i *ImportTaskRequestBody) GetCustomFields() []*CustomFieldValue
func (*ImportTaskRequestBody) GetCustomerPortalVisible ¶
func (i *ImportTaskRequestBody) GetCustomerPortalVisible() *bool
func (*ImportTaskRequestBody) GetDueDate ¶
func (i *ImportTaskRequestBody) GetDueDate() *time.Time
func (*ImportTaskRequestBody) GetExtraProperties ¶
func (i *ImportTaskRequestBody) GetExtraProperties() map[string]interface{}
func (*ImportTaskRequestBody) GetMilestoneID ¶
func (i *ImportTaskRequestBody) GetMilestoneID() *string
func (*ImportTaskRequestBody) GetParentTaskID ¶
func (i *ImportTaskRequestBody) GetParentTaskID() *string
func (*ImportTaskRequestBody) GetProjectID ¶
func (i *ImportTaskRequestBody) GetProjectID() *string
func (*ImportTaskRequestBody) GetStartedAt ¶
func (i *ImportTaskRequestBody) GetStartedAt() *time.Time
func (*ImportTaskRequestBody) GetStatus ¶
func (i *ImportTaskRequestBody) GetStatus() *string
func (*ImportTaskRequestBody) GetTitle ¶
func (i *ImportTaskRequestBody) GetTitle() string
func (*ImportTaskRequestBody) GetUpdatedAt ¶
func (i *ImportTaskRequestBody) GetUpdatedAt() *time.Time
func (*ImportTaskRequestBody) MarshalJSON ¶
func (i *ImportTaskRequestBody) MarshalJSON() ([]byte, error)
func (*ImportTaskRequestBody) SetAccountID ¶
func (i *ImportTaskRequestBody) SetAccountID(accountID *string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskRequestBody) SetAssigneeID ¶
func (i *ImportTaskRequestBody) SetAssigneeID(assigneeID *string)
SetAssigneeID sets the AssigneeID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskRequestBody) SetBodyHTML ¶
func (i *ImportTaskRequestBody) SetBodyHTML(bodyHTML *string)
SetBodyHTML sets the BodyHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskRequestBody) SetCompletedAt ¶
func (i *ImportTaskRequestBody) SetCompletedAt(completedAt *time.Time)
SetCompletedAt sets the CompletedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskRequestBody) SetCreatedAt ¶
func (i *ImportTaskRequestBody) SetCreatedAt(createdAt *time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskRequestBody) SetCustomFields ¶
func (i *ImportTaskRequestBody) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskRequestBody) SetCustomerPortalVisible ¶
func (i *ImportTaskRequestBody) SetCustomerPortalVisible(customerPortalVisible *bool)
SetCustomerPortalVisible sets the CustomerPortalVisible field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskRequestBody) SetDueDate ¶
func (i *ImportTaskRequestBody) SetDueDate(dueDate *time.Time)
SetDueDate sets the DueDate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskRequestBody) SetMilestoneID ¶
func (i *ImportTaskRequestBody) SetMilestoneID(milestoneID *string)
SetMilestoneID sets the MilestoneID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskRequestBody) SetParentTaskID ¶
func (i *ImportTaskRequestBody) SetParentTaskID(parentTaskID *string)
SetParentTaskID sets the ParentTaskID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskRequestBody) SetProjectID ¶
func (i *ImportTaskRequestBody) SetProjectID(projectID *string)
SetProjectID sets the ProjectID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskRequestBody) SetStartedAt ¶
func (i *ImportTaskRequestBody) SetStartedAt(startedAt *time.Time)
SetStartedAt sets the StartedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskRequestBody) SetStatus ¶
func (i *ImportTaskRequestBody) SetStatus(status *string)
SetStatus sets the Status field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskRequestBody) SetTitle ¶
func (i *ImportTaskRequestBody) SetTitle(title string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskRequestBody) SetUpdatedAt ¶
func (i *ImportTaskRequestBody) SetUpdatedAt(updatedAt *time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskRequestBody) String ¶
func (i *ImportTaskRequestBody) String() string
func (*ImportTaskRequestBody) UnmarshalJSON ¶
func (i *ImportTaskRequestBody) UnmarshalJSON(data []byte) error
type ImportTaskResponseBody ¶
type ImportTaskResponseBody struct {
Data *Task `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
Warnings *ImportWarnings `json:"warnings,omitempty" url:"warnings,omitempty"`
// contains filtered or unexported fields
}
func (*ImportTaskResponseBody) GetData ¶
func (i *ImportTaskResponseBody) GetData() *Task
func (*ImportTaskResponseBody) GetExtraProperties ¶
func (i *ImportTaskResponseBody) GetExtraProperties() map[string]interface{}
func (*ImportTaskResponseBody) GetRequestID ¶
func (i *ImportTaskResponseBody) GetRequestID() string
func (*ImportTaskResponseBody) GetWarnings ¶
func (i *ImportTaskResponseBody) GetWarnings() *ImportWarnings
func (*ImportTaskResponseBody) MarshalJSON ¶
func (i *ImportTaskResponseBody) MarshalJSON() ([]byte, error)
func (*ImportTaskResponseBody) SetData ¶
func (i *ImportTaskResponseBody) SetData(data *Task)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskResponseBody) SetRequestID ¶
func (i *ImportTaskResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskResponseBody) SetWarnings ¶
func (i *ImportTaskResponseBody) SetWarnings(warnings *ImportWarnings)
SetWarnings sets the Warnings field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportTaskResponseBody) String ¶
func (i *ImportTaskResponseBody) String() string
func (*ImportTaskResponseBody) UnmarshalJSON ¶
func (i *ImportTaskResponseBody) UnmarshalJSON(data []byte) error
type ImportWarnings ¶
type ImportWarnings struct {
// Attachment URLs that were skipped because they failed security validation. Present only when at least one was skipped.
SkippedAttachments []string `json:"skipped_attachments,omitempty" url:"skipped_attachments,omitempty"`
// Custom field slugs that were skipped because they are unknown, belong to another object type, or are read-only. Present only when at least one was skipped.
SkippedCustomFields []string `json:"skipped_custom_fields,omitempty" url:"skipped_custom_fields,omitempty"`
// contains filtered or unexported fields
}
func (*ImportWarnings) GetExtraProperties ¶
func (i *ImportWarnings) GetExtraProperties() map[string]interface{}
func (*ImportWarnings) GetSkippedAttachments ¶
func (i *ImportWarnings) GetSkippedAttachments() []string
func (*ImportWarnings) GetSkippedCustomFields ¶
func (i *ImportWarnings) GetSkippedCustomFields() []string
func (*ImportWarnings) MarshalJSON ¶
func (i *ImportWarnings) MarshalJSON() ([]byte, error)
func (*ImportWarnings) SetSkippedAttachments ¶
func (i *ImportWarnings) SetSkippedAttachments(skippedAttachments []string)
SetSkippedAttachments sets the SkippedAttachments field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportWarnings) SetSkippedCustomFields ¶
func (i *ImportWarnings) SetSkippedCustomFields(skippedCustomFields []string)
SetSkippedCustomFields sets the SkippedCustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ImportWarnings) String ¶
func (i *ImportWarnings) String() string
func (*ImportWarnings) UnmarshalJSON ¶
func (i *ImportWarnings) UnmarshalJSON(data []byte) error
type IntegrationUserID ¶
type IntegrationUserID struct {
// The user ID in the external system.
ID string `json:"id" url:"id"`
// The integration source (e.g., "slack", "intercom", "hubspot").
Source string `json:"source" url:"source"`
// contains filtered or unexported fields
}
func (*IntegrationUserID) GetExtraProperties ¶
func (i *IntegrationUserID) GetExtraProperties() map[string]interface{}
func (*IntegrationUserID) GetID ¶
func (i *IntegrationUserID) GetID() string
func (*IntegrationUserID) GetSource ¶
func (i *IntegrationUserID) GetSource() string
func (*IntegrationUserID) MarshalJSON ¶
func (i *IntegrationUserID) MarshalJSON() ([]byte, error)
func (*IntegrationUserID) SetID ¶
func (i *IntegrationUserID) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IntegrationUserID) SetSource ¶
func (i *IntegrationUserID) SetSource(source string)
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IntegrationUserID) String ¶
func (i *IntegrationUserID) String() string
func (*IntegrationUserID) UnmarshalJSON ¶
func (i *IntegrationUserID) UnmarshalJSON(data []byte) error
type InternalServerError ¶
type InternalServerError struct {
*core.APIError
Body *ErrorAPIResponseBody
}
An unexpected internal error occurred.
func (*InternalServerError) GetBody ¶
func (i *InternalServerError) GetBody() *ErrorAPIResponseBody
func (*InternalServerError) MarshalJSON ¶
func (i *InternalServerError) MarshalJSON() ([]byte, error)
func (*InternalServerError) UnmarshalJSON ¶
func (i *InternalServerError) UnmarshalJSON(data []byte) error
func (*InternalServerError) Unwrap ¶
func (i *InternalServerError) Unwrap() error
type Issue ¶
type Issue struct {
Account *MiniAccount `json:"account,omitempty" url:"account,omitempty"`
// Active time spent on the issue broken down per user, if any.
ActiveTimeByUser []*ActiveTimeByUser `json:"active_time_by_user,omitempty" url:"active_time_by_user,omitempty"`
// The total active time spent on the issue in seconds, if any. Equals the sum of the per-user active time.
ActiveTimeSeconds *int64 `json:"active_time_seconds,omitempty" url:"active_time_seconds,omitempty"`
Assignee *MiniUser `json:"assignee,omitempty" url:"assignee,omitempty"`
// The attachment URLs attached to this issue, if any. Signed download URLs. Fetch with a plain GET, no Authorization header.
AttachmentURLs []string `json:"attachment_urls,omitempty" url:"attachment_urls,omitempty"`
// Whether any message on the issue has an unverified author identity. True if any message author's identity has NOT been verified (e.g., from public forms).
AuthorUnverified *bool `json:"author_unverified,omitempty" url:"author_unverified,omitempty"`
// The body of the issue in HTML format.
BodyHTML string `json:"body_html" url:"body_html"`
// The total business-hours active time spent on the issue in seconds, if any. Equals the sum of the per-user business-hours active time.
BusinessHoursActiveTimeSeconds *int64 `json:"business_hours_active_time_seconds,omitempty" url:"business_hours_active_time_seconds,omitempty"`
// The business hours time in seconds it took for the first response to the issue, if any.
BusinessHoursFirstResponseSeconds *int64 `json:"business_hours_first_response_seconds,omitempty" url:"business_hours_first_response_seconds,omitempty"`
// The business hours time in seconds it took for the issue to be resolved, if any.
BusinessHoursResolutionSeconds *int64 `json:"business_hours_resolution_seconds,omitempty" url:"business_hours_resolution_seconds,omitempty"`
// A map of status slug to the business hours time in seconds the issue has spent in that status. Includes both base statuses (e.g. "new", "waiting_on_you") and custom statuses.
BusinessHoursTimeInStatusSeconds map[string]int64 `json:"business_hours_time_in_status_seconds,omitempty" url:"business_hours_time_in_status_seconds,omitempty"`
ChatWidgetInfo *IssueChatWidgetInfo `json:"chat_widget_info,omitempty" url:"chat_widget_info,omitempty"`
// The child issues in this group, if this issue is an issue group.
ChildIssues []*MiniIssue `json:"child_issues,omitempty" url:"child_issues,omitempty"`
// The time the issue was created.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// The CSAT responses of the issue, if any.
CsatResponses []*CsatResponse `json:"csat_responses,omitempty" url:"csat_responses,omitempty"`
// Custom field values associated with the issue.
CustomFields map[string]*CustomFieldValue `json:"custom_fields,omitempty" url:"custom_fields,omitempty"`
// The customer-facing title displayed in the customer portal, separate from the internal issue title.
CustomerPortalTitle string `json:"customer_portal_title" url:"customer_portal_title"`
// Whether the issue is visible in the customer portal.
CustomerPortalVisible bool `json:"customer_portal_visible" url:"customer_portal_visible"`
// Incidents from incident.io or Rootly linked to this issue.
ExternalIncidents []*ExternalIncident `json:"external_incidents,omitempty" url:"external_incidents,omitempty"`
// The external issues associated with the issue, if any.
ExternalIssues []*ExternalIssue `json:"external_issues,omitempty" url:"external_issues,omitempty"`
// The time of the first resolution of the issue, if any. Frozen at the issue's first resolution and never updated on reopen/re-resolve.
FirstResolutionTime *time.Time `json:"first_resolution_time,omitempty" url:"first_resolution_time,omitempty"`
// The ID of the user the issue was assigned to when its first response SLA breached, if it breached.
FirstResponseAssigneeIDAtBreach *string `json:"first_response_assignee_id_at_breach,omitempty" url:"first_response_assignee_id_at_breach,omitempty"`
// The time by which the issue's first response SLA will breach, if any. Only present for issues with an active first response SLA.
FirstResponseBreachTime *time.Time `json:"first_response_breach_time,omitempty" url:"first_response_breach_time,omitempty"`
// The ID of the user whose action resolved the issue's first response SLA. Absent when resolved by a contact or automation.
FirstResponseResolvingUserID *string `json:"first_response_resolving_user_id,omitempty" url:"first_response_resolving_user_id,omitempty"`
// The time in seconds it took for the first response to the issue, if any.
FirstResponseSeconds *int64 `json:"first_response_seconds,omitempty" url:"first_response_seconds,omitempty"`
// The time of the first response to the issue, if any.
FirstResponseTime *time.Time `json:"first_response_time,omitempty" url:"first_response_time,omitempty"`
FollowUp *SLATimes `json:"follow_up,omitempty" url:"follow_up,omitempty"`
// The ID of the issue.
ID string `json:"id" url:"id"`
// Whether this issue is an issue group.
IsIssueGroup bool `json:"is_issue_group" url:"is_issue_group"`
// The time of the latest message in the issue, if any.
LatestMessageTime *time.Time `json:"latest_message_time,omitempty" url:"latest_message_time,omitempty"`
// The link to the issue in Pylon.
Link string `json:"link" url:"link"`
NextReply *SLATimes `json:"next_reply,omitempty" url:"next_reply,omitempty"`
// The number of the issue.
Number int64 `json:"number" url:"number"`
// The number of times the issue has been touched.
NumberOfTouches int64 `json:"number_of_touches" url:"number_of_touches"`
ParentIssueGroup *MiniIssue `json:"parent_issue_group,omitempty" url:"parent_issue_group,omitempty"`
Requester *MiniContact `json:"requester,omitempty" url:"requester,omitempty"`
// The ID of the user the issue was assigned to when its resolution SLA breached, if it breached.
ResolutionAssigneeIDAtBreach *string `json:"resolution_assignee_id_at_breach,omitempty" url:"resolution_assignee_id_at_breach,omitempty"`
// The time by which the issue's resolution SLA will breach, if any. Only present for open issues with an active resolution SLA.
ResolutionBreachTime *time.Time `json:"resolution_breach_time,omitempty" url:"resolution_breach_time,omitempty"`
// The ID of the user whose action resolved the issue's resolution SLA. Absent when resolved by a contact or automation.
ResolutionResolvingUserID *string `json:"resolution_resolving_user_id,omitempty" url:"resolution_resolving_user_id,omitempty"`
// The time in seconds it took for the issue to be resolved, if any.
ResolutionSeconds *int64 `json:"resolution_seconds,omitempty" url:"resolution_seconds,omitempty"`
// The time of the resolution of the issue, if any.
ResolutionTime *time.Time `json:"resolution_time,omitempty" url:"resolution_time,omitempty"`
Slack *SlackInfo `json:"slack,omitempty" url:"slack,omitempty"`
// The time the issue was snoozed until in RFC3339 format, if any.
SnoozedUntilTime *time.Time `json:"snoozed_until_time,omitempty" url:"snoozed_until_time,omitempty"`
// The source of the issue.
//
// Known values: `slack`, `microsoft_teams`, `microsoft_teams_chat`, `chat_widget`, `customer_portal`, `email`, `manual`, `form`, `discord`, `google_chat`, `whatsapp`, `sms`, `telegram`, `phone`. This list is not exhaustive.
Source string `json:"source" url:"source"`
// The state of the issue. Standard values are `new`, `waiting_on_you`, `waiting_on_customer`, `on_hold`, and `closed`; custom status slugs are also supported.
State string `json:"state" url:"state"`
// Tags associated with the issue.
Tags []string `json:"tags,omitempty" url:"tags,omitempty"`
Team *MiniTeam `json:"team,omitempty" url:"team,omitempty"`
// The team-scoped SLAs on the issue, if any. One entry per team, mirroring the issue-level first response and resolution SLA fields.
TeamSlas []*TeamSLA `json:"team_slas,omitempty" url:"team_slas,omitempty"`
// A map of status slug to the time in seconds the issue has spent in that status. Includes both base statuses (e.g. "new", "waiting_on_you") and custom statuses.
TimeInStatusSeconds map[string]int64 `json:"time_in_status_seconds,omitempty" url:"time_in_status_seconds,omitempty"`
// The title of the issue.
Title string `json:"title" url:"title"`
// The type of the issue.
//
// Known values: `conversation`, `ticket`. This list is not exhaustive.
Type string `json:"type" url:"type"`
// The time the issue was last updated.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// The email address connected to the Pylon workspace through which the issue's email conversation is routed. For inbound issues, this is the address that received the original email.
WorkspaceEmail *string `json:"workspace_email,omitempty" url:"workspace_email,omitempty"`
// The WhatsApp, SMS, or voice phone number connected to the Pylon workspace through which the issue's conversation is routed. For inbound issues, this is the number the customer messaged or called.
WorkspacePhoneNumber *string `json:"workspace_phone_number,omitempty" url:"workspace_phone_number,omitempty"`
// contains filtered or unexported fields
}
func (*Issue) GetAccount ¶
func (i *Issue) GetAccount() *MiniAccount
func (*Issue) GetActiveTimeByUser ¶
func (i *Issue) GetActiveTimeByUser() []*ActiveTimeByUser
func (*Issue) GetActiveTimeSeconds ¶
func (*Issue) GetAssignee ¶
func (*Issue) GetAttachmentURLs ¶
func (*Issue) GetAuthorUnverified ¶
func (*Issue) GetBodyHTML ¶
func (*Issue) GetBusinessHoursActiveTimeSeconds ¶
func (*Issue) GetBusinessHoursFirstResponseSeconds ¶
func (*Issue) GetBusinessHoursResolutionSeconds ¶
func (*Issue) GetBusinessHoursTimeInStatusSeconds ¶
func (*Issue) GetChatWidgetInfo ¶
func (i *Issue) GetChatWidgetInfo() *IssueChatWidgetInfo
func (*Issue) GetChildIssues ¶
func (*Issue) GetCreatedAt ¶
func (*Issue) GetCsatResponses ¶
func (i *Issue) GetCsatResponses() []*CsatResponse
func (*Issue) GetCustomFields ¶
func (i *Issue) GetCustomFields() map[string]*CustomFieldValue
func (*Issue) GetCustomerPortalTitle ¶
func (*Issue) GetCustomerPortalVisible ¶
func (*Issue) GetExternalIncidents ¶
func (i *Issue) GetExternalIncidents() []*ExternalIncident
func (*Issue) GetExternalIssues ¶
func (i *Issue) GetExternalIssues() []*ExternalIssue
func (*Issue) GetExtraProperties ¶
func (*Issue) GetFirstResolutionTime ¶
func (*Issue) GetFirstResponseAssigneeIDAtBreach ¶
func (*Issue) GetFirstResponseBreachTime ¶
func (*Issue) GetFirstResponseResolvingUserID ¶
func (*Issue) GetFirstResponseSeconds ¶
func (*Issue) GetFirstResponseTime ¶
func (*Issue) GetFollowUp ¶
func (*Issue) GetIsIssueGroup ¶
func (*Issue) GetLatestMessageTime ¶
func (*Issue) GetNextReply ¶
func (*Issue) GetNumberOfTouches ¶
func (*Issue) GetParentIssueGroup ¶
func (*Issue) GetRequester ¶
func (i *Issue) GetRequester() *MiniContact
func (*Issue) GetResolutionAssigneeIDAtBreach ¶
func (*Issue) GetResolutionBreachTime ¶
func (*Issue) GetResolutionResolvingUserID ¶
func (*Issue) GetResolutionSeconds ¶
func (*Issue) GetResolutionTime ¶
func (*Issue) GetSnoozedUntilTime ¶
func (*Issue) GetTeamSlas ¶
func (*Issue) GetTimeInStatusSeconds ¶
func (*Issue) GetUpdatedAt ¶
func (*Issue) GetWorkspaceEmail ¶
func (*Issue) GetWorkspacePhoneNumber ¶
func (*Issue) MarshalJSON ¶
func (*Issue) SetAccount ¶
func (i *Issue) SetAccount(account *MiniAccount)
SetAccount sets the Account field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetActiveTimeByUser ¶
func (i *Issue) SetActiveTimeByUser(activeTimeByUser []*ActiveTimeByUser)
SetActiveTimeByUser sets the ActiveTimeByUser field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetActiveTimeSeconds ¶
SetActiveTimeSeconds sets the ActiveTimeSeconds field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetAssignee ¶
SetAssignee sets the Assignee field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetAttachmentURLs ¶
SetAttachmentURLs sets the AttachmentURLs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetAuthorUnverified ¶
SetAuthorUnverified sets the AuthorUnverified field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetBodyHTML ¶
SetBodyHTML sets the BodyHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetBusinessHoursActiveTimeSeconds ¶
SetBusinessHoursActiveTimeSeconds sets the BusinessHoursActiveTimeSeconds field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetBusinessHoursFirstResponseSeconds ¶
SetBusinessHoursFirstResponseSeconds sets the BusinessHoursFirstResponseSeconds field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetBusinessHoursResolutionSeconds ¶
SetBusinessHoursResolutionSeconds sets the BusinessHoursResolutionSeconds field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetBusinessHoursTimeInStatusSeconds ¶
func (i *Issue) SetBusinessHoursTimeInStatusSeconds(businessHoursTimeInStatusSeconds map[string]int64)
SetBusinessHoursTimeInStatusSeconds sets the BusinessHoursTimeInStatusSeconds field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetChatWidgetInfo ¶
func (i *Issue) SetChatWidgetInfo(chatWidgetInfo *IssueChatWidgetInfo)
SetChatWidgetInfo sets the ChatWidgetInfo field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetChildIssues ¶
SetChildIssues sets the ChildIssues field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetCsatResponses ¶
func (i *Issue) SetCsatResponses(csatResponses []*CsatResponse)
SetCsatResponses sets the CsatResponses field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetCustomFields ¶
func (i *Issue) SetCustomFields(customFields map[string]*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetCustomerPortalTitle ¶
SetCustomerPortalTitle sets the CustomerPortalTitle field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetCustomerPortalVisible ¶
SetCustomerPortalVisible sets the CustomerPortalVisible field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetExternalIncidents ¶
func (i *Issue) SetExternalIncidents(externalIncidents []*ExternalIncident)
SetExternalIncidents sets the ExternalIncidents field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetExternalIssues ¶
func (i *Issue) SetExternalIssues(externalIssues []*ExternalIssue)
SetExternalIssues sets the ExternalIssues field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetFirstResolutionTime ¶
SetFirstResolutionTime sets the FirstResolutionTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetFirstResponseAssigneeIDAtBreach ¶
SetFirstResponseAssigneeIDAtBreach sets the FirstResponseAssigneeIDAtBreach field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetFirstResponseBreachTime ¶
SetFirstResponseBreachTime sets the FirstResponseBreachTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetFirstResponseResolvingUserID ¶
SetFirstResponseResolvingUserID sets the FirstResponseResolvingUserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetFirstResponseSeconds ¶
SetFirstResponseSeconds sets the FirstResponseSeconds field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetFirstResponseTime ¶
SetFirstResponseTime sets the FirstResponseTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetFollowUp ¶
SetFollowUp sets the FollowUp field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetIsIssueGroup ¶
SetIsIssueGroup sets the IsIssueGroup field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetLatestMessageTime ¶
SetLatestMessageTime sets the LatestMessageTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetLink ¶
SetLink sets the Link field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetNextReply ¶
SetNextReply sets the NextReply field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetNumber ¶
SetNumber sets the Number field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetNumberOfTouches ¶
SetNumberOfTouches sets the NumberOfTouches field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetParentIssueGroup ¶
SetParentIssueGroup sets the ParentIssueGroup field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetRequester ¶
func (i *Issue) SetRequester(requester *MiniContact)
SetRequester sets the Requester field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetResolutionAssigneeIDAtBreach ¶
SetResolutionAssigneeIDAtBreach sets the ResolutionAssigneeIDAtBreach field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetResolutionBreachTime ¶
SetResolutionBreachTime sets the ResolutionBreachTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetResolutionResolvingUserID ¶
SetResolutionResolvingUserID sets the ResolutionResolvingUserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetResolutionSeconds ¶
SetResolutionSeconds sets the ResolutionSeconds field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetResolutionTime ¶
SetResolutionTime sets the ResolutionTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetSlack ¶
SetSlack sets the Slack field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetSnoozedUntilTime ¶
SetSnoozedUntilTime sets the SnoozedUntilTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetSource ¶
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetState ¶
SetState sets the State field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetTags ¶
SetTags sets the Tags field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetTeam ¶
SetTeam sets the Team field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetTeamSlas ¶
SetTeamSlas sets the TeamSlas field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetTimeInStatusSeconds ¶
SetTimeInStatusSeconds sets the TimeInStatusSeconds field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetTitle ¶
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetType ¶
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetUpdatedAt ¶
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetWorkspaceEmail ¶
SetWorkspaceEmail sets the WorkspaceEmail field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) SetWorkspacePhoneNumber ¶
SetWorkspacePhoneNumber sets the WorkspacePhoneNumber field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Issue) UnmarshalJSON ¶
type IssueChatWidgetInfo ¶
type IssueChatWidgetInfo struct {
// The URL of the page that the user was on when they started the chat widget issue.
PageURL string `json:"page_url" url:"page_url"`
// contains filtered or unexported fields
}
func (*IssueChatWidgetInfo) GetExtraProperties ¶
func (i *IssueChatWidgetInfo) GetExtraProperties() map[string]interface{}
func (*IssueChatWidgetInfo) GetPageURL ¶
func (i *IssueChatWidgetInfo) GetPageURL() string
func (*IssueChatWidgetInfo) MarshalJSON ¶
func (i *IssueChatWidgetInfo) MarshalJSON() ([]byte, error)
func (*IssueChatWidgetInfo) SetPageURL ¶
func (i *IssueChatWidgetInfo) SetPageURL(pageURL string)
SetPageURL sets the PageURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueChatWidgetInfo) String ¶
func (i *IssueChatWidgetInfo) String() string
func (*IssueChatWidgetInfo) UnmarshalJSON ¶
func (i *IssueChatWidgetInfo) UnmarshalJSON(data []byte) error
type IssueGroupMutationResponseBody ¶
type IssueGroupMutationResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// Whether the mutation succeeded.
Success bool `json:"success" url:"success"`
// contains filtered or unexported fields
}
func (*IssueGroupMutationResponseBody) GetExtraProperties ¶
func (i *IssueGroupMutationResponseBody) GetExtraProperties() map[string]interface{}
func (*IssueGroupMutationResponseBody) GetRequestID ¶
func (i *IssueGroupMutationResponseBody) GetRequestID() string
func (*IssueGroupMutationResponseBody) GetSuccess ¶
func (i *IssueGroupMutationResponseBody) GetSuccess() bool
func (*IssueGroupMutationResponseBody) MarshalJSON ¶
func (i *IssueGroupMutationResponseBody) MarshalJSON() ([]byte, error)
func (*IssueGroupMutationResponseBody) SetRequestID ¶
func (i *IssueGroupMutationResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueGroupMutationResponseBody) SetSuccess ¶
func (i *IssueGroupMutationResponseBody) SetSuccess(success bool)
SetSuccess sets the Success field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueGroupMutationResponseBody) String ¶
func (i *IssueGroupMutationResponseBody) String() string
func (*IssueGroupMutationResponseBody) UnmarshalJSON ¶
func (i *IssueGroupMutationResponseBody) UnmarshalJSON(data []byte) error
type IssueGroupsCreateRequest ¶
type IssueGroupsCreateRequest struct {
// The IDs of the issues to include in the group. At least one is required.
ChildIssueIDs []string `json:"child_issue_ids" url:"-"`
// The title of the issue group.
Title string `json:"title" url:"-"`
// contains filtered or unexported fields
}
func (*IssueGroupsCreateRequest) MarshalJSON ¶
func (i *IssueGroupsCreateRequest) MarshalJSON() ([]byte, error)
func (*IssueGroupsCreateRequest) SetChildIssueIDs ¶
func (i *IssueGroupsCreateRequest) SetChildIssueIDs(childIssueIDs []string)
SetChildIssueIDs sets the ChildIssueIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueGroupsCreateRequest) SetTitle ¶
func (i *IssueGroupsCreateRequest) SetTitle(title string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueGroupsCreateRequest) UnmarshalJSON ¶
func (i *IssueGroupsCreateRequest) UnmarshalJSON(data []byte) error
type IssueStatus ¶
type IssueStatus struct {
// The category of the issue status.
Category string `json:"category" url:"category"`
// Indicates if the issue status is archived.
IsArchived bool `json:"is_archived" url:"is_archived"`
// Indicates if the issue status is a default status.
IsDefaultStatus bool `json:"is_default_status" url:"is_default_status"`
// The label of the issue status.
Label string `json:"label" url:"label"`
// The slug of the issue status.
Slug string `json:"slug" url:"slug"`
// contains filtered or unexported fields
}
func (*IssueStatus) GetCategory ¶
func (i *IssueStatus) GetCategory() string
func (*IssueStatus) GetExtraProperties ¶
func (i *IssueStatus) GetExtraProperties() map[string]interface{}
func (*IssueStatus) GetIsArchived ¶
func (i *IssueStatus) GetIsArchived() bool
func (*IssueStatus) GetIsDefaultStatus ¶
func (i *IssueStatus) GetIsDefaultStatus() bool
func (*IssueStatus) GetLabel ¶
func (i *IssueStatus) GetLabel() string
func (*IssueStatus) GetSlug ¶
func (i *IssueStatus) GetSlug() string
func (*IssueStatus) MarshalJSON ¶
func (i *IssueStatus) MarshalJSON() ([]byte, error)
func (*IssueStatus) SetCategory ¶
func (i *IssueStatus) SetCategory(category string)
SetCategory sets the Category field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueStatus) SetIsArchived ¶
func (i *IssueStatus) SetIsArchived(isArchived bool)
SetIsArchived sets the IsArchived field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueStatus) SetIsDefaultStatus ¶
func (i *IssueStatus) SetIsDefaultStatus(isDefaultStatus bool)
SetIsDefaultStatus sets the IsDefaultStatus field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueStatus) SetLabel ¶
func (i *IssueStatus) SetLabel(label string)
SetLabel sets the Label field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueStatus) SetSlug ¶
func (i *IssueStatus) SetSlug(slug string)
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueStatus) String ¶
func (i *IssueStatus) String() string
func (*IssueStatus) UnmarshalJSON ¶
func (i *IssueStatus) UnmarshalJSON(data []byte) error
type IssueThread ¶
type IssueThread struct {
// The ID of the channel that the thread belongs to, if the thread is being synced with a chat platform.
ChannelID *string `json:"channel_id,omitempty" url:"channel_id,omitempty"`
// The destination for messages in this thread, such as slack, email, or linear. None for Pylon-only threads.
//
// Known values: `email`, `slack`, `chat_widget`, `customer_portal`, `none`, `microsoft_teams`, `microsoft_teams_chat`, `discord`, `google_chat`, `whatsapp`, `telegram`, `sms`, `linear`, `jira`, `github`, `asana`, `shortcut`, `zendesk`, `salesforce_service`, `intercom`, `freshdesk`, `jira_service_management`, `hubspot_service`. This list is not exhaustive.
DeliveryMode string `json:"delivery_mode" url:"delivery_mode"`
// The ID of the thread.
ID string `json:"id" url:"id"`
// The issue ID that the thread belongs to.
IssueID string `json:"issue_id" url:"issue_id"`
// The name of the thread.
Name string `json:"name" url:"name"`
// The source of the thread.
Source *string `json:"source,omitempty" url:"source,omitempty"`
// The ID of the thread that the thread belongs to, if the thread is being synced with a chat platform. A thread ID for Slack would be the thread timestamp.
ThreadID *string `json:"thread_id,omitempty" url:"thread_id,omitempty"`
// contains filtered or unexported fields
}
A thread of notes on an issue, for internal discussions not visible to the customer. Threads can be created manually through the UI or from triggers. If a channel ID is set, this thread is being synced with a chat platform.
func (*IssueThread) GetChannelID ¶
func (i *IssueThread) GetChannelID() *string
func (*IssueThread) GetDeliveryMode ¶
func (i *IssueThread) GetDeliveryMode() string
func (*IssueThread) GetExtraProperties ¶
func (i *IssueThread) GetExtraProperties() map[string]interface{}
func (*IssueThread) GetID ¶
func (i *IssueThread) GetID() string
func (*IssueThread) GetIssueID ¶
func (i *IssueThread) GetIssueID() string
func (*IssueThread) GetName ¶
func (i *IssueThread) GetName() string
func (*IssueThread) GetSource ¶
func (i *IssueThread) GetSource() *string
func (*IssueThread) GetThreadID ¶
func (i *IssueThread) GetThreadID() *string
func (*IssueThread) MarshalJSON ¶
func (i *IssueThread) MarshalJSON() ([]byte, error)
func (*IssueThread) SetChannelID ¶
func (i *IssueThread) SetChannelID(channelID *string)
SetChannelID sets the ChannelID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueThread) SetDeliveryMode ¶
func (i *IssueThread) SetDeliveryMode(deliveryMode string)
SetDeliveryMode sets the DeliveryMode field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueThread) SetID ¶
func (i *IssueThread) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueThread) SetIssueID ¶
func (i *IssueThread) SetIssueID(issueID string)
SetIssueID sets the IssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueThread) SetName ¶
func (i *IssueThread) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueThread) SetSource ¶
func (i *IssueThread) SetSource(source *string)
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueThread) SetThreadID ¶
func (i *IssueThread) SetThreadID(threadID *string)
SetThreadID sets the ThreadID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssueThread) String ¶
func (i *IssueThread) String() string
func (*IssueThread) UnmarshalJSON ¶
func (i *IssueThread) UnmarshalJSON(data []byte) error
type IssuesBulkUpdateRequest ¶
type IssuesBulkUpdateRequest struct {
// The ID of the user to assign the issues to. If empty string is passed in, the issues will be unassigned.
AssigneeID *string `json:"assignee_id,omitempty" url:"-"`
// Custom fields to set on the issues. Only passed in fields are modified. Clearing a custom field is not supported in bulk; use PATCH /issues/{id}.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// Whether the issues should be visible in the customer portal.
CustomerPortalVisible *bool `json:"customer_portal_visible,omitempty" url:"-"`
// The IDs of the issues to update. Must contain between 1 and 100 IDs.
IssueIDs []string `json:"issue_ids" url:"-"`
// The state to move the issues to. Standard values are `new`, `waiting_on_you`, `waiting_on_customer`, `on_hold`, and `closed`; custom status slugs are also supported.
State *string `json:"state,omitempty" url:"-"`
// Tags to apply to the issues, according to tags_apply_mode.
Tags []string `json:"tags,omitempty" url:"-"`
// The mode for applying tags. Valid values: "append_only", "remove_only", "replace". Defaults to "replace".
TagsApplyMode *UpdateIssuesRequestTagsApplyMode `json:"tags_apply_mode,omitempty" url:"-"`
// The ID of the team to assign the issues to. If empty string is passed in, the team will be removed. Team assignment is applied asynchronously.
TeamID *string `json:"team_id,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*IssuesBulkUpdateRequest) MarshalJSON ¶
func (i *IssuesBulkUpdateRequest) MarshalJSON() ([]byte, error)
func (*IssuesBulkUpdateRequest) SetAssigneeID ¶
func (i *IssuesBulkUpdateRequest) SetAssigneeID(assigneeID *string)
SetAssigneeID sets the AssigneeID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesBulkUpdateRequest) SetCustomFields ¶
func (i *IssuesBulkUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesBulkUpdateRequest) SetCustomerPortalVisible ¶
func (i *IssuesBulkUpdateRequest) SetCustomerPortalVisible(customerPortalVisible *bool)
SetCustomerPortalVisible sets the CustomerPortalVisible field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesBulkUpdateRequest) SetIssueIDs ¶
func (i *IssuesBulkUpdateRequest) SetIssueIDs(issueIDs []string)
SetIssueIDs sets the IssueIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesBulkUpdateRequest) SetState ¶
func (i *IssuesBulkUpdateRequest) SetState(state *string)
SetState sets the State field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesBulkUpdateRequest) SetTags ¶
func (i *IssuesBulkUpdateRequest) SetTags(tags []string)
SetTags sets the Tags field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesBulkUpdateRequest) SetTagsApplyMode ¶
func (i *IssuesBulkUpdateRequest) SetTagsApplyMode(tagsApplyMode *UpdateIssuesRequestTagsApplyMode)
SetTagsApplyMode sets the TagsApplyMode field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesBulkUpdateRequest) SetTeamID ¶
func (i *IssuesBulkUpdateRequest) SetTeamID(teamID *string)
SetTeamID sets the TeamID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesBulkUpdateRequest) UnmarshalJSON ¶
func (i *IssuesBulkUpdateRequest) UnmarshalJSON(data []byte) error
type IssuesCreateAiResponseRequest ¶
type IssuesCreateAiResponseRequest struct {
// The ID or number of the issue to create an AI response for.
IssueID string `json:"-" url:"-"`
// The ID of the AI agent to use to create the AI response.
AiAgentID string `json:"ai_agent_id" url:"-"`
// Whether to post the AI response as an internal note on the issue.
PostAsInternalNote *bool `json:"post_as_internal_note,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*IssuesCreateAiResponseRequest) MarshalJSON ¶
func (i *IssuesCreateAiResponseRequest) MarshalJSON() ([]byte, error)
func (*IssuesCreateAiResponseRequest) SetAiAgentID ¶
func (i *IssuesCreateAiResponseRequest) SetAiAgentID(aiAgentID string)
SetAiAgentID sets the AiAgentID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateAiResponseRequest) SetIssueID ¶
func (i *IssuesCreateAiResponseRequest) SetIssueID(issueID string)
SetIssueID sets the IssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateAiResponseRequest) SetPostAsInternalNote ¶
func (i *IssuesCreateAiResponseRequest) SetPostAsInternalNote(postAsInternalNote *bool)
SetPostAsInternalNote sets the PostAsInternalNote field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateAiResponseRequest) UnmarshalJSON ¶
func (i *IssuesCreateAiResponseRequest) UnmarshalJSON(data []byte) error
type IssuesCreateDraftReplyRequest ¶
type IssuesCreateDraftReplyRequest struct {
// The ID of the issue.
IssueID string `json:"-" url:"-"`
// The draft's BCC recipients. See to_emails.
BccEmails []string `json:"bcc_emails,omitempty" url:"-"`
// The draft body in HTML.
BodyHTML string `json:"body_html" url:"-"`
// The draft's CC recipients. See to_emails.
CcEmails []string `json:"cc_emails,omitempty" url:"-"`
// The draft's To recipients. If any of to_emails, cc_emails, or bcc_emails is provided, the draft uses exactly those lists and an omitted list is saved empty; omit all three to use the composer's default recipients.
ToEmails []string `json:"to_emails,omitempty" url:"-"`
// The active Pylon user who should own and see the draft. Defaults to the API-token user when it is a human Pylon user; required for unlinked or service API tokens.
UserID *string `json:"user_id,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*IssuesCreateDraftReplyRequest) MarshalJSON ¶
func (i *IssuesCreateDraftReplyRequest) MarshalJSON() ([]byte, error)
func (*IssuesCreateDraftReplyRequest) SetBccEmails ¶
func (i *IssuesCreateDraftReplyRequest) SetBccEmails(bccEmails []string)
SetBccEmails sets the BccEmails field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateDraftReplyRequest) SetBodyHTML ¶
func (i *IssuesCreateDraftReplyRequest) SetBodyHTML(bodyHTML string)
SetBodyHTML sets the BodyHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateDraftReplyRequest) SetCcEmails ¶
func (i *IssuesCreateDraftReplyRequest) SetCcEmails(ccEmails []string)
SetCcEmails sets the CcEmails field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateDraftReplyRequest) SetIssueID ¶
func (i *IssuesCreateDraftReplyRequest) SetIssueID(issueID string)
SetIssueID sets the IssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateDraftReplyRequest) SetToEmails ¶
func (i *IssuesCreateDraftReplyRequest) SetToEmails(toEmails []string)
SetToEmails sets the ToEmails field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateDraftReplyRequest) SetUserID ¶
func (i *IssuesCreateDraftReplyRequest) SetUserID(userID *string)
SetUserID sets the UserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateDraftReplyRequest) UnmarshalJSON ¶
func (i *IssuesCreateDraftReplyRequest) UnmarshalJSON(data []byte) error
type IssuesCreateNoteRequest ¶
type IssuesCreateNoteRequest struct {
// The ID of the issue.
IssueID string `json:"-" url:"-"`
// URLs of files to attach to this internal note.
AttachmentURLs []string `json:"attachment_urls,omitempty" url:"-"`
// The body of the message in HTML.
BodyHTML string `json:"body_html" url:"-"`
// The ID of an internal note whose thread should receive the new note. Use the top-level `id` from GET /issues/{id}/messages. Cannot be combined with thread_id.
MessageID *string `json:"message_id,omitempty" url:"-"`
// The ID of the internal thread to post the note to. Use the `id` field (not `thread_id`) from GET /issues/{id}/threads. Cannot be combined with message_id.
ThreadID *string `json:"thread_id,omitempty" url:"-"`
// Optional name for a new Pylon-only internal thread. Used only when neither thread_id nor message_id is provided and no Slack-backed internal thread exists.
ThreadName *string `json:"thread_name,omitempty" url:"-"`
// Optional user ID to post the message as. If not provided, the API token user will be used.
UserID *string `json:"user_id,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*IssuesCreateNoteRequest) MarshalJSON ¶
func (i *IssuesCreateNoteRequest) MarshalJSON() ([]byte, error)
func (*IssuesCreateNoteRequest) SetAttachmentURLs ¶
func (i *IssuesCreateNoteRequest) SetAttachmentURLs(attachmentURLs []string)
SetAttachmentURLs sets the AttachmentURLs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateNoteRequest) SetBodyHTML ¶
func (i *IssuesCreateNoteRequest) SetBodyHTML(bodyHTML string)
SetBodyHTML sets the BodyHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateNoteRequest) SetIssueID ¶
func (i *IssuesCreateNoteRequest) SetIssueID(issueID string)
SetIssueID sets the IssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateNoteRequest) SetMessageID ¶
func (i *IssuesCreateNoteRequest) SetMessageID(messageID *string)
SetMessageID sets the MessageID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateNoteRequest) SetThreadID ¶
func (i *IssuesCreateNoteRequest) SetThreadID(threadID *string)
SetThreadID sets the ThreadID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateNoteRequest) SetThreadName ¶
func (i *IssuesCreateNoteRequest) SetThreadName(threadName *string)
SetThreadName sets the ThreadName field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateNoteRequest) SetUserID ¶
func (i *IssuesCreateNoteRequest) SetUserID(userID *string)
SetUserID sets the UserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateNoteRequest) UnmarshalJSON ¶
func (i *IssuesCreateNoteRequest) UnmarshalJSON(data []byte) error
type IssuesCreateRequest ¶
type IssuesCreateRequest struct {
// The account that this issue belongs to. If requester_id is also provided, the requester must belong to this account. If requester_email is provided, the contact is found or created in this account.
AccountID *string `json:"account_id,omitempty" url:"-"`
// The user the issue should be assigned to.
AssigneeID *string `json:"assignee_id,omitempty" url:"-"`
// URLs of files to attach to the issue's first message.
AttachmentURLs []string `json:"attachment_urls,omitempty" url:"-"`
// Whether the requester's identity has NOT been verified. Defaults to false (verified).
AuthorUnverified *bool `json:"author_unverified,omitempty" url:"-"`
// The HTML content of the body of the issue.
BodyHTML string `json:"body_html" url:"-"`
// The contact to attribute the first message to. This controls the message author, not the issue requester. Makes the message appear as a customer message rather than an internal note. Only one of user_id or contact_id can be provided. Requires destination_metadata.
ContactID *string `json:"contact_id,omitempty" url:"-"`
// Timestamp of when the issue was created. If not specified, the current time will be used. (RFC3339)
CreatedAt *time.Time `json:"created_at,omitempty" url:"-"`
// An array of custom fields to be used on this issue.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// The ID of a custom issue source (created in the App Directory under Chat > Add Custom Chat App). Sets the issue source to the custom source's slug. Use this for channels Pylon doesn't natively support (e.g. WeChat). Cannot be combined with destination_metadata.
CustomIssueSourceID *string `json:"custom_issue_source_id,omitempty" url:"-"`
// Whether the issue should be visible in the customer portal. When destination is "customer_portal", this is set to true and cannot be false.
CustomerPortalVisible *bool `json:"customer_portal_visible,omitempty" url:"-"`
DestinationMetadata *DestinationMetadata `json:"destination_metadata,omitempty" url:"-"`
// The priority of the issue. Can be one of: urgent, high, medium, or low.
Priority *CreateIssueRequestPriority `json:"priority,omitempty" url:"-"`
// The URL of an avatar of the requester.
RequesterAvatarURL *string `json:"requester_avatar_url,omitempty" url:"-"`
// The email of the customer this issue is for. Used when requester_id is omitted. If no matching contact exists, one will be created. When account_id is provided, the contact is found or created in that account. This does not control who authored the first message.
RequesterEmail *string `json:"requester_email,omitempty" url:"-"`
// The customer this issue is for. Sets the "Requester" shown in the issue sidebar but does not control who authored the first message. If account_id is omitted, the requester's primary account is used when available. If requester_email is also provided, requester_id takes precedence.
RequesterID *string `json:"requester_id,omitempty" url:"-"`
// The optional full name of the requester. Used when creating a new contact via requester_email.
RequesterName *string `json:"requester_name,omitempty" url:"-"`
// The phone number of a new requester. Only supported for direct WhatsApp delivery and cannot be combined with requester_id, requester_email, requester_name, or requester_avatar_url. The number is normalized to E.164 format and used to create a phone-only contact in the same transaction as the issue.
RequesterPhoneNumber *string `json:"requester_phone_number,omitempty" url:"-"`
// An array of strings to use as tags on this issue. If provided, the issue tags will be updated to the given tags.
Tags []string `json:"tags,omitempty" url:"-"`
// The ID of the team this issue should be assigned to.
TeamID *string `json:"team_id,omitempty" url:"-"`
// The title of the issue.
Title string `json:"title" url:"-"`
// The internal Pylon user to attribute the first message to. This does not assign the user as the requester. Only one of user_id or contact_id can be provided. If neither is set, the API token's user is used.
UserID *string `json:"user_id,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*IssuesCreateRequest) MarshalJSON ¶
func (i *IssuesCreateRequest) MarshalJSON() ([]byte, error)
func (*IssuesCreateRequest) SetAccountID ¶
func (i *IssuesCreateRequest) SetAccountID(accountID *string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetAssigneeID ¶
func (i *IssuesCreateRequest) SetAssigneeID(assigneeID *string)
SetAssigneeID sets the AssigneeID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetAttachmentURLs ¶
func (i *IssuesCreateRequest) SetAttachmentURLs(attachmentURLs []string)
SetAttachmentURLs sets the AttachmentURLs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetAuthorUnverified ¶
func (i *IssuesCreateRequest) SetAuthorUnverified(authorUnverified *bool)
SetAuthorUnverified sets the AuthorUnverified field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetBodyHTML ¶
func (i *IssuesCreateRequest) SetBodyHTML(bodyHTML string)
SetBodyHTML sets the BodyHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetContactID ¶
func (i *IssuesCreateRequest) SetContactID(contactID *string)
SetContactID sets the ContactID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetCreatedAt ¶
func (i *IssuesCreateRequest) SetCreatedAt(createdAt *time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetCustomFields ¶
func (i *IssuesCreateRequest) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetCustomIssueSourceID ¶
func (i *IssuesCreateRequest) SetCustomIssueSourceID(customIssueSourceID *string)
SetCustomIssueSourceID sets the CustomIssueSourceID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetCustomerPortalVisible ¶
func (i *IssuesCreateRequest) SetCustomerPortalVisible(customerPortalVisible *bool)
SetCustomerPortalVisible sets the CustomerPortalVisible field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetDestinationMetadata ¶
func (i *IssuesCreateRequest) SetDestinationMetadata(destinationMetadata *DestinationMetadata)
SetDestinationMetadata sets the DestinationMetadata field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetPriority ¶
func (i *IssuesCreateRequest) SetPriority(priority *CreateIssueRequestPriority)
SetPriority sets the Priority field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetRequesterAvatarURL ¶
func (i *IssuesCreateRequest) SetRequesterAvatarURL(requesterAvatarURL *string)
SetRequesterAvatarURL sets the RequesterAvatarURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetRequesterEmail ¶
func (i *IssuesCreateRequest) SetRequesterEmail(requesterEmail *string)
SetRequesterEmail sets the RequesterEmail field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetRequesterID ¶
func (i *IssuesCreateRequest) SetRequesterID(requesterID *string)
SetRequesterID sets the RequesterID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetRequesterName ¶
func (i *IssuesCreateRequest) SetRequesterName(requesterName *string)
SetRequesterName sets the RequesterName field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetRequesterPhoneNumber ¶
func (i *IssuesCreateRequest) SetRequesterPhoneNumber(requesterPhoneNumber *string)
SetRequesterPhoneNumber sets the RequesterPhoneNumber field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetTags ¶
func (i *IssuesCreateRequest) SetTags(tags []string)
SetTags sets the Tags field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetTeamID ¶
func (i *IssuesCreateRequest) SetTeamID(teamID *string)
SetTeamID sets the TeamID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetTitle ¶
func (i *IssuesCreateRequest) SetTitle(title string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) SetUserID ¶
func (i *IssuesCreateRequest) SetUserID(userID *string)
SetUserID sets the UserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesCreateRequest) UnmarshalJSON ¶
func (i *IssuesCreateRequest) UnmarshalJSON(data []byte) error
type IssuesDeleteRequest ¶
type IssuesDeleteRequest struct {
// The ID of the issue to delete.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*IssuesDeleteRequest) SetID ¶
func (i *IssuesDeleteRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type IssuesGetRequest ¶
type IssuesGetRequest struct {
// The ID or number of the issue to fetch.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*IssuesGetRequest) SetID ¶
func (i *IssuesGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type IssuesLinkExternalIncidentRequest ¶
type IssuesLinkExternalIncidentRequest struct {
// The ID or number of the issue to link the incident to.
IssueID string `json:"-" url:"-"`
// The incident's reference (such as INC-123 or ROOT-123) or its ID in the incident system.
IncidentID string `json:"incident_id" url:"-"`
// Operation to perform. Use "link" to link the incident (default) or "unlink" to unlink it.
Operation *string `json:"operation,omitempty" url:"-"`
// The incident system the incident belongs to. It must be connected to the organization.
// Valid values: "incident_io", "rootly"
Source LinkExternalIncidentRequestBodySource `json:"source" url:"-"`
// contains filtered or unexported fields
}
func (*IssuesLinkExternalIncidentRequest) MarshalJSON ¶
func (i *IssuesLinkExternalIncidentRequest) MarshalJSON() ([]byte, error)
func (*IssuesLinkExternalIncidentRequest) SetIncidentID ¶
func (i *IssuesLinkExternalIncidentRequest) SetIncidentID(incidentID string)
SetIncidentID sets the IncidentID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesLinkExternalIncidentRequest) SetIssueID ¶
func (i *IssuesLinkExternalIncidentRequest) SetIssueID(issueID string)
SetIssueID sets the IssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesLinkExternalIncidentRequest) SetOperation ¶
func (i *IssuesLinkExternalIncidentRequest) SetOperation(operation *string)
SetOperation sets the Operation field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesLinkExternalIncidentRequest) SetSource ¶
func (i *IssuesLinkExternalIncidentRequest) SetSource(source LinkExternalIncidentRequestBodySource)
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesLinkExternalIncidentRequest) UnmarshalJSON ¶
func (i *IssuesLinkExternalIncidentRequest) UnmarshalJSON(data []byte) error
type IssuesLinkExternalIssueRequest ¶
type IssuesLinkExternalIssueRequest struct {
// The ID or number of the issue to link external issues to.
IssueID string `json:"-" url:"-"`
// The ID of the external issue in the source system.
ExternalIssueID string `json:"external_issue_id" url:"-"`
// Operation to perform. Use "link" to link issues (default) or "unlink" to unlink issues.
Operation *string `json:"operation,omitempty" url:"-"`
// The source system of the external issue (e.g., "linear", "asana", "jira", "github", "shortcut").
Source string `json:"source" url:"-"`
// contains filtered or unexported fields
}
func (*IssuesLinkExternalIssueRequest) MarshalJSON ¶
func (i *IssuesLinkExternalIssueRequest) MarshalJSON() ([]byte, error)
func (*IssuesLinkExternalIssueRequest) SetExternalIssueID ¶
func (i *IssuesLinkExternalIssueRequest) SetExternalIssueID(externalIssueID string)
SetExternalIssueID sets the ExternalIssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesLinkExternalIssueRequest) SetIssueID ¶
func (i *IssuesLinkExternalIssueRequest) SetIssueID(issueID string)
SetIssueID sets the IssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesLinkExternalIssueRequest) SetOperation ¶
func (i *IssuesLinkExternalIssueRequest) SetOperation(operation *string)
SetOperation sets the Operation field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesLinkExternalIssueRequest) SetSource ¶
func (i *IssuesLinkExternalIssueRequest) SetSource(source string)
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesLinkExternalIssueRequest) UnmarshalJSON ¶
func (i *IssuesLinkExternalIssueRequest) UnmarshalJSON(data []byte) error
type IssuesListRequest ¶
type IssuesListRequest struct {
// The start of the time range, filtering on the issue's created_at (inclusive). Use RFC3339 with Z or a URL-encoded offset (%2B). The duration between start_time and end_time must be less than or equal to 365 days.
StartTime time.Time `json:"-" url:"start_time"`
// The end of the time range, filtering on the issue's created_at (exclusive). Use RFC3339 with Z or a URL-encoded offset (%2B). The duration between start_time and end_time must be less than or equal to 365 days.
EndTime time.Time `json:"-" url:"end_time"`
// The cursor to use for pagination.
Cursor *string `json:"-" url:"cursor,omitempty"`
// The number of issues to fetch. Defaults to 20000. Set to 0 or omit to use the default. Must be between 0 and 20000.
Limit *int64 `json:"-" url:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*IssuesListRequest) SetCursor ¶
func (i *IssuesListRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesListRequest) SetEndTime ¶
func (i *IssuesListRequest) SetEndTime(endTime time.Time)
SetEndTime sets the EndTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesListRequest) SetLimit ¶
func (i *IssuesListRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesListRequest) SetStartTime ¶
func (i *IssuesListRequest) SetStartTime(startTime time.Time)
SetStartTime sets the StartTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type IssuesMarkSpamRequest ¶
type IssuesMarkSpamRequest struct {
// The IDs of the issues to mark as spam. Must contain between 1 and 100 IDs.
IssueIDs []string `json:"issue_ids" url:"-"`
// contains filtered or unexported fields
}
func (*IssuesMarkSpamRequest) MarshalJSON ¶
func (i *IssuesMarkSpamRequest) MarshalJSON() ([]byte, error)
func (*IssuesMarkSpamRequest) SetIssueIDs ¶
func (i *IssuesMarkSpamRequest) SetIssueIDs(issueIDs []string)
SetIssueIDs sets the IssueIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesMarkSpamRequest) UnmarshalJSON ¶
func (i *IssuesMarkSpamRequest) UnmarshalJSON(data []byte) error
type IssuesMergeRequest ¶
type IssuesMergeRequest struct {
// Optional plain-text message sent to the customer on each merged Slack or form issue before it is merged.
ClosingMessage *string `json:"closing_message,omitempty" url:"-"`
// The IDs or numbers of the issues to merge into the primary issue. Must contain between 1 and 50 issues, all in the same account as the primary issue.
DuplicateIssueIDs []string `json:"duplicate_issue_ids" url:"-"`
// The ID or number of the issue to merge into. It keeps its ID and receives the messages of the merged issues.
PrimaryIssueID string `json:"primary_issue_id" url:"-"`
// contains filtered or unexported fields
}
func (*IssuesMergeRequest) MarshalJSON ¶
func (i *IssuesMergeRequest) MarshalJSON() ([]byte, error)
func (*IssuesMergeRequest) SetClosingMessage ¶
func (i *IssuesMergeRequest) SetClosingMessage(closingMessage *string)
SetClosingMessage sets the ClosingMessage field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesMergeRequest) SetDuplicateIssueIDs ¶
func (i *IssuesMergeRequest) SetDuplicateIssueIDs(duplicateIssueIDs []string)
SetDuplicateIssueIDs sets the DuplicateIssueIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesMergeRequest) SetPrimaryIssueID ¶
func (i *IssuesMergeRequest) SetPrimaryIssueID(primaryIssueID string)
SetPrimaryIssueID sets the PrimaryIssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesMergeRequest) UnmarshalJSON ¶
func (i *IssuesMergeRequest) UnmarshalJSON(data []byte) error
type IssuesReplyRequest ¶
type IssuesReplyRequest struct {
// The ID of the issue.
IssueID string `json:"-" url:"-"`
// URLs of files to attach to this reply.
AttachmentURLs []string `json:"attachment_urls,omitempty" url:"-"`
// The body of the message in HTML.
BodyHTML string `json:"body_html" url:"-"`
// Optional contact ID to post the message as. Only one of user_id or contact_id can be provided.
ContactID *string `json:"contact_id,omitempty" url:"-"`
CustomSource *CustomSourceInfo `json:"custom_source,omitempty" url:"-"`
EmailInfo *CreateIssueReplyEmailInfo `json:"email_info,omitempty" url:"-"`
// The top-level Pylon message ID to reply to, from the `id` field returned by GET /issues/{id}/messages. The message must belong to the issue in the request path and must be customer-visible, not an internal note. This selects the external conversation or thread where the reply is delivered. For email, it also sets the In-Reply-To and References chain. Do not use a provider-specific message ID or email_info.message_id.
MessageID string `json:"message_id" url:"-"`
// Optional user ID to post the message as. Only one of user_id or contact_id can be provided.
UserID *string `json:"user_id,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*IssuesReplyRequest) MarshalJSON ¶
func (i *IssuesReplyRequest) MarshalJSON() ([]byte, error)
func (*IssuesReplyRequest) SetAttachmentURLs ¶
func (i *IssuesReplyRequest) SetAttachmentURLs(attachmentURLs []string)
SetAttachmentURLs sets the AttachmentURLs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesReplyRequest) SetBodyHTML ¶
func (i *IssuesReplyRequest) SetBodyHTML(bodyHTML string)
SetBodyHTML sets the BodyHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesReplyRequest) SetContactID ¶
func (i *IssuesReplyRequest) SetContactID(contactID *string)
SetContactID sets the ContactID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesReplyRequest) SetCustomSource ¶
func (i *IssuesReplyRequest) SetCustomSource(customSource *CustomSourceInfo)
SetCustomSource sets the CustomSource field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesReplyRequest) SetEmailInfo ¶
func (i *IssuesReplyRequest) SetEmailInfo(emailInfo *CreateIssueReplyEmailInfo)
SetEmailInfo sets the EmailInfo field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesReplyRequest) SetIssueID ¶
func (i *IssuesReplyRequest) SetIssueID(issueID string)
SetIssueID sets the IssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesReplyRequest) SetMessageID ¶
func (i *IssuesReplyRequest) SetMessageID(messageID string)
SetMessageID sets the MessageID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesReplyRequest) SetUserID ¶
func (i *IssuesReplyRequest) SetUserID(userID *string)
SetUserID sets the UserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesReplyRequest) UnmarshalJSON ¶
func (i *IssuesReplyRequest) UnmarshalJSON(data []byte) error
type IssuesSearchRequest ¶
type IssuesSearchRequest struct {
// The cursor to use for pagination.
Cursor *string `json:"cursor,omitempty" url:"-"`
Filter *Filter `json:"filter,omitempty" url:"-"`
// The number of issues to fetch. Defaults to 100. Must be between 1 and 1000.
Limit *int64 `json:"limit,omitempty" url:"-"`
// Fuzzy text search. Results are intersected with any provided filter.
SearchText *string `json:"search_text,omitempty" url:"-"`
// The order of results, as a list of sort keys. Only one sort key is supported right now. Omit for the default order. Send the same sort with every page of a cursor.
Sort []*SearchIssuesSort `json:"sort,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*IssuesSearchRequest) MarshalJSON ¶
func (i *IssuesSearchRequest) MarshalJSON() ([]byte, error)
func (*IssuesSearchRequest) SetCursor ¶
func (i *IssuesSearchRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesSearchRequest) SetFilter ¶
func (i *IssuesSearchRequest) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesSearchRequest) SetLimit ¶
func (i *IssuesSearchRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesSearchRequest) SetSearchText ¶
func (i *IssuesSearchRequest) SetSearchText(searchText *string)
SetSearchText sets the SearchText field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesSearchRequest) SetSort ¶
func (i *IssuesSearchRequest) SetSort(sort []*SearchIssuesSort)
SetSort sets the Sort field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesSearchRequest) UnmarshalJSON ¶
func (i *IssuesSearchRequest) UnmarshalJSON(data []byte) error
type IssuesSnoozeRequest ¶
type IssuesSnoozeRequest struct {
// The ID or number of the issue to snooze.
IssueID string `json:"-" url:"-"`
// The date and time to snooze the issue until. (RFC3339)
SnoozeUntil time.Time `json:"snooze_until" url:"-"`
// contains filtered or unexported fields
}
func (*IssuesSnoozeRequest) MarshalJSON ¶
func (i *IssuesSnoozeRequest) MarshalJSON() ([]byte, error)
func (*IssuesSnoozeRequest) SetIssueID ¶
func (i *IssuesSnoozeRequest) SetIssueID(issueID string)
SetIssueID sets the IssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesSnoozeRequest) SetSnoozeUntil ¶
func (i *IssuesSnoozeRequest) SetSnoozeUntil(snoozeUntil time.Time)
SetSnoozeUntil sets the SnoozeUntil field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesSnoozeRequest) UnmarshalJSON ¶
func (i *IssuesSnoozeRequest) UnmarshalJSON(data []byte) error
type IssuesUpdateRequest ¶
type IssuesUpdateRequest struct {
// The ID of the issue to update.
ID string `json:"-" url:"-"`
// The ID of the account that this issue belongs to. To remove the account, pass an empty string and also provide requester_id. The requester can be cleared with an empty string or retained if it has no account memberships. Account removal is supported only for manual, form, and email issues.
AccountID *string `json:"account_id,omitempty" url:"-"`
// The ID of the user who should be assigned to this issue. If empty string is passed in, the issue assignee will be removed.
AssigneeID *string `json:"assignee_id,omitempty" url:"-"`
// An array of custom fields to be used on this issue. Only passed in fields will be modified.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// The customer-facing title displayed in the customer portal, separate from the internal issue title. At most 191 characters. Pass an empty string to clear it. Omit to leave unchanged.
CustomerPortalTitle *string `json:"customer_portal_title,omitempty" url:"-"`
// Whether the issue should be visible in the customer portal.
CustomerPortalVisible *bool `json:"customer_portal_visible,omitempty" url:"-"`
// The ID of the requester that this issue is on behalf of. If an empty string is passed, the requester will be removed. This field must be provided when removing the issue's account, and a retained requester must not belong to any account.
RequesterID *string `json:"requester_id,omitempty" url:"-"`
// Deprecated: Use requester_id instead.
RequestorID *string `json:"requestor_id,omitempty" url:"-"`
// The state this issue should be moved to. Standard values are `new`, `waiting_on_you`, `waiting_on_customer`, `on_hold`, and `closed`; custom status slugs are also supported.
State *string `json:"state,omitempty" url:"-"`
// An array of strings to use as tags on this issue, applied according to tags_apply_mode. By default the issue tags will be updated to be exactly the given tags.
Tags []string `json:"tags,omitempty" url:"-"`
// The mode for applying tags. Valid values: "append_only", "remove_only", "replace". Defaults to "replace".
TagsApplyMode *UpdateIssueRequestBodyTagsApplyMode `json:"tags_apply_mode,omitempty" url:"-"`
// The ID of the team this issue should be assigned to. If empty string is passed in, any assigned team will be removed.
TeamID *string `json:"team_id,omitempty" url:"-"`
// The title of the issue.
Title *string `json:"title,omitempty" url:"-"`
// The type of the issue. Set to "ticket" to upgrade a conversation to a support ticket. Cannot be downgraded from "ticket" to "conversation".
Type *UpdateIssueRequestBodyType `json:"type,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*IssuesUpdateRequest) MarshalJSON ¶
func (i *IssuesUpdateRequest) MarshalJSON() ([]byte, error)
func (*IssuesUpdateRequest) SetAccountID ¶
func (i *IssuesUpdateRequest) SetAccountID(accountID *string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesUpdateRequest) SetAssigneeID ¶
func (i *IssuesUpdateRequest) SetAssigneeID(assigneeID *string)
SetAssigneeID sets the AssigneeID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesUpdateRequest) SetCustomFields ¶
func (i *IssuesUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesUpdateRequest) SetCustomerPortalTitle ¶
func (i *IssuesUpdateRequest) SetCustomerPortalTitle(customerPortalTitle *string)
SetCustomerPortalTitle sets the CustomerPortalTitle field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesUpdateRequest) SetCustomerPortalVisible ¶
func (i *IssuesUpdateRequest) SetCustomerPortalVisible(customerPortalVisible *bool)
SetCustomerPortalVisible sets the CustomerPortalVisible field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesUpdateRequest) SetID ¶
func (i *IssuesUpdateRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesUpdateRequest) SetRequesterID ¶
func (i *IssuesUpdateRequest) SetRequesterID(requesterID *string)
SetRequesterID sets the RequesterID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesUpdateRequest) SetRequestorID ¶
func (i *IssuesUpdateRequest) SetRequestorID(requestorID *string)
SetRequestorID sets the RequestorID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesUpdateRequest) SetState ¶
func (i *IssuesUpdateRequest) SetState(state *string)
SetState sets the State field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesUpdateRequest) SetTags ¶
func (i *IssuesUpdateRequest) SetTags(tags []string)
SetTags sets the Tags field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesUpdateRequest) SetTagsApplyMode ¶
func (i *IssuesUpdateRequest) SetTagsApplyMode(tagsApplyMode *UpdateIssueRequestBodyTagsApplyMode)
SetTagsApplyMode sets the TagsApplyMode field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesUpdateRequest) SetTeamID ¶
func (i *IssuesUpdateRequest) SetTeamID(teamID *string)
SetTeamID sets the TeamID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesUpdateRequest) SetTitle ¶
func (i *IssuesUpdateRequest) SetTitle(title *string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesUpdateRequest) SetType ¶
func (i *IssuesUpdateRequest) SetType(type_ *UpdateIssueRequestBodyType)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*IssuesUpdateRequest) UnmarshalJSON ¶
func (i *IssuesUpdateRequest) UnmarshalJSON(data []byte) error
type KnowledgeBase ¶
type KnowledgeBase struct {
// The ID of the theme currently used by the knowledge base. Omitted when the knowledge base uses a preset theme.
ActiveThemeID *string `json:"active_theme_id,omitempty" url:"active_theme_id,omitempty"`
// The default language of the knowledge base.
DefaultLanguage string `json:"default_language" url:"default_language"`
// The ID of the knowledge base.
ID string `json:"id" url:"id"`
// The slug of the knowledge base.
Slug string `json:"slug" url:"slug"`
// The list of supported languages for the knowledge base.
SupportedLanguages []string `json:"supported_languages,omitempty" url:"supported_languages,omitempty"`
// The name of the knowledge base.
Title string `json:"title" url:"title"`
// contains filtered or unexported fields
}
func (*KnowledgeBase) GetActiveThemeID ¶
func (k *KnowledgeBase) GetActiveThemeID() *string
func (*KnowledgeBase) GetDefaultLanguage ¶
func (k *KnowledgeBase) GetDefaultLanguage() string
func (*KnowledgeBase) GetExtraProperties ¶
func (k *KnowledgeBase) GetExtraProperties() map[string]interface{}
func (*KnowledgeBase) GetID ¶
func (k *KnowledgeBase) GetID() string
func (*KnowledgeBase) GetSlug ¶
func (k *KnowledgeBase) GetSlug() string
func (*KnowledgeBase) GetSupportedLanguages ¶
func (k *KnowledgeBase) GetSupportedLanguages() []string
func (*KnowledgeBase) GetTitle ¶
func (k *KnowledgeBase) GetTitle() string
func (*KnowledgeBase) MarshalJSON ¶
func (k *KnowledgeBase) MarshalJSON() ([]byte, error)
func (*KnowledgeBase) SetActiveThemeID ¶
func (k *KnowledgeBase) SetActiveThemeID(activeThemeID *string)
SetActiveThemeID sets the ActiveThemeID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*KnowledgeBase) SetDefaultLanguage ¶
func (k *KnowledgeBase) SetDefaultLanguage(defaultLanguage string)
SetDefaultLanguage sets the DefaultLanguage field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*KnowledgeBase) SetID ¶
func (k *KnowledgeBase) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*KnowledgeBase) SetSlug ¶
func (k *KnowledgeBase) SetSlug(slug string)
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*KnowledgeBase) SetSupportedLanguages ¶
func (k *KnowledgeBase) SetSupportedLanguages(supportedLanguages []string)
SetSupportedLanguages sets the SupportedLanguages field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*KnowledgeBase) SetTitle ¶
func (k *KnowledgeBase) SetTitle(title string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*KnowledgeBase) String ¶
func (k *KnowledgeBase) String() string
func (*KnowledgeBase) UnmarshalJSON ¶
func (k *KnowledgeBase) UnmarshalJSON(data []byte) error
type KnowledgeBaseTheme ¶
type KnowledgeBaseTheme struct {
// The editable files in the theme.
Assets []*KnowledgeBaseThemeAsset `json:"assets,omitempty" url:"assets,omitempty"`
// Whether any theme asset has changes that have not been published.
HasUnpublishedChanges bool `json:"has_unpublished_changes" url:"has_unpublished_changes"`
// The ID of the theme.
ID string `json:"id" url:"id"`
// The ID of the knowledge base that owns the theme.
KnowledgeBaseID string `json:"knowledge_base_id" url:"knowledge_base_id"`
// The name of the theme.
Name string `json:"name" url:"name"`
// contains filtered or unexported fields
}
func (*KnowledgeBaseTheme) GetAssets ¶
func (k *KnowledgeBaseTheme) GetAssets() []*KnowledgeBaseThemeAsset
func (*KnowledgeBaseTheme) GetExtraProperties ¶
func (k *KnowledgeBaseTheme) GetExtraProperties() map[string]interface{}
func (*KnowledgeBaseTheme) GetHasUnpublishedChanges ¶
func (k *KnowledgeBaseTheme) GetHasUnpublishedChanges() bool
func (*KnowledgeBaseTheme) GetID ¶
func (k *KnowledgeBaseTheme) GetID() string
func (*KnowledgeBaseTheme) GetKnowledgeBaseID ¶
func (k *KnowledgeBaseTheme) GetKnowledgeBaseID() string
func (*KnowledgeBaseTheme) GetName ¶
func (k *KnowledgeBaseTheme) GetName() string
func (*KnowledgeBaseTheme) MarshalJSON ¶
func (k *KnowledgeBaseTheme) MarshalJSON() ([]byte, error)
func (*KnowledgeBaseTheme) SetAssets ¶
func (k *KnowledgeBaseTheme) SetAssets(assets []*KnowledgeBaseThemeAsset)
SetAssets sets the Assets field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*KnowledgeBaseTheme) SetHasUnpublishedChanges ¶
func (k *KnowledgeBaseTheme) SetHasUnpublishedChanges(hasUnpublishedChanges bool)
SetHasUnpublishedChanges sets the HasUnpublishedChanges field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*KnowledgeBaseTheme) SetID ¶
func (k *KnowledgeBaseTheme) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*KnowledgeBaseTheme) SetKnowledgeBaseID ¶
func (k *KnowledgeBaseTheme) SetKnowledgeBaseID(knowledgeBaseID string)
SetKnowledgeBaseID sets the KnowledgeBaseID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*KnowledgeBaseTheme) SetName ¶
func (k *KnowledgeBaseTheme) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*KnowledgeBaseTheme) String ¶
func (k *KnowledgeBaseTheme) String() string
func (*KnowledgeBaseTheme) UnmarshalJSON ¶
func (k *KnowledgeBaseTheme) UnmarshalJSON(data []byte) error
type KnowledgeBaseThemeAsset ¶
type KnowledgeBaseThemeAsset struct {
// The type of theme asset. One of article, collection, css, footer, header, homepage, or scripts.
AssetType string `json:"asset_type" url:"asset_type"`
// The complete current content, including unpublished changes.
Content string `json:"content" url:"content"`
// Whether this asset has changes that have not been published.
HasUnpublishedChanges bool `json:"has_unpublished_changes" url:"has_unpublished_changes"`
// The complete published content. Omitted if the asset has never been published.
PublishedContent *string `json:"published_content,omitempty" url:"published_content,omitempty"`
// contains filtered or unexported fields
}
func (*KnowledgeBaseThemeAsset) GetAssetType ¶
func (k *KnowledgeBaseThemeAsset) GetAssetType() string
func (*KnowledgeBaseThemeAsset) GetContent ¶
func (k *KnowledgeBaseThemeAsset) GetContent() string
func (*KnowledgeBaseThemeAsset) GetExtraProperties ¶
func (k *KnowledgeBaseThemeAsset) GetExtraProperties() map[string]interface{}
func (*KnowledgeBaseThemeAsset) GetHasUnpublishedChanges ¶
func (k *KnowledgeBaseThemeAsset) GetHasUnpublishedChanges() bool
func (*KnowledgeBaseThemeAsset) GetPublishedContent ¶
func (k *KnowledgeBaseThemeAsset) GetPublishedContent() *string
func (*KnowledgeBaseThemeAsset) MarshalJSON ¶
func (k *KnowledgeBaseThemeAsset) MarshalJSON() ([]byte, error)
func (*KnowledgeBaseThemeAsset) SetAssetType ¶
func (k *KnowledgeBaseThemeAsset) SetAssetType(assetType string)
SetAssetType sets the AssetType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*KnowledgeBaseThemeAsset) SetContent ¶
func (k *KnowledgeBaseThemeAsset) SetContent(content string)
SetContent sets the Content field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*KnowledgeBaseThemeAsset) SetHasUnpublishedChanges ¶
func (k *KnowledgeBaseThemeAsset) SetHasUnpublishedChanges(hasUnpublishedChanges bool)
SetHasUnpublishedChanges sets the HasUnpublishedChanges field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*KnowledgeBaseThemeAsset) SetPublishedContent ¶
func (k *KnowledgeBaseThemeAsset) SetPublishedContent(publishedContent *string)
SetPublishedContent sets the PublishedContent field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*KnowledgeBaseThemeAsset) String ¶
func (k *KnowledgeBaseThemeAsset) String() string
func (*KnowledgeBaseThemeAsset) UnmarshalJSON ¶
func (k *KnowledgeBaseThemeAsset) UnmarshalJSON(data []byte) error
type KnowledgeBasesGetRequest ¶
type KnowledgeBasesGetRequest struct {
// The ID of the knowledge base.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*KnowledgeBasesGetRequest) SetID ¶
func (k *KnowledgeBasesGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type LinkExternalIncidentRequestBodySource ¶
type LinkExternalIncidentRequestBodySource string
The incident system the incident belongs to. It must be connected to the organization. Valid values: "incident_io", "rootly"
const ( LinkExternalIncidentRequestBodySourceIncidentIo LinkExternalIncidentRequestBodySource = "incident_io" LinkExternalIncidentRequestBodySourceRootly LinkExternalIncidentRequestBodySource = "rootly" )
func NewLinkExternalIncidentRequestBodySourceFromString ¶
func NewLinkExternalIncidentRequestBodySourceFromString(s string) (LinkExternalIncidentRequestBodySource, error)
type LinkExternalIncidentResponseBody ¶
type LinkExternalIncidentResponseBody struct {
Data *Issue `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*LinkExternalIncidentResponseBody) GetData ¶
func (l *LinkExternalIncidentResponseBody) GetData() *Issue
func (*LinkExternalIncidentResponseBody) GetExtraProperties ¶
func (l *LinkExternalIncidentResponseBody) GetExtraProperties() map[string]interface{}
func (*LinkExternalIncidentResponseBody) GetRequestID ¶
func (l *LinkExternalIncidentResponseBody) GetRequestID() string
func (*LinkExternalIncidentResponseBody) MarshalJSON ¶
func (l *LinkExternalIncidentResponseBody) MarshalJSON() ([]byte, error)
func (*LinkExternalIncidentResponseBody) SetData ¶
func (l *LinkExternalIncidentResponseBody) SetData(data *Issue)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*LinkExternalIncidentResponseBody) SetRequestID ¶
func (l *LinkExternalIncidentResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*LinkExternalIncidentResponseBody) String ¶
func (l *LinkExternalIncidentResponseBody) String() string
func (*LinkExternalIncidentResponseBody) UnmarshalJSON ¶
func (l *LinkExternalIncidentResponseBody) UnmarshalJSON(data []byte) error
type LinkExternalIssueResponseBody ¶
type LinkExternalIssueResponseBody struct {
Data *Issue `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*LinkExternalIssueResponseBody) GetData ¶
func (l *LinkExternalIssueResponseBody) GetData() *Issue
func (*LinkExternalIssueResponseBody) GetExtraProperties ¶
func (l *LinkExternalIssueResponseBody) GetExtraProperties() map[string]interface{}
func (*LinkExternalIssueResponseBody) GetRequestID ¶
func (l *LinkExternalIssueResponseBody) GetRequestID() string
func (*LinkExternalIssueResponseBody) MarshalJSON ¶
func (l *LinkExternalIssueResponseBody) MarshalJSON() ([]byte, error)
func (*LinkExternalIssueResponseBody) SetData ¶
func (l *LinkExternalIssueResponseBody) SetData(data *Issue)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*LinkExternalIssueResponseBody) SetRequestID ¶
func (l *LinkExternalIssueResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*LinkExternalIssueResponseBody) String ¶
func (l *LinkExternalIssueResponseBody) String() string
func (*LinkExternalIssueResponseBody) UnmarshalJSON ¶
func (l *LinkExternalIssueResponseBody) UnmarshalJSON(data []byte) error
type LinkFeatureRequestExternalIssueResponseBody ¶
type LinkFeatureRequestExternalIssueResponseBody struct {
Data *FeatureRequest `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*LinkFeatureRequestExternalIssueResponseBody) GetData ¶
func (l *LinkFeatureRequestExternalIssueResponseBody) GetData() *FeatureRequest
func (*LinkFeatureRequestExternalIssueResponseBody) GetExtraProperties ¶
func (l *LinkFeatureRequestExternalIssueResponseBody) GetExtraProperties() map[string]interface{}
func (*LinkFeatureRequestExternalIssueResponseBody) GetRequestID ¶
func (l *LinkFeatureRequestExternalIssueResponseBody) GetRequestID() string
func (*LinkFeatureRequestExternalIssueResponseBody) MarshalJSON ¶
func (l *LinkFeatureRequestExternalIssueResponseBody) MarshalJSON() ([]byte, error)
func (*LinkFeatureRequestExternalIssueResponseBody) SetData ¶
func (l *LinkFeatureRequestExternalIssueResponseBody) SetData(data *FeatureRequest)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*LinkFeatureRequestExternalIssueResponseBody) SetRequestID ¶
func (l *LinkFeatureRequestExternalIssueResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*LinkFeatureRequestExternalIssueResponseBody) String ¶
func (l *LinkFeatureRequestExternalIssueResponseBody) String() string
func (*LinkFeatureRequestExternalIssueResponseBody) UnmarshalJSON ¶
func (l *LinkFeatureRequestExternalIssueResponseBody) UnmarshalJSON(data []byte) error
type LinkTaskExternalIssueResponseBody ¶
type LinkTaskExternalIssueResponseBody struct {
Data *Task `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*LinkTaskExternalIssueResponseBody) GetData ¶
func (l *LinkTaskExternalIssueResponseBody) GetData() *Task
func (*LinkTaskExternalIssueResponseBody) GetExtraProperties ¶
func (l *LinkTaskExternalIssueResponseBody) GetExtraProperties() map[string]interface{}
func (*LinkTaskExternalIssueResponseBody) GetRequestID ¶
func (l *LinkTaskExternalIssueResponseBody) GetRequestID() string
func (*LinkTaskExternalIssueResponseBody) MarshalJSON ¶
func (l *LinkTaskExternalIssueResponseBody) MarshalJSON() ([]byte, error)
func (*LinkTaskExternalIssueResponseBody) SetData ¶
func (l *LinkTaskExternalIssueResponseBody) SetData(data *Task)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*LinkTaskExternalIssueResponseBody) SetRequestID ¶
func (l *LinkTaskExternalIssueResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*LinkTaskExternalIssueResponseBody) String ¶
func (l *LinkTaskExternalIssueResponseBody) String() string
func (*LinkTaskExternalIssueResponseBody) UnmarshalJSON ¶
func (l *LinkTaskExternalIssueResponseBody) UnmarshalJSON(data []byte) error
type LinkTaskIssueResponseBody ¶
type LinkTaskIssueResponseBody struct {
Data *Task `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*LinkTaskIssueResponseBody) GetData ¶
func (l *LinkTaskIssueResponseBody) GetData() *Task
func (*LinkTaskIssueResponseBody) GetExtraProperties ¶
func (l *LinkTaskIssueResponseBody) GetExtraProperties() map[string]interface{}
func (*LinkTaskIssueResponseBody) GetRequestID ¶
func (l *LinkTaskIssueResponseBody) GetRequestID() string
func (*LinkTaskIssueResponseBody) MarshalJSON ¶
func (l *LinkTaskIssueResponseBody) MarshalJSON() ([]byte, error)
func (*LinkTaskIssueResponseBody) SetData ¶
func (l *LinkTaskIssueResponseBody) SetData(data *Task)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*LinkTaskIssueResponseBody) SetRequestID ¶
func (l *LinkTaskIssueResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*LinkTaskIssueResponseBody) String ¶
func (l *LinkTaskIssueResponseBody) String() string
func (*LinkTaskIssueResponseBody) UnmarshalJSON ¶
func (l *LinkTaskIssueResponseBody) UnmarshalJSON(data []byte) error
type ListCustomFieldsRequestObjectType ¶
type ListCustomFieldsRequestObjectType string
const ( ListCustomFieldsRequestObjectTypeAccount ListCustomFieldsRequestObjectType = "account" ListCustomFieldsRequestObjectTypeIssue ListCustomFieldsRequestObjectType = "issue" ListCustomFieldsRequestObjectTypeContact ListCustomFieldsRequestObjectType = "contact" ListCustomFieldsRequestObjectTypeTask ListCustomFieldsRequestObjectType = "task" ListCustomFieldsRequestObjectTypeProject ListCustomFieldsRequestObjectType = "project" ListCustomFieldsRequestObjectTypeMeeting ListCustomFieldsRequestObjectType = "meeting" ListCustomFieldsRequestObjectTypeOpportunity ListCustomFieldsRequestObjectType = "opportunity" ListCustomFieldsRequestObjectTypeFeatureRequest ListCustomFieldsRequestObjectType = "feature_request" )
func NewListCustomFieldsRequestObjectTypeFromString ¶
func NewListCustomFieldsRequestObjectTypeFromString(s string) (ListCustomFieldsRequestObjectType, error)
func (ListCustomFieldsRequestObjectType) Ptr ¶
func (l ListCustomFieldsRequestObjectType) Ptr() *ListCustomFieldsRequestObjectType
type ListTrainingDataResponseBody ¶
type ListTrainingDataResponseBody struct {
Data []*TrainingData `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*ListTrainingDataResponseBody) GetData ¶
func (l *ListTrainingDataResponseBody) GetData() []*TrainingData
func (*ListTrainingDataResponseBody) GetExtraProperties ¶
func (l *ListTrainingDataResponseBody) GetExtraProperties() map[string]interface{}
func (*ListTrainingDataResponseBody) GetRequestID ¶
func (l *ListTrainingDataResponseBody) GetRequestID() string
func (*ListTrainingDataResponseBody) MarshalJSON ¶
func (l *ListTrainingDataResponseBody) MarshalJSON() ([]byte, error)
func (*ListTrainingDataResponseBody) SetData ¶
func (l *ListTrainingDataResponseBody) SetData(data []*TrainingData)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ListTrainingDataResponseBody) SetRequestID ¶
func (l *ListTrainingDataResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ListTrainingDataResponseBody) String ¶
func (l *ListTrainingDataResponseBody) String() string
func (*ListTrainingDataResponseBody) UnmarshalJSON ¶
func (l *ListTrainingDataResponseBody) UnmarshalJSON(data []byte) error
type Macro ¶
type Macro struct {
// The actions that execute when this macro is applied.
Actions []*MacroAction `json:"actions,omitempty" url:"actions,omitempty"`
// The time the macro was created.
CreatedAt time.Time `json:"created_at" url:"created_at"`
EditVisibility *Visibility `json:"edit_visibility,omitempty" url:"edit_visibility,omitempty"`
// Whether this macro has actions that execute when applied.
HasActions bool `json:"has_actions" url:"has_actions"`
// The ID of the macro.
ID string `json:"id" url:"id"`
// The ID of the macro group this macro belongs to.
MacroGroupID string `json:"macro_group_id" url:"macro_group_id"`
// The name of the macro.
Name string `json:"name" url:"name"`
// The HTML content of the macro.
TextHTML string `json:"text_html" url:"text_html"`
// The type of text: "reply", "note", or "email".
TextType string `json:"text_type" url:"text_type"`
// The time the macro was last updated.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
Visibility *Visibility `json:"visibility,omitempty" url:"visibility,omitempty"`
// contains filtered or unexported fields
}
func (*Macro) GetActions ¶
func (m *Macro) GetActions() []*MacroAction
func (*Macro) GetCreatedAt ¶
func (*Macro) GetEditVisibility ¶
func (m *Macro) GetEditVisibility() *Visibility
func (*Macro) GetExtraProperties ¶
func (*Macro) GetHasActions ¶
func (*Macro) GetMacroGroupID ¶
func (*Macro) GetTextHTML ¶
func (*Macro) GetTextType ¶
func (*Macro) GetUpdatedAt ¶
func (*Macro) GetVisibility ¶
func (m *Macro) GetVisibility() *Visibility
func (*Macro) MarshalJSON ¶
func (*Macro) SetActions ¶
func (m *Macro) SetActions(actions []*MacroAction)
SetActions sets the Actions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Macro) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Macro) SetEditVisibility ¶
func (m *Macro) SetEditVisibility(editVisibility *Visibility)
SetEditVisibility sets the EditVisibility field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Macro) SetHasActions ¶
SetHasActions sets the HasActions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Macro) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Macro) SetMacroGroupID ¶
SetMacroGroupID sets the MacroGroupID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Macro) SetName ¶
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Macro) SetTextHTML ¶
SetTextHTML sets the TextHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Macro) SetTextType ¶
SetTextType sets the TextType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Macro) SetUpdatedAt ¶
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Macro) SetVisibility ¶
func (m *Macro) SetVisibility(visibility *Visibility)
SetVisibility sets the Visibility field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Macro) UnmarshalJSON ¶
type MacroAction ¶
type MacroAction struct {
// The action type identifier (e.g. "set_issue_state", "set_issue_tags").
Type string `json:"type" url:"type"`
// contains filtered or unexported fields
}
func (*MacroAction) GetExtraProperties ¶
func (m *MacroAction) GetExtraProperties() map[string]interface{}
func (*MacroAction) GetType ¶
func (m *MacroAction) GetType() string
func (*MacroAction) MarshalJSON ¶
func (m *MacroAction) MarshalJSON() ([]byte, error)
func (*MacroAction) SetType ¶
func (m *MacroAction) SetType(type_ string)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacroAction) String ¶
func (m *MacroAction) String() string
func (*MacroAction) UnmarshalJSON ¶
func (m *MacroAction) UnmarshalJSON(data []byte) error
type MacroGroup ¶
type MacroGroup struct {
// The time the macro group was created.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// The ID of the macro group.
ID string `json:"id" url:"id"`
// The title of the macro group.
Title string `json:"title" url:"title"`
// The time the macro group was last updated.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// contains filtered or unexported fields
}
func (*MacroGroup) GetCreatedAt ¶
func (m *MacroGroup) GetCreatedAt() time.Time
func (*MacroGroup) GetExtraProperties ¶
func (m *MacroGroup) GetExtraProperties() map[string]interface{}
func (*MacroGroup) GetID ¶
func (m *MacroGroup) GetID() string
func (*MacroGroup) GetTitle ¶
func (m *MacroGroup) GetTitle() string
func (*MacroGroup) GetUpdatedAt ¶
func (m *MacroGroup) GetUpdatedAt() time.Time
func (*MacroGroup) MarshalJSON ¶
func (m *MacroGroup) MarshalJSON() ([]byte, error)
func (*MacroGroup) SetCreatedAt ¶
func (m *MacroGroup) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacroGroup) SetID ¶
func (m *MacroGroup) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacroGroup) SetTitle ¶
func (m *MacroGroup) SetTitle(title string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacroGroup) SetUpdatedAt ¶
func (m *MacroGroup) SetUpdatedAt(updatedAt time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacroGroup) String ¶
func (m *MacroGroup) String() string
func (*MacroGroup) UnmarshalJSON ¶
func (m *MacroGroup) UnmarshalJSON(data []byte) error
type MacrosCreateRequest ¶
type MacrosCreateRequest struct {
Conditions *Filter `json:"conditions,omitempty" url:"-"`
EditVisibility *VisibilityInput `json:"edit_visibility,omitempty" url:"-"`
// The ID of the macro group this macro belongs to.
MacroGroupID string `json:"macro_group_id" url:"-"`
// The name of the macro.
Name string `json:"name" url:"-"`
// The HTML content of the macro.
TextHTML string `json:"text_html" url:"-"`
// The type of text: "reply", "note", or "email". Defaults to "reply".
TextType *string `json:"text_type,omitempty" url:"-"`
Visibility *VisibilityInput `json:"visibility,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*MacrosCreateRequest) MarshalJSON ¶
func (m *MacrosCreateRequest) MarshalJSON() ([]byte, error)
func (*MacrosCreateRequest) SetConditions ¶
func (m *MacrosCreateRequest) SetConditions(conditions *Filter)
SetConditions sets the Conditions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacrosCreateRequest) SetEditVisibility ¶
func (m *MacrosCreateRequest) SetEditVisibility(editVisibility *VisibilityInput)
SetEditVisibility sets the EditVisibility field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacrosCreateRequest) SetMacroGroupID ¶
func (m *MacrosCreateRequest) SetMacroGroupID(macroGroupID string)
SetMacroGroupID sets the MacroGroupID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacrosCreateRequest) SetName ¶
func (m *MacrosCreateRequest) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacrosCreateRequest) SetTextHTML ¶
func (m *MacrosCreateRequest) SetTextHTML(textHTML string)
SetTextHTML sets the TextHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacrosCreateRequest) SetTextType ¶
func (m *MacrosCreateRequest) SetTextType(textType *string)
SetTextType sets the TextType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacrosCreateRequest) SetVisibility ¶
func (m *MacrosCreateRequest) SetVisibility(visibility *VisibilityInput)
SetVisibility sets the Visibility field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacrosCreateRequest) UnmarshalJSON ¶
func (m *MacrosCreateRequest) UnmarshalJSON(data []byte) error
type MacrosDeleteRequest ¶
type MacrosDeleteRequest struct {
// The ID of the macro to delete.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*MacrosDeleteRequest) SetID ¶
func (m *MacrosDeleteRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type MacrosGetRequest ¶
type MacrosGetRequest struct {
// The ID of the macro.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*MacrosGetRequest) SetID ¶
func (m *MacrosGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type MacrosListRequest ¶
type MacrosListRequest struct {
// Filter macros by macro group ID.
MacroGroupID *string `json:"-" url:"macro_group_id,omitempty"`
// contains filtered or unexported fields
}
func (*MacrosListRequest) SetMacroGroupID ¶
func (m *MacrosListRequest) SetMacroGroupID(macroGroupID *string)
SetMacroGroupID sets the MacroGroupID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type MacrosUpdateRequest ¶
type MacrosUpdateRequest struct {
// The ID of the macro to update.
ID string `json:"-" url:"-"`
Conditions *Filter `json:"conditions,omitempty" url:"-"`
EditVisibility *VisibilityInput `json:"edit_visibility,omitempty" url:"-"`
// The ID of the macro group this macro belongs to.
MacroGroupID *string `json:"macro_group_id,omitempty" url:"-"`
// The name of the macro.
Name *string `json:"name,omitempty" url:"-"`
// The HTML content of the macro.
TextHTML *string `json:"text_html,omitempty" url:"-"`
// The type of text: "reply", "note", or "email".
TextType *string `json:"text_type,omitempty" url:"-"`
Visibility *VisibilityInput `json:"visibility,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*MacrosUpdateRequest) MarshalJSON ¶
func (m *MacrosUpdateRequest) MarshalJSON() ([]byte, error)
func (*MacrosUpdateRequest) SetConditions ¶
func (m *MacrosUpdateRequest) SetConditions(conditions *Filter)
SetConditions sets the Conditions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacrosUpdateRequest) SetEditVisibility ¶
func (m *MacrosUpdateRequest) SetEditVisibility(editVisibility *VisibilityInput)
SetEditVisibility sets the EditVisibility field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacrosUpdateRequest) SetID ¶
func (m *MacrosUpdateRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacrosUpdateRequest) SetMacroGroupID ¶
func (m *MacrosUpdateRequest) SetMacroGroupID(macroGroupID *string)
SetMacroGroupID sets the MacroGroupID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacrosUpdateRequest) SetName ¶
func (m *MacrosUpdateRequest) SetName(name *string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacrosUpdateRequest) SetTextHTML ¶
func (m *MacrosUpdateRequest) SetTextHTML(textHTML *string)
SetTextHTML sets the TextHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacrosUpdateRequest) SetTextType ¶
func (m *MacrosUpdateRequest) SetTextType(textType *string)
SetTextType sets the TextType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacrosUpdateRequest) SetVisibility ¶
func (m *MacrosUpdateRequest) SetVisibility(visibility *VisibilityInput)
SetVisibility sets the Visibility field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MacrosUpdateRequest) UnmarshalJSON ¶
func (m *MacrosUpdateRequest) UnmarshalJSON(data []byte) error
type MarkIssuesAsSpamResponseBody ¶
type MarkIssuesAsSpamResponseBody struct {
Data *BulkIssueResult `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*MarkIssuesAsSpamResponseBody) GetData ¶
func (m *MarkIssuesAsSpamResponseBody) GetData() *BulkIssueResult
func (*MarkIssuesAsSpamResponseBody) GetExtraProperties ¶
func (m *MarkIssuesAsSpamResponseBody) GetExtraProperties() map[string]interface{}
func (*MarkIssuesAsSpamResponseBody) GetRequestID ¶
func (m *MarkIssuesAsSpamResponseBody) GetRequestID() string
func (*MarkIssuesAsSpamResponseBody) MarshalJSON ¶
func (m *MarkIssuesAsSpamResponseBody) MarshalJSON() ([]byte, error)
func (*MarkIssuesAsSpamResponseBody) SetData ¶
func (m *MarkIssuesAsSpamResponseBody) SetData(data *BulkIssueResult)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MarkIssuesAsSpamResponseBody) SetRequestID ¶
func (m *MarkIssuesAsSpamResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MarkIssuesAsSpamResponseBody) String ¶
func (m *MarkIssuesAsSpamResponseBody) String() string
func (*MarkIssuesAsSpamResponseBody) UnmarshalJSON ¶
func (m *MarkIssuesAsSpamResponseBody) UnmarshalJSON(data []byte) error
type Me ¶
type Me struct {
// The ID of the organization.
ID string `json:"id" url:"id"`
// The name of the organization.
Name string `json:"name" url:"name"`
User *MeUser `json:"user" url:"user"`
// contains filtered or unexported fields
}
func (*Me) GetExtraProperties ¶
func (*Me) MarshalJSON ¶
func (*Me) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Me) SetName ¶
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Me) SetUser ¶
SetUser sets the User field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Me) UnmarshalJSON ¶
type MeUser ¶
type MeUser struct {
// The primary login email of the authenticated user. API users do not have a login email.
Email string `json:"email" url:"email"`
// The stable Pylon ID of the authenticated user.
ID string `json:"id" url:"id"`
// contains filtered or unexported fields
}
func (*MeUser) GetExtraProperties ¶
func (*MeUser) MarshalJSON ¶
func (*MeUser) SetEmail ¶
SetEmail sets the Email field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MeUser) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MeUser) UnmarshalJSON ¶
type MergeAccountsResponseBody ¶
type MergeAccountsResponseBody struct {
Data *Account `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*MergeAccountsResponseBody) GetData ¶
func (m *MergeAccountsResponseBody) GetData() *Account
func (*MergeAccountsResponseBody) GetExtraProperties ¶
func (m *MergeAccountsResponseBody) GetExtraProperties() map[string]interface{}
func (*MergeAccountsResponseBody) GetRequestID ¶
func (m *MergeAccountsResponseBody) GetRequestID() string
func (*MergeAccountsResponseBody) MarshalJSON ¶
func (m *MergeAccountsResponseBody) MarshalJSON() ([]byte, error)
func (*MergeAccountsResponseBody) SetData ¶
func (m *MergeAccountsResponseBody) SetData(data *Account)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MergeAccountsResponseBody) SetRequestID ¶
func (m *MergeAccountsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MergeAccountsResponseBody) String ¶
func (m *MergeAccountsResponseBody) String() string
func (*MergeAccountsResponseBody) UnmarshalJSON ¶
func (m *MergeAccountsResponseBody) UnmarshalJSON(data []byte) error
type MergeContactsResponseBody ¶
type MergeContactsResponseBody struct {
Data *Contact `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*MergeContactsResponseBody) GetData ¶
func (m *MergeContactsResponseBody) GetData() *Contact
func (*MergeContactsResponseBody) GetExtraProperties ¶
func (m *MergeContactsResponseBody) GetExtraProperties() map[string]interface{}
func (*MergeContactsResponseBody) GetRequestID ¶
func (m *MergeContactsResponseBody) GetRequestID() string
func (*MergeContactsResponseBody) MarshalJSON ¶
func (m *MergeContactsResponseBody) MarshalJSON() ([]byte, error)
func (*MergeContactsResponseBody) SetData ¶
func (m *MergeContactsResponseBody) SetData(data *Contact)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MergeContactsResponseBody) SetRequestID ¶
func (m *MergeContactsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MergeContactsResponseBody) String ¶
func (m *MergeContactsResponseBody) String() string
func (*MergeContactsResponseBody) UnmarshalJSON ¶
func (m *MergeContactsResponseBody) UnmarshalJSON(data []byte) error
type MergeFeatureRequestsResponseBody ¶
type MergeFeatureRequestsResponseBody struct {
Data *FeatureRequest `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*MergeFeatureRequestsResponseBody) GetData ¶
func (m *MergeFeatureRequestsResponseBody) GetData() *FeatureRequest
func (*MergeFeatureRequestsResponseBody) GetExtraProperties ¶
func (m *MergeFeatureRequestsResponseBody) GetExtraProperties() map[string]interface{}
func (*MergeFeatureRequestsResponseBody) GetRequestID ¶
func (m *MergeFeatureRequestsResponseBody) GetRequestID() string
func (*MergeFeatureRequestsResponseBody) MarshalJSON ¶
func (m *MergeFeatureRequestsResponseBody) MarshalJSON() ([]byte, error)
func (*MergeFeatureRequestsResponseBody) SetData ¶
func (m *MergeFeatureRequestsResponseBody) SetData(data *FeatureRequest)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MergeFeatureRequestsResponseBody) SetRequestID ¶
func (m *MergeFeatureRequestsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MergeFeatureRequestsResponseBody) String ¶
func (m *MergeFeatureRequestsResponseBody) String() string
func (*MergeFeatureRequestsResponseBody) UnmarshalJSON ¶
func (m *MergeFeatureRequestsResponseBody) UnmarshalJSON(data []byte) error
type MergeIssuesResponseBody ¶
type MergeIssuesResponseBody struct {
Data *Issue `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*MergeIssuesResponseBody) GetData ¶
func (m *MergeIssuesResponseBody) GetData() *Issue
func (*MergeIssuesResponseBody) GetExtraProperties ¶
func (m *MergeIssuesResponseBody) GetExtraProperties() map[string]interface{}
func (*MergeIssuesResponseBody) GetRequestID ¶
func (m *MergeIssuesResponseBody) GetRequestID() string
func (*MergeIssuesResponseBody) MarshalJSON ¶
func (m *MergeIssuesResponseBody) MarshalJSON() ([]byte, error)
func (*MergeIssuesResponseBody) SetData ¶
func (m *MergeIssuesResponseBody) SetData(data *Issue)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MergeIssuesResponseBody) SetRequestID ¶
func (m *MergeIssuesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MergeIssuesResponseBody) String ¶
func (m *MergeIssuesResponseBody) String() string
func (*MergeIssuesResponseBody) UnmarshalJSON ¶
func (m *MergeIssuesResponseBody) UnmarshalJSON(data []byte) error
type Message ¶
type Message struct {
Author *MessageAuthor `json:"author,omitempty" url:"author,omitempty"`
// Whether this message's author identity has NOT been verified. True for public form submissions, unverified chat widget visitors, and emails that failed sender authentication. For emails, read email_info.sender_authentication_status to tell an authentication failure apart from the other cases.
AuthorUnverified bool `json:"author_unverified" url:"author_unverified"`
EmailInfo *EmailMessageInfo `json:"email_info,omitempty" url:"email_info,omitempty"`
// The URLs of the files in the message, if any. Signed download URLs. Fetch with a plain GET, no Authorization header.
FileURLs []string `json:"file_urls,omitempty" url:"file_urls,omitempty"`
// The top-level Pylon message ID. Use this value as message_id when replying or when targeting an internal note's thread.
ID string `json:"id" url:"id"`
// Whether the message is an internal note. If true, the message is not visible to the requester; if false, it is customer-visible.
IsPrivate bool `json:"is_private" url:"is_private"`
// The HTML body of the message.
MessageHTML string `json:"message_html" url:"message_html"`
// The emoji reactions currently on the message, grouped by emoji.
Reactions []*MessageReaction `json:"reactions,omitempty" url:"reactions,omitempty"`
SlackInfo *SlackMessageInfo `json:"slack_info,omitempty" url:"slack_info,omitempty"`
// The source of the message.
Source string `json:"source" url:"source"`
// The Pylon internal thread ID. This is set only for internal notes and can be passed as thread_id when creating an internal note.
ThreadID *string `json:"thread_id,omitempty" url:"thread_id,omitempty"`
// The time at which the message was created.
Timestamp time.Time `json:"timestamp" url:"timestamp"`
// contains filtered or unexported fields
}
func (*Message) GetAuthor ¶
func (m *Message) GetAuthor() *MessageAuthor
func (*Message) GetAuthorUnverified ¶
func (*Message) GetEmailInfo ¶
func (m *Message) GetEmailInfo() *EmailMessageInfo
func (*Message) GetExtraProperties ¶
func (*Message) GetFileURLs ¶
func (*Message) GetIsPrivate ¶
func (*Message) GetMessageHTML ¶
func (*Message) GetReactions ¶
func (m *Message) GetReactions() []*MessageReaction
func (*Message) GetSlackInfo ¶
func (m *Message) GetSlackInfo() *SlackMessageInfo
func (*Message) GetThreadID ¶
func (*Message) GetTimestamp ¶
func (*Message) MarshalJSON ¶
func (*Message) SetAuthor ¶
func (m *Message) SetAuthor(author *MessageAuthor)
SetAuthor sets the Author field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Message) SetAuthorUnverified ¶
SetAuthorUnverified sets the AuthorUnverified field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Message) SetEmailInfo ¶
func (m *Message) SetEmailInfo(emailInfo *EmailMessageInfo)
SetEmailInfo sets the EmailInfo field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Message) SetFileURLs ¶
SetFileURLs sets the FileURLs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Message) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Message) SetIsPrivate ¶
SetIsPrivate sets the IsPrivate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Message) SetMessageHTML ¶
SetMessageHTML sets the MessageHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Message) SetReactions ¶
func (m *Message) SetReactions(reactions []*MessageReaction)
SetReactions sets the Reactions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Message) SetSlackInfo ¶
func (m *Message) SetSlackInfo(slackInfo *SlackMessageInfo)
SetSlackInfo sets the SlackInfo field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Message) SetSource ¶
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Message) SetThreadID ¶
SetThreadID sets the ThreadID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Message) SetTimestamp ¶
SetTimestamp sets the Timestamp field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Message) UnmarshalJSON ¶
type MessageAuthor ¶
type MessageAuthor struct {
AvatarURL *string `json:"avatar_url,omitempty" url:"avatar_url,omitempty"`
Contact *MiniContact `json:"contact,omitempty" url:"contact,omitempty"`
Name string `json:"name" url:"name"`
User *MiniUser `json:"user,omitempty" url:"user,omitempty"`
// contains filtered or unexported fields
}
func (*MessageAuthor) GetAvatarURL ¶
func (m *MessageAuthor) GetAvatarURL() *string
func (*MessageAuthor) GetContact ¶
func (m *MessageAuthor) GetContact() *MiniContact
func (*MessageAuthor) GetExtraProperties ¶
func (m *MessageAuthor) GetExtraProperties() map[string]interface{}
func (*MessageAuthor) GetName ¶
func (m *MessageAuthor) GetName() string
func (*MessageAuthor) GetUser ¶
func (m *MessageAuthor) GetUser() *MiniUser
func (*MessageAuthor) MarshalJSON ¶
func (m *MessageAuthor) MarshalJSON() ([]byte, error)
func (*MessageAuthor) SetAvatarURL ¶
func (m *MessageAuthor) SetAvatarURL(avatarURL *string)
SetAvatarURL sets the AvatarURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MessageAuthor) SetContact ¶
func (m *MessageAuthor) SetContact(contact *MiniContact)
SetContact sets the Contact field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MessageAuthor) SetName ¶
func (m *MessageAuthor) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MessageAuthor) SetUser ¶
func (m *MessageAuthor) SetUser(user *MiniUser)
SetUser sets the User field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MessageAuthor) String ¶
func (m *MessageAuthor) String() string
func (*MessageAuthor) UnmarshalJSON ¶
func (m *MessageAuthor) UnmarshalJSON(data []byte) error
type MessageReaction ¶
type MessageReaction struct {
// The number of people who reacted with this emoji.
Count int64 `json:"count" url:"count"`
// The emoji's Slack-style shortcode name without colons, such as thumbsup.
Name string `json:"name" url:"name"`
// contains filtered or unexported fields
}
func (*MessageReaction) GetCount ¶
func (m *MessageReaction) GetCount() int64
func (*MessageReaction) GetExtraProperties ¶
func (m *MessageReaction) GetExtraProperties() map[string]interface{}
func (*MessageReaction) GetName ¶
func (m *MessageReaction) GetName() string
func (*MessageReaction) MarshalJSON ¶
func (m *MessageReaction) MarshalJSON() ([]byte, error)
func (*MessageReaction) SetCount ¶
func (m *MessageReaction) SetCount(count int64)
SetCount sets the Count field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MessageReaction) SetName ¶
func (m *MessageReaction) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MessageReaction) String ¶
func (m *MessageReaction) String() string
func (*MessageReaction) UnmarshalJSON ¶
func (m *MessageReaction) UnmarshalJSON(data []byte) error
type Milestone ¶
type Milestone struct {
Account *MiniAccount `json:"account,omitempty" url:"account,omitempty"`
CreatedAt time.Time `json:"created_at" url:"created_at"`
DueDate *time.Time `json:"due_date,omitempty" url:"due_date,omitempty"`
ID string `json:"id" url:"id"`
Name string `json:"name" url:"name"`
Project *MiniProject `json:"project,omitempty" url:"project,omitempty"`
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// contains filtered or unexported fields
}
func (*Milestone) GetAccount ¶
func (m *Milestone) GetAccount() *MiniAccount
func (*Milestone) GetCreatedAt ¶
func (*Milestone) GetDueDate ¶
func (*Milestone) GetExtraProperties ¶
func (*Milestone) GetProject ¶
func (m *Milestone) GetProject() *MiniProject
func (*Milestone) GetUpdatedAt ¶
func (*Milestone) MarshalJSON ¶
func (*Milestone) SetAccount ¶
func (m *Milestone) SetAccount(account *MiniAccount)
SetAccount sets the Account field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Milestone) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Milestone) SetDueDate ¶
SetDueDate sets the DueDate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Milestone) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Milestone) SetName ¶
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Milestone) SetProject ¶
func (m *Milestone) SetProject(project *MiniProject)
SetProject sets the Project field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Milestone) SetUpdatedAt ¶
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Milestone) UnmarshalJSON ¶
type MilestonesCreateRequest ¶
type MilestonesCreateRequest struct {
// Account ID for this project
AccountID *string `json:"account_id,omitempty" url:"-"`
// Due date for this milestone, in RFC 3339 format
DueDate *time.Time `json:"due_date,omitempty" url:"-"`
// Name for this milestone
Name string `json:"name" url:"-"`
// Project ID for this milestone
ProjectID string `json:"project_id" url:"-"`
// contains filtered or unexported fields
}
func (*MilestonesCreateRequest) MarshalJSON ¶
func (m *MilestonesCreateRequest) MarshalJSON() ([]byte, error)
func (*MilestonesCreateRequest) SetAccountID ¶
func (m *MilestonesCreateRequest) SetAccountID(accountID *string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MilestonesCreateRequest) SetDueDate ¶
func (m *MilestonesCreateRequest) SetDueDate(dueDate *time.Time)
SetDueDate sets the DueDate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MilestonesCreateRequest) SetName ¶
func (m *MilestonesCreateRequest) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MilestonesCreateRequest) SetProjectID ¶
func (m *MilestonesCreateRequest) SetProjectID(projectID string)
SetProjectID sets the ProjectID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MilestonesCreateRequest) UnmarshalJSON ¶
func (m *MilestonesCreateRequest) UnmarshalJSON(data []byte) error
type MilestonesDeleteRequest ¶
type MilestonesDeleteRequest struct {
// The ID of the milestone to delete.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*MilestonesDeleteRequest) SetID ¶
func (m *MilestonesDeleteRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type MilestonesGetRequest ¶
type MilestonesGetRequest struct {
// The ID of the milestone to fetch.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*MilestonesGetRequest) SetID ¶
func (m *MilestonesGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type MilestonesSearchRequest ¶
type MilestonesSearchRequest struct {
// The cursor to use for pagination.
Cursor *string `json:"cursor,omitempty" url:"-"`
Filter *Filter `json:"filter,omitempty" url:"-"`
// The number of milestones to fetch. Defaults to 100. Must be between 1 and 1000.
Limit *int64 `json:"limit,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*MilestonesSearchRequest) MarshalJSON ¶
func (m *MilestonesSearchRequest) MarshalJSON() ([]byte, error)
func (*MilestonesSearchRequest) SetCursor ¶
func (m *MilestonesSearchRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MilestonesSearchRequest) SetFilter ¶
func (m *MilestonesSearchRequest) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MilestonesSearchRequest) SetLimit ¶
func (m *MilestonesSearchRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MilestonesSearchRequest) UnmarshalJSON ¶
func (m *MilestonesSearchRequest) UnmarshalJSON(data []byte) error
type MilestonesUpdateRequest ¶
type MilestonesUpdateRequest struct {
// The ID of the milestone to update.
ID string `json:"-" url:"-"`
// Due date for this milestone, in RFC 3339 format. Set to an empty string to clear it.
DueDate *string `json:"due_date,omitempty" url:"-"`
// Name for this milestone
Name *string `json:"name,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*MilestonesUpdateRequest) MarshalJSON ¶
func (m *MilestonesUpdateRequest) MarshalJSON() ([]byte, error)
func (*MilestonesUpdateRequest) SetDueDate ¶
func (m *MilestonesUpdateRequest) SetDueDate(dueDate *string)
SetDueDate sets the DueDate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MilestonesUpdateRequest) SetID ¶
func (m *MilestonesUpdateRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MilestonesUpdateRequest) SetName ¶
func (m *MilestonesUpdateRequest) SetName(name *string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MilestonesUpdateRequest) UnmarshalJSON ¶
func (m *MilestonesUpdateRequest) UnmarshalJSON(data []byte) error
type MiniAccount ¶
type MiniAccount struct {
// External IDs associated with the account.
ExternalIDs []*ExternalID `json:"external_ids,omitempty" url:"external_ids,omitempty"`
// The ID of the account.
ID string `json:"id" url:"id"`
// contains filtered or unexported fields
}
func (*MiniAccount) GetExternalIDs ¶
func (m *MiniAccount) GetExternalIDs() []*ExternalID
func (*MiniAccount) GetExtraProperties ¶
func (m *MiniAccount) GetExtraProperties() map[string]interface{}
func (*MiniAccount) GetID ¶
func (m *MiniAccount) GetID() string
func (*MiniAccount) MarshalJSON ¶
func (m *MiniAccount) MarshalJSON() ([]byte, error)
func (*MiniAccount) SetExternalIDs ¶
func (m *MiniAccount) SetExternalIDs(externalIDs []*ExternalID)
SetExternalIDs sets the ExternalIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MiniAccount) SetID ¶
func (m *MiniAccount) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MiniAccount) String ¶
func (m *MiniAccount) String() string
func (*MiniAccount) UnmarshalJSON ¶
func (m *MiniAccount) UnmarshalJSON(data []byte) error
type MiniContact ¶
type MiniContact struct {
// The email of the contact.
Email *string `json:"email,omitempty" url:"email,omitempty"`
// The ID of the contact.
ID string `json:"id" url:"id"`
// contains filtered or unexported fields
}
func (*MiniContact) GetEmail ¶
func (m *MiniContact) GetEmail() *string
func (*MiniContact) GetExtraProperties ¶
func (m *MiniContact) GetExtraProperties() map[string]interface{}
func (*MiniContact) GetID ¶
func (m *MiniContact) GetID() string
func (*MiniContact) MarshalJSON ¶
func (m *MiniContact) MarshalJSON() ([]byte, error)
func (*MiniContact) SetEmail ¶
func (m *MiniContact) SetEmail(email *string)
SetEmail sets the Email field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MiniContact) SetID ¶
func (m *MiniContact) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MiniContact) String ¶
func (m *MiniContact) String() string
func (*MiniContact) UnmarshalJSON ¶
func (m *MiniContact) UnmarshalJSON(data []byte) error
type MiniIssue ¶
type MiniIssue struct {
// The ID of the issue.
ID string `json:"id" url:"id"`
// The number of the issue.
Number int64 `json:"number" url:"number"`
// The title of the issue.
Title string `json:"title" url:"title"`
// contains filtered or unexported fields
}
func (*MiniIssue) GetExtraProperties ¶
func (*MiniIssue) MarshalJSON ¶
func (*MiniIssue) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MiniIssue) SetNumber ¶
SetNumber sets the Number field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MiniIssue) SetTitle ¶
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MiniIssue) UnmarshalJSON ¶
type MiniMilestone ¶
type MiniMilestone struct {
// The ID of the milestone.
ID string `json:"id" url:"id"`
// contains filtered or unexported fields
}
func (*MiniMilestone) GetExtraProperties ¶
func (m *MiniMilestone) GetExtraProperties() map[string]interface{}
func (*MiniMilestone) GetID ¶
func (m *MiniMilestone) GetID() string
func (*MiniMilestone) MarshalJSON ¶
func (m *MiniMilestone) MarshalJSON() ([]byte, error)
func (*MiniMilestone) SetID ¶
func (m *MiniMilestone) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MiniMilestone) String ¶
func (m *MiniMilestone) String() string
func (*MiniMilestone) UnmarshalJSON ¶
func (m *MiniMilestone) UnmarshalJSON(data []byte) error
type MiniProject ¶
type MiniProject struct {
// The ID of the project.
ID string `json:"id" url:"id"`
// contains filtered or unexported fields
}
func (*MiniProject) GetExtraProperties ¶
func (m *MiniProject) GetExtraProperties() map[string]interface{}
func (*MiniProject) GetID ¶
func (m *MiniProject) GetID() string
func (*MiniProject) MarshalJSON ¶
func (m *MiniProject) MarshalJSON() ([]byte, error)
func (*MiniProject) SetID ¶
func (m *MiniProject) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MiniProject) String ¶
func (m *MiniProject) String() string
func (*MiniProject) UnmarshalJSON ¶
func (m *MiniProject) UnmarshalJSON(data []byte) error
type MiniProjectTemplate ¶
type MiniProjectTemplate struct {
// The ID of the project template.
ID string `json:"id" url:"id"`
// contains filtered or unexported fields
}
func (*MiniProjectTemplate) GetExtraProperties ¶
func (m *MiniProjectTemplate) GetExtraProperties() map[string]interface{}
func (*MiniProjectTemplate) GetID ¶
func (m *MiniProjectTemplate) GetID() string
func (*MiniProjectTemplate) MarshalJSON ¶
func (m *MiniProjectTemplate) MarshalJSON() ([]byte, error)
func (*MiniProjectTemplate) SetID ¶
func (m *MiniProjectTemplate) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MiniProjectTemplate) String ¶
func (m *MiniProjectTemplate) String() string
func (*MiniProjectTemplate) UnmarshalJSON ¶
func (m *MiniProjectTemplate) UnmarshalJSON(data []byte) error
type MiniRole ¶
type MiniRole struct {
// The ID of the role.
ID string `json:"id" url:"id"`
// The name of the role.
Name string `json:"name" url:"name"`
// The slug of the role.
Slug string `json:"slug" url:"slug"`
// contains filtered or unexported fields
}
func (*MiniRole) GetExtraProperties ¶
func (*MiniRole) MarshalJSON ¶
func (*MiniRole) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MiniRole) SetName ¶
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MiniRole) SetSlug ¶
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MiniRole) UnmarshalJSON ¶
type MiniTeam ¶
type MiniTeam struct {
// The ID of the team.
ID string `json:"id" url:"id"`
// contains filtered or unexported fields
}
func (*MiniTeam) GetExtraProperties ¶
func (*MiniTeam) MarshalJSON ¶
func (*MiniTeam) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MiniTeam) UnmarshalJSON ¶
type MiniUser ¶
type MiniUser struct {
// The email of the user.
Email *string `json:"email,omitempty" url:"email,omitempty"`
// The ID of the user.
ID string `json:"id" url:"id"`
// contains filtered or unexported fields
}
func (*MiniUser) GetExtraProperties ¶
func (*MiniUser) MarshalJSON ¶
func (*MiniUser) SetEmail ¶
SetEmail sets the Email field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MiniUser) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MiniUser) UnmarshalJSON ¶
type MirrorChannel ¶
type MirrorChannel struct {
// The ID of the channel. If this is a Microsoft Teams channel, the ID must be in the format of `{team_id}|{channel_id}`.
ChannelID *string `json:"channel_id,omitempty" url:"channel_id,omitempty"`
// The channel source. This can be any supported integration source.
Source *string `json:"source,omitempty" url:"source,omitempty"`
// contains filtered or unexported fields
}
func (*MirrorChannel) GetChannelID ¶
func (m *MirrorChannel) GetChannelID() *string
func (*MirrorChannel) GetExtraProperties ¶
func (m *MirrorChannel) GetExtraProperties() map[string]interface{}
func (*MirrorChannel) GetSource ¶
func (m *MirrorChannel) GetSource() *string
func (*MirrorChannel) MarshalJSON ¶
func (m *MirrorChannel) MarshalJSON() ([]byte, error)
func (*MirrorChannel) SetChannelID ¶
func (m *MirrorChannel) SetChannelID(channelID *string)
SetChannelID sets the ChannelID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MirrorChannel) SetSource ¶
func (m *MirrorChannel) SetSource(source *string)
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*MirrorChannel) String ¶
func (m *MirrorChannel) String() string
func (*MirrorChannel) UnmarshalJSON ¶
func (m *MirrorChannel) UnmarshalJSON(data []byte) error
type NotFoundError ¶
type NotFoundError struct {
*core.APIError
Body *ErrorAPIResponseBody
}
func (*NotFoundError) GetBody ¶
func (n *NotFoundError) GetBody() *ErrorAPIResponseBody
func (*NotFoundError) MarshalJSON ¶
func (n *NotFoundError) MarshalJSON() ([]byte, error)
func (*NotFoundError) UnmarshalJSON ¶
func (n *NotFoundError) UnmarshalJSON(data []byte) error
func (*NotFoundError) Unwrap ¶
func (n *NotFoundError) Unwrap() error
type NumberMetadata ¶
type NumberMetadata struct {
// The currency of the number custom field.
Currency *string `json:"currency,omitempty" url:"currency,omitempty"`
// The decimal places of the number custom field.
DecimalPlaces *int64 `json:"decimal_places,omitempty" url:"decimal_places,omitempty"`
// The display format for duration format (auto, minutes, hours, days, months, years).
DurationDisplayFormat *string `json:"duration_display_format,omitempty" url:"duration_display_format,omitempty"`
// The input unit for duration format (seconds, minutes, hours, days).
DurationInputUnit *string `json:"duration_input_unit,omitempty" url:"duration_input_unit,omitempty"`
// The format of the number custom field.
//
// Known values: `with_commas`, `percent`, `currency`, `duration`. This list is not exhaustive.
Format *string `json:"format,omitempty" url:"format,omitempty"`
// contains filtered or unexported fields
}
func (*NumberMetadata) GetCurrency ¶
func (n *NumberMetadata) GetCurrency() *string
func (*NumberMetadata) GetDecimalPlaces ¶
func (n *NumberMetadata) GetDecimalPlaces() *int64
func (*NumberMetadata) GetDurationDisplayFormat ¶
func (n *NumberMetadata) GetDurationDisplayFormat() *string
func (*NumberMetadata) GetDurationInputUnit ¶
func (n *NumberMetadata) GetDurationInputUnit() *string
func (*NumberMetadata) GetExtraProperties ¶
func (n *NumberMetadata) GetExtraProperties() map[string]interface{}
func (*NumberMetadata) GetFormat ¶
func (n *NumberMetadata) GetFormat() *string
func (*NumberMetadata) MarshalJSON ¶
func (n *NumberMetadata) MarshalJSON() ([]byte, error)
func (*NumberMetadata) SetCurrency ¶
func (n *NumberMetadata) SetCurrency(currency *string)
SetCurrency sets the Currency field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*NumberMetadata) SetDecimalPlaces ¶
func (n *NumberMetadata) SetDecimalPlaces(decimalPlaces *int64)
SetDecimalPlaces sets the DecimalPlaces field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*NumberMetadata) SetDurationDisplayFormat ¶
func (n *NumberMetadata) SetDurationDisplayFormat(durationDisplayFormat *string)
SetDurationDisplayFormat sets the DurationDisplayFormat field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*NumberMetadata) SetDurationInputUnit ¶
func (n *NumberMetadata) SetDurationInputUnit(durationInputUnit *string)
SetDurationInputUnit sets the DurationInputUnit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*NumberMetadata) SetFormat ¶
func (n *NumberMetadata) SetFormat(format *string)
SetFormat sets the Format field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*NumberMetadata) String ¶
func (n *NumberMetadata) String() string
func (*NumberMetadata) UnmarshalJSON ¶
func (n *NumberMetadata) UnmarshalJSON(data []byte) error
type Pagination ¶
type Pagination struct {
// The cursor for the next page of results.
Cursor string `json:"cursor" url:"cursor"`
// Indicates if there is a next page of results.
HasNextPage bool `json:"has_next_page" url:"has_next_page"`
// contains filtered or unexported fields
}
Pagination information for list responses. Absent when there are no more results.
func (*Pagination) GetCursor ¶
func (p *Pagination) GetCursor() string
func (*Pagination) GetExtraProperties ¶
func (p *Pagination) GetExtraProperties() map[string]interface{}
func (*Pagination) GetHasNextPage ¶
func (p *Pagination) GetHasNextPage() bool
func (*Pagination) MarshalJSON ¶
func (p *Pagination) MarshalJSON() ([]byte, error)
func (*Pagination) SetCursor ¶
func (p *Pagination) SetCursor(cursor string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Pagination) SetHasNextPage ¶
func (p *Pagination) SetHasNextPage(hasNextPage bool)
SetHasNextPage sets the HasNextPage field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Pagination) String ¶
func (p *Pagination) String() string
func (*Pagination) UnmarshalJSON ¶
func (p *Pagination) UnmarshalJSON(data []byte) error
type Project ¶
type Project struct {
Account *MiniAccount `json:"account,omitempty" url:"account,omitempty"`
// Instructions the AI follows when keeping this smart project up to date.
AiInstructions string `json:"ai_instructions" url:"ai_instructions"`
// The archived at time of the project in RFC3339 format.
ArchivedAt *time.Time `json:"archived_at,omitempty" url:"archived_at,omitempty"`
// The created at time of the project.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// Custom fields for this project, keyed by slug.
CustomFields map[string]*CustomFieldValue `json:"custom_fields,omitempty" url:"custom_fields,omitempty"`
// The customer portal visible of the project.
CustomerPortalVisible bool `json:"customer_portal_visible" url:"customer_portal_visible"`
// The description of the project in HTML format.
DescriptionHTML *string `json:"description_html,omitempty" url:"description_html,omitempty"`
// The end date of the project in RFC3339 format.
EndDate *time.Time `json:"end_date,omitempty" url:"end_date,omitempty"`
// The ID of the project.
ID string `json:"id" url:"id"`
// Whether the project is archived.
IsArchived bool `json:"is_archived" url:"is_archived"`
// The name of the project.
Name string `json:"name" url:"name"`
// The owner ID of the project.
OwnerID *string `json:"owner_id,omitempty" url:"owner_id,omitempty"`
// The fraction of completed tasks, from 0 to 1.
Progress float64 `json:"progress" url:"progress"`
ProjectTemplate *MiniProjectTemplate `json:"project_template,omitempty" url:"project_template,omitempty"`
// The start date of the project in RFC3339 format.
StartDate *time.Time `json:"start_date,omitempty" url:"start_date,omitempty"`
// The status of the project. One of not_started, in_progress, or completed.
//
// Known values: `not_started`, `in_progress`, `completed`. This list is not exhaustive.
Status string `json:"status" url:"status"`
// The updated at time of the project.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// contains filtered or unexported fields
}
func (*Project) GetAccount ¶
func (p *Project) GetAccount() *MiniAccount
func (*Project) GetAiInstructions ¶
func (*Project) GetArchivedAt ¶
func (*Project) GetCreatedAt ¶
func (*Project) GetCustomFields ¶
func (p *Project) GetCustomFields() map[string]*CustomFieldValue
func (*Project) GetCustomerPortalVisible ¶
func (*Project) GetDescriptionHTML ¶
func (*Project) GetEndDate ¶
func (*Project) GetExtraProperties ¶
func (*Project) GetIsArchived ¶
func (*Project) GetOwnerID ¶
func (*Project) GetProgress ¶
func (*Project) GetProjectTemplate ¶
func (p *Project) GetProjectTemplate() *MiniProjectTemplate
func (*Project) GetStartDate ¶
func (*Project) GetUpdatedAt ¶
func (*Project) MarshalJSON ¶
func (*Project) SetAccount ¶
func (p *Project) SetAccount(account *MiniAccount)
SetAccount sets the Account field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) SetAiInstructions ¶
SetAiInstructions sets the AiInstructions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) SetArchivedAt ¶
SetArchivedAt sets the ArchivedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) SetCustomFields ¶
func (p *Project) SetCustomFields(customFields map[string]*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) SetCustomerPortalVisible ¶
SetCustomerPortalVisible sets the CustomerPortalVisible field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) SetDescriptionHTML ¶
SetDescriptionHTML sets the DescriptionHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) SetEndDate ¶
SetEndDate sets the EndDate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) SetIsArchived ¶
SetIsArchived sets the IsArchived field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) SetName ¶
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) SetOwnerID ¶
SetOwnerID sets the OwnerID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) SetProgress ¶
SetProgress sets the Progress field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) SetProjectTemplate ¶
func (p *Project) SetProjectTemplate(projectTemplate *MiniProjectTemplate)
SetProjectTemplate sets the ProjectTemplate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) SetStartDate ¶
SetStartDate sets the StartDate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) SetStatus ¶
SetStatus sets the Status field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) SetUpdatedAt ¶
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Project) UnmarshalJSON ¶
type ProjectsCreateRequest ¶
type ProjectsCreateRequest struct {
// Account ID for this project
AccountID string `json:"account_id" url:"-"`
// Instructions the AI follows when keeping this smart project up to date. Overrides the template's instructions when provided.
AiInstructions *string `json:"ai_instructions,omitempty" url:"-"`
// Customer portal visible for this project
CustomerPortalVisible *bool `json:"customer_portal_visible,omitempty" url:"-"`
// Description HTML for this project
DescriptionHTML *string `json:"description_html,omitempty" url:"-"`
// End date for this project, in RFC 3339 format
EndDate *time.Time `json:"end_date,omitempty" url:"-"`
// Name for this project. Required unless project_template_id is provided. When both are provided, this name overrides the template's name.
Name *string `json:"name,omitempty" url:"-"`
// Owner ID for this project
OwnerID *string `json:"owner_id,omitempty" url:"-"`
// Project template ID for this project. When provided, it supplies defaults; non-empty name and description_html values and supplied ai_instructions, customer_portal_visible, and owner_id values override them. Supplying either start_date or end_date replaces both template dates.
ProjectTemplateID *string `json:"project_template_id,omitempty" url:"-"`
// Start date for this project, in RFC 3339 format
StartDate *time.Time `json:"start_date,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*ProjectsCreateRequest) MarshalJSON ¶
func (p *ProjectsCreateRequest) MarshalJSON() ([]byte, error)
func (*ProjectsCreateRequest) SetAccountID ¶
func (p *ProjectsCreateRequest) SetAccountID(accountID string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsCreateRequest) SetAiInstructions ¶
func (p *ProjectsCreateRequest) SetAiInstructions(aiInstructions *string)
SetAiInstructions sets the AiInstructions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsCreateRequest) SetCustomerPortalVisible ¶
func (p *ProjectsCreateRequest) SetCustomerPortalVisible(customerPortalVisible *bool)
SetCustomerPortalVisible sets the CustomerPortalVisible field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsCreateRequest) SetDescriptionHTML ¶
func (p *ProjectsCreateRequest) SetDescriptionHTML(descriptionHTML *string)
SetDescriptionHTML sets the DescriptionHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsCreateRequest) SetEndDate ¶
func (p *ProjectsCreateRequest) SetEndDate(endDate *time.Time)
SetEndDate sets the EndDate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsCreateRequest) SetName ¶
func (p *ProjectsCreateRequest) SetName(name *string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsCreateRequest) SetOwnerID ¶
func (p *ProjectsCreateRequest) SetOwnerID(ownerID *string)
SetOwnerID sets the OwnerID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsCreateRequest) SetProjectTemplateID ¶
func (p *ProjectsCreateRequest) SetProjectTemplateID(projectTemplateID *string)
SetProjectTemplateID sets the ProjectTemplateID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsCreateRequest) SetStartDate ¶
func (p *ProjectsCreateRequest) SetStartDate(startDate *time.Time)
SetStartDate sets the StartDate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsCreateRequest) UnmarshalJSON ¶
func (p *ProjectsCreateRequest) UnmarshalJSON(data []byte) error
type ProjectsDeleteRequest ¶
type ProjectsDeleteRequest struct {
// The ID of the project to delete.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*ProjectsDeleteRequest) SetID ¶
func (p *ProjectsDeleteRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type ProjectsGetRequest ¶
type ProjectsGetRequest struct {
// The ID of the project to fetch.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*ProjectsGetRequest) SetID ¶
func (p *ProjectsGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type ProjectsSearchRequest ¶
type ProjectsSearchRequest struct {
// The cursor to use for pagination.
Cursor *string `json:"cursor,omitempty" url:"-"`
Filter *Filter `json:"filter,omitempty" url:"-"`
// The number of projects to fetch. Defaults to 100. Must be greater than 0 and less than 1000.
Limit *int64 `json:"limit,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*ProjectsSearchRequest) MarshalJSON ¶
func (p *ProjectsSearchRequest) MarshalJSON() ([]byte, error)
func (*ProjectsSearchRequest) SetCursor ¶
func (p *ProjectsSearchRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsSearchRequest) SetFilter ¶
func (p *ProjectsSearchRequest) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsSearchRequest) SetLimit ¶
func (p *ProjectsSearchRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsSearchRequest) UnmarshalJSON ¶
func (p *ProjectsSearchRequest) UnmarshalJSON(data []byte) error
type ProjectsUpdateRequest ¶
type ProjectsUpdateRequest struct {
// The ID of the project to update.
ID string `json:"-" url:"-"`
// Instructions the AI follows when keeping this smart project up to date. Set to an empty string to clear them.
AiInstructions *string `json:"ai_instructions,omitempty" url:"-"`
// An array of custom fields to be used on this project. Only passed in fields will be modified.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// Customer portal visible for this project
CustomerPortalVisible *bool `json:"customer_portal_visible,omitempty" url:"-"`
// Description HTML for this project
DescriptionHTML *string `json:"description_html,omitempty" url:"-"`
// End date for this project, in RFC 3339 format. Set to an empty string to clear it.
EndDate *string `json:"end_date,omitempty" url:"-"`
// Whether the project is archived
IsArchived *bool `json:"is_archived,omitempty" url:"-"`
// Name for this project
Name *string `json:"name,omitempty" url:"-"`
// Owner ID for this project
OwnerID *string `json:"owner_id,omitempty" url:"-"`
// Start date for this project, in RFC 3339 format. Set to an empty string to clear it.
StartDate *string `json:"start_date,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*ProjectsUpdateRequest) MarshalJSON ¶
func (p *ProjectsUpdateRequest) MarshalJSON() ([]byte, error)
func (*ProjectsUpdateRequest) SetAiInstructions ¶
func (p *ProjectsUpdateRequest) SetAiInstructions(aiInstructions *string)
SetAiInstructions sets the AiInstructions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsUpdateRequest) SetCustomFields ¶
func (p *ProjectsUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsUpdateRequest) SetCustomerPortalVisible ¶
func (p *ProjectsUpdateRequest) SetCustomerPortalVisible(customerPortalVisible *bool)
SetCustomerPortalVisible sets the CustomerPortalVisible field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsUpdateRequest) SetDescriptionHTML ¶
func (p *ProjectsUpdateRequest) SetDescriptionHTML(descriptionHTML *string)
SetDescriptionHTML sets the DescriptionHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsUpdateRequest) SetEndDate ¶
func (p *ProjectsUpdateRequest) SetEndDate(endDate *string)
SetEndDate sets the EndDate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsUpdateRequest) SetID ¶
func (p *ProjectsUpdateRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsUpdateRequest) SetIsArchived ¶
func (p *ProjectsUpdateRequest) SetIsArchived(isArchived *bool)
SetIsArchived sets the IsArchived field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsUpdateRequest) SetName ¶
func (p *ProjectsUpdateRequest) SetName(name *string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsUpdateRequest) SetOwnerID ¶
func (p *ProjectsUpdateRequest) SetOwnerID(ownerID *string)
SetOwnerID sets the OwnerID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsUpdateRequest) SetStartDate ¶
func (p *ProjectsUpdateRequest) SetStartDate(startDate *string)
SetStartDate sets the StartDate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*ProjectsUpdateRequest) UnmarshalJSON ¶
func (p *ProjectsUpdateRequest) UnmarshalJSON(data []byte) error
type PublishKnowledgeBaseThemeResponseBody ¶
type PublishKnowledgeBaseThemeResponseBody struct {
Data *KnowledgeBaseTheme `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*PublishKnowledgeBaseThemeResponseBody) GetData ¶
func (p *PublishKnowledgeBaseThemeResponseBody) GetData() *KnowledgeBaseTheme
func (*PublishKnowledgeBaseThemeResponseBody) GetExtraProperties ¶
func (p *PublishKnowledgeBaseThemeResponseBody) GetExtraProperties() map[string]interface{}
func (*PublishKnowledgeBaseThemeResponseBody) GetRequestID ¶
func (p *PublishKnowledgeBaseThemeResponseBody) GetRequestID() string
func (*PublishKnowledgeBaseThemeResponseBody) MarshalJSON ¶
func (p *PublishKnowledgeBaseThemeResponseBody) MarshalJSON() ([]byte, error)
func (*PublishKnowledgeBaseThemeResponseBody) SetData ¶
func (p *PublishKnowledgeBaseThemeResponseBody) SetData(data *KnowledgeBaseTheme)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*PublishKnowledgeBaseThemeResponseBody) SetRequestID ¶
func (p *PublishKnowledgeBaseThemeResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*PublishKnowledgeBaseThemeResponseBody) String ¶
func (p *PublishKnowledgeBaseThemeResponseBody) String() string
func (*PublishKnowledgeBaseThemeResponseBody) UnmarshalJSON ¶
func (p *PublishKnowledgeBaseThemeResponseBody) UnmarshalJSON(data []byte) error
type RedactMessageResponseBody ¶
type RedactMessageResponseBody struct {
Data *Message `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*RedactMessageResponseBody) GetData ¶
func (r *RedactMessageResponseBody) GetData() *Message
func (*RedactMessageResponseBody) GetExtraProperties ¶
func (r *RedactMessageResponseBody) GetExtraProperties() map[string]interface{}
func (*RedactMessageResponseBody) GetRequestID ¶
func (r *RedactMessageResponseBody) GetRequestID() string
func (*RedactMessageResponseBody) MarshalJSON ¶
func (r *RedactMessageResponseBody) MarshalJSON() ([]byte, error)
func (*RedactMessageResponseBody) SetData ¶
func (r *RedactMessageResponseBody) SetData(data *Message)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*RedactMessageResponseBody) SetRequestID ¶
func (r *RedactMessageResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*RedactMessageResponseBody) String ¶
func (r *RedactMessageResponseBody) String() string
func (*RedactMessageResponseBody) UnmarshalJSON ¶
func (r *RedactMessageResponseBody) UnmarshalJSON(data []byte) error
type RequestArticleReviewData ¶
type RequestArticleReviewData struct {
// The approval status of the article version after the request.
ApprovalStatus string `json:"approval_status" url:"approval_status"`
// The ID of the article the review was requested for.
ArticleID string `json:"article_id" url:"article_id"`
// The ID of the article version the review was requested for.
ArticleVersionID string `json:"article_version_id" url:"article_version_id"`
// contains filtered or unexported fields
}
func (*RequestArticleReviewData) GetApprovalStatus ¶
func (r *RequestArticleReviewData) GetApprovalStatus() string
func (*RequestArticleReviewData) GetArticleID ¶
func (r *RequestArticleReviewData) GetArticleID() string
func (*RequestArticleReviewData) GetArticleVersionID ¶
func (r *RequestArticleReviewData) GetArticleVersionID() string
func (*RequestArticleReviewData) GetExtraProperties ¶
func (r *RequestArticleReviewData) GetExtraProperties() map[string]interface{}
func (*RequestArticleReviewData) MarshalJSON ¶
func (r *RequestArticleReviewData) MarshalJSON() ([]byte, error)
func (*RequestArticleReviewData) SetApprovalStatus ¶
func (r *RequestArticleReviewData) SetApprovalStatus(approvalStatus string)
SetApprovalStatus sets the ApprovalStatus field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*RequestArticleReviewData) SetArticleID ¶
func (r *RequestArticleReviewData) SetArticleID(articleID string)
SetArticleID sets the ArticleID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*RequestArticleReviewData) SetArticleVersionID ¶
func (r *RequestArticleReviewData) SetArticleVersionID(articleVersionID string)
SetArticleVersionID sets the ArticleVersionID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*RequestArticleReviewData) String ¶
func (r *RequestArticleReviewData) String() string
func (*RequestArticleReviewData) UnmarshalJSON ¶
func (r *RequestArticleReviewData) UnmarshalJSON(data []byte) error
type RequestArticleReviewResponseBody ¶
type RequestArticleReviewResponseBody struct {
Data *RequestArticleReviewData `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*RequestArticleReviewResponseBody) GetData ¶
func (r *RequestArticleReviewResponseBody) GetData() *RequestArticleReviewData
func (*RequestArticleReviewResponseBody) GetExtraProperties ¶
func (r *RequestArticleReviewResponseBody) GetExtraProperties() map[string]interface{}
func (*RequestArticleReviewResponseBody) GetRequestID ¶
func (r *RequestArticleReviewResponseBody) GetRequestID() string
func (*RequestArticleReviewResponseBody) MarshalJSON ¶
func (r *RequestArticleReviewResponseBody) MarshalJSON() ([]byte, error)
func (*RequestArticleReviewResponseBody) SetData ¶
func (r *RequestArticleReviewResponseBody) SetData(data *RequestArticleReviewData)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*RequestArticleReviewResponseBody) SetRequestID ¶
func (r *RequestArticleReviewResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*RequestArticleReviewResponseBody) String ¶
func (r *RequestArticleReviewResponseBody) String() string
func (*RequestArticleReviewResponseBody) UnmarshalJSON ¶
func (r *RequestArticleReviewResponseBody) UnmarshalJSON(data []byte) error
type RouteRedirect ¶
type RouteRedirect struct {
// The time at which the route redirect was created.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// The path to redirect from.
FromPath string `json:"from_path" url:"from_path"`
// The ID of the route redirect.
ID string `json:"id" url:"id"`
// The language of the object to redirect to.
Language *string `json:"language,omitempty" url:"language,omitempty"`
// The ID of the object to redirect to. Empty when object_type is knowledgebase.
ObjectID string `json:"object_id" url:"object_id"`
// The type of the object to redirect to: article, collection, or knowledgebase for the knowledge base homepage.
ObjectType string `json:"object_type" url:"object_type"`
// contains filtered or unexported fields
}
func (*RouteRedirect) GetCreatedAt ¶
func (r *RouteRedirect) GetCreatedAt() time.Time
func (*RouteRedirect) GetExtraProperties ¶
func (r *RouteRedirect) GetExtraProperties() map[string]interface{}
func (*RouteRedirect) GetFromPath ¶
func (r *RouteRedirect) GetFromPath() string
func (*RouteRedirect) GetID ¶
func (r *RouteRedirect) GetID() string
func (*RouteRedirect) GetLanguage ¶
func (r *RouteRedirect) GetLanguage() *string
func (*RouteRedirect) GetObjectID ¶
func (r *RouteRedirect) GetObjectID() string
func (*RouteRedirect) GetObjectType ¶
func (r *RouteRedirect) GetObjectType() string
func (*RouteRedirect) MarshalJSON ¶
func (r *RouteRedirect) MarshalJSON() ([]byte, error)
func (*RouteRedirect) SetCreatedAt ¶
func (r *RouteRedirect) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*RouteRedirect) SetFromPath ¶
func (r *RouteRedirect) SetFromPath(fromPath string)
SetFromPath sets the FromPath field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*RouteRedirect) SetID ¶
func (r *RouteRedirect) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*RouteRedirect) SetLanguage ¶
func (r *RouteRedirect) SetLanguage(language *string)
SetLanguage sets the Language field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*RouteRedirect) SetObjectID ¶
func (r *RouteRedirect) SetObjectID(objectID string)
SetObjectID sets the ObjectID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*RouteRedirect) SetObjectType ¶
func (r *RouteRedirect) SetObjectType(objectType string)
SetObjectType sets the ObjectType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*RouteRedirect) String ¶
func (r *RouteRedirect) String() string
func (*RouteRedirect) UnmarshalJSON ¶
func (r *RouteRedirect) UnmarshalJSON(data []byte) error
type SLATimes ¶
type SLATimes struct {
// The ID of the user the issue was assigned to when the breach was detected, if it breached.
AssigneeIDAtBreach *string `json:"assignee_id_at_breach,omitempty" url:"assignee_id_at_breach,omitempty"`
// The time at which it breaches (or has breached), if any.
BreachTime *time.Time `json:"breach_time,omitempty" url:"breach_time,omitempty"`
// The part of `seconds` that falls within support hours, if any.
BusinessHoursSeconds *int64 `json:"business_hours_seconds,omitempty" url:"business_hours_seconds,omitempty"`
// The ID of the user whose action resolved it, if any. Absent when it was resolved by a contact or automation.
ResolvingUserID *string `json:"resolving_user_id,omitempty" url:"resolving_user_id,omitempty"`
// The elapsed time in seconds, counting only time the issue spent in states that count toward this SLA. May be less than the time between the SLA's start and `time`.
Seconds *int64 `json:"seconds,omitempty" url:"seconds,omitempty"`
// The time it was reached, if any.
Time *time.Time `json:"time,omitempty" url:"time,omitempty"`
// contains filtered or unexported fields
}
func (*SLATimes) GetAssigneeIDAtBreach ¶
func (*SLATimes) GetBreachTime ¶
func (*SLATimes) GetBusinessHoursSeconds ¶
func (*SLATimes) GetExtraProperties ¶
func (*SLATimes) GetResolvingUserID ¶
func (*SLATimes) GetSeconds ¶
func (*SLATimes) MarshalJSON ¶
func (*SLATimes) SetAssigneeIDAtBreach ¶
SetAssigneeIDAtBreach sets the AssigneeIDAtBreach field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SLATimes) SetBreachTime ¶
SetBreachTime sets the BreachTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SLATimes) SetBusinessHoursSeconds ¶
SetBusinessHoursSeconds sets the BusinessHoursSeconds field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SLATimes) SetResolvingUserID ¶
SetResolvingUserID sets the ResolvingUserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SLATimes) SetSeconds ¶
SetSeconds sets the Seconds field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SLATimes) SetTime ¶
SetTime sets the Time field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SLATimes) UnmarshalJSON ¶
type SearchAccountsResponseBody ¶
type SearchAccountsResponseBody struct {
// The data payload of the response.
Data []*Account `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*SearchAccountsResponseBody) GetData ¶
func (s *SearchAccountsResponseBody) GetData() []*Account
func (*SearchAccountsResponseBody) GetExtraProperties ¶
func (s *SearchAccountsResponseBody) GetExtraProperties() map[string]interface{}
func (*SearchAccountsResponseBody) GetPagination ¶
func (s *SearchAccountsResponseBody) GetPagination() *Pagination
func (*SearchAccountsResponseBody) GetRequestID ¶
func (s *SearchAccountsResponseBody) GetRequestID() string
func (*SearchAccountsResponseBody) MarshalJSON ¶
func (s *SearchAccountsResponseBody) MarshalJSON() ([]byte, error)
func (*SearchAccountsResponseBody) SetData ¶
func (s *SearchAccountsResponseBody) SetData(data []*Account)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchAccountsResponseBody) SetPagination ¶
func (s *SearchAccountsResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchAccountsResponseBody) SetRequestID ¶
func (s *SearchAccountsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchAccountsResponseBody) String ¶
func (s *SearchAccountsResponseBody) String() string
func (*SearchAccountsResponseBody) UnmarshalJSON ¶
func (s *SearchAccountsResponseBody) UnmarshalJSON(data []byte) error
type SearchAccountsSort ¶
type SearchAccountsSort struct {
// The field to sort by.
Field SearchAccountsSortField `json:"field" url:"field"`
// The sort direction. Defaults to desc.
Order *SearchAccountsSortOrder `json:"order,omitempty" url:"order,omitempty"`
// contains filtered or unexported fields
}
func (*SearchAccountsSort) GetExtraProperties ¶
func (s *SearchAccountsSort) GetExtraProperties() map[string]interface{}
func (*SearchAccountsSort) GetField ¶
func (s *SearchAccountsSort) GetField() SearchAccountsSortField
func (*SearchAccountsSort) GetOrder ¶
func (s *SearchAccountsSort) GetOrder() *SearchAccountsSortOrder
func (*SearchAccountsSort) MarshalJSON ¶
func (s *SearchAccountsSort) MarshalJSON() ([]byte, error)
func (*SearchAccountsSort) SetField ¶
func (s *SearchAccountsSort) SetField(field SearchAccountsSortField)
SetField sets the Field field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchAccountsSort) SetOrder ¶
func (s *SearchAccountsSort) SetOrder(order *SearchAccountsSortOrder)
SetOrder sets the Order field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchAccountsSort) String ¶
func (s *SearchAccountsSort) String() string
func (*SearchAccountsSort) UnmarshalJSON ¶
func (s *SearchAccountsSort) UnmarshalJSON(data []byte) error
type SearchAccountsSortField ¶
type SearchAccountsSortField string
The field to sort by.
const ( SearchAccountsSortFieldName SearchAccountsSortField = "name" SearchAccountsSortFieldCreatedAt SearchAccountsSortField = "created_at" SearchAccountsSortFieldLastCustomerActivityAt SearchAccountsSortField = "last_customer_activity_at" SearchAccountsSortFieldLastVendorActivityAt SearchAccountsSortField = "last_vendor_activity_at" SearchAccountsSortFieldIssueCountLast90Days SearchAccountsSortField = "issue_count_last_90_days" )
func NewSearchAccountsSortFieldFromString ¶
func NewSearchAccountsSortFieldFromString(s string) (SearchAccountsSortField, error)
func (SearchAccountsSortField) Ptr ¶
func (s SearchAccountsSortField) Ptr() *SearchAccountsSortField
type SearchAccountsSortOrder ¶
type SearchAccountsSortOrder string
The sort direction. Defaults to desc.
const ( SearchAccountsSortOrderAsc SearchAccountsSortOrder = "asc" SearchAccountsSortOrderDesc SearchAccountsSortOrder = "desc" )
func NewSearchAccountsSortOrderFromString ¶
func NewSearchAccountsSortOrderFromString(s string) (SearchAccountsSortOrder, error)
func (SearchAccountsSortOrder) Ptr ¶
func (s SearchAccountsSortOrder) Ptr() *SearchAccountsSortOrder
type SearchCallRecordingsResponseBody ¶
type SearchCallRecordingsResponseBody struct {
// The data payload of the response.
Data []*CallRecording `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*SearchCallRecordingsResponseBody) GetData ¶
func (s *SearchCallRecordingsResponseBody) GetData() []*CallRecording
func (*SearchCallRecordingsResponseBody) GetExtraProperties ¶
func (s *SearchCallRecordingsResponseBody) GetExtraProperties() map[string]interface{}
func (*SearchCallRecordingsResponseBody) GetPagination ¶
func (s *SearchCallRecordingsResponseBody) GetPagination() *Pagination
func (*SearchCallRecordingsResponseBody) GetRequestID ¶
func (s *SearchCallRecordingsResponseBody) GetRequestID() string
func (*SearchCallRecordingsResponseBody) MarshalJSON ¶
func (s *SearchCallRecordingsResponseBody) MarshalJSON() ([]byte, error)
func (*SearchCallRecordingsResponseBody) SetData ¶
func (s *SearchCallRecordingsResponseBody) SetData(data []*CallRecording)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchCallRecordingsResponseBody) SetPagination ¶
func (s *SearchCallRecordingsResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchCallRecordingsResponseBody) SetRequestID ¶
func (s *SearchCallRecordingsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchCallRecordingsResponseBody) String ¶
func (s *SearchCallRecordingsResponseBody) String() string
func (*SearchCallRecordingsResponseBody) UnmarshalJSON ¶
func (s *SearchCallRecordingsResponseBody) UnmarshalJSON(data []byte) error
type SearchContactsResponseBody ¶
type SearchContactsResponseBody struct {
// The data payload of the response.
Data []*Contact `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*SearchContactsResponseBody) GetData ¶
func (s *SearchContactsResponseBody) GetData() []*Contact
func (*SearchContactsResponseBody) GetExtraProperties ¶
func (s *SearchContactsResponseBody) GetExtraProperties() map[string]interface{}
func (*SearchContactsResponseBody) GetPagination ¶
func (s *SearchContactsResponseBody) GetPagination() *Pagination
func (*SearchContactsResponseBody) GetRequestID ¶
func (s *SearchContactsResponseBody) GetRequestID() string
func (*SearchContactsResponseBody) MarshalJSON ¶
func (s *SearchContactsResponseBody) MarshalJSON() ([]byte, error)
func (*SearchContactsResponseBody) SetData ¶
func (s *SearchContactsResponseBody) SetData(data []*Contact)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchContactsResponseBody) SetPagination ¶
func (s *SearchContactsResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchContactsResponseBody) SetRequestID ¶
func (s *SearchContactsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchContactsResponseBody) String ¶
func (s *SearchContactsResponseBody) String() string
func (*SearchContactsResponseBody) UnmarshalJSON ¶
func (s *SearchContactsResponseBody) UnmarshalJSON(data []byte) error
type SearchCustomObjectsResponseBody ¶
type SearchCustomObjectsResponseBody struct {
Data []*APICustomObject `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*SearchCustomObjectsResponseBody) GetData ¶
func (s *SearchCustomObjectsResponseBody) GetData() []*APICustomObject
func (*SearchCustomObjectsResponseBody) GetExtraProperties ¶
func (s *SearchCustomObjectsResponseBody) GetExtraProperties() map[string]interface{}
func (*SearchCustomObjectsResponseBody) GetPagination ¶
func (s *SearchCustomObjectsResponseBody) GetPagination() *Pagination
func (*SearchCustomObjectsResponseBody) GetRequestID ¶
func (s *SearchCustomObjectsResponseBody) GetRequestID() string
func (*SearchCustomObjectsResponseBody) MarshalJSON ¶
func (s *SearchCustomObjectsResponseBody) MarshalJSON() ([]byte, error)
func (*SearchCustomObjectsResponseBody) SetData ¶
func (s *SearchCustomObjectsResponseBody) SetData(data []*APICustomObject)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchCustomObjectsResponseBody) SetPagination ¶
func (s *SearchCustomObjectsResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchCustomObjectsResponseBody) SetRequestID ¶
func (s *SearchCustomObjectsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchCustomObjectsResponseBody) String ¶
func (s *SearchCustomObjectsResponseBody) String() string
func (*SearchCustomObjectsResponseBody) UnmarshalJSON ¶
func (s *SearchCustomObjectsResponseBody) UnmarshalJSON(data []byte) error
type SearchFeatureRequestsResponseBody ¶
type SearchFeatureRequestsResponseBody struct {
Data []*FeatureRequestSearchResult `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*SearchFeatureRequestsResponseBody) GetData ¶
func (s *SearchFeatureRequestsResponseBody) GetData() []*FeatureRequestSearchResult
func (*SearchFeatureRequestsResponseBody) GetExtraProperties ¶
func (s *SearchFeatureRequestsResponseBody) GetExtraProperties() map[string]interface{}
func (*SearchFeatureRequestsResponseBody) GetRequestID ¶
func (s *SearchFeatureRequestsResponseBody) GetRequestID() string
func (*SearchFeatureRequestsResponseBody) MarshalJSON ¶
func (s *SearchFeatureRequestsResponseBody) MarshalJSON() ([]byte, error)
func (*SearchFeatureRequestsResponseBody) SetData ¶
func (s *SearchFeatureRequestsResponseBody) SetData(data []*FeatureRequestSearchResult)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchFeatureRequestsResponseBody) SetRequestID ¶
func (s *SearchFeatureRequestsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchFeatureRequestsResponseBody) String ¶
func (s *SearchFeatureRequestsResponseBody) String() string
func (*SearchFeatureRequestsResponseBody) UnmarshalJSON ¶
func (s *SearchFeatureRequestsResponseBody) UnmarshalJSON(data []byte) error
type SearchIssuesResponseBody ¶
type SearchIssuesResponseBody struct {
Data []*Issue `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*SearchIssuesResponseBody) GetData ¶
func (s *SearchIssuesResponseBody) GetData() []*Issue
func (*SearchIssuesResponseBody) GetExtraProperties ¶
func (s *SearchIssuesResponseBody) GetExtraProperties() map[string]interface{}
func (*SearchIssuesResponseBody) GetPagination ¶
func (s *SearchIssuesResponseBody) GetPagination() *Pagination
func (*SearchIssuesResponseBody) GetRequestID ¶
func (s *SearchIssuesResponseBody) GetRequestID() string
func (*SearchIssuesResponseBody) MarshalJSON ¶
func (s *SearchIssuesResponseBody) MarshalJSON() ([]byte, error)
func (*SearchIssuesResponseBody) SetData ¶
func (s *SearchIssuesResponseBody) SetData(data []*Issue)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchIssuesResponseBody) SetPagination ¶
func (s *SearchIssuesResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchIssuesResponseBody) SetRequestID ¶
func (s *SearchIssuesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchIssuesResponseBody) String ¶
func (s *SearchIssuesResponseBody) String() string
func (*SearchIssuesResponseBody) UnmarshalJSON ¶
func (s *SearchIssuesResponseBody) UnmarshalJSON(data []byte) error
type SearchIssuesSort ¶
type SearchIssuesSort struct {
// The field to sort by. response_breach_time uses the latest issue-level response SLA (first response, next reply, or follow-up); resolution_breach_time uses the latest issue-level resolution SLA. Issues without a breach time sort last in either direction. Use asc for earliest deadlines first.
Field SearchIssuesSortField `json:"field" url:"field"`
// The sort direction. Defaults to desc.
Order *SearchIssuesSortOrder `json:"order,omitempty" url:"order,omitempty"`
// contains filtered or unexported fields
}
func (*SearchIssuesSort) GetExtraProperties ¶
func (s *SearchIssuesSort) GetExtraProperties() map[string]interface{}
func (*SearchIssuesSort) GetField ¶
func (s *SearchIssuesSort) GetField() SearchIssuesSortField
func (*SearchIssuesSort) GetOrder ¶
func (s *SearchIssuesSort) GetOrder() *SearchIssuesSortOrder
func (*SearchIssuesSort) MarshalJSON ¶
func (s *SearchIssuesSort) MarshalJSON() ([]byte, error)
func (*SearchIssuesSort) SetField ¶
func (s *SearchIssuesSort) SetField(field SearchIssuesSortField)
SetField sets the Field field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchIssuesSort) SetOrder ¶
func (s *SearchIssuesSort) SetOrder(order *SearchIssuesSortOrder)
SetOrder sets the Order field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchIssuesSort) String ¶
func (s *SearchIssuesSort) String() string
func (*SearchIssuesSort) UnmarshalJSON ¶
func (s *SearchIssuesSort) UnmarshalJSON(data []byte) error
type SearchIssuesSortField ¶
type SearchIssuesSortField string
The field to sort by. response_breach_time uses the latest issue-level response SLA (first response, next reply, or follow-up); resolution_breach_time uses the latest issue-level resolution SLA. Issues without a breach time sort last in either direction. Use asc for earliest deadlines first.
const ( SearchIssuesSortFieldCreatedAt SearchIssuesSortField = "created_at" SearchIssuesSortFieldUpdatedAt SearchIssuesSortField = "updated_at" SearchIssuesSortFieldLatestMessageTime SearchIssuesSortField = "latest_message_time" SearchIssuesSortFieldResponseBreachTime SearchIssuesSortField = "response_breach_time" SearchIssuesSortFieldResolutionBreachTime SearchIssuesSortField = "resolution_breach_time" )
func NewSearchIssuesSortFieldFromString ¶
func NewSearchIssuesSortFieldFromString(s string) (SearchIssuesSortField, error)
func (SearchIssuesSortField) Ptr ¶
func (s SearchIssuesSortField) Ptr() *SearchIssuesSortField
type SearchIssuesSortOrder ¶
type SearchIssuesSortOrder string
The sort direction. Defaults to desc.
const ( SearchIssuesSortOrderAsc SearchIssuesSortOrder = "asc" SearchIssuesSortOrderDesc SearchIssuesSortOrder = "desc" )
func NewSearchIssuesSortOrderFromString ¶
func NewSearchIssuesSortOrderFromString(s string) (SearchIssuesSortOrder, error)
func (SearchIssuesSortOrder) Ptr ¶
func (s SearchIssuesSortOrder) Ptr() *SearchIssuesSortOrder
type SearchMilestonesResponseBody ¶
type SearchMilestonesResponseBody struct {
Data []*Milestone `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*SearchMilestonesResponseBody) GetData ¶
func (s *SearchMilestonesResponseBody) GetData() []*Milestone
func (*SearchMilestonesResponseBody) GetExtraProperties ¶
func (s *SearchMilestonesResponseBody) GetExtraProperties() map[string]interface{}
func (*SearchMilestonesResponseBody) GetPagination ¶
func (s *SearchMilestonesResponseBody) GetPagination() *Pagination
func (*SearchMilestonesResponseBody) GetRequestID ¶
func (s *SearchMilestonesResponseBody) GetRequestID() string
func (*SearchMilestonesResponseBody) MarshalJSON ¶
func (s *SearchMilestonesResponseBody) MarshalJSON() ([]byte, error)
func (*SearchMilestonesResponseBody) SetData ¶
func (s *SearchMilestonesResponseBody) SetData(data []*Milestone)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchMilestonesResponseBody) SetPagination ¶
func (s *SearchMilestonesResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchMilestonesResponseBody) SetRequestID ¶
func (s *SearchMilestonesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchMilestonesResponseBody) String ¶
func (s *SearchMilestonesResponseBody) String() string
func (*SearchMilestonesResponseBody) UnmarshalJSON ¶
func (s *SearchMilestonesResponseBody) UnmarshalJSON(data []byte) error
type SearchProjectsResponseBody ¶
type SearchProjectsResponseBody struct {
Data []*Project `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*SearchProjectsResponseBody) GetData ¶
func (s *SearchProjectsResponseBody) GetData() []*Project
func (*SearchProjectsResponseBody) GetExtraProperties ¶
func (s *SearchProjectsResponseBody) GetExtraProperties() map[string]interface{}
func (*SearchProjectsResponseBody) GetPagination ¶
func (s *SearchProjectsResponseBody) GetPagination() *Pagination
func (*SearchProjectsResponseBody) GetRequestID ¶
func (s *SearchProjectsResponseBody) GetRequestID() string
func (*SearchProjectsResponseBody) MarshalJSON ¶
func (s *SearchProjectsResponseBody) MarshalJSON() ([]byte, error)
func (*SearchProjectsResponseBody) SetData ¶
func (s *SearchProjectsResponseBody) SetData(data []*Project)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchProjectsResponseBody) SetPagination ¶
func (s *SearchProjectsResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchProjectsResponseBody) SetRequestID ¶
func (s *SearchProjectsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchProjectsResponseBody) String ¶
func (s *SearchProjectsResponseBody) String() string
func (*SearchProjectsResponseBody) UnmarshalJSON ¶
func (s *SearchProjectsResponseBody) UnmarshalJSON(data []byte) error
type SearchSurveysResponseBody ¶
type SearchSurveysResponseBody struct {
Data []*Survey `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*SearchSurveysResponseBody) GetData ¶
func (s *SearchSurveysResponseBody) GetData() []*Survey
func (*SearchSurveysResponseBody) GetExtraProperties ¶
func (s *SearchSurveysResponseBody) GetExtraProperties() map[string]interface{}
func (*SearchSurveysResponseBody) GetRequestID ¶
func (s *SearchSurveysResponseBody) GetRequestID() string
func (*SearchSurveysResponseBody) MarshalJSON ¶
func (s *SearchSurveysResponseBody) MarshalJSON() ([]byte, error)
func (*SearchSurveysResponseBody) SetData ¶
func (s *SearchSurveysResponseBody) SetData(data []*Survey)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchSurveysResponseBody) SetRequestID ¶
func (s *SearchSurveysResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchSurveysResponseBody) String ¶
func (s *SearchSurveysResponseBody) String() string
func (*SearchSurveysResponseBody) UnmarshalJSON ¶
func (s *SearchSurveysResponseBody) UnmarshalJSON(data []byte) error
type SearchTagsRequestObjectType ¶
type SearchTagsRequestObjectType string
Only return tags of this object type. Omit to search every type the caller can read.
const ( SearchTagsRequestObjectTypeAccount SearchTagsRequestObjectType = "account" SearchTagsRequestObjectTypeArticle SearchTagsRequestObjectType = "article" SearchTagsRequestObjectTypeIssue SearchTagsRequestObjectType = "issue" )
func NewSearchTagsRequestObjectTypeFromString ¶
func NewSearchTagsRequestObjectTypeFromString(s string) (SearchTagsRequestObjectType, error)
func (SearchTagsRequestObjectType) Ptr ¶
func (s SearchTagsRequestObjectType) Ptr() *SearchTagsRequestObjectType
type SearchTagsResponseBody ¶
type SearchTagsResponseBody struct {
// The data payload of the response.
Data []*Tag `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*SearchTagsResponseBody) GetData ¶
func (s *SearchTagsResponseBody) GetData() []*Tag
func (*SearchTagsResponseBody) GetExtraProperties ¶
func (s *SearchTagsResponseBody) GetExtraProperties() map[string]interface{}
func (*SearchTagsResponseBody) GetPagination ¶
func (s *SearchTagsResponseBody) GetPagination() *Pagination
func (*SearchTagsResponseBody) GetRequestID ¶
func (s *SearchTagsResponseBody) GetRequestID() string
func (*SearchTagsResponseBody) MarshalJSON ¶
func (s *SearchTagsResponseBody) MarshalJSON() ([]byte, error)
func (*SearchTagsResponseBody) SetData ¶
func (s *SearchTagsResponseBody) SetData(data []*Tag)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchTagsResponseBody) SetPagination ¶
func (s *SearchTagsResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchTagsResponseBody) SetRequestID ¶
func (s *SearchTagsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchTagsResponseBody) String ¶
func (s *SearchTagsResponseBody) String() string
func (*SearchTagsResponseBody) UnmarshalJSON ¶
func (s *SearchTagsResponseBody) UnmarshalJSON(data []byte) error
type SearchTasksResponseBody ¶
type SearchTasksResponseBody struct {
Data []*Task `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*SearchTasksResponseBody) GetData ¶
func (s *SearchTasksResponseBody) GetData() []*Task
func (*SearchTasksResponseBody) GetExtraProperties ¶
func (s *SearchTasksResponseBody) GetExtraProperties() map[string]interface{}
func (*SearchTasksResponseBody) GetPagination ¶
func (s *SearchTasksResponseBody) GetPagination() *Pagination
func (*SearchTasksResponseBody) GetRequestID ¶
func (s *SearchTasksResponseBody) GetRequestID() string
func (*SearchTasksResponseBody) MarshalJSON ¶
func (s *SearchTasksResponseBody) MarshalJSON() ([]byte, error)
func (*SearchTasksResponseBody) SetData ¶
func (s *SearchTasksResponseBody) SetData(data []*Task)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchTasksResponseBody) SetPagination ¶
func (s *SearchTasksResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchTasksResponseBody) SetRequestID ¶
func (s *SearchTasksResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchTasksResponseBody) String ¶
func (s *SearchTasksResponseBody) String() string
func (*SearchTasksResponseBody) UnmarshalJSON ¶
func (s *SearchTasksResponseBody) UnmarshalJSON(data []byte) error
type SearchUsersResponseBody ¶
type SearchUsersResponseBody struct {
// The data payload of the response.
Data []*User `json:"data" url:"data"`
Pagination *Pagination `json:"pagination,omitempty" url:"pagination,omitempty"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*SearchUsersResponseBody) GetData ¶
func (s *SearchUsersResponseBody) GetData() []*User
func (*SearchUsersResponseBody) GetExtraProperties ¶
func (s *SearchUsersResponseBody) GetExtraProperties() map[string]interface{}
func (*SearchUsersResponseBody) GetPagination ¶
func (s *SearchUsersResponseBody) GetPagination() *Pagination
func (*SearchUsersResponseBody) GetRequestID ¶
func (s *SearchUsersResponseBody) GetRequestID() string
func (*SearchUsersResponseBody) MarshalJSON ¶
func (s *SearchUsersResponseBody) MarshalJSON() ([]byte, error)
func (*SearchUsersResponseBody) SetData ¶
func (s *SearchUsersResponseBody) SetData(data []*User)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchUsersResponseBody) SetPagination ¶
func (s *SearchUsersResponseBody) SetPagination(pagination *Pagination)
SetPagination sets the Pagination field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchUsersResponseBody) SetRequestID ¶
func (s *SearchUsersResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SearchUsersResponseBody) String ¶
func (s *SearchUsersResponseBody) String() string
func (*SearchUsersResponseBody) UnmarshalJSON ¶
func (s *SearchUsersResponseBody) UnmarshalJSON(data []byte) error
type SelectMetadata ¶
type SelectMetadata struct {
// The list options of the select custom field. This is only present for select and multiselect custom fields.
Options []*CustomFieldDefinitionSelectOption `json:"options,omitempty" url:"options,omitempty"`
// contains filtered or unexported fields
}
func (*SelectMetadata) GetExtraProperties ¶
func (s *SelectMetadata) GetExtraProperties() map[string]interface{}
func (*SelectMetadata) GetOptions ¶
func (s *SelectMetadata) GetOptions() []*CustomFieldDefinitionSelectOption
func (*SelectMetadata) MarshalJSON ¶
func (s *SelectMetadata) MarshalJSON() ([]byte, error)
func (*SelectMetadata) SetOptions ¶
func (s *SelectMetadata) SetOptions(options []*CustomFieldDefinitionSelectOption)
SetOptions sets the Options field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SelectMetadata) String ¶
func (s *SelectMetadata) String() string
func (*SelectMetadata) UnmarshalJSON ¶
func (s *SelectMetadata) UnmarshalJSON(data []byte) error
type SendCustomerPortalInvitationResponseBody ¶
type SendCustomerPortalInvitationResponseBody struct {
Data *CustomerPortalInvitationResult `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*SendCustomerPortalInvitationResponseBody) GetData ¶
func (s *SendCustomerPortalInvitationResponseBody) GetData() *CustomerPortalInvitationResult
func (*SendCustomerPortalInvitationResponseBody) GetExtraProperties ¶
func (s *SendCustomerPortalInvitationResponseBody) GetExtraProperties() map[string]interface{}
func (*SendCustomerPortalInvitationResponseBody) GetRequestID ¶
func (s *SendCustomerPortalInvitationResponseBody) GetRequestID() string
func (*SendCustomerPortalInvitationResponseBody) MarshalJSON ¶
func (s *SendCustomerPortalInvitationResponseBody) MarshalJSON() ([]byte, error)
func (*SendCustomerPortalInvitationResponseBody) SetData ¶
func (s *SendCustomerPortalInvitationResponseBody) SetData(data *CustomerPortalInvitationResult)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SendCustomerPortalInvitationResponseBody) SetRequestID ¶
func (s *SendCustomerPortalInvitationResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SendCustomerPortalInvitationResponseBody) String ¶
func (s *SendCustomerPortalInvitationResponseBody) String() string
func (*SendCustomerPortalInvitationResponseBody) UnmarshalJSON ¶
func (s *SendCustomerPortalInvitationResponseBody) UnmarshalJSON(data []byte) error
type SetFeatureRequestPortalVisibilityResponseBody ¶
type SetFeatureRequestPortalVisibilityResponseBody struct {
Data *FeatureRequest `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*SetFeatureRequestPortalVisibilityResponseBody) GetData ¶
func (s *SetFeatureRequestPortalVisibilityResponseBody) GetData() *FeatureRequest
func (*SetFeatureRequestPortalVisibilityResponseBody) GetExtraProperties ¶
func (s *SetFeatureRequestPortalVisibilityResponseBody) GetExtraProperties() map[string]interface{}
func (*SetFeatureRequestPortalVisibilityResponseBody) GetRequestID ¶
func (s *SetFeatureRequestPortalVisibilityResponseBody) GetRequestID() string
func (*SetFeatureRequestPortalVisibilityResponseBody) MarshalJSON ¶
func (s *SetFeatureRequestPortalVisibilityResponseBody) MarshalJSON() ([]byte, error)
func (*SetFeatureRequestPortalVisibilityResponseBody) SetData ¶
func (s *SetFeatureRequestPortalVisibilityResponseBody) SetData(data *FeatureRequest)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SetFeatureRequestPortalVisibilityResponseBody) SetRequestID ¶
func (s *SetFeatureRequestPortalVisibilityResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SetFeatureRequestPortalVisibilityResponseBody) String ¶
func (s *SetFeatureRequestPortalVisibilityResponseBody) String() string
func (*SetFeatureRequestPortalVisibilityResponseBody) UnmarshalJSON ¶
func (s *SetFeatureRequestPortalVisibilityResponseBody) UnmarshalJSON(data []byte) error
type SkippedIssue ¶
type SkippedIssue struct {
// The issue ID as given in the request.
IssueID string `json:"issue_id" url:"issue_id"`
// Why the operation was not applied to this issue.
//
// Known values: `not_found`, `forbidden`, `unsupported_source`, `failed`. This list is not exhaustive.
Reason string `json:"reason" url:"reason"`
// contains filtered or unexported fields
}
func (*SkippedIssue) GetExtraProperties ¶
func (s *SkippedIssue) GetExtraProperties() map[string]interface{}
func (*SkippedIssue) GetIssueID ¶
func (s *SkippedIssue) GetIssueID() string
func (*SkippedIssue) GetReason ¶
func (s *SkippedIssue) GetReason() string
func (*SkippedIssue) MarshalJSON ¶
func (s *SkippedIssue) MarshalJSON() ([]byte, error)
func (*SkippedIssue) SetIssueID ¶
func (s *SkippedIssue) SetIssueID(issueID string)
SetIssueID sets the IssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SkippedIssue) SetReason ¶
func (s *SkippedIssue) SetReason(reason string)
SetReason sets the Reason field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SkippedIssue) String ¶
func (s *SkippedIssue) String() string
func (*SkippedIssue) UnmarshalJSON ¶
func (s *SkippedIssue) UnmarshalJSON(data []byte) error
type SlackInfo ¶
type SlackInfo struct {
// The Slack channel ID associated with the issue.
ChannelID string `json:"channel_id" url:"channel_id"`
// The root message ID of slack message that started issue.
MessageTs string `json:"message_ts" url:"message_ts"`
// The Slack workspace ID associated with the issue.
WorkspaceID string `json:"workspace_id" url:"workspace_id"`
// contains filtered or unexported fields
}
func (*SlackInfo) GetChannelID ¶
func (*SlackInfo) GetExtraProperties ¶
func (*SlackInfo) GetMessageTs ¶
func (*SlackInfo) GetWorkspaceID ¶
func (*SlackInfo) MarshalJSON ¶
func (*SlackInfo) SetChannelID ¶
SetChannelID sets the ChannelID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SlackInfo) SetMessageTs ¶
SetMessageTs sets the MessageTs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SlackInfo) SetWorkspaceID ¶
SetWorkspaceID sets the WorkspaceID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SlackInfo) UnmarshalJSON ¶
type SlackMessageInfo ¶
type SlackMessageInfo struct {
// The Slack channel ID the message was posted in.
ChannelID string `json:"channel_id" url:"channel_id"`
// The Slack timestamp of this message, which is its Slack message ID.
MessageTs string `json:"message_ts" url:"message_ts"`
// A link that opens this specific message in Slack. Omitted when the workspace's Slack domain is unknown.
Permalink *string `json:"permalink,omitempty" url:"permalink,omitempty"`
// The timestamp of the thread's root message. Equal to message_ts for the root message itself.
ThreadTs string `json:"thread_ts" url:"thread_ts"`
// contains filtered or unexported fields
}
func (*SlackMessageInfo) GetChannelID ¶
func (s *SlackMessageInfo) GetChannelID() string
func (*SlackMessageInfo) GetExtraProperties ¶
func (s *SlackMessageInfo) GetExtraProperties() map[string]interface{}
func (*SlackMessageInfo) GetMessageTs ¶
func (s *SlackMessageInfo) GetMessageTs() string
func (*SlackMessageInfo) GetPermalink ¶
func (s *SlackMessageInfo) GetPermalink() *string
func (*SlackMessageInfo) GetThreadTs ¶
func (s *SlackMessageInfo) GetThreadTs() string
func (*SlackMessageInfo) MarshalJSON ¶
func (s *SlackMessageInfo) MarshalJSON() ([]byte, error)
func (*SlackMessageInfo) SetChannelID ¶
func (s *SlackMessageInfo) SetChannelID(channelID string)
SetChannelID sets the ChannelID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SlackMessageInfo) SetMessageTs ¶
func (s *SlackMessageInfo) SetMessageTs(messageTs string)
SetMessageTs sets the MessageTs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SlackMessageInfo) SetPermalink ¶
func (s *SlackMessageInfo) SetPermalink(permalink *string)
SetPermalink sets the Permalink field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SlackMessageInfo) SetThreadTs ¶
func (s *SlackMessageInfo) SetThreadTs(threadTs string)
SetThreadTs sets the ThreadTs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SlackMessageInfo) String ¶
func (s *SlackMessageInfo) String() string
func (*SlackMessageInfo) UnmarshalJSON ¶
func (s *SlackMessageInfo) UnmarshalJSON(data []byte) error
type SnoozeIssueResponseBody ¶
type SnoozeIssueResponseBody struct {
Data *Issue `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*SnoozeIssueResponseBody) GetData ¶
func (s *SnoozeIssueResponseBody) GetData() *Issue
func (*SnoozeIssueResponseBody) GetExtraProperties ¶
func (s *SnoozeIssueResponseBody) GetExtraProperties() map[string]interface{}
func (*SnoozeIssueResponseBody) GetRequestID ¶
func (s *SnoozeIssueResponseBody) GetRequestID() string
func (*SnoozeIssueResponseBody) MarshalJSON ¶
func (s *SnoozeIssueResponseBody) MarshalJSON() ([]byte, error)
func (*SnoozeIssueResponseBody) SetData ¶
func (s *SnoozeIssueResponseBody) SetData(data *Issue)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SnoozeIssueResponseBody) SetRequestID ¶
func (s *SnoozeIssueResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SnoozeIssueResponseBody) String ¶
func (s *SnoozeIssueResponseBody) String() string
func (*SnoozeIssueResponseBody) UnmarshalJSON ¶
func (s *SnoozeIssueResponseBody) UnmarshalJSON(data []byte) error
type SubmitTicketFormField ¶
type SubmitTicketFormField struct {
// The field slug returned by GET /ticket-forms/{id}.
Slug string `json:"slug" url:"slug"`
// The submitted value for a single-value field.
Value *string `json:"value,omitempty" url:"value,omitempty"`
// The submitted values for a multi-value field, or HTTPS URLs for a file-upload field. File-upload URLs are copied into durable Pylon storage before the submission is persisted.
Values []string `json:"values,omitempty" url:"values,omitempty"`
// contains filtered or unexported fields
}
func (*SubmitTicketFormField) GetExtraProperties ¶
func (s *SubmitTicketFormField) GetExtraProperties() map[string]interface{}
func (*SubmitTicketFormField) GetSlug ¶
func (s *SubmitTicketFormField) GetSlug() string
func (*SubmitTicketFormField) GetValue ¶
func (s *SubmitTicketFormField) GetValue() *string
func (*SubmitTicketFormField) GetValues ¶
func (s *SubmitTicketFormField) GetValues() []string
func (*SubmitTicketFormField) MarshalJSON ¶
func (s *SubmitTicketFormField) MarshalJSON() ([]byte, error)
func (*SubmitTicketFormField) SetSlug ¶
func (s *SubmitTicketFormField) SetSlug(slug string)
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SubmitTicketFormField) SetValue ¶
func (s *SubmitTicketFormField) SetValue(value *string)
SetValue sets the Value field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SubmitTicketFormField) SetValues ¶
func (s *SubmitTicketFormField) SetValues(values []string)
SetValues sets the Values field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SubmitTicketFormField) String ¶
func (s *SubmitTicketFormField) String() string
func (*SubmitTicketFormField) UnmarshalJSON ¶
func (s *SubmitTicketFormField) UnmarshalJSON(data []byte) error
type SubmitTicketFormResponseBody ¶
type SubmitTicketFormResponseBody struct {
Data *Issue `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*SubmitTicketFormResponseBody) GetData ¶
func (s *SubmitTicketFormResponseBody) GetData() *Issue
func (*SubmitTicketFormResponseBody) GetExtraProperties ¶
func (s *SubmitTicketFormResponseBody) GetExtraProperties() map[string]interface{}
func (*SubmitTicketFormResponseBody) GetRequestID ¶
func (s *SubmitTicketFormResponseBody) GetRequestID() string
func (*SubmitTicketFormResponseBody) MarshalJSON ¶
func (s *SubmitTicketFormResponseBody) MarshalJSON() ([]byte, error)
func (*SubmitTicketFormResponseBody) SetData ¶
func (s *SubmitTicketFormResponseBody) SetData(data *Issue)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SubmitTicketFormResponseBody) SetRequestID ¶
func (s *SubmitTicketFormResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SubmitTicketFormResponseBody) String ¶
func (s *SubmitTicketFormResponseBody) String() string
func (*SubmitTicketFormResponseBody) UnmarshalJSON ¶
func (s *SubmitTicketFormResponseBody) UnmarshalJSON(data []byte) error
type Survey ¶
type Survey struct {
// The unique identifier of the survey.
ID string `json:"id" url:"id"`
// The name of the survey.
Name string `json:"name" url:"name"`
// The type of the survey.
//
// Known values: `nps`, `csat`, `custom`. This list is not exhaustive.
Type string `json:"type" url:"type"`
// When the survey was last updated (RFC3339 format).
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// contains filtered or unexported fields
}
func (*Survey) GetExtraProperties ¶
func (*Survey) GetUpdatedAt ¶
func (*Survey) MarshalJSON ¶
func (*Survey) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Survey) SetName ¶
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Survey) SetType ¶
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Survey) SetUpdatedAt ¶
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Survey) UnmarshalJSON ¶
type SurveyResponse ¶
type SurveyResponse struct {
// The ID of the account associated with the response.
AccountID *string `json:"account_id,omitempty" url:"account_id,omitempty"`
// The answers submitted in this response.
Answers []*SurveyResponseAnswer `json:"answers,omitempty" url:"answers,omitempty"`
// The ID of the contact who submitted the response.
ContactID *string `json:"contact_id,omitempty" url:"contact_id,omitempty"`
// When the response was excluded from analytics.
ExcludedAt *time.Time `json:"excluded_at,omitempty" url:"excluded_at,omitempty"`
// The unique identifier of the survey response.
ID string `json:"id" url:"id"`
// The ID of the issue associated with this response, when applicable.
IssueID *string `json:"issue_id,omitempty" url:"issue_id,omitempty"`
// When the response was submitted.
SubmittedAt *time.Time `json:"submitted_at,omitempty" url:"submitted_at,omitempty"`
// The ID of the survey template associated with this response.
SurveyID *string `json:"survey_id,omitempty" url:"survey_id,omitempty"`
// The ID of the individual survey delivery that produced this response.
SurveyInstanceID string `json:"survey_instance_id" url:"survey_instance_id"`
// The type of survey associated with this response.
//
// Known values: `nps`, `csat`, `custom`. This list is not exhaustive.
SurveyType string `json:"survey_type" url:"survey_type"`
// contains filtered or unexported fields
}
func (*SurveyResponse) GetAccountID ¶
func (s *SurveyResponse) GetAccountID() *string
func (*SurveyResponse) GetAnswers ¶
func (s *SurveyResponse) GetAnswers() []*SurveyResponseAnswer
func (*SurveyResponse) GetContactID ¶
func (s *SurveyResponse) GetContactID() *string
func (*SurveyResponse) GetExcludedAt ¶
func (s *SurveyResponse) GetExcludedAt() *time.Time
func (*SurveyResponse) GetExtraProperties ¶
func (s *SurveyResponse) GetExtraProperties() map[string]interface{}
func (*SurveyResponse) GetID ¶
func (s *SurveyResponse) GetID() string
func (*SurveyResponse) GetIssueID ¶
func (s *SurveyResponse) GetIssueID() *string
func (*SurveyResponse) GetSubmittedAt ¶
func (s *SurveyResponse) GetSubmittedAt() *time.Time
func (*SurveyResponse) GetSurveyID ¶
func (s *SurveyResponse) GetSurveyID() *string
func (*SurveyResponse) GetSurveyInstanceID ¶
func (s *SurveyResponse) GetSurveyInstanceID() string
func (*SurveyResponse) GetSurveyType ¶
func (s *SurveyResponse) GetSurveyType() string
func (*SurveyResponse) MarshalJSON ¶
func (s *SurveyResponse) MarshalJSON() ([]byte, error)
func (*SurveyResponse) SetAccountID ¶
func (s *SurveyResponse) SetAccountID(accountID *string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SurveyResponse) SetAnswers ¶
func (s *SurveyResponse) SetAnswers(answers []*SurveyResponseAnswer)
SetAnswers sets the Answers field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SurveyResponse) SetContactID ¶
func (s *SurveyResponse) SetContactID(contactID *string)
SetContactID sets the ContactID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SurveyResponse) SetExcludedAt ¶
func (s *SurveyResponse) SetExcludedAt(excludedAt *time.Time)
SetExcludedAt sets the ExcludedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SurveyResponse) SetID ¶
func (s *SurveyResponse) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SurveyResponse) SetIssueID ¶
func (s *SurveyResponse) SetIssueID(issueID *string)
SetIssueID sets the IssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SurveyResponse) SetSubmittedAt ¶
func (s *SurveyResponse) SetSubmittedAt(submittedAt *time.Time)
SetSubmittedAt sets the SubmittedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SurveyResponse) SetSurveyID ¶
func (s *SurveyResponse) SetSurveyID(surveyID *string)
SetSurveyID sets the SurveyID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SurveyResponse) SetSurveyInstanceID ¶
func (s *SurveyResponse) SetSurveyInstanceID(surveyInstanceID string)
SetSurveyInstanceID sets the SurveyInstanceID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SurveyResponse) SetSurveyType ¶
func (s *SurveyResponse) SetSurveyType(surveyType string)
SetSurveyType sets the SurveyType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SurveyResponse) String ¶
func (s *SurveyResponse) String() string
func (*SurveyResponse) UnmarshalJSON ¶
func (s *SurveyResponse) UnmarshalJSON(data []byte) error
type SurveyResponseAnswer ¶
type SurveyResponseAnswer struct {
// The prompt/question that was answered.
Prompt string `json:"prompt" url:"prompt"`
// The ID of the survey question, when applicable.
QuestionID *string `json:"question_id,omitempty" url:"question_id,omitempty"`
// The type of question (score or comment).
QuestionType string `json:"question_type" url:"question_type"`
// The value of the answer.
Value string `json:"value" url:"value"`
// contains filtered or unexported fields
}
func (*SurveyResponseAnswer) GetExtraProperties ¶
func (s *SurveyResponseAnswer) GetExtraProperties() map[string]interface{}
func (*SurveyResponseAnswer) GetPrompt ¶
func (s *SurveyResponseAnswer) GetPrompt() string
func (*SurveyResponseAnswer) GetQuestionID ¶
func (s *SurveyResponseAnswer) GetQuestionID() *string
func (*SurveyResponseAnswer) GetQuestionType ¶
func (s *SurveyResponseAnswer) GetQuestionType() string
func (*SurveyResponseAnswer) GetValue ¶
func (s *SurveyResponseAnswer) GetValue() string
func (*SurveyResponseAnswer) MarshalJSON ¶
func (s *SurveyResponseAnswer) MarshalJSON() ([]byte, error)
func (*SurveyResponseAnswer) SetPrompt ¶
func (s *SurveyResponseAnswer) SetPrompt(prompt string)
SetPrompt sets the Prompt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SurveyResponseAnswer) SetQuestionID ¶
func (s *SurveyResponseAnswer) SetQuestionID(questionID *string)
SetQuestionID sets the QuestionID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SurveyResponseAnswer) SetQuestionType ¶
func (s *SurveyResponseAnswer) SetQuestionType(questionType string)
SetQuestionType sets the QuestionType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SurveyResponseAnswer) SetValue ¶
func (s *SurveyResponseAnswer) SetValue(value string)
SetValue sets the Value field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SurveyResponseAnswer) String ¶
func (s *SurveyResponseAnswer) String() string
func (*SurveyResponseAnswer) UnmarshalJSON ¶
func (s *SurveyResponseAnswer) UnmarshalJSON(data []byte) error
type SurveysGetRequest ¶
type SurveysGetRequest struct {
// The ID of the survey.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*SurveysGetRequest) SetID ¶
func (s *SurveysGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type SurveysSearchRequest ¶
type SurveysSearchRequest struct {
Filter *Filter `json:"filter,omitempty" url:"-"`
// The number of surveys to fetch. Defaults to 100. Must be between 1 and 1000.
Limit *int64 `json:"limit,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*SurveysSearchRequest) MarshalJSON ¶
func (s *SurveysSearchRequest) MarshalJSON() ([]byte, error)
func (*SurveysSearchRequest) SetFilter ¶
func (s *SurveysSearchRequest) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SurveysSearchRequest) SetLimit ¶
func (s *SurveysSearchRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*SurveysSearchRequest) UnmarshalJSON ¶
func (s *SurveysSearchRequest) UnmarshalJSON(data []byte) error
type Tag ¶
type Tag struct {
// The hex code of the tag's color.
HexColor *string `json:"hex_color,omitempty" url:"hex_color,omitempty"`
// The ID of the tag.
ID string `json:"id" url:"id"`
// The object type of the tagged object.
//
// Known values: `account`, `article`, `issue`. This list is not exhaustive.
ObjectType string `json:"object_type" url:"object_type"`
// The value of the Tag.
Value string `json:"value" url:"value"`
// contains filtered or unexported fields
}
func (*Tag) GetExtraProperties ¶
func (*Tag) GetHexColor ¶
func (*Tag) GetObjectType ¶
func (*Tag) MarshalJSON ¶
func (*Tag) SetHexColor ¶
SetHexColor sets the HexColor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Tag) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Tag) SetObjectType ¶
SetObjectType sets the ObjectType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Tag) SetValue ¶
SetValue sets the Value field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Tag) UnmarshalJSON ¶
type TagsCreateRequest ¶
type TagsCreateRequest struct {
// The hex code of the tag's color.
HexColor *string `json:"hex_color,omitempty" url:"-"`
// The object type of the associated object. Can be "account", "article", or "issue".
ObjectType CreateTagRequestBodyObjectType `json:"object_type" url:"-"`
// The tag value.
Value string `json:"value" url:"-"`
// contains filtered or unexported fields
}
func (*TagsCreateRequest) MarshalJSON ¶
func (t *TagsCreateRequest) MarshalJSON() ([]byte, error)
func (*TagsCreateRequest) SetHexColor ¶
func (t *TagsCreateRequest) SetHexColor(hexColor *string)
SetHexColor sets the HexColor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TagsCreateRequest) SetObjectType ¶
func (t *TagsCreateRequest) SetObjectType(objectType CreateTagRequestBodyObjectType)
SetObjectType sets the ObjectType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TagsCreateRequest) SetValue ¶
func (t *TagsCreateRequest) SetValue(value string)
SetValue sets the Value field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TagsCreateRequest) UnmarshalJSON ¶
func (t *TagsCreateRequest) UnmarshalJSON(data []byte) error
type TagsDeleteRequest ¶
type TagsDeleteRequest struct {
// The ID of the tag to update.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*TagsDeleteRequest) SetID ¶
func (t *TagsDeleteRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type TagsGetRequest ¶
type TagsGetRequest struct {
// The ID of the tag.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*TagsGetRequest) SetID ¶
func (t *TagsGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type TagsSearchRequest ¶
type TagsSearchRequest struct {
// The cursor to use for pagination.
Cursor *string `json:"cursor,omitempty" url:"-"`
// The number of tags to fetch. Defaults to 100. Must be greater than 0 and less than 1000.
Limit *int64 `json:"limit,omitempty" url:"-"`
// Only return tags of this object type. Omit to search every type the caller can read.
ObjectType *SearchTagsRequestObjectType `json:"object_type,omitempty" url:"-"`
// Only return tags whose value contains this text. Spaces, hyphens, and underscores match each other.
SearchText *string `json:"search_text,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*TagsSearchRequest) MarshalJSON ¶
func (t *TagsSearchRequest) MarshalJSON() ([]byte, error)
func (*TagsSearchRequest) SetCursor ¶
func (t *TagsSearchRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TagsSearchRequest) SetLimit ¶
func (t *TagsSearchRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TagsSearchRequest) SetObjectType ¶
func (t *TagsSearchRequest) SetObjectType(objectType *SearchTagsRequestObjectType)
SetObjectType sets the ObjectType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TagsSearchRequest) SetSearchText ¶
func (t *TagsSearchRequest) SetSearchText(searchText *string)
SetSearchText sets the SearchText field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TagsSearchRequest) UnmarshalJSON ¶
func (t *TagsSearchRequest) UnmarshalJSON(data []byte) error
type TagsUpdateRequest ¶
type TagsUpdateRequest struct {
// The ID of the tag to update.
ID string `json:"-" url:"-"`
// The hex code of the tag's color.
HexColor *string `json:"hex_color,omitempty" url:"-"`
// in: body
// The name of the tag.
Value *string `json:"value,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*TagsUpdateRequest) MarshalJSON ¶
func (t *TagsUpdateRequest) MarshalJSON() ([]byte, error)
func (*TagsUpdateRequest) SetHexColor ¶
func (t *TagsUpdateRequest) SetHexColor(hexColor *string)
SetHexColor sets the HexColor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TagsUpdateRequest) SetID ¶
func (t *TagsUpdateRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TagsUpdateRequest) SetValue ¶
func (t *TagsUpdateRequest) SetValue(value *string)
SetValue sets the Value field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TagsUpdateRequest) UnmarshalJSON ¶
func (t *TagsUpdateRequest) UnmarshalJSON(data []byte) error
type Task ¶
type Task struct {
Account *MiniAccount `json:"account,omitempty" url:"account,omitempty"`
// Instructions the AI follows when evaluating this task in a smart project.
AiInstructions string `json:"ai_instructions" url:"ai_instructions"`
Assignee *Actor `json:"assignee,omitempty" url:"assignee,omitempty"`
// The IDs of tasks that block this task.
BlockedByTaskIDs []string `json:"blocked_by_task_ids,omitempty" url:"blocked_by_task_ids,omitempty"`
// The IDs of tasks that this task blocks.
BlocksTaskIDs []string `json:"blocks_task_ids,omitempty" url:"blocks_task_ids,omitempty"`
// The body of the task in HTML format.
BodyHTML string `json:"body_html" url:"body_html"`
// The completion time of the task in RFC3339 format.
CompletedAt *time.Time `json:"completed_at,omitempty" url:"completed_at,omitempty"`
// The created at time of the task.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// Custom field values associated with the task, keyed by custom field slug.
CustomFields map[string]*CustomFieldValue `json:"custom_fields,omitempty" url:"custom_fields,omitempty"`
// The customer portal visible of the task.
CustomerPortalVisible bool `json:"customer_portal_visible" url:"customer_portal_visible"`
// The due date of the task in RFC3339 format.
DueDate *time.Time `json:"due_date,omitempty" url:"due_date,omitempty"`
// The external product issues associated with the task, if any.
ExternalIssues []*ExternalIssue `json:"external_issues,omitempty" url:"external_issues,omitempty"`
// The ID of the task.
ID string `json:"id" url:"id"`
// The link to the task in the Pylon app. Requires Pylon app access.
Link string `json:"link" url:"link"`
// The Pylon issues linked to the task that the current user can access, if any.
LinkedIssues []*MiniIssue `json:"linked_issues,omitempty" url:"linked_issues,omitempty"`
Milestone *MiniMilestone `json:"milestone,omitempty" url:"milestone,omitempty"`
// The ID of the parent task, if this is a subtask.
ParentTaskID *string `json:"parent_task_id,omitempty" url:"parent_task_id,omitempty"`
Project *MiniProject `json:"project,omitempty" url:"project,omitempty"`
Status TaskStatus `json:"status" url:"status"`
// The IDs of subtasks belonging to this task.
SubtaskIDs []string `json:"subtask_ids,omitempty" url:"subtask_ids,omitempty"`
// The title of the task.
Title string `json:"title" url:"title"`
// The updated at time of the task.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// contains filtered or unexported fields
}
func (*Task) GetAccount ¶
func (t *Task) GetAccount() *MiniAccount
func (*Task) GetAiInstructions ¶
func (*Task) GetAssignee ¶
func (*Task) GetBlockedByTaskIDs ¶
func (*Task) GetBlocksTaskIDs ¶
func (*Task) GetBodyHTML ¶
func (*Task) GetCompletedAt ¶
func (*Task) GetCreatedAt ¶
func (*Task) GetCustomFields ¶
func (t *Task) GetCustomFields() map[string]*CustomFieldValue
func (*Task) GetCustomerPortalVisible ¶
func (*Task) GetDueDate ¶
func (*Task) GetExternalIssues ¶
func (t *Task) GetExternalIssues() []*ExternalIssue
func (*Task) GetExtraProperties ¶
func (*Task) GetLinkedIssues ¶
func (*Task) GetMilestone ¶
func (t *Task) GetMilestone() *MiniMilestone
func (*Task) GetParentTaskID ¶
func (*Task) GetProject ¶
func (t *Task) GetProject() *MiniProject
func (*Task) GetStatus ¶
func (t *Task) GetStatus() TaskStatus
func (*Task) GetSubtaskIDs ¶
func (*Task) GetUpdatedAt ¶
func (*Task) MarshalJSON ¶
func (*Task) SetAccount ¶
func (t *Task) SetAccount(account *MiniAccount)
SetAccount sets the Account field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetAiInstructions ¶
SetAiInstructions sets the AiInstructions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetAssignee ¶
SetAssignee sets the Assignee field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetBlockedByTaskIDs ¶
SetBlockedByTaskIDs sets the BlockedByTaskIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetBlocksTaskIDs ¶
SetBlocksTaskIDs sets the BlocksTaskIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetBodyHTML ¶
SetBodyHTML sets the BodyHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetCompletedAt ¶
SetCompletedAt sets the CompletedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetCustomFields ¶
func (t *Task) SetCustomFields(customFields map[string]*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetCustomerPortalVisible ¶
SetCustomerPortalVisible sets the CustomerPortalVisible field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetDueDate ¶
SetDueDate sets the DueDate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetExternalIssues ¶
func (t *Task) SetExternalIssues(externalIssues []*ExternalIssue)
SetExternalIssues sets the ExternalIssues field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetLink ¶
SetLink sets the Link field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetLinkedIssues ¶
SetLinkedIssues sets the LinkedIssues field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetMilestone ¶
func (t *Task) SetMilestone(milestone *MiniMilestone)
SetMilestone sets the Milestone field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetParentTaskID ¶
SetParentTaskID sets the ParentTaskID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetProject ¶
func (t *Task) SetProject(project *MiniProject)
SetProject sets the Project field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetStatus ¶
func (t *Task) SetStatus(status TaskStatus)
SetStatus sets the Status field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetSubtaskIDs ¶
SetSubtaskIDs sets the SubtaskIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetTitle ¶
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) SetUpdatedAt ¶
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Task) UnmarshalJSON ¶
type TaskComment ¶
type TaskComment struct {
Author *Actor `json:"author,omitempty" url:"author,omitempty"`
// The body of the comment in HTML format.
BodyHTML string `json:"body_html" url:"body_html"`
// The created at time of the comment.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// The ID of the comment.
ID string `json:"id" url:"id"`
// Whether the comment is visible only to internal users.
IsInternal bool `json:"is_internal" url:"is_internal"`
// The time the comment was last edited, in RFC3339 format.
LastEditedAt *time.Time `json:"last_edited_at,omitempty" url:"last_edited_at,omitempty"`
// The ID of the task this comment belongs to.
TaskID string `json:"task_id" url:"task_id"`
// The updated at time of the comment.
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// contains filtered or unexported fields
}
func (*TaskComment) GetAuthor ¶
func (t *TaskComment) GetAuthor() *Actor
func (*TaskComment) GetBodyHTML ¶
func (t *TaskComment) GetBodyHTML() string
func (*TaskComment) GetCreatedAt ¶
func (t *TaskComment) GetCreatedAt() time.Time
func (*TaskComment) GetExtraProperties ¶
func (t *TaskComment) GetExtraProperties() map[string]interface{}
func (*TaskComment) GetID ¶
func (t *TaskComment) GetID() string
func (*TaskComment) GetIsInternal ¶
func (t *TaskComment) GetIsInternal() bool
func (*TaskComment) GetLastEditedAt ¶
func (t *TaskComment) GetLastEditedAt() *time.Time
func (*TaskComment) GetTaskID ¶
func (t *TaskComment) GetTaskID() string
func (*TaskComment) GetUpdatedAt ¶
func (t *TaskComment) GetUpdatedAt() time.Time
func (*TaskComment) MarshalJSON ¶
func (t *TaskComment) MarshalJSON() ([]byte, error)
func (*TaskComment) SetAuthor ¶
func (t *TaskComment) SetAuthor(author *Actor)
SetAuthor sets the Author field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TaskComment) SetBodyHTML ¶
func (t *TaskComment) SetBodyHTML(bodyHTML string)
SetBodyHTML sets the BodyHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TaskComment) SetCreatedAt ¶
func (t *TaskComment) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TaskComment) SetID ¶
func (t *TaskComment) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TaskComment) SetIsInternal ¶
func (t *TaskComment) SetIsInternal(isInternal bool)
SetIsInternal sets the IsInternal field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TaskComment) SetLastEditedAt ¶
func (t *TaskComment) SetLastEditedAt(lastEditedAt *time.Time)
SetLastEditedAt sets the LastEditedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TaskComment) SetTaskID ¶
func (t *TaskComment) SetTaskID(taskID string)
SetTaskID sets the TaskID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TaskComment) SetUpdatedAt ¶
func (t *TaskComment) SetUpdatedAt(updatedAt time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TaskComment) String ¶
func (t *TaskComment) String() string
func (*TaskComment) UnmarshalJSON ¶
func (t *TaskComment) UnmarshalJSON(data []byte) error
type TaskStatus ¶
type TaskStatus = string
type TaskStatusDetails ¶
type TaskStatusDetails struct {
// The category of the task status.
Category string `json:"category" url:"category"`
// Indicates if the task status is archived.
IsArchived bool `json:"is_archived" url:"is_archived"`
// Indicates if the task status is a default status.
IsDefaultStatus bool `json:"is_default_status" url:"is_default_status"`
// The label of the task status.
Label string `json:"label" url:"label"`
// The slug of the task status.
Slug string `json:"slug" url:"slug"`
// contains filtered or unexported fields
}
func (*TaskStatusDetails) GetCategory ¶
func (t *TaskStatusDetails) GetCategory() string
func (*TaskStatusDetails) GetExtraProperties ¶
func (t *TaskStatusDetails) GetExtraProperties() map[string]interface{}
func (*TaskStatusDetails) GetIsArchived ¶
func (t *TaskStatusDetails) GetIsArchived() bool
func (*TaskStatusDetails) GetIsDefaultStatus ¶
func (t *TaskStatusDetails) GetIsDefaultStatus() bool
func (*TaskStatusDetails) GetLabel ¶
func (t *TaskStatusDetails) GetLabel() string
func (*TaskStatusDetails) GetSlug ¶
func (t *TaskStatusDetails) GetSlug() string
func (*TaskStatusDetails) MarshalJSON ¶
func (t *TaskStatusDetails) MarshalJSON() ([]byte, error)
func (*TaskStatusDetails) SetCategory ¶
func (t *TaskStatusDetails) SetCategory(category string)
SetCategory sets the Category field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TaskStatusDetails) SetIsArchived ¶
func (t *TaskStatusDetails) SetIsArchived(isArchived bool)
SetIsArchived sets the IsArchived field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TaskStatusDetails) SetIsDefaultStatus ¶
func (t *TaskStatusDetails) SetIsDefaultStatus(isDefaultStatus bool)
SetIsDefaultStatus sets the IsDefaultStatus field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TaskStatusDetails) SetLabel ¶
func (t *TaskStatusDetails) SetLabel(label string)
SetLabel sets the Label field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TaskStatusDetails) SetSlug ¶
func (t *TaskStatusDetails) SetSlug(slug string)
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TaskStatusDetails) String ¶
func (t *TaskStatusDetails) String() string
func (*TaskStatusDetails) UnmarshalJSON ¶
func (t *TaskStatusDetails) UnmarshalJSON(data []byte) error
type TasksCreateRequest ¶
type TasksCreateRequest struct {
// Account ID for this task
AccountID *string `json:"account_id,omitempty" url:"-"`
// Instructions the AI follows when evaluating this task in a smart project
AiInstructions *string `json:"ai_instructions,omitempty" url:"-"`
// Assignee ID for this task
AssigneeID *string `json:"assignee_id,omitempty" url:"-"`
// IDs of existing tasks that block this task
BlockedByTaskIDs []string `json:"blocked_by_task_ids,omitempty" url:"-"`
// Body HTML for this task
BodyHTML *string `json:"body_html,omitempty" url:"-"`
// An array of custom fields to be used on this task.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// Customer portal visible for this task
CustomerPortalVisible *bool `json:"customer_portal_visible,omitempty" url:"-"`
// Due date for this task, in RFC 3339 format
DueDate *time.Time `json:"due_date,omitempty" url:"-"`
// Milestone ID for this task
MilestoneID *string `json:"milestone_id,omitempty" url:"-"`
// Parent task ID, to create this task as a subtask
ParentTaskID *string `json:"parent_task_id,omitempty" url:"-"`
// Project ID for this task
ProjectID *string `json:"project_id,omitempty" url:"-"`
Status *TaskStatus `json:"status,omitempty" url:"-"`
// Title for this task
Title string `json:"title" url:"-"`
// contains filtered or unexported fields
}
func (*TasksCreateRequest) MarshalJSON ¶
func (t *TasksCreateRequest) MarshalJSON() ([]byte, error)
func (*TasksCreateRequest) SetAccountID ¶
func (t *TasksCreateRequest) SetAccountID(accountID *string)
SetAccountID sets the AccountID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksCreateRequest) SetAiInstructions ¶
func (t *TasksCreateRequest) SetAiInstructions(aiInstructions *string)
SetAiInstructions sets the AiInstructions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksCreateRequest) SetAssigneeID ¶
func (t *TasksCreateRequest) SetAssigneeID(assigneeID *string)
SetAssigneeID sets the AssigneeID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksCreateRequest) SetBlockedByTaskIDs ¶
func (t *TasksCreateRequest) SetBlockedByTaskIDs(blockedByTaskIDs []string)
SetBlockedByTaskIDs sets the BlockedByTaskIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksCreateRequest) SetBodyHTML ¶
func (t *TasksCreateRequest) SetBodyHTML(bodyHTML *string)
SetBodyHTML sets the BodyHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksCreateRequest) SetCustomFields ¶
func (t *TasksCreateRequest) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksCreateRequest) SetCustomerPortalVisible ¶
func (t *TasksCreateRequest) SetCustomerPortalVisible(customerPortalVisible *bool)
SetCustomerPortalVisible sets the CustomerPortalVisible field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksCreateRequest) SetDueDate ¶
func (t *TasksCreateRequest) SetDueDate(dueDate *time.Time)
SetDueDate sets the DueDate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksCreateRequest) SetMilestoneID ¶
func (t *TasksCreateRequest) SetMilestoneID(milestoneID *string)
SetMilestoneID sets the MilestoneID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksCreateRequest) SetParentTaskID ¶
func (t *TasksCreateRequest) SetParentTaskID(parentTaskID *string)
SetParentTaskID sets the ParentTaskID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksCreateRequest) SetProjectID ¶
func (t *TasksCreateRequest) SetProjectID(projectID *string)
SetProjectID sets the ProjectID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksCreateRequest) SetStatus ¶
func (t *TasksCreateRequest) SetStatus(status *TaskStatus)
SetStatus sets the Status field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksCreateRequest) SetTitle ¶
func (t *TasksCreateRequest) SetTitle(title string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksCreateRequest) UnmarshalJSON ¶
func (t *TasksCreateRequest) UnmarshalJSON(data []byte) error
type TasksDeleteRequest ¶
type TasksDeleteRequest struct {
// The ID of the task to delete.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*TasksDeleteRequest) SetID ¶
func (t *TasksDeleteRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type TasksGetRequest ¶
type TasksGetRequest struct {
// The ID of the task to fetch.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*TasksGetRequest) SetID ¶
func (t *TasksGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type TasksLinkExternalIssueRequest ¶
type TasksLinkExternalIssueRequest struct {
// The ID of the task to link an external issue to.
TaskID string `json:"-" url:"-"`
// The ID or human-readable key of the external issue in the source system.
ExternalIssueID string `json:"external_issue_id" url:"-"`
// Operation to perform. Use "link" to link the issue (default) or "unlink" to unlink it.
Operation *string `json:"operation,omitempty" url:"-"`
// The source system of the external issue (e.g., "linear", "asana", "jira", "github", "shortcut").
Source string `json:"source" url:"-"`
// contains filtered or unexported fields
}
func (*TasksLinkExternalIssueRequest) MarshalJSON ¶
func (t *TasksLinkExternalIssueRequest) MarshalJSON() ([]byte, error)
func (*TasksLinkExternalIssueRequest) SetExternalIssueID ¶
func (t *TasksLinkExternalIssueRequest) SetExternalIssueID(externalIssueID string)
SetExternalIssueID sets the ExternalIssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksLinkExternalIssueRequest) SetOperation ¶
func (t *TasksLinkExternalIssueRequest) SetOperation(operation *string)
SetOperation sets the Operation field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksLinkExternalIssueRequest) SetSource ¶
func (t *TasksLinkExternalIssueRequest) SetSource(source string)
SetSource sets the Source field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksLinkExternalIssueRequest) SetTaskID ¶
func (t *TasksLinkExternalIssueRequest) SetTaskID(taskID string)
SetTaskID sets the TaskID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksLinkExternalIssueRequest) UnmarshalJSON ¶
func (t *TasksLinkExternalIssueRequest) UnmarshalJSON(data []byte) error
type TasksLinkIssueRequest ¶
type TasksLinkIssueRequest struct {
// The ID of the task to link a Pylon issue to.
TaskID string `json:"-" url:"-"`
// The ID of the Pylon issue.
IssueID string `json:"issue_id" url:"-"`
// Operation to perform. Use "link" to link the issue (default) or "unlink" to unlink it.
Operation *string `json:"operation,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*TasksLinkIssueRequest) MarshalJSON ¶
func (t *TasksLinkIssueRequest) MarshalJSON() ([]byte, error)
func (*TasksLinkIssueRequest) SetIssueID ¶
func (t *TasksLinkIssueRequest) SetIssueID(issueID string)
SetIssueID sets the IssueID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksLinkIssueRequest) SetOperation ¶
func (t *TasksLinkIssueRequest) SetOperation(operation *string)
SetOperation sets the Operation field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksLinkIssueRequest) SetTaskID ¶
func (t *TasksLinkIssueRequest) SetTaskID(taskID string)
SetTaskID sets the TaskID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksLinkIssueRequest) UnmarshalJSON ¶
func (t *TasksLinkIssueRequest) UnmarshalJSON(data []byte) error
type TasksListRequest ¶
type TasksListRequest struct {
// The cursor to use for pagination.
Cursor *string `json:"-" url:"cursor,omitempty"`
// The number of tasks to fetch. Defaults to 100. Must be greater than 0 and less than 1000.
Limit *int64 `json:"-" url:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*TasksListRequest) SetCursor ¶
func (t *TasksListRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksListRequest) SetLimit ¶
func (t *TasksListRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type TasksSearchRequest ¶
type TasksSearchRequest struct {
// The cursor to use for pagination.
Cursor *string `json:"cursor,omitempty" url:"-"`
Filter *Filter `json:"filter,omitempty" url:"-"`
// The number of tasks to fetch. Defaults to 100. Must be between 1 and 1000.
Limit *int64 `json:"limit,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*TasksSearchRequest) MarshalJSON ¶
func (t *TasksSearchRequest) MarshalJSON() ([]byte, error)
func (*TasksSearchRequest) SetCursor ¶
func (t *TasksSearchRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksSearchRequest) SetFilter ¶
func (t *TasksSearchRequest) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksSearchRequest) SetLimit ¶
func (t *TasksSearchRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksSearchRequest) UnmarshalJSON ¶
func (t *TasksSearchRequest) UnmarshalJSON(data []byte) error
type TasksUpdateRequest ¶
type TasksUpdateRequest struct {
// The ID of the task to update.
ID string `json:"-" url:"-"`
// Instructions the AI follows when evaluating this task in a smart project. Set to an empty string to clear them.
AiInstructions *string `json:"ai_instructions,omitempty" url:"-"`
// Assignee ID for this task
AssigneeID *string `json:"assignee_id,omitempty" url:"-"`
// IDs of the tasks that block this task. If provided, replaces the task's current blocking tasks; pass an empty array to remove them all.
BlockedByTaskIDs []string `json:"blocked_by_task_ids,omitempty" url:"-"`
// Body HTML for this task
BodyHTML *string `json:"body_html,omitempty" url:"-"`
// Completed at time for this task, in RFC 3339 format. The task must already have a completed status and completion date.
CompletedAt *time.Time `json:"completed_at,omitempty" url:"-"`
// An array of custom fields to be used on this task. Only passed in fields will be modified.
CustomFields []*CustomFieldValue `json:"custom_fields,omitempty" url:"-"`
// Customer portal visible for this task
CustomerPortalVisible *bool `json:"customer_portal_visible,omitempty" url:"-"`
// Due date for this task, in RFC 3339 format. Set to an empty string to clear it.
DueDate *string `json:"due_date,omitempty" url:"-"`
// Milestone ID for this task
MilestoneID *string `json:"milestone_id,omitempty" url:"-"`
// Project ID for this task
ProjectID *string `json:"project_id,omitempty" url:"-"`
Status *TaskStatus `json:"status,omitempty" url:"-"`
// Title for this task
Title *string `json:"title,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*TasksUpdateRequest) MarshalJSON ¶
func (t *TasksUpdateRequest) MarshalJSON() ([]byte, error)
func (*TasksUpdateRequest) SetAiInstructions ¶
func (t *TasksUpdateRequest) SetAiInstructions(aiInstructions *string)
SetAiInstructions sets the AiInstructions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksUpdateRequest) SetAssigneeID ¶
func (t *TasksUpdateRequest) SetAssigneeID(assigneeID *string)
SetAssigneeID sets the AssigneeID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksUpdateRequest) SetBlockedByTaskIDs ¶
func (t *TasksUpdateRequest) SetBlockedByTaskIDs(blockedByTaskIDs []string)
SetBlockedByTaskIDs sets the BlockedByTaskIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksUpdateRequest) SetBodyHTML ¶
func (t *TasksUpdateRequest) SetBodyHTML(bodyHTML *string)
SetBodyHTML sets the BodyHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksUpdateRequest) SetCompletedAt ¶
func (t *TasksUpdateRequest) SetCompletedAt(completedAt *time.Time)
SetCompletedAt sets the CompletedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksUpdateRequest) SetCustomFields ¶
func (t *TasksUpdateRequest) SetCustomFields(customFields []*CustomFieldValue)
SetCustomFields sets the CustomFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksUpdateRequest) SetCustomerPortalVisible ¶
func (t *TasksUpdateRequest) SetCustomerPortalVisible(customerPortalVisible *bool)
SetCustomerPortalVisible sets the CustomerPortalVisible field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksUpdateRequest) SetDueDate ¶
func (t *TasksUpdateRequest) SetDueDate(dueDate *string)
SetDueDate sets the DueDate field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksUpdateRequest) SetID ¶
func (t *TasksUpdateRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksUpdateRequest) SetMilestoneID ¶
func (t *TasksUpdateRequest) SetMilestoneID(milestoneID *string)
SetMilestoneID sets the MilestoneID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksUpdateRequest) SetProjectID ¶
func (t *TasksUpdateRequest) SetProjectID(projectID *string)
SetProjectID sets the ProjectID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksUpdateRequest) SetStatus ¶
func (t *TasksUpdateRequest) SetStatus(status *TaskStatus)
SetStatus sets the Status field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksUpdateRequest) SetTitle ¶
func (t *TasksUpdateRequest) SetTitle(title *string)
SetTitle sets the Title field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TasksUpdateRequest) UnmarshalJSON ¶
func (t *TasksUpdateRequest) UnmarshalJSON(data []byte) error
type Team ¶
type Team struct {
AssignmentConfiguration *TeamAssignmentConfiguration `json:"assignment_configuration,omitempty" url:"assignment_configuration,omitempty"`
// The ID of the team.
ID string `json:"id" url:"id"`
// The name of the team.
Name string `json:"name" url:"name"`
Schedule *TeamSchedule `json:"schedule,omitempty" url:"schedule,omitempty"`
// The users in the team.
Users []*MiniUser `json:"users,omitempty" url:"users,omitempty"`
// contains filtered or unexported fields
}
func (*Team) GetAssignmentConfiguration ¶
func (t *Team) GetAssignmentConfiguration() *TeamAssignmentConfiguration
func (*Team) GetExtraProperties ¶
func (*Team) GetSchedule ¶
func (t *Team) GetSchedule() *TeamSchedule
func (*Team) MarshalJSON ¶
func (*Team) SetAssignmentConfiguration ¶
func (t *Team) SetAssignmentConfiguration(assignmentConfiguration *TeamAssignmentConfiguration)
SetAssignmentConfiguration sets the AssignmentConfiguration field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Team) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Team) SetName ¶
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Team) SetSchedule ¶
func (t *Team) SetSchedule(schedule *TeamSchedule)
SetSchedule sets the Schedule field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Team) SetUsers ¶
SetUsers sets the Users field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Team) UnmarshalJSON ¶
type TeamAssignmentConfiguration ¶
type TeamAssignmentConfiguration struct {
// The slugs of the user statuses members must show to be assigned. See GET /user-statuses.
// Empty defers to only_assign_if_user_active.
AssignableUserStatuses []string `json:"assignable_user_statuses,omitempty" url:"assignable_user_statuses,omitempty"`
// How issues are routed to team members. One of routing, schedule, manual, pull_queue.
AssignmentMethod string `json:"assignment_method" url:"assignment_method"`
// Whether automatic assignment is restricted by user status. When assignable_user_statuses
// is empty, true means only members with an Active status; when it is non-empty, this is
// always true and the list decides.
OnlyAssignIfUserActive bool `json:"only_assign_if_user_active" url:"only_assign_if_user_active"`
// Whether assignment replaces an existing assignee.
OverrideExistingAssignee bool `json:"override_existing_assignee" url:"override_existing_assignee"`
// The ID of the schedule this team assigns from. Read-only; a team has at most one schedule.
TeamScheduleID *string `json:"team_schedule_id,omitempty" url:"team_schedule_id,omitempty"`
// contains filtered or unexported fields
}
func (*TeamAssignmentConfiguration) GetAssignableUserStatuses ¶
func (t *TeamAssignmentConfiguration) GetAssignableUserStatuses() []string
func (*TeamAssignmentConfiguration) GetAssignmentMethod ¶
func (t *TeamAssignmentConfiguration) GetAssignmentMethod() string
func (*TeamAssignmentConfiguration) GetExtraProperties ¶
func (t *TeamAssignmentConfiguration) GetExtraProperties() map[string]interface{}
func (*TeamAssignmentConfiguration) GetOnlyAssignIfUserActive ¶
func (t *TeamAssignmentConfiguration) GetOnlyAssignIfUserActive() bool
func (*TeamAssignmentConfiguration) GetOverrideExistingAssignee ¶
func (t *TeamAssignmentConfiguration) GetOverrideExistingAssignee() bool
func (*TeamAssignmentConfiguration) GetTeamScheduleID ¶
func (t *TeamAssignmentConfiguration) GetTeamScheduleID() *string
func (*TeamAssignmentConfiguration) MarshalJSON ¶
func (t *TeamAssignmentConfiguration) MarshalJSON() ([]byte, error)
func (*TeamAssignmentConfiguration) SetAssignableUserStatuses ¶
func (t *TeamAssignmentConfiguration) SetAssignableUserStatuses(assignableUserStatuses []string)
SetAssignableUserStatuses sets the AssignableUserStatuses field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamAssignmentConfiguration) SetAssignmentMethod ¶
func (t *TeamAssignmentConfiguration) SetAssignmentMethod(assignmentMethod string)
SetAssignmentMethod sets the AssignmentMethod field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamAssignmentConfiguration) SetOnlyAssignIfUserActive ¶
func (t *TeamAssignmentConfiguration) SetOnlyAssignIfUserActive(onlyAssignIfUserActive bool)
SetOnlyAssignIfUserActive sets the OnlyAssignIfUserActive field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamAssignmentConfiguration) SetOverrideExistingAssignee ¶
func (t *TeamAssignmentConfiguration) SetOverrideExistingAssignee(overrideExistingAssignee bool)
SetOverrideExistingAssignee sets the OverrideExistingAssignee field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamAssignmentConfiguration) SetTeamScheduleID ¶
func (t *TeamAssignmentConfiguration) SetTeamScheduleID(teamScheduleID *string)
SetTeamScheduleID sets the TeamScheduleID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamAssignmentConfiguration) String ¶
func (t *TeamAssignmentConfiguration) String() string
func (*TeamAssignmentConfiguration) UnmarshalJSON ¶
func (t *TeamAssignmentConfiguration) UnmarshalJSON(data []byte) error
type TeamAssignmentConfigurationInput ¶
type TeamAssignmentConfigurationInput struct {
// The slugs of the user statuses members must show to be assigned. See GET /user-statuses.
// A non-empty list takes precedence over only_assign_if_user_active; an empty list clears
// the allow-list so only_assign_if_user_active decides.
AssignableUserStatuses []string `json:"assignable_user_statuses,omitempty" url:"assignable_user_statuses,omitempty"`
// How issues are routed to team members. Setting schedule routes from this team's own
// schedule, so the team must already have one or be given one in the same request.
AssignmentMethod *TeamAssignmentConfigurationInputAssignmentMethod `json:"assignment_method,omitempty" url:"assignment_method,omitempty"`
// Whether issues are only assigned to members with an Active status. Setting this without
// assignable_user_statuses clears any status allow-list.
OnlyAssignIfUserActive *bool `json:"only_assign_if_user_active,omitempty" url:"only_assign_if_user_active,omitempty"`
// Whether assignment replaces an existing assignee.
OverrideExistingAssignee *bool `json:"override_existing_assignee,omitempty" url:"override_existing_assignee,omitempty"`
// contains filtered or unexported fields
}
func (*TeamAssignmentConfigurationInput) GetAssignableUserStatuses ¶
func (t *TeamAssignmentConfigurationInput) GetAssignableUserStatuses() []string
func (*TeamAssignmentConfigurationInput) GetAssignmentMethod ¶
func (t *TeamAssignmentConfigurationInput) GetAssignmentMethod() *TeamAssignmentConfigurationInputAssignmentMethod
func (*TeamAssignmentConfigurationInput) GetExtraProperties ¶
func (t *TeamAssignmentConfigurationInput) GetExtraProperties() map[string]interface{}
func (*TeamAssignmentConfigurationInput) GetOnlyAssignIfUserActive ¶
func (t *TeamAssignmentConfigurationInput) GetOnlyAssignIfUserActive() *bool
func (*TeamAssignmentConfigurationInput) GetOverrideExistingAssignee ¶
func (t *TeamAssignmentConfigurationInput) GetOverrideExistingAssignee() *bool
func (*TeamAssignmentConfigurationInput) MarshalJSON ¶
func (t *TeamAssignmentConfigurationInput) MarshalJSON() ([]byte, error)
func (*TeamAssignmentConfigurationInput) SetAssignableUserStatuses ¶
func (t *TeamAssignmentConfigurationInput) SetAssignableUserStatuses(assignableUserStatuses []string)
SetAssignableUserStatuses sets the AssignableUserStatuses field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamAssignmentConfigurationInput) SetAssignmentMethod ¶
func (t *TeamAssignmentConfigurationInput) SetAssignmentMethod(assignmentMethod *TeamAssignmentConfigurationInputAssignmentMethod)
SetAssignmentMethod sets the AssignmentMethod field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamAssignmentConfigurationInput) SetOnlyAssignIfUserActive ¶
func (t *TeamAssignmentConfigurationInput) SetOnlyAssignIfUserActive(onlyAssignIfUserActive *bool)
SetOnlyAssignIfUserActive sets the OnlyAssignIfUserActive field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamAssignmentConfigurationInput) SetOverrideExistingAssignee ¶
func (t *TeamAssignmentConfigurationInput) SetOverrideExistingAssignee(overrideExistingAssignee *bool)
SetOverrideExistingAssignee sets the OverrideExistingAssignee field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamAssignmentConfigurationInput) String ¶
func (t *TeamAssignmentConfigurationInput) String() string
func (*TeamAssignmentConfigurationInput) UnmarshalJSON ¶
func (t *TeamAssignmentConfigurationInput) UnmarshalJSON(data []byte) error
type TeamAssignmentConfigurationInputAssignmentMethod ¶
type TeamAssignmentConfigurationInputAssignmentMethod string
How issues are routed to team members. Setting schedule routes from this team's own schedule, so the team must already have one or be given one in the same request.
const ( TeamAssignmentConfigurationInputAssignmentMethodRouting TeamAssignmentConfigurationInputAssignmentMethod = "routing" TeamAssignmentConfigurationInputAssignmentMethodSchedule TeamAssignmentConfigurationInputAssignmentMethod = "schedule" TeamAssignmentConfigurationInputAssignmentMethodManual TeamAssignmentConfigurationInputAssignmentMethod = "manual" )
func NewTeamAssignmentConfigurationInputAssignmentMethodFromString ¶
func NewTeamAssignmentConfigurationInputAssignmentMethodFromString(s string) (TeamAssignmentConfigurationInputAssignmentMethod, error)
type TeamSLA ¶
type TeamSLA struct {
FirstResolution *SLATimes `json:"first_resolution,omitempty" url:"first_resolution,omitempty"`
FirstResponse *SLATimes `json:"first_response,omitempty" url:"first_response,omitempty"`
FollowUp *SLATimes `json:"follow_up,omitempty" url:"follow_up,omitempty"`
NextReply *SLATimes `json:"next_reply,omitempty" url:"next_reply,omitempty"`
Resolution *SLATimes `json:"resolution,omitempty" url:"resolution,omitempty"`
// The ID of the team these are scoped to.
TeamID string `json:"team_id" url:"team_id"`
// contains filtered or unexported fields
}
func (*TeamSLA) GetExtraProperties ¶
func (*TeamSLA) GetFirstResolution ¶
func (*TeamSLA) GetFirstResponse ¶
func (*TeamSLA) GetFollowUp ¶
func (*TeamSLA) GetNextReply ¶
func (*TeamSLA) GetResolution ¶
func (*TeamSLA) MarshalJSON ¶
func (*TeamSLA) SetFirstResolution ¶
SetFirstResolution sets the FirstResolution field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamSLA) SetFirstResponse ¶
SetFirstResponse sets the FirstResponse field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamSLA) SetFollowUp ¶
SetFollowUp sets the FollowUp field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamSLA) SetNextReply ¶
SetNextReply sets the NextReply field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamSLA) SetResolution ¶
SetResolution sets the Resolution field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamSLA) SetTeamID ¶
SetTeamID sets the TeamID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamSLA) UnmarshalJSON ¶
type TeamSchedule ¶
type TeamSchedule struct {
// Who receives issues and when.
Blocks []*TeamScheduleBlock `json:"blocks,omitempty" url:"blocks,omitempty"`
// The ID of the schedule.
ID string `json:"id" url:"id"`
// The IANA timezone the block hours are read in.
Timezone string `json:"timezone" url:"timezone"`
// contains filtered or unexported fields
}
func (*TeamSchedule) GetBlocks ¶
func (t *TeamSchedule) GetBlocks() []*TeamScheduleBlock
func (*TeamSchedule) GetExtraProperties ¶
func (t *TeamSchedule) GetExtraProperties() map[string]interface{}
func (*TeamSchedule) GetID ¶
func (t *TeamSchedule) GetID() string
func (*TeamSchedule) GetTimezone ¶
func (t *TeamSchedule) GetTimezone() string
func (*TeamSchedule) MarshalJSON ¶
func (t *TeamSchedule) MarshalJSON() ([]byte, error)
func (*TeamSchedule) SetBlocks ¶
func (t *TeamSchedule) SetBlocks(blocks []*TeamScheduleBlock)
SetBlocks sets the Blocks field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamSchedule) SetID ¶
func (t *TeamSchedule) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamSchedule) SetTimezone ¶
func (t *TeamSchedule) SetTimezone(timezone string)
SetTimezone sets the Timezone field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamSchedule) String ¶
func (t *TeamSchedule) String() string
func (*TeamSchedule) UnmarshalJSON ¶
func (t *TeamSchedule) UnmarshalJSON(data []byte) error
type TeamScheduleBlock ¶
type TeamScheduleBlock struct {
// The days this block covers. Empty when the recurrence is daily.
Days []string `json:"days,omitempty" url:"days,omitempty"`
// When the block ends, as HH:MM in the schedule's timezone. An end at or before the start
// means the next day.
EndTime *string `json:"end_time,omitempty" url:"end_time,omitempty"`
// How often the block repeats: weekly, biweekly, or daily. A block configured in the
// Pylon app with a recurrence these fields cannot express reads as custom, with the
// fields above omitted.
Recurrence string `json:"recurrence" url:"recurrence"`
// When the block starts, as HH:MM in the schedule's timezone.
StartTime *string `json:"start_time,omitempty" url:"start_time,omitempty"`
// The sub-team that receives issues during this block.
TeamID *string `json:"team_id,omitempty" url:"team_id,omitempty"`
// The team member who receives issues during this block.
UserID *string `json:"user_id,omitempty" url:"user_id,omitempty"`
// Which of the two alternating weeks a biweekly block falls on.
WeekOffset *int64 `json:"week_offset,omitempty" url:"week_offset,omitempty"`
// contains filtered or unexported fields
}
func (*TeamScheduleBlock) GetDays ¶
func (t *TeamScheduleBlock) GetDays() []string
func (*TeamScheduleBlock) GetEndTime ¶
func (t *TeamScheduleBlock) GetEndTime() *string
func (*TeamScheduleBlock) GetExtraProperties ¶
func (t *TeamScheduleBlock) GetExtraProperties() map[string]interface{}
func (*TeamScheduleBlock) GetRecurrence ¶
func (t *TeamScheduleBlock) GetRecurrence() string
func (*TeamScheduleBlock) GetStartTime ¶
func (t *TeamScheduleBlock) GetStartTime() *string
func (*TeamScheduleBlock) GetTeamID ¶
func (t *TeamScheduleBlock) GetTeamID() *string
func (*TeamScheduleBlock) GetUserID ¶
func (t *TeamScheduleBlock) GetUserID() *string
func (*TeamScheduleBlock) GetWeekOffset ¶
func (t *TeamScheduleBlock) GetWeekOffset() *int64
func (*TeamScheduleBlock) MarshalJSON ¶
func (t *TeamScheduleBlock) MarshalJSON() ([]byte, error)
func (*TeamScheduleBlock) SetDays ¶
func (t *TeamScheduleBlock) SetDays(days []string)
SetDays sets the Days field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamScheduleBlock) SetEndTime ¶
func (t *TeamScheduleBlock) SetEndTime(endTime *string)
SetEndTime sets the EndTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamScheduleBlock) SetRecurrence ¶
func (t *TeamScheduleBlock) SetRecurrence(recurrence string)
SetRecurrence sets the Recurrence field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamScheduleBlock) SetStartTime ¶
func (t *TeamScheduleBlock) SetStartTime(startTime *string)
SetStartTime sets the StartTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamScheduleBlock) SetTeamID ¶
func (t *TeamScheduleBlock) SetTeamID(teamID *string)
SetTeamID sets the TeamID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamScheduleBlock) SetUserID ¶
func (t *TeamScheduleBlock) SetUserID(userID *string)
SetUserID sets the UserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamScheduleBlock) SetWeekOffset ¶
func (t *TeamScheduleBlock) SetWeekOffset(weekOffset *int64)
SetWeekOffset sets the WeekOffset field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamScheduleBlock) String ¶
func (t *TeamScheduleBlock) String() string
func (*TeamScheduleBlock) UnmarshalJSON ¶
func (t *TeamScheduleBlock) UnmarshalJSON(data []byte) error
type TeamScheduleBlockInput ¶
type TeamScheduleBlockInput struct {
// The days this block covers, for example ["monday","tuesday"]. Required unless
// recurrence is daily, which covers every day.
Days []string `json:"days,omitempty" url:"days,omitempty"`
// When the block ends, as HH:MM in the schedule's timezone. An end at or before the start
// means the next day, so 22:00 to 10:00 is an overnight shift and 00:00 to 00:00 is a full
// day. A block cannot run longer than 24 hours.
EndTime string `json:"end_time" url:"end_time"`
// How often the block repeats. Defaults to weekly. A block recurs indefinitely; to change a
// rotation, send the new set of blocks.
Recurrence *TeamScheduleBlockInputRecurrence `json:"recurrence,omitempty" url:"recurrence,omitempty"`
// When the block starts, as HH:MM in the schedule's timezone.
StartTime string `json:"start_time" url:"start_time"`
// The ID of the sub-team that receives issues during this block. Must already be a
// sub-team of the team that owns the schedule.
TeamID *string `json:"team_id,omitempty" url:"team_id,omitempty"`
// The ID of the team member who receives issues during this block. Exactly one of
// user_id or team_id is required.
UserID *string `json:"user_id,omitempty" url:"user_id,omitempty"`
// Which of the two alternating weeks a biweekly block falls on, 0 or 1.
WeekOffset *int64 `json:"week_offset,omitempty" url:"week_offset,omitempty"`
// contains filtered or unexported fields
}
func (*TeamScheduleBlockInput) GetDays ¶
func (t *TeamScheduleBlockInput) GetDays() []string
func (*TeamScheduleBlockInput) GetEndTime ¶
func (t *TeamScheduleBlockInput) GetEndTime() string
func (*TeamScheduleBlockInput) GetExtraProperties ¶
func (t *TeamScheduleBlockInput) GetExtraProperties() map[string]interface{}
func (*TeamScheduleBlockInput) GetRecurrence ¶
func (t *TeamScheduleBlockInput) GetRecurrence() *TeamScheduleBlockInputRecurrence
func (*TeamScheduleBlockInput) GetStartTime ¶
func (t *TeamScheduleBlockInput) GetStartTime() string
func (*TeamScheduleBlockInput) GetTeamID ¶
func (t *TeamScheduleBlockInput) GetTeamID() *string
func (*TeamScheduleBlockInput) GetUserID ¶
func (t *TeamScheduleBlockInput) GetUserID() *string
func (*TeamScheduleBlockInput) GetWeekOffset ¶
func (t *TeamScheduleBlockInput) GetWeekOffset() *int64
func (*TeamScheduleBlockInput) MarshalJSON ¶
func (t *TeamScheduleBlockInput) MarshalJSON() ([]byte, error)
func (*TeamScheduleBlockInput) SetDays ¶
func (t *TeamScheduleBlockInput) SetDays(days []string)
SetDays sets the Days field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamScheduleBlockInput) SetEndTime ¶
func (t *TeamScheduleBlockInput) SetEndTime(endTime string)
SetEndTime sets the EndTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamScheduleBlockInput) SetRecurrence ¶
func (t *TeamScheduleBlockInput) SetRecurrence(recurrence *TeamScheduleBlockInputRecurrence)
SetRecurrence sets the Recurrence field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamScheduleBlockInput) SetStartTime ¶
func (t *TeamScheduleBlockInput) SetStartTime(startTime string)
SetStartTime sets the StartTime field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamScheduleBlockInput) SetTeamID ¶
func (t *TeamScheduleBlockInput) SetTeamID(teamID *string)
SetTeamID sets the TeamID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamScheduleBlockInput) SetUserID ¶
func (t *TeamScheduleBlockInput) SetUserID(userID *string)
SetUserID sets the UserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamScheduleBlockInput) SetWeekOffset ¶
func (t *TeamScheduleBlockInput) SetWeekOffset(weekOffset *int64)
SetWeekOffset sets the WeekOffset field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamScheduleBlockInput) String ¶
func (t *TeamScheduleBlockInput) String() string
func (*TeamScheduleBlockInput) UnmarshalJSON ¶
func (t *TeamScheduleBlockInput) UnmarshalJSON(data []byte) error
type TeamScheduleBlockInputRecurrence ¶
type TeamScheduleBlockInputRecurrence string
How often the block repeats. Defaults to weekly. A block recurs indefinitely; to change a rotation, send the new set of blocks.
const ( TeamScheduleBlockInputRecurrenceWeekly TeamScheduleBlockInputRecurrence = "weekly" TeamScheduleBlockInputRecurrenceBiweekly TeamScheduleBlockInputRecurrence = "biweekly" TeamScheduleBlockInputRecurrenceDaily TeamScheduleBlockInputRecurrence = "daily" )
func NewTeamScheduleBlockInputRecurrenceFromString ¶
func NewTeamScheduleBlockInputRecurrenceFromString(s string) (TeamScheduleBlockInputRecurrence, error)
func (TeamScheduleBlockInputRecurrence) Ptr ¶
func (t TeamScheduleBlockInputRecurrence) Ptr() *TeamScheduleBlockInputRecurrence
type TeamScheduleInput ¶
type TeamScheduleInput struct {
// Who receives issues and when. If provided, the schedule's blocks will be updated to be
// exactly the given blocks.
Blocks []*TeamScheduleBlockInput `json:"blocks,omitempty" url:"blocks,omitempty"`
// The IANA timezone the block start times are read in. Defaults to America/Los_Angeles.
Timezone *string `json:"timezone,omitempty" url:"timezone,omitempty"`
// contains filtered or unexported fields
}
func (*TeamScheduleInput) GetBlocks ¶
func (t *TeamScheduleInput) GetBlocks() []*TeamScheduleBlockInput
func (*TeamScheduleInput) GetExtraProperties ¶
func (t *TeamScheduleInput) GetExtraProperties() map[string]interface{}
func (*TeamScheduleInput) GetTimezone ¶
func (t *TeamScheduleInput) GetTimezone() *string
func (*TeamScheduleInput) MarshalJSON ¶
func (t *TeamScheduleInput) MarshalJSON() ([]byte, error)
func (*TeamScheduleInput) SetBlocks ¶
func (t *TeamScheduleInput) SetBlocks(blocks []*TeamScheduleBlockInput)
SetBlocks sets the Blocks field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamScheduleInput) SetTimezone ¶
func (t *TeamScheduleInput) SetTimezone(timezone *string)
SetTimezone sets the Timezone field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamScheduleInput) String ¶
func (t *TeamScheduleInput) String() string
func (*TeamScheduleInput) UnmarshalJSON ¶
func (t *TeamScheduleInput) UnmarshalJSON(data []byte) error
type TeamsCreateRequest ¶
type TeamsCreateRequest struct {
AssignmentConfiguration *TeamAssignmentConfigurationInput `json:"assignment_configuration,omitempty" url:"-"`
// The name of the team.
Name string `json:"name" url:"-"`
Schedule *TeamScheduleInput `json:"schedule,omitempty" url:"-"`
// The list of user IDs to add to the team.
UserIDs []string `json:"user_ids,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*TeamsCreateRequest) MarshalJSON ¶
func (t *TeamsCreateRequest) MarshalJSON() ([]byte, error)
func (*TeamsCreateRequest) SetAssignmentConfiguration ¶
func (t *TeamsCreateRequest) SetAssignmentConfiguration(assignmentConfiguration *TeamAssignmentConfigurationInput)
SetAssignmentConfiguration sets the AssignmentConfiguration field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamsCreateRequest) SetName ¶
func (t *TeamsCreateRequest) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamsCreateRequest) SetSchedule ¶
func (t *TeamsCreateRequest) SetSchedule(schedule *TeamScheduleInput)
SetSchedule sets the Schedule field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamsCreateRequest) SetUserIDs ¶
func (t *TeamsCreateRequest) SetUserIDs(userIDs []string)
SetUserIDs sets the UserIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamsCreateRequest) UnmarshalJSON ¶
func (t *TeamsCreateRequest) UnmarshalJSON(data []byte) error
type TeamsDeleteRequest ¶
type TeamsDeleteRequest struct {
// The ID of the team to delete.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*TeamsDeleteRequest) SetID ¶
func (t *TeamsDeleteRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type TeamsGetRequest ¶
type TeamsGetRequest struct {
// The ID of the team to fetch.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*TeamsGetRequest) SetID ¶
func (t *TeamsGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type TeamsUpdateRequest ¶
type TeamsUpdateRequest struct {
// The ID of the team to update.
ID string `json:"-" url:"-"`
AssignmentConfiguration *TeamAssignmentConfigurationInput `json:"assignment_configuration,omitempty" url:"-"`
// The name of the team.
Name *string `json:"name,omitempty" url:"-"`
Schedule *TeamScheduleInput `json:"schedule,omitempty" url:"-"`
// The list of user IDs to add to the team. If provided, the team members will be updated to be exactly the given users.
UserIDs []string `json:"user_ids,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*TeamsUpdateRequest) MarshalJSON ¶
func (t *TeamsUpdateRequest) MarshalJSON() ([]byte, error)
func (*TeamsUpdateRequest) SetAssignmentConfiguration ¶
func (t *TeamsUpdateRequest) SetAssignmentConfiguration(assignmentConfiguration *TeamAssignmentConfigurationInput)
SetAssignmentConfiguration sets the AssignmentConfiguration field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamsUpdateRequest) SetID ¶
func (t *TeamsUpdateRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamsUpdateRequest) SetName ¶
func (t *TeamsUpdateRequest) SetName(name *string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamsUpdateRequest) SetSchedule ¶
func (t *TeamsUpdateRequest) SetSchedule(schedule *TeamScheduleInput)
SetSchedule sets the Schedule field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamsUpdateRequest) SetUserIDs ¶
func (t *TeamsUpdateRequest) SetUserIDs(userIDs []string)
SetUserIDs sets the UserIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TeamsUpdateRequest) UnmarshalJSON ¶
func (t *TeamsUpdateRequest) UnmarshalJSON(data []byte) error
type TicketForm ¶
type TicketForm struct {
// Whether the form offers AI search before submission.
AiSearchEnabled bool `json:"ai_search_enabled" url:"ai_search_enabled"`
// The description of the ticket form in HTML.
DescriptionHTML string `json:"description_html" url:"description_html"`
// The layout of the ticket form.
Fields []*TicketFormLayoutField `json:"fields,omitempty" url:"fields,omitempty"`
// The ID of the ticket form.
ID string `json:"id" url:"id"`
// Indicates if the ticket form is public.
IsPublic bool `json:"is_public" url:"is_public"`
// The name of the ticket form.
Name string `json:"name" url:"name"`
// The slug of the ticket form.
Slug string `json:"slug" url:"slug"`
// The URL of the ticket form.
URL string `json:"url" url:"url"`
// contains filtered or unexported fields
}
func (*TicketForm) GetAiSearchEnabled ¶
func (t *TicketForm) GetAiSearchEnabled() bool
func (*TicketForm) GetDescriptionHTML ¶
func (t *TicketForm) GetDescriptionHTML() string
func (*TicketForm) GetExtraProperties ¶
func (t *TicketForm) GetExtraProperties() map[string]interface{}
func (*TicketForm) GetFields ¶
func (t *TicketForm) GetFields() []*TicketFormLayoutField
func (*TicketForm) GetID ¶
func (t *TicketForm) GetID() string
func (*TicketForm) GetIsPublic ¶
func (t *TicketForm) GetIsPublic() bool
func (*TicketForm) GetName ¶
func (t *TicketForm) GetName() string
func (*TicketForm) GetSlug ¶
func (t *TicketForm) GetSlug() string
func (*TicketForm) GetURL ¶
func (t *TicketForm) GetURL() string
func (*TicketForm) MarshalJSON ¶
func (t *TicketForm) MarshalJSON() ([]byte, error)
func (*TicketForm) SetAiSearchEnabled ¶
func (t *TicketForm) SetAiSearchEnabled(aiSearchEnabled bool)
SetAiSearchEnabled sets the AiSearchEnabled field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketForm) SetDescriptionHTML ¶
func (t *TicketForm) SetDescriptionHTML(descriptionHTML string)
SetDescriptionHTML sets the DescriptionHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketForm) SetFields ¶
func (t *TicketForm) SetFields(fields []*TicketFormLayoutField)
SetFields sets the Fields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketForm) SetID ¶
func (t *TicketForm) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketForm) SetIsPublic ¶
func (t *TicketForm) SetIsPublic(isPublic bool)
SetIsPublic sets the IsPublic field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketForm) SetName ¶
func (t *TicketForm) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketForm) SetSlug ¶
func (t *TicketForm) SetSlug(slug string)
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketForm) SetURL ¶
func (t *TicketForm) SetURL(url string)
SetURL sets the URL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketForm) String ¶
func (t *TicketForm) String() string
func (*TicketForm) UnmarshalJSON ¶
func (t *TicketForm) UnmarshalJSON(data []byte) error
type TicketFormLayoutField ¶
type TicketFormLayoutField struct {
// The ID of the custom field definition. Set only when type is custom_field.
CustomFieldID *string `json:"custom_field_id,omitempty" url:"custom_field_id,omitempty"`
// The description of the ticket form layout field in HTML.
DescriptionHTML string `json:"description_html" url:"description_html"`
// Indicates whether the field starts hidden. A hidden field is only shown when a
// visibility condition on another field lists it as visible.
Hidden bool `json:"hidden" url:"hidden"`
// The name of the ticket form layout field.
Name string `json:"name" url:"name"`
// The URL query parameter used to prefill this field on the public form.
// Derived from the form's display label and changes when that label is renamed.
PrefillKey string `json:"prefill_key" url:"prefill_key"`
// Indicates whether the field is required when submitting the ticket form.
Required bool `json:"required" url:"required"`
// The field identifier used for API submissions and visibility conditions.
// For custom fields, this is the underlying custom-field slug.
Slug string `json:"slug" url:"slug"`
// The type of the ticket form layout field.
Type string `json:"type" url:"type"`
// Visibility conditions triggered by this field's value. Each condition reveals or
// requires other fields when its filter matches. Follow affected_fields slugs to
// other fields' visibility_conditions to reconstruct nested rules.
VisibilityConditions []*TicketFormVisibilityCondition `json:"visibility_conditions,omitempty" url:"visibility_conditions,omitempty"`
// contains filtered or unexported fields
}
func (*TicketFormLayoutField) GetCustomFieldID ¶
func (t *TicketFormLayoutField) GetCustomFieldID() *string
func (*TicketFormLayoutField) GetDescriptionHTML ¶
func (t *TicketFormLayoutField) GetDescriptionHTML() string
func (*TicketFormLayoutField) GetExtraProperties ¶
func (t *TicketFormLayoutField) GetExtraProperties() map[string]interface{}
func (*TicketFormLayoutField) GetHidden ¶
func (t *TicketFormLayoutField) GetHidden() bool
func (*TicketFormLayoutField) GetName ¶
func (t *TicketFormLayoutField) GetName() string
func (*TicketFormLayoutField) GetPrefillKey ¶
func (t *TicketFormLayoutField) GetPrefillKey() string
func (*TicketFormLayoutField) GetRequired ¶
func (t *TicketFormLayoutField) GetRequired() bool
func (*TicketFormLayoutField) GetSlug ¶
func (t *TicketFormLayoutField) GetSlug() string
func (*TicketFormLayoutField) GetType ¶
func (t *TicketFormLayoutField) GetType() string
func (*TicketFormLayoutField) GetVisibilityConditions ¶
func (t *TicketFormLayoutField) GetVisibilityConditions() []*TicketFormVisibilityCondition
func (*TicketFormLayoutField) MarshalJSON ¶
func (t *TicketFormLayoutField) MarshalJSON() ([]byte, error)
func (*TicketFormLayoutField) SetCustomFieldID ¶
func (t *TicketFormLayoutField) SetCustomFieldID(customFieldID *string)
SetCustomFieldID sets the CustomFieldID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormLayoutField) SetDescriptionHTML ¶
func (t *TicketFormLayoutField) SetDescriptionHTML(descriptionHTML string)
SetDescriptionHTML sets the DescriptionHTML field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormLayoutField) SetHidden ¶
func (t *TicketFormLayoutField) SetHidden(hidden bool)
SetHidden sets the Hidden field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormLayoutField) SetName ¶
func (t *TicketFormLayoutField) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormLayoutField) SetPrefillKey ¶
func (t *TicketFormLayoutField) SetPrefillKey(prefillKey string)
SetPrefillKey sets the PrefillKey field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormLayoutField) SetRequired ¶
func (t *TicketFormLayoutField) SetRequired(required bool)
SetRequired sets the Required field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormLayoutField) SetSlug ¶
func (t *TicketFormLayoutField) SetSlug(slug string)
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormLayoutField) SetType ¶
func (t *TicketFormLayoutField) SetType(type_ string)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormLayoutField) SetVisibilityConditions ¶
func (t *TicketFormLayoutField) SetVisibilityConditions(visibilityConditions []*TicketFormVisibilityCondition)
SetVisibilityConditions sets the VisibilityConditions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormLayoutField) String ¶
func (t *TicketFormLayoutField) String() string
func (*TicketFormLayoutField) UnmarshalJSON ¶
func (t *TicketFormLayoutField) UnmarshalJSON(data []byte) error
type TicketFormVisibilityAffectedField ¶
type TicketFormVisibilityAffectedField struct {
// Whether the field is required while the condition matches.
Required bool `json:"required" url:"required"`
// The slug of the affected ticket form field.
Slug string `json:"slug" url:"slug"`
// The type of the affected ticket form field.
Type string `json:"type" url:"type"`
// Whether the field is shown while the condition matches.
Visible bool `json:"visible" url:"visible"`
// contains filtered or unexported fields
}
func (*TicketFormVisibilityAffectedField) GetExtraProperties ¶
func (t *TicketFormVisibilityAffectedField) GetExtraProperties() map[string]interface{}
func (*TicketFormVisibilityAffectedField) GetRequired ¶
func (t *TicketFormVisibilityAffectedField) GetRequired() bool
func (*TicketFormVisibilityAffectedField) GetSlug ¶
func (t *TicketFormVisibilityAffectedField) GetSlug() string
func (*TicketFormVisibilityAffectedField) GetType ¶
func (t *TicketFormVisibilityAffectedField) GetType() string
func (*TicketFormVisibilityAffectedField) GetVisible ¶
func (t *TicketFormVisibilityAffectedField) GetVisible() bool
func (*TicketFormVisibilityAffectedField) MarshalJSON ¶
func (t *TicketFormVisibilityAffectedField) MarshalJSON() ([]byte, error)
func (*TicketFormVisibilityAffectedField) SetRequired ¶
func (t *TicketFormVisibilityAffectedField) SetRequired(required bool)
SetRequired sets the Required field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormVisibilityAffectedField) SetSlug ¶
func (t *TicketFormVisibilityAffectedField) SetSlug(slug string)
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormVisibilityAffectedField) SetType ¶
func (t *TicketFormVisibilityAffectedField) SetType(type_ string)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormVisibilityAffectedField) SetVisible ¶
func (t *TicketFormVisibilityAffectedField) SetVisible(visible bool)
SetVisible sets the Visible field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormVisibilityAffectedField) String ¶
func (t *TicketFormVisibilityAffectedField) String() string
func (*TicketFormVisibilityAffectedField) UnmarshalJSON ¶
func (t *TicketFormVisibilityAffectedField) UnmarshalJSON(data []byte) error
type TicketFormVisibilityCondition ¶
type TicketFormVisibilityCondition struct {
// The fields revealed or required when the condition matches.
AffectedFields []*TicketFormVisibilityAffectedField `json:"affected_fields,omitempty" url:"affected_fields,omitempty"`
Filter *Filter `json:"filter,omitempty" url:"filter,omitempty"`
// True when the condition's filter cannot be expressed in the API filter format.
// The condition still applies when the form is submitted, but its filter is omitted here.
FilterUnsupported *bool `json:"filter_unsupported,omitempty" url:"filter_unsupported,omitempty"`
// The ID of the visibility condition.
ID string `json:"id" url:"id"`
// contains filtered or unexported fields
}
func (*TicketFormVisibilityCondition) GetAffectedFields ¶
func (t *TicketFormVisibilityCondition) GetAffectedFields() []*TicketFormVisibilityAffectedField
func (*TicketFormVisibilityCondition) GetExtraProperties ¶
func (t *TicketFormVisibilityCondition) GetExtraProperties() map[string]interface{}
func (*TicketFormVisibilityCondition) GetFilter ¶
func (t *TicketFormVisibilityCondition) GetFilter() *Filter
func (*TicketFormVisibilityCondition) GetFilterUnsupported ¶
func (t *TicketFormVisibilityCondition) GetFilterUnsupported() *bool
func (*TicketFormVisibilityCondition) GetID ¶
func (t *TicketFormVisibilityCondition) GetID() string
func (*TicketFormVisibilityCondition) MarshalJSON ¶
func (t *TicketFormVisibilityCondition) MarshalJSON() ([]byte, error)
func (*TicketFormVisibilityCondition) SetAffectedFields ¶
func (t *TicketFormVisibilityCondition) SetAffectedFields(affectedFields []*TicketFormVisibilityAffectedField)
SetAffectedFields sets the AffectedFields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormVisibilityCondition) SetFilter ¶
func (t *TicketFormVisibilityCondition) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormVisibilityCondition) SetFilterUnsupported ¶
func (t *TicketFormVisibilityCondition) SetFilterUnsupported(filterUnsupported *bool)
SetFilterUnsupported sets the FilterUnsupported field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormVisibilityCondition) SetID ¶
func (t *TicketFormVisibilityCondition) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormVisibilityCondition) String ¶
func (t *TicketFormVisibilityCondition) String() string
func (*TicketFormVisibilityCondition) UnmarshalJSON ¶
func (t *TicketFormVisibilityCondition) UnmarshalJSON(data []byte) error
type TicketFormsGetRequest ¶
type TicketFormsGetRequest struct {
// The ID of the ticket form to fetch.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*TicketFormsGetRequest) SetID ¶
func (t *TicketFormsGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type TicketFormsSubmitRequest ¶
type TicketFormsSubmitRequest struct {
// The ID of the ticket form to submit.
TicketFormID string `json:"-" url:"-"`
// HTTPS URLs to attach to the initial ticket message. URLs are copied into durable Pylon storage before the submission is persisted.
AttachmentURLs []string `json:"attachment_urls,omitempty" url:"-"`
// The submitted ticket form fields. Use the slugs returned by GET /ticket-forms/{id}, excluding name and email, which are supplied through the requester fields above.
Fields []*SubmitTicketFormField `json:"fields,omitempty" url:"-"`
// The requester's email address. Must be provided with requester_name and cannot be combined with requester_id.
RequesterEmail *string `json:"requester_email,omitempty" url:"-"`
// The ID of an existing contact to use as the requester. Provide either requester_id or both requester_email and requester_name.
RequesterID *string `json:"requester_id,omitempty" url:"-"`
// The requester's full name. Must be provided with requester_email and cannot be combined with requester_id.
RequesterName *string `json:"requester_name,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*TicketFormsSubmitRequest) MarshalJSON ¶
func (t *TicketFormsSubmitRequest) MarshalJSON() ([]byte, error)
func (*TicketFormsSubmitRequest) SetAttachmentURLs ¶
func (t *TicketFormsSubmitRequest) SetAttachmentURLs(attachmentURLs []string)
SetAttachmentURLs sets the AttachmentURLs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormsSubmitRequest) SetFields ¶
func (t *TicketFormsSubmitRequest) SetFields(fields []*SubmitTicketFormField)
SetFields sets the Fields field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormsSubmitRequest) SetRequesterEmail ¶
func (t *TicketFormsSubmitRequest) SetRequesterEmail(requesterEmail *string)
SetRequesterEmail sets the RequesterEmail field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormsSubmitRequest) SetRequesterID ¶
func (t *TicketFormsSubmitRequest) SetRequesterID(requesterID *string)
SetRequesterID sets the RequesterID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormsSubmitRequest) SetRequesterName ¶
func (t *TicketFormsSubmitRequest) SetRequesterName(requesterName *string)
SetRequesterName sets the RequesterName field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormsSubmitRequest) SetTicketFormID ¶
func (t *TicketFormsSubmitRequest) SetTicketFormID(ticketFormID string)
SetTicketFormID sets the TicketFormID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TicketFormsSubmitRequest) UnmarshalJSON ¶
func (t *TicketFormsSubmitRequest) UnmarshalJSON(data []byte) error
type TooManyRequestsError ¶
type TooManyRequestsError struct {
*core.APIError
Body *ErrorAPIResponseBody
}
The request exceeded the applicable rate limit.
func (*TooManyRequestsError) GetBody ¶
func (t *TooManyRequestsError) GetBody() *ErrorAPIResponseBody
func (*TooManyRequestsError) MarshalJSON ¶
func (t *TooManyRequestsError) MarshalJSON() ([]byte, error)
func (*TooManyRequestsError) UnmarshalJSON ¶
func (t *TooManyRequestsError) UnmarshalJSON(data []byte) error
func (*TooManyRequestsError) Unwrap ¶
func (t *TooManyRequestsError) Unwrap() error
type TrainingData ¶
type TrainingData struct {
CreatedAt time.Time `json:"created_at" url:"created_at"`
Documents []*TrainingDataDocument `json:"documents,omitempty" url:"documents,omitempty"`
ExcludeFromKbSearch bool `json:"exclude_from_kb_search" url:"exclude_from_kb_search"`
ID string `json:"id" url:"id"`
Name string `json:"name" url:"name"`
ScrapeStatus *TrainingDataScrapeStatus `json:"scrape_status,omitempty" url:"scrape_status,omitempty"`
Type string `json:"type" url:"type"`
UpdatedAt time.Time `json:"updated_at" url:"updated_at"`
// Known values: `everyone`, `user_only`, `ai_agent_only`. This list is not exhaustive.
Visibility string `json:"visibility" url:"visibility"`
// contains filtered or unexported fields
}
func (*TrainingData) GetCreatedAt ¶
func (t *TrainingData) GetCreatedAt() time.Time
func (*TrainingData) GetDocuments ¶
func (t *TrainingData) GetDocuments() []*TrainingDataDocument
func (*TrainingData) GetExcludeFromKbSearch ¶
func (t *TrainingData) GetExcludeFromKbSearch() bool
func (*TrainingData) GetExtraProperties ¶
func (t *TrainingData) GetExtraProperties() map[string]interface{}
func (*TrainingData) GetID ¶
func (t *TrainingData) GetID() string
func (*TrainingData) GetName ¶
func (t *TrainingData) GetName() string
func (*TrainingData) GetScrapeStatus ¶
func (t *TrainingData) GetScrapeStatus() *TrainingDataScrapeStatus
func (*TrainingData) GetType ¶
func (t *TrainingData) GetType() string
func (*TrainingData) GetUpdatedAt ¶
func (t *TrainingData) GetUpdatedAt() time.Time
func (*TrainingData) GetVisibility ¶
func (t *TrainingData) GetVisibility() string
func (*TrainingData) MarshalJSON ¶
func (t *TrainingData) MarshalJSON() ([]byte, error)
func (*TrainingData) SetCreatedAt ¶
func (t *TrainingData) SetCreatedAt(createdAt time.Time)
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingData) SetDocuments ¶
func (t *TrainingData) SetDocuments(documents []*TrainingDataDocument)
SetDocuments sets the Documents field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingData) SetExcludeFromKbSearch ¶
func (t *TrainingData) SetExcludeFromKbSearch(excludeFromKbSearch bool)
SetExcludeFromKbSearch sets the ExcludeFromKbSearch field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingData) SetID ¶
func (t *TrainingData) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingData) SetName ¶
func (t *TrainingData) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingData) SetScrapeStatus ¶
func (t *TrainingData) SetScrapeStatus(scrapeStatus *TrainingDataScrapeStatus)
SetScrapeStatus sets the ScrapeStatus field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingData) SetType ¶
func (t *TrainingData) SetType(type_ string)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingData) SetUpdatedAt ¶
func (t *TrainingData) SetUpdatedAt(updatedAt time.Time)
SetUpdatedAt sets the UpdatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingData) SetVisibility ¶
func (t *TrainingData) SetVisibility(visibility string)
SetVisibility sets the Visibility field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingData) String ¶
func (t *TrainingData) String() string
func (*TrainingData) UnmarshalJSON ¶
func (t *TrainingData) UnmarshalJSON(data []byte) error
type TrainingDataCreateRequest ¶
type TrainingDataCreateRequest struct {
// The name of the training data container.
TrainingDataName *string `json:"training_data_name,omitempty" url:"-"`
// The visibility of the training data. Defaults to "everyone".
// Valid values: "everyone", "user_only", "ai_agent_only"
Visibility *CreateTrainingDataRequestBodyVisibility `json:"visibility,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*TrainingDataCreateRequest) MarshalJSON ¶
func (t *TrainingDataCreateRequest) MarshalJSON() ([]byte, error)
func (*TrainingDataCreateRequest) SetTrainingDataName ¶
func (t *TrainingDataCreateRequest) SetTrainingDataName(trainingDataName *string)
SetTrainingDataName sets the TrainingDataName field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataCreateRequest) SetVisibility ¶
func (t *TrainingDataCreateRequest) SetVisibility(visibility *CreateTrainingDataRequestBodyVisibility)
SetVisibility sets the Visibility field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataCreateRequest) UnmarshalJSON ¶
func (t *TrainingDataCreateRequest) UnmarshalJSON(data []byte) error
type TrainingDataDocument ¶
type TrainingDataDocument struct {
ExternalID *string `json:"external_id,omitempty" url:"external_id,omitempty"`
FileName string `json:"file_name" url:"file_name"`
FileSize int64 `json:"file_size" url:"file_size"`
FileType string `json:"file_type" url:"file_type"`
ID string `json:"id" url:"id"`
S3Key string `json:"s3_key" url:"s3_key"`
// contains filtered or unexported fields
}
func (*TrainingDataDocument) GetExternalID ¶
func (t *TrainingDataDocument) GetExternalID() *string
func (*TrainingDataDocument) GetExtraProperties ¶
func (t *TrainingDataDocument) GetExtraProperties() map[string]interface{}
func (*TrainingDataDocument) GetFileName ¶
func (t *TrainingDataDocument) GetFileName() string
func (*TrainingDataDocument) GetFileSize ¶
func (t *TrainingDataDocument) GetFileSize() int64
func (*TrainingDataDocument) GetFileType ¶
func (t *TrainingDataDocument) GetFileType() string
func (*TrainingDataDocument) GetID ¶
func (t *TrainingDataDocument) GetID() string
func (*TrainingDataDocument) GetS3Key ¶
func (t *TrainingDataDocument) GetS3Key() string
func (*TrainingDataDocument) MarshalJSON ¶
func (t *TrainingDataDocument) MarshalJSON() ([]byte, error)
func (*TrainingDataDocument) SetExternalID ¶
func (t *TrainingDataDocument) SetExternalID(externalID *string)
SetExternalID sets the ExternalID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataDocument) SetFileName ¶
func (t *TrainingDataDocument) SetFileName(fileName string)
SetFileName sets the FileName field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataDocument) SetFileSize ¶
func (t *TrainingDataDocument) SetFileSize(fileSize int64)
SetFileSize sets the FileSize field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataDocument) SetFileType ¶
func (t *TrainingDataDocument) SetFileType(fileType string)
SetFileType sets the FileType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataDocument) SetID ¶
func (t *TrainingDataDocument) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataDocument) SetS3Key ¶
func (t *TrainingDataDocument) SetS3Key(s3Key string)
SetS3Key sets the S3Key field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataDocument) String ¶
func (t *TrainingDataDocument) String() string
func (*TrainingDataDocument) UnmarshalJSON ¶
func (t *TrainingDataDocument) UnmarshalJSON(data []byte) error
type TrainingDataGetRequest ¶
type TrainingDataGetRequest struct {
// The ID of the training data.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*TrainingDataGetRequest) SetID ¶
func (t *TrainingDataGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type TrainingDataScrapeStatus ¶
type TrainingDataScrapeStatus struct {
LastScrapedAt *time.Time `json:"last_scraped_at,omitempty" url:"last_scraped_at,omitempty"`
PagesScraped int64 `json:"pages_scraped" url:"pages_scraped"`
Status string `json:"status" url:"status"`
TotalPages int64 `json:"total_pages" url:"total_pages"`
// contains filtered or unexported fields
}
func (*TrainingDataScrapeStatus) GetExtraProperties ¶
func (t *TrainingDataScrapeStatus) GetExtraProperties() map[string]interface{}
func (*TrainingDataScrapeStatus) GetLastScrapedAt ¶
func (t *TrainingDataScrapeStatus) GetLastScrapedAt() *time.Time
func (*TrainingDataScrapeStatus) GetPagesScraped ¶
func (t *TrainingDataScrapeStatus) GetPagesScraped() int64
func (*TrainingDataScrapeStatus) GetStatus ¶
func (t *TrainingDataScrapeStatus) GetStatus() string
func (*TrainingDataScrapeStatus) GetTotalPages ¶
func (t *TrainingDataScrapeStatus) GetTotalPages() int64
func (*TrainingDataScrapeStatus) MarshalJSON ¶
func (t *TrainingDataScrapeStatus) MarshalJSON() ([]byte, error)
func (*TrainingDataScrapeStatus) SetLastScrapedAt ¶
func (t *TrainingDataScrapeStatus) SetLastScrapedAt(lastScrapedAt *time.Time)
SetLastScrapedAt sets the LastScrapedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataScrapeStatus) SetPagesScraped ¶
func (t *TrainingDataScrapeStatus) SetPagesScraped(pagesScraped int64)
SetPagesScraped sets the PagesScraped field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataScrapeStatus) SetStatus ¶
func (t *TrainingDataScrapeStatus) SetStatus(status string)
SetStatus sets the Status field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataScrapeStatus) SetTotalPages ¶
func (t *TrainingDataScrapeStatus) SetTotalPages(totalPages int64)
SetTotalPages sets the TotalPages field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataScrapeStatus) String ¶
func (t *TrainingDataScrapeStatus) String() string
func (*TrainingDataScrapeStatus) UnmarshalJSON ¶
func (t *TrainingDataScrapeStatus) UnmarshalJSON(data []byte) error
type TrainingDataUploadContentRequest ¶
type TrainingDataUploadContentRequest struct {
// The text content to upload.
Content *string `json:"content,omitempty" url:"-"`
// External ID for idempotent operations (optional).
ExternalID *string `json:"external_id,omitempty" url:"-"`
// The name for the uploaded file.
FileName *string `json:"file_name,omitempty" url:"-"`
// The ID of an existing training data container to upload to (optional).
TrainingDataID *string `json:"training_data_id,omitempty" url:"-"`
// The name of a new training data container (required if training_data_id not provided).
TrainingDataName *string `json:"training_data_name,omitempty" url:"-"`
// Visibility of the training data. Defaults to "everyone".
Visibility *UploadTrainingDataFileContentRequestBodyVisibility `json:"visibility,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*TrainingDataUploadContentRequest) MarshalJSON ¶
func (t *TrainingDataUploadContentRequest) MarshalJSON() ([]byte, error)
func (*TrainingDataUploadContentRequest) SetContent ¶
func (t *TrainingDataUploadContentRequest) SetContent(content *string)
SetContent sets the Content field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataUploadContentRequest) SetExternalID ¶
func (t *TrainingDataUploadContentRequest) SetExternalID(externalID *string)
SetExternalID sets the ExternalID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataUploadContentRequest) SetFileName ¶
func (t *TrainingDataUploadContentRequest) SetFileName(fileName *string)
SetFileName sets the FileName field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataUploadContentRequest) SetTrainingDataID ¶
func (t *TrainingDataUploadContentRequest) SetTrainingDataID(trainingDataID *string)
SetTrainingDataID sets the TrainingDataID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataUploadContentRequest) SetTrainingDataName ¶
func (t *TrainingDataUploadContentRequest) SetTrainingDataName(trainingDataName *string)
SetTrainingDataName sets the TrainingDataName field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataUploadContentRequest) SetVisibility ¶
func (t *TrainingDataUploadContentRequest) SetVisibility(visibility *UploadTrainingDataFileContentRequestBodyVisibility)
SetVisibility sets the Visibility field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataUploadContentRequest) UnmarshalJSON ¶
func (t *TrainingDataUploadContentRequest) UnmarshalJSON(data []byte) error
type TrainingDataUploadFilesRequest ¶
type TrainingDataUploadFilesRequest struct {
// External IDs for idempotent operations. Must match the number of files if provided.
// Used for duplicate detection and updates.
ExternalIDs []string `json:"external_ids,omitempty" url:"-"`
// Custom names for the uploaded files. Must match the number of files if provided.
// If not provided, original filenames will be used.
FileNames []string `json:"file_names,omitempty" url:"-"`
// The files to upload (minimum 1, maximum 10).
// Supported types: PDF, plain text, markdown, CSV, JSON, and images (JPEG, PNG, GIF, WebP).
// Maximum size: 50MB per file, 100MB total.
Files []string `json:"files" url:"-"`
// The ID of an existing training data container to upload files to.
// Required if not creating new training data.
TrainingDataID *string `json:"training_data_id,omitempty" url:"-"`
// The name of a new training data container.
// Required when creating new training data (if training_data_id is not provided).
TrainingDataName *string `json:"training_data_name,omitempty" url:"-"`
// Visibility of the training data. Defaults to "everyone".
// Valid values: "everyone", "user_only", "ai_agent_only"
Visibility *UploadFilesTrainingDataRequestVisibility `json:"visibility,omitempty" url:"-"`
// contains filtered or unexported fields
}
type TrainingDataUploadResponseBody ¶
type TrainingDataUploadResponseBody struct {
Data *TrainingData `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*TrainingDataUploadResponseBody) GetData ¶
func (t *TrainingDataUploadResponseBody) GetData() *TrainingData
func (*TrainingDataUploadResponseBody) GetExtraProperties ¶
func (t *TrainingDataUploadResponseBody) GetExtraProperties() map[string]interface{}
func (*TrainingDataUploadResponseBody) GetRequestID ¶
func (t *TrainingDataUploadResponseBody) GetRequestID() string
func (*TrainingDataUploadResponseBody) MarshalJSON ¶
func (t *TrainingDataUploadResponseBody) MarshalJSON() ([]byte, error)
func (*TrainingDataUploadResponseBody) SetData ¶
func (t *TrainingDataUploadResponseBody) SetData(data *TrainingData)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataUploadResponseBody) SetRequestID ¶
func (t *TrainingDataUploadResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*TrainingDataUploadResponseBody) String ¶
func (t *TrainingDataUploadResponseBody) String() string
func (*TrainingDataUploadResponseBody) UnmarshalJSON ¶
func (t *TrainingDataUploadResponseBody) UnmarshalJSON(data []byte) error
type UnauthorizedError ¶
type UnauthorizedError struct {
}
The request could not be authenticated for this API.
func (*UnauthorizedError) GetBody ¶
func (u *UnauthorizedError) GetBody() *ErrorAPIResponseBody
func (*UnauthorizedError) MarshalJSON ¶
func (u *UnauthorizedError) MarshalJSON() ([]byte, error)
func (*UnauthorizedError) UnmarshalJSON ¶
func (u *UnauthorizedError) UnmarshalJSON(data []byte) error
func (*UnauthorizedError) Unwrap ¶
func (u *UnauthorizedError) Unwrap() error
type UpdateAccountHighlightResponseBody ¶
type UpdateAccountHighlightResponseBody struct {
Data *AccountHighlight `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateAccountHighlightResponseBody) GetData ¶
func (u *UpdateAccountHighlightResponseBody) GetData() *AccountHighlight
func (*UpdateAccountHighlightResponseBody) GetExtraProperties ¶
func (u *UpdateAccountHighlightResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateAccountHighlightResponseBody) GetRequestID ¶
func (u *UpdateAccountHighlightResponseBody) GetRequestID() string
func (*UpdateAccountHighlightResponseBody) MarshalJSON ¶
func (u *UpdateAccountHighlightResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateAccountHighlightResponseBody) SetData ¶
func (u *UpdateAccountHighlightResponseBody) SetData(data *AccountHighlight)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateAccountHighlightResponseBody) SetRequestID ¶
func (u *UpdateAccountHighlightResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateAccountHighlightResponseBody) String ¶
func (u *UpdateAccountHighlightResponseBody) String() string
func (*UpdateAccountHighlightResponseBody) UnmarshalJSON ¶
func (u *UpdateAccountHighlightResponseBody) UnmarshalJSON(data []byte) error
type UpdateAccountRequestBodyAccountType ¶
type UpdateAccountRequestBodyAccountType string
The type of the account. Can only be changed to "customer" or "partner".
const ( UpdateAccountRequestBodyAccountTypeCustomer UpdateAccountRequestBodyAccountType = "customer" UpdateAccountRequestBodyAccountTypePartner UpdateAccountRequestBodyAccountType = "partner" )
func NewUpdateAccountRequestBodyAccountTypeFromString ¶
func NewUpdateAccountRequestBodyAccountTypeFromString(s string) (UpdateAccountRequestBodyAccountType, error)
type UpdateAccountRequestBodyTagsApplyMode ¶
type UpdateAccountRequestBodyTagsApplyMode string
The mode for applying tags. Valid values: "append_only", "remove_only", "replace". Defaults to "replace".
const ( UpdateAccountRequestBodyTagsApplyModeAppendOnly UpdateAccountRequestBodyTagsApplyMode = "append_only" UpdateAccountRequestBodyTagsApplyModeRemoveOnly UpdateAccountRequestBodyTagsApplyMode = "remove_only" UpdateAccountRequestBodyTagsApplyModeReplace UpdateAccountRequestBodyTagsApplyMode = "replace" )
func NewUpdateAccountRequestBodyTagsApplyModeFromString ¶
func NewUpdateAccountRequestBodyTagsApplyModeFromString(s string) (UpdateAccountRequestBodyTagsApplyMode, error)
type UpdateAccountResponseBody ¶
type UpdateAccountResponseBody struct {
Data *Account `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateAccountResponseBody) GetData ¶
func (u *UpdateAccountResponseBody) GetData() *Account
func (*UpdateAccountResponseBody) GetExtraProperties ¶
func (u *UpdateAccountResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateAccountResponseBody) GetRequestID ¶
func (u *UpdateAccountResponseBody) GetRequestID() string
func (*UpdateAccountResponseBody) MarshalJSON ¶
func (u *UpdateAccountResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateAccountResponseBody) SetData ¶
func (u *UpdateAccountResponseBody) SetData(data *Account)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateAccountResponseBody) SetRequestID ¶
func (u *UpdateAccountResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateAccountResponseBody) String ¶
func (u *UpdateAccountResponseBody) String() string
func (*UpdateAccountResponseBody) UnmarshalJSON ¶
func (u *UpdateAccountResponseBody) UnmarshalJSON(data []byte) error
type UpdateAccountsRequestAccountType ¶
type UpdateAccountsRequestAccountType string
The type of the account. Can only be changed to "customer" or "partner".
const ( UpdateAccountsRequestAccountTypeCustomer UpdateAccountsRequestAccountType = "customer" UpdateAccountsRequestAccountTypePartner UpdateAccountsRequestAccountType = "partner" )
func NewUpdateAccountsRequestAccountTypeFromString ¶
func NewUpdateAccountsRequestAccountTypeFromString(s string) (UpdateAccountsRequestAccountType, error)
func (UpdateAccountsRequestAccountType) Ptr ¶
func (u UpdateAccountsRequestAccountType) Ptr() *UpdateAccountsRequestAccountType
type UpdateAccountsRequestTagsApplyMode ¶
type UpdateAccountsRequestTagsApplyMode string
The mode for applying tags. Valid values: "append_only", "remove_only", "replace". Defaults to "replace".
const ( UpdateAccountsRequestTagsApplyModeAppendOnly UpdateAccountsRequestTagsApplyMode = "append_only" UpdateAccountsRequestTagsApplyModeRemoveOnly UpdateAccountsRequestTagsApplyMode = "remove_only" UpdateAccountsRequestTagsApplyModeReplace UpdateAccountsRequestTagsApplyMode = "replace" )
func NewUpdateAccountsRequestTagsApplyModeFromString ¶
func NewUpdateAccountsRequestTagsApplyModeFromString(s string) (UpdateAccountsRequestTagsApplyMode, error)
func (UpdateAccountsRequestTagsApplyMode) Ptr ¶
func (u UpdateAccountsRequestTagsApplyMode) Ptr() *UpdateAccountsRequestTagsApplyMode
type UpdateAccountsResponseBody ¶
type UpdateAccountsResponseBody struct {
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// Whether the update was successfully initiated.
Success bool `json:"success" url:"success"`
// contains filtered or unexported fields
}
func (*UpdateAccountsResponseBody) GetExtraProperties ¶
func (u *UpdateAccountsResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateAccountsResponseBody) GetRequestID ¶
func (u *UpdateAccountsResponseBody) GetRequestID() string
func (*UpdateAccountsResponseBody) GetSuccess ¶
func (u *UpdateAccountsResponseBody) GetSuccess() bool
func (*UpdateAccountsResponseBody) MarshalJSON ¶
func (u *UpdateAccountsResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateAccountsResponseBody) SetRequestID ¶
func (u *UpdateAccountsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateAccountsResponseBody) SetSuccess ¶
func (u *UpdateAccountsResponseBody) SetSuccess(success bool)
SetSuccess sets the Success field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateAccountsResponseBody) String ¶
func (u *UpdateAccountsResponseBody) String() string
func (*UpdateAccountsResponseBody) UnmarshalJSON ¶
func (u *UpdateAccountsResponseBody) UnmarshalJSON(data []byte) error
type UpdateArticleResponseBody ¶
type UpdateArticleResponseBody struct {
Data *Article `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateArticleResponseBody) GetData ¶
func (u *UpdateArticleResponseBody) GetData() *Article
func (*UpdateArticleResponseBody) GetExtraProperties ¶
func (u *UpdateArticleResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateArticleResponseBody) GetRequestID ¶
func (u *UpdateArticleResponseBody) GetRequestID() string
func (*UpdateArticleResponseBody) MarshalJSON ¶
func (u *UpdateArticleResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateArticleResponseBody) SetData ¶
func (u *UpdateArticleResponseBody) SetData(data *Article)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateArticleResponseBody) SetRequestID ¶
func (u *UpdateArticleResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateArticleResponseBody) String ¶
func (u *UpdateArticleResponseBody) String() string
func (*UpdateArticleResponseBody) UnmarshalJSON ¶
func (u *UpdateArticleResponseBody) UnmarshalJSON(data []byte) error
type UpdateCallRecordingResponseBody ¶
type UpdateCallRecordingResponseBody struct {
Data *CallRecording `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateCallRecordingResponseBody) GetData ¶
func (u *UpdateCallRecordingResponseBody) GetData() *CallRecording
func (*UpdateCallRecordingResponseBody) GetExtraProperties ¶
func (u *UpdateCallRecordingResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateCallRecordingResponseBody) GetRequestID ¶
func (u *UpdateCallRecordingResponseBody) GetRequestID() string
func (*UpdateCallRecordingResponseBody) MarshalJSON ¶
func (u *UpdateCallRecordingResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateCallRecordingResponseBody) SetData ¶
func (u *UpdateCallRecordingResponseBody) SetData(data *CallRecording)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateCallRecordingResponseBody) SetRequestID ¶
func (u *UpdateCallRecordingResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateCallRecordingResponseBody) String ¶
func (u *UpdateCallRecordingResponseBody) String() string
func (*UpdateCallRecordingResponseBody) UnmarshalJSON ¶
func (u *UpdateCallRecordingResponseBody) UnmarshalJSON(data []byte) error
type UpdateCollectionResponseBody ¶
type UpdateCollectionResponseBody struct {
Data *Collection `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateCollectionResponseBody) GetData ¶
func (u *UpdateCollectionResponseBody) GetData() *Collection
func (*UpdateCollectionResponseBody) GetExtraProperties ¶
func (u *UpdateCollectionResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateCollectionResponseBody) GetRequestID ¶
func (u *UpdateCollectionResponseBody) GetRequestID() string
func (*UpdateCollectionResponseBody) MarshalJSON ¶
func (u *UpdateCollectionResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateCollectionResponseBody) SetData ¶
func (u *UpdateCollectionResponseBody) SetData(data *Collection)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateCollectionResponseBody) SetRequestID ¶
func (u *UpdateCollectionResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateCollectionResponseBody) String ¶
func (u *UpdateCollectionResponseBody) String() string
func (*UpdateCollectionResponseBody) UnmarshalJSON ¶
func (u *UpdateCollectionResponseBody) UnmarshalJSON(data []byte) error
type UpdateContactEmail ¶
type UpdateContactEmail struct {
// The email address.
Email string `json:"email" url:"email"`
// Whether this is the primary email address.
IsPrimary *bool `json:"is_primary,omitempty" url:"is_primary,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateContactEmail) GetEmail ¶
func (u *UpdateContactEmail) GetEmail() string
func (*UpdateContactEmail) GetExtraProperties ¶
func (u *UpdateContactEmail) GetExtraProperties() map[string]interface{}
func (*UpdateContactEmail) GetIsPrimary ¶
func (u *UpdateContactEmail) GetIsPrimary() *bool
func (*UpdateContactEmail) MarshalJSON ¶
func (u *UpdateContactEmail) MarshalJSON() ([]byte, error)
func (*UpdateContactEmail) SetEmail ¶
func (u *UpdateContactEmail) SetEmail(email string)
SetEmail sets the Email field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateContactEmail) SetIsPrimary ¶
func (u *UpdateContactEmail) SetIsPrimary(isPrimary *bool)
SetIsPrimary sets the IsPrimary field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateContactEmail) String ¶
func (u *UpdateContactEmail) String() string
func (*UpdateContactEmail) UnmarshalJSON ¶
func (u *UpdateContactEmail) UnmarshalJSON(data []byte) error
type UpdateContactResponseBody ¶
type UpdateContactResponseBody struct {
Data *Contact `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateContactResponseBody) GetData ¶
func (u *UpdateContactResponseBody) GetData() *Contact
func (*UpdateContactResponseBody) GetExtraProperties ¶
func (u *UpdateContactResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateContactResponseBody) GetRequestID ¶
func (u *UpdateContactResponseBody) GetRequestID() string
func (*UpdateContactResponseBody) MarshalJSON ¶
func (u *UpdateContactResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateContactResponseBody) SetData ¶
func (u *UpdateContactResponseBody) SetData(data *Contact)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateContactResponseBody) SetRequestID ¶
func (u *UpdateContactResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateContactResponseBody) String ¶
func (u *UpdateContactResponseBody) String() string
func (*UpdateContactResponseBody) UnmarshalJSON ¶
func (u *UpdateContactResponseBody) UnmarshalJSON(data []byte) error
type UpdateCustomFieldRequirement ¶
type UpdateCustomFieldRequirement struct {
Filter *Filter `json:"filter,omitempty" url:"filter,omitempty"`
// Must be false. A requirement whose conditions can't be expressed as an API filter can't be saved through the API; edit it in the app.
FilterUnsupported *bool `json:"filter_unsupported,omitempty" url:"filter_unsupported,omitempty"`
// When the custom field is required. "required_for_closed" requires it when closing an issue (only issues that match filter, when set), and "required_under_certain_conditions" requires it on issues that match filter, which is then required. Both are only supported on issue fields, issue and feature request fields can't be changed to "required", and filter isn't allowed with the other settings.
Setting UpdateCustomFieldRequirementSetting `json:"setting" url:"setting"`
// contains filtered or unexported fields
}
func (*UpdateCustomFieldRequirement) GetExtraProperties ¶
func (u *UpdateCustomFieldRequirement) GetExtraProperties() map[string]interface{}
func (*UpdateCustomFieldRequirement) GetFilter ¶
func (u *UpdateCustomFieldRequirement) GetFilter() *Filter
func (*UpdateCustomFieldRequirement) GetFilterUnsupported ¶
func (u *UpdateCustomFieldRequirement) GetFilterUnsupported() *bool
func (*UpdateCustomFieldRequirement) GetSetting ¶
func (u *UpdateCustomFieldRequirement) GetSetting() UpdateCustomFieldRequirementSetting
func (*UpdateCustomFieldRequirement) MarshalJSON ¶
func (u *UpdateCustomFieldRequirement) MarshalJSON() ([]byte, error)
func (*UpdateCustomFieldRequirement) SetFilter ¶
func (u *UpdateCustomFieldRequirement) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateCustomFieldRequirement) SetFilterUnsupported ¶
func (u *UpdateCustomFieldRequirement) SetFilterUnsupported(filterUnsupported *bool)
SetFilterUnsupported sets the FilterUnsupported field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateCustomFieldRequirement) SetSetting ¶
func (u *UpdateCustomFieldRequirement) SetSetting(setting UpdateCustomFieldRequirementSetting)
SetSetting sets the Setting field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateCustomFieldRequirement) String ¶
func (u *UpdateCustomFieldRequirement) String() string
func (*UpdateCustomFieldRequirement) UnmarshalJSON ¶
func (u *UpdateCustomFieldRequirement) UnmarshalJSON(data []byte) error
type UpdateCustomFieldRequirementSetting ¶
type UpdateCustomFieldRequirementSetting string
When the custom field is required. "required_for_closed" requires it when closing an issue (only issues that match filter, when set), and "required_under_certain_conditions" requires it on issues that match filter, which is then required. Both are only supported on issue fields, issue and feature request fields can't be changed to "required", and filter isn't allowed with the other settings.
const ( UpdateCustomFieldRequirementSettingNotRequired UpdateCustomFieldRequirementSetting = "not_required" UpdateCustomFieldRequirementSettingRequired UpdateCustomFieldRequirementSetting = "required" UpdateCustomFieldRequirementSettingRequiredForClosed UpdateCustomFieldRequirementSetting = "required_for_closed" UpdateCustomFieldRequirementSettingRequiredUnderCertainConditions UpdateCustomFieldRequirementSetting = "required_under_certain_conditions" )
func NewUpdateCustomFieldRequirementSettingFromString ¶
func NewUpdateCustomFieldRequirementSettingFromString(s string) (UpdateCustomFieldRequirementSetting, error)
type UpdateCustomFieldResponseBody ¶
type UpdateCustomFieldResponseBody struct {
Data *CustomFieldDefinition `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateCustomFieldResponseBody) GetData ¶
func (u *UpdateCustomFieldResponseBody) GetData() *CustomFieldDefinition
func (*UpdateCustomFieldResponseBody) GetExtraProperties ¶
func (u *UpdateCustomFieldResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateCustomFieldResponseBody) GetRequestID ¶
func (u *UpdateCustomFieldResponseBody) GetRequestID() string
func (*UpdateCustomFieldResponseBody) MarshalJSON ¶
func (u *UpdateCustomFieldResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateCustomFieldResponseBody) SetData ¶
func (u *UpdateCustomFieldResponseBody) SetData(data *CustomFieldDefinition)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateCustomFieldResponseBody) SetRequestID ¶
func (u *UpdateCustomFieldResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateCustomFieldResponseBody) String ¶
func (u *UpdateCustomFieldResponseBody) String() string
func (*UpdateCustomFieldResponseBody) UnmarshalJSON ¶
func (u *UpdateCustomFieldResponseBody) UnmarshalJSON(data []byte) error
type UpdateCustomFieldSelectOptionResponseBody ¶
type UpdateCustomFieldSelectOptionResponseBody struct {
Data *CustomFieldDefinitionSelectOption `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateCustomFieldSelectOptionResponseBody) GetData ¶
func (u *UpdateCustomFieldSelectOptionResponseBody) GetData() *CustomFieldDefinitionSelectOption
func (*UpdateCustomFieldSelectOptionResponseBody) GetExtraProperties ¶
func (u *UpdateCustomFieldSelectOptionResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateCustomFieldSelectOptionResponseBody) GetRequestID ¶
func (u *UpdateCustomFieldSelectOptionResponseBody) GetRequestID() string
func (*UpdateCustomFieldSelectOptionResponseBody) MarshalJSON ¶
func (u *UpdateCustomFieldSelectOptionResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateCustomFieldSelectOptionResponseBody) SetData ¶
func (u *UpdateCustomFieldSelectOptionResponseBody) SetData(data *CustomFieldDefinitionSelectOption)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateCustomFieldSelectOptionResponseBody) SetRequestID ¶
func (u *UpdateCustomFieldSelectOptionResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateCustomFieldSelectOptionResponseBody) String ¶
func (u *UpdateCustomFieldSelectOptionResponseBody) String() string
func (*UpdateCustomFieldSelectOptionResponseBody) UnmarshalJSON ¶
func (u *UpdateCustomFieldSelectOptionResponseBody) UnmarshalJSON(data []byte) error
type UpdateCustomObjectResponseBody ¶
type UpdateCustomObjectResponseBody struct {
Data *APICustomObject `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateCustomObjectResponseBody) GetData ¶
func (u *UpdateCustomObjectResponseBody) GetData() *APICustomObject
func (*UpdateCustomObjectResponseBody) GetExtraProperties ¶
func (u *UpdateCustomObjectResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateCustomObjectResponseBody) GetRequestID ¶
func (u *UpdateCustomObjectResponseBody) GetRequestID() string
func (*UpdateCustomObjectResponseBody) MarshalJSON ¶
func (u *UpdateCustomObjectResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateCustomObjectResponseBody) SetData ¶
func (u *UpdateCustomObjectResponseBody) SetData(data *APICustomObject)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateCustomObjectResponseBody) SetRequestID ¶
func (u *UpdateCustomObjectResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateCustomObjectResponseBody) String ¶
func (u *UpdateCustomObjectResponseBody) String() string
func (*UpdateCustomObjectResponseBody) UnmarshalJSON ¶
func (u *UpdateCustomObjectResponseBody) UnmarshalJSON(data []byte) error
type UpdateCustomObjectsResponseBody ¶
type UpdateCustomObjectsResponseBody struct {
RequestID string `json:"request_id" url:"request_id"`
Success bool `json:"success" url:"success"`
UpdatedIDs []string `json:"updated_ids,omitempty" url:"updated_ids,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateCustomObjectsResponseBody) GetExtraProperties ¶
func (u *UpdateCustomObjectsResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateCustomObjectsResponseBody) GetRequestID ¶
func (u *UpdateCustomObjectsResponseBody) GetRequestID() string
func (*UpdateCustomObjectsResponseBody) GetSuccess ¶
func (u *UpdateCustomObjectsResponseBody) GetSuccess() bool
func (*UpdateCustomObjectsResponseBody) GetUpdatedIDs ¶
func (u *UpdateCustomObjectsResponseBody) GetUpdatedIDs() []string
func (*UpdateCustomObjectsResponseBody) MarshalJSON ¶
func (u *UpdateCustomObjectsResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateCustomObjectsResponseBody) SetRequestID ¶
func (u *UpdateCustomObjectsResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateCustomObjectsResponseBody) SetSuccess ¶
func (u *UpdateCustomObjectsResponseBody) SetSuccess(success bool)
SetSuccess sets the Success field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateCustomObjectsResponseBody) SetUpdatedIDs ¶
func (u *UpdateCustomObjectsResponseBody) SetUpdatedIDs(updatedIDs []string)
SetUpdatedIDs sets the UpdatedIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateCustomObjectsResponseBody) String ¶
func (u *UpdateCustomObjectsResponseBody) String() string
func (*UpdateCustomObjectsResponseBody) UnmarshalJSON ¶
func (u *UpdateCustomObjectsResponseBody) UnmarshalJSON(data []byte) error
type UpdateFeatureRequestResponseBody ¶
type UpdateFeatureRequestResponseBody struct {
Data *FeatureRequest `json:"data" url:"data"`
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateFeatureRequestResponseBody) GetData ¶
func (u *UpdateFeatureRequestResponseBody) GetData() *FeatureRequest
func (*UpdateFeatureRequestResponseBody) GetExtraProperties ¶
func (u *UpdateFeatureRequestResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateFeatureRequestResponseBody) GetRequestID ¶
func (u *UpdateFeatureRequestResponseBody) GetRequestID() string
func (*UpdateFeatureRequestResponseBody) MarshalJSON ¶
func (u *UpdateFeatureRequestResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateFeatureRequestResponseBody) SetData ¶
func (u *UpdateFeatureRequestResponseBody) SetData(data *FeatureRequest)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateFeatureRequestResponseBody) SetRequestID ¶
func (u *UpdateFeatureRequestResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateFeatureRequestResponseBody) String ¶
func (u *UpdateFeatureRequestResponseBody) String() string
func (*UpdateFeatureRequestResponseBody) UnmarshalJSON ¶
func (u *UpdateFeatureRequestResponseBody) UnmarshalJSON(data []byte) error
type UpdateIssueRequestBodyTagsApplyMode ¶
type UpdateIssueRequestBodyTagsApplyMode string
The mode for applying tags. Valid values: "append_only", "remove_only", "replace". Defaults to "replace".
const ( UpdateIssueRequestBodyTagsApplyModeAppendOnly UpdateIssueRequestBodyTagsApplyMode = "append_only" UpdateIssueRequestBodyTagsApplyModeRemoveOnly UpdateIssueRequestBodyTagsApplyMode = "remove_only" UpdateIssueRequestBodyTagsApplyModeReplace UpdateIssueRequestBodyTagsApplyMode = "replace" )
func NewUpdateIssueRequestBodyTagsApplyModeFromString ¶
func NewUpdateIssueRequestBodyTagsApplyModeFromString(s string) (UpdateIssueRequestBodyTagsApplyMode, error)
type UpdateIssueRequestBodyType ¶
type UpdateIssueRequestBodyType string
The type of the issue. Set to "ticket" to upgrade a conversation to a support ticket. Cannot be downgraded from "ticket" to "conversation".
const ( UpdateIssueRequestBodyTypeConversation UpdateIssueRequestBodyType = "conversation" UpdateIssueRequestBodyTypeTicket UpdateIssueRequestBodyType = "ticket" )
func NewUpdateIssueRequestBodyTypeFromString ¶
func NewUpdateIssueRequestBodyTypeFromString(s string) (UpdateIssueRequestBodyType, error)
func (UpdateIssueRequestBodyType) Ptr ¶
func (u UpdateIssueRequestBodyType) Ptr() *UpdateIssueRequestBodyType
type UpdateIssueResponseBody ¶
type UpdateIssueResponseBody struct {
Data *Issue `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateIssueResponseBody) GetData ¶
func (u *UpdateIssueResponseBody) GetData() *Issue
func (*UpdateIssueResponseBody) GetExtraProperties ¶
func (u *UpdateIssueResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateIssueResponseBody) GetRequestID ¶
func (u *UpdateIssueResponseBody) GetRequestID() string
func (*UpdateIssueResponseBody) MarshalJSON ¶
func (u *UpdateIssueResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateIssueResponseBody) SetData ¶
func (u *UpdateIssueResponseBody) SetData(data *Issue)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateIssueResponseBody) SetRequestID ¶
func (u *UpdateIssueResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateIssueResponseBody) String ¶
func (u *UpdateIssueResponseBody) String() string
func (*UpdateIssueResponseBody) UnmarshalJSON ¶
func (u *UpdateIssueResponseBody) UnmarshalJSON(data []byte) error
type UpdateIssuesRequestTagsApplyMode ¶
type UpdateIssuesRequestTagsApplyMode string
The mode for applying tags. Valid values: "append_only", "remove_only", "replace". Defaults to "replace".
const ( UpdateIssuesRequestTagsApplyModeAppendOnly UpdateIssuesRequestTagsApplyMode = "append_only" UpdateIssuesRequestTagsApplyModeRemoveOnly UpdateIssuesRequestTagsApplyMode = "remove_only" UpdateIssuesRequestTagsApplyModeReplace UpdateIssuesRequestTagsApplyMode = "replace" )
func NewUpdateIssuesRequestTagsApplyModeFromString ¶
func NewUpdateIssuesRequestTagsApplyModeFromString(s string) (UpdateIssuesRequestTagsApplyMode, error)
func (UpdateIssuesRequestTagsApplyMode) Ptr ¶
func (u UpdateIssuesRequestTagsApplyMode) Ptr() *UpdateIssuesRequestTagsApplyMode
type UpdateIssuesResponseBody ¶
type UpdateIssuesResponseBody struct {
Data *BulkIssueResult `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateIssuesResponseBody) GetData ¶
func (u *UpdateIssuesResponseBody) GetData() *BulkIssueResult
func (*UpdateIssuesResponseBody) GetExtraProperties ¶
func (u *UpdateIssuesResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateIssuesResponseBody) GetRequestID ¶
func (u *UpdateIssuesResponseBody) GetRequestID() string
func (*UpdateIssuesResponseBody) MarshalJSON ¶
func (u *UpdateIssuesResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateIssuesResponseBody) SetData ¶
func (u *UpdateIssuesResponseBody) SetData(data *BulkIssueResult)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateIssuesResponseBody) SetRequestID ¶
func (u *UpdateIssuesResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateIssuesResponseBody) String ¶
func (u *UpdateIssuesResponseBody) String() string
func (*UpdateIssuesResponseBody) UnmarshalJSON ¶
func (u *UpdateIssuesResponseBody) UnmarshalJSON(data []byte) error
type UpdateKnowledgeBaseThemeAsset ¶
type UpdateKnowledgeBaseThemeAsset struct {
// The type of theme asset. One of article, collection, css, footer, header, homepage, not_found, or scripts.
AssetType string `json:"asset_type" url:"asset_type"`
// The complete replacement content for the asset.
Content string `json:"content" url:"content"`
// contains filtered or unexported fields
}
func (*UpdateKnowledgeBaseThemeAsset) GetAssetType ¶
func (u *UpdateKnowledgeBaseThemeAsset) GetAssetType() string
func (*UpdateKnowledgeBaseThemeAsset) GetContent ¶
func (u *UpdateKnowledgeBaseThemeAsset) GetContent() string
func (*UpdateKnowledgeBaseThemeAsset) GetExtraProperties ¶
func (u *UpdateKnowledgeBaseThemeAsset) GetExtraProperties() map[string]interface{}
func (*UpdateKnowledgeBaseThemeAsset) MarshalJSON ¶
func (u *UpdateKnowledgeBaseThemeAsset) MarshalJSON() ([]byte, error)
func (*UpdateKnowledgeBaseThemeAsset) SetAssetType ¶
func (u *UpdateKnowledgeBaseThemeAsset) SetAssetType(assetType string)
SetAssetType sets the AssetType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateKnowledgeBaseThemeAsset) SetContent ¶
func (u *UpdateKnowledgeBaseThemeAsset) SetContent(content string)
SetContent sets the Content field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateKnowledgeBaseThemeAsset) String ¶
func (u *UpdateKnowledgeBaseThemeAsset) String() string
func (*UpdateKnowledgeBaseThemeAsset) UnmarshalJSON ¶
func (u *UpdateKnowledgeBaseThemeAsset) UnmarshalJSON(data []byte) error
type UpdateKnowledgeBaseThemeResponseBody ¶
type UpdateKnowledgeBaseThemeResponseBody struct {
Data *KnowledgeBaseTheme `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateKnowledgeBaseThemeResponseBody) GetData ¶
func (u *UpdateKnowledgeBaseThemeResponseBody) GetData() *KnowledgeBaseTheme
func (*UpdateKnowledgeBaseThemeResponseBody) GetExtraProperties ¶
func (u *UpdateKnowledgeBaseThemeResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateKnowledgeBaseThemeResponseBody) GetRequestID ¶
func (u *UpdateKnowledgeBaseThemeResponseBody) GetRequestID() string
func (*UpdateKnowledgeBaseThemeResponseBody) MarshalJSON ¶
func (u *UpdateKnowledgeBaseThemeResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateKnowledgeBaseThemeResponseBody) SetData ¶
func (u *UpdateKnowledgeBaseThemeResponseBody) SetData(data *KnowledgeBaseTheme)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateKnowledgeBaseThemeResponseBody) SetRequestID ¶
func (u *UpdateKnowledgeBaseThemeResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateKnowledgeBaseThemeResponseBody) String ¶
func (u *UpdateKnowledgeBaseThemeResponseBody) String() string
func (*UpdateKnowledgeBaseThemeResponseBody) UnmarshalJSON ¶
func (u *UpdateKnowledgeBaseThemeResponseBody) UnmarshalJSON(data []byte) error
type UpdateMacroResponseBody ¶
type UpdateMacroResponseBody struct {
Data *Macro `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateMacroResponseBody) GetData ¶
func (u *UpdateMacroResponseBody) GetData() *Macro
func (*UpdateMacroResponseBody) GetExtraProperties ¶
func (u *UpdateMacroResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateMacroResponseBody) GetRequestID ¶
func (u *UpdateMacroResponseBody) GetRequestID() string
func (*UpdateMacroResponseBody) MarshalJSON ¶
func (u *UpdateMacroResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateMacroResponseBody) SetData ¶
func (u *UpdateMacroResponseBody) SetData(data *Macro)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateMacroResponseBody) SetRequestID ¶
func (u *UpdateMacroResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateMacroResponseBody) String ¶
func (u *UpdateMacroResponseBody) String() string
func (*UpdateMacroResponseBody) UnmarshalJSON ¶
func (u *UpdateMacroResponseBody) UnmarshalJSON(data []byte) error
type UpdateMessageResponseBody ¶
type UpdateMessageResponseBody struct {
Data *Message `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateMessageResponseBody) GetData ¶
func (u *UpdateMessageResponseBody) GetData() *Message
func (*UpdateMessageResponseBody) GetExtraProperties ¶
func (u *UpdateMessageResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateMessageResponseBody) GetRequestID ¶
func (u *UpdateMessageResponseBody) GetRequestID() string
func (*UpdateMessageResponseBody) MarshalJSON ¶
func (u *UpdateMessageResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateMessageResponseBody) SetData ¶
func (u *UpdateMessageResponseBody) SetData(data *Message)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateMessageResponseBody) SetRequestID ¶
func (u *UpdateMessageResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateMessageResponseBody) String ¶
func (u *UpdateMessageResponseBody) String() string
func (*UpdateMessageResponseBody) UnmarshalJSON ¶
func (u *UpdateMessageResponseBody) UnmarshalJSON(data []byte) error
type UpdateMilestoneResponseBody ¶
type UpdateMilestoneResponseBody struct {
Data *Milestone `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateMilestoneResponseBody) GetData ¶
func (u *UpdateMilestoneResponseBody) GetData() *Milestone
func (*UpdateMilestoneResponseBody) GetExtraProperties ¶
func (u *UpdateMilestoneResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateMilestoneResponseBody) GetRequestID ¶
func (u *UpdateMilestoneResponseBody) GetRequestID() string
func (*UpdateMilestoneResponseBody) MarshalJSON ¶
func (u *UpdateMilestoneResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateMilestoneResponseBody) SetData ¶
func (u *UpdateMilestoneResponseBody) SetData(data *Milestone)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateMilestoneResponseBody) SetRequestID ¶
func (u *UpdateMilestoneResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateMilestoneResponseBody) String ¶
func (u *UpdateMilestoneResponseBody) String() string
func (*UpdateMilestoneResponseBody) UnmarshalJSON ¶
func (u *UpdateMilestoneResponseBody) UnmarshalJSON(data []byte) error
type UpdateProjectResponseBody ¶
type UpdateProjectResponseBody struct {
Data *Project `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateProjectResponseBody) GetData ¶
func (u *UpdateProjectResponseBody) GetData() *Project
func (*UpdateProjectResponseBody) GetExtraProperties ¶
func (u *UpdateProjectResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateProjectResponseBody) GetRequestID ¶
func (u *UpdateProjectResponseBody) GetRequestID() string
func (*UpdateProjectResponseBody) MarshalJSON ¶
func (u *UpdateProjectResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateProjectResponseBody) SetData ¶
func (u *UpdateProjectResponseBody) SetData(data *Project)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateProjectResponseBody) SetRequestID ¶
func (u *UpdateProjectResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateProjectResponseBody) String ¶
func (u *UpdateProjectResponseBody) String() string
func (*UpdateProjectResponseBody) UnmarshalJSON ¶
func (u *UpdateProjectResponseBody) UnmarshalJSON(data []byte) error
type UpdateTagResponseBody ¶
type UpdateTagResponseBody struct {
Data *Tag `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateTagResponseBody) GetData ¶
func (u *UpdateTagResponseBody) GetData() *Tag
func (*UpdateTagResponseBody) GetExtraProperties ¶
func (u *UpdateTagResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateTagResponseBody) GetRequestID ¶
func (u *UpdateTagResponseBody) GetRequestID() string
func (*UpdateTagResponseBody) MarshalJSON ¶
func (u *UpdateTagResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateTagResponseBody) SetData ¶
func (u *UpdateTagResponseBody) SetData(data *Tag)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateTagResponseBody) SetRequestID ¶
func (u *UpdateTagResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateTagResponseBody) String ¶
func (u *UpdateTagResponseBody) String() string
func (*UpdateTagResponseBody) UnmarshalJSON ¶
func (u *UpdateTagResponseBody) UnmarshalJSON(data []byte) error
type UpdateTaskCommentResponseBody ¶
type UpdateTaskCommentResponseBody struct {
Data *TaskComment `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateTaskCommentResponseBody) GetData ¶
func (u *UpdateTaskCommentResponseBody) GetData() *TaskComment
func (*UpdateTaskCommentResponseBody) GetExtraProperties ¶
func (u *UpdateTaskCommentResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateTaskCommentResponseBody) GetRequestID ¶
func (u *UpdateTaskCommentResponseBody) GetRequestID() string
func (*UpdateTaskCommentResponseBody) MarshalJSON ¶
func (u *UpdateTaskCommentResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateTaskCommentResponseBody) SetData ¶
func (u *UpdateTaskCommentResponseBody) SetData(data *TaskComment)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateTaskCommentResponseBody) SetRequestID ¶
func (u *UpdateTaskCommentResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateTaskCommentResponseBody) String ¶
func (u *UpdateTaskCommentResponseBody) String() string
func (*UpdateTaskCommentResponseBody) UnmarshalJSON ¶
func (u *UpdateTaskCommentResponseBody) UnmarshalJSON(data []byte) error
type UpdateTaskResponseBody ¶
type UpdateTaskResponseBody struct {
Data *Task `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateTaskResponseBody) GetData ¶
func (u *UpdateTaskResponseBody) GetData() *Task
func (*UpdateTaskResponseBody) GetExtraProperties ¶
func (u *UpdateTaskResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateTaskResponseBody) GetRequestID ¶
func (u *UpdateTaskResponseBody) GetRequestID() string
func (*UpdateTaskResponseBody) MarshalJSON ¶
func (u *UpdateTaskResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateTaskResponseBody) SetData ¶
func (u *UpdateTaskResponseBody) SetData(data *Task)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateTaskResponseBody) SetRequestID ¶
func (u *UpdateTaskResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateTaskResponseBody) String ¶
func (u *UpdateTaskResponseBody) String() string
func (*UpdateTaskResponseBody) UnmarshalJSON ¶
func (u *UpdateTaskResponseBody) UnmarshalJSON(data []byte) error
type UpdateTeamResponseBody ¶
type UpdateTeamResponseBody struct {
Data *Team `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UpdateTeamResponseBody) GetData ¶
func (u *UpdateTeamResponseBody) GetData() *Team
func (*UpdateTeamResponseBody) GetExtraProperties ¶
func (u *UpdateTeamResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateTeamResponseBody) GetRequestID ¶
func (u *UpdateTeamResponseBody) GetRequestID() string
func (*UpdateTeamResponseBody) MarshalJSON ¶
func (u *UpdateTeamResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateTeamResponseBody) SetData ¶
func (u *UpdateTeamResponseBody) SetData(data *Team)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateTeamResponseBody) SetRequestID ¶
func (u *UpdateTeamResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateTeamResponseBody) String ¶
func (u *UpdateTeamResponseBody) String() string
func (*UpdateTeamResponseBody) UnmarshalJSON ¶
func (u *UpdateTeamResponseBody) UnmarshalJSON(data []byte) error
type UpdateUserResponseBody ¶
type UpdateUserResponseBody struct {
Data *User `json:"data" url:"data"`
// The request ID for tracking.
RequestID *string `json:"request_id,omitempty" url:"request_id,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateUserResponseBody) GetData ¶
func (u *UpdateUserResponseBody) GetData() *User
func (*UpdateUserResponseBody) GetExtraProperties ¶
func (u *UpdateUserResponseBody) GetExtraProperties() map[string]interface{}
func (*UpdateUserResponseBody) GetRequestID ¶
func (u *UpdateUserResponseBody) GetRequestID() *string
func (*UpdateUserResponseBody) MarshalJSON ¶
func (u *UpdateUserResponseBody) MarshalJSON() ([]byte, error)
func (*UpdateUserResponseBody) SetData ¶
func (u *UpdateUserResponseBody) SetData(data *User)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateUserResponseBody) SetRequestID ¶
func (u *UpdateUserResponseBody) SetRequestID(requestID *string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UpdateUserResponseBody) String ¶
func (u *UpdateUserResponseBody) String() string
func (*UpdateUserResponseBody) UnmarshalJSON ¶
func (u *UpdateUserResponseBody) UnmarshalJSON(data []byte) error
type UploadAccountFileResponseBody ¶
type UploadAccountFileResponseBody struct {
// The data payload of the response.
Data []*Attachment `json:"data" url:"data"`
// The request ID for tracking.
RequestID string `json:"request_id" url:"request_id"`
// contains filtered or unexported fields
}
func (*UploadAccountFileResponseBody) GetData ¶
func (u *UploadAccountFileResponseBody) GetData() []*Attachment
func (*UploadAccountFileResponseBody) GetExtraProperties ¶
func (u *UploadAccountFileResponseBody) GetExtraProperties() map[string]interface{}
func (*UploadAccountFileResponseBody) GetRequestID ¶
func (u *UploadAccountFileResponseBody) GetRequestID() string
func (*UploadAccountFileResponseBody) MarshalJSON ¶
func (u *UploadAccountFileResponseBody) MarshalJSON() ([]byte, error)
func (*UploadAccountFileResponseBody) SetData ¶
func (u *UploadAccountFileResponseBody) SetData(data []*Attachment)
SetData sets the Data field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UploadAccountFileResponseBody) SetRequestID ¶
func (u *UploadAccountFileResponseBody) SetRequestID(requestID string)
SetRequestID sets the RequestID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UploadAccountFileResponseBody) String ¶
func (u *UploadAccountFileResponseBody) String() string
func (*UploadAccountFileResponseBody) UnmarshalJSON ¶
func (u *UploadAccountFileResponseBody) UnmarshalJSON(data []byte) error
type UploadFilesTrainingDataRequestVisibility ¶
type UploadFilesTrainingDataRequestVisibility string
Visibility of the training data. Defaults to "everyone". Valid values: "everyone", "user_only", "ai_agent_only"
const ( UploadFilesTrainingDataRequestVisibilityEveryone UploadFilesTrainingDataRequestVisibility = "everyone" UploadFilesTrainingDataRequestVisibilityUserOnly UploadFilesTrainingDataRequestVisibility = "user_only" UploadFilesTrainingDataRequestVisibilityAiAgentOnly UploadFilesTrainingDataRequestVisibility = "ai_agent_only" )
func NewUploadFilesTrainingDataRequestVisibilityFromString ¶
func NewUploadFilesTrainingDataRequestVisibilityFromString(s string) (UploadFilesTrainingDataRequestVisibility, error)
type UploadTrainingDataFileContentRequestBodyVisibility ¶
type UploadTrainingDataFileContentRequestBodyVisibility string
Visibility of the training data. Defaults to "everyone".
const ( UploadTrainingDataFileContentRequestBodyVisibilityEveryone UploadTrainingDataFileContentRequestBodyVisibility = "everyone" UploadTrainingDataFileContentRequestBodyVisibilityUserOnly UploadTrainingDataFileContentRequestBodyVisibility = "user_only" UploadTrainingDataFileContentRequestBodyVisibilityAiAgentOnly UploadTrainingDataFileContentRequestBodyVisibility = "ai_agent_only" )
func NewUploadTrainingDataFileContentRequestBodyVisibilityFromString ¶
func NewUploadTrainingDataFileContentRequestBodyVisibilityFromString(s string) (UploadTrainingDataFileContentRequestBodyVisibility, error)
type User ¶
type User struct {
// The avatar URL of the user.
AvatarURL string `json:"avatar_url" url:"avatar_url"`
// The primary email of the user.
Email string `json:"email" url:"email"`
// The list of all emails of the user.
Emails []string `json:"emails,omitempty" url:"emails,omitempty"`
// The ID of the user.
ID string `json:"id" url:"id"`
// Whether the user is deactivated.
IsDeactivated bool `json:"is_deactivated" url:"is_deactivated"`
// The name of the user.
Name string `json:"name" url:"name"`
// Deprecated: Use roles to retrieve all assigned roles. This field returns only one assignment for backwards compatibility, not a primary role.
Role *MiniRole `json:"role,omitempty" url:"role,omitempty"`
// Deprecated: Use role_ids to retrieve all assigned roles. This field returns only one assignment for backwards compatibility, not a primary role.
RoleID string `json:"role_id" url:"role_id"`
// All assigned role IDs, sorted by ID. The order does not imply precedence.
RoleIDs []string `json:"role_ids,omitempty" url:"role_ids,omitempty"`
// All assigned roles, including SCIM-derived roles, sorted by ID. Empty when no roles are assigned.
Roles []*MiniRole `json:"roles,omitempty" url:"roles,omitempty"`
// The user's routing skills. Null when the caller lacks permission to read team settings.
Skills []*UserSkill `json:"skills,omitempty" url:"skills,omitempty"`
// The status of the user. Standard values are `active`, `away`, and `out_of_office`; custom status slugs are also supported. See GET /user-statuses for each status's category.
Status string `json:"status" url:"status"`
// contains filtered or unexported fields
}
func (*User) GetAvatarURL ¶
func (*User) GetExtraProperties ¶
func (*User) GetIsDeactivated ¶
func (*User) GetRoleIDs ¶
func (*User) MarshalJSON ¶
func (*User) SetAvatarURL ¶
SetAvatarURL sets the AvatarURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*User) SetEmail ¶
SetEmail sets the Email field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*User) SetEmails ¶
SetEmails sets the Emails field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*User) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*User) SetIsDeactivated ¶
SetIsDeactivated sets the IsDeactivated field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*User) SetName ¶
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*User) SetRole ¶
SetRole sets the Role field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*User) SetRoleID ¶
SetRoleID sets the RoleID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*User) SetRoleIDs ¶
SetRoleIDs sets the RoleIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*User) SetRoles ¶
SetRoles sets the Roles field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*User) SetSkills ¶
SetSkills sets the Skills field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*User) SetStatus ¶
SetStatus sets the Status field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*User) UnmarshalJSON ¶
type UserRole ¶
type UserRole struct {
// The ID of the role.
ID string `json:"id" url:"id"`
IssueAccessPolicy *UserRoleIssueAccessPolicy `json:"issue_access_policy,omitempty" url:"issue_access_policy,omitempty"`
// The name of the role.
Name string `json:"name" url:"name"`
// The actions the role grants. An action with a filter applies only to the objects that match it.
Permissions []*UserRolePermission `json:"permissions" url:"permissions"`
// The slug of the role.
Slug string `json:"slug" url:"slug"`
// contains filtered or unexported fields
}
func (*UserRole) GetExtraProperties ¶
func (*UserRole) GetIssueAccessPolicy ¶
func (u *UserRole) GetIssueAccessPolicy() *UserRoleIssueAccessPolicy
func (*UserRole) GetPermissions ¶
func (u *UserRole) GetPermissions() []*UserRolePermission
func (*UserRole) MarshalJSON ¶
func (*UserRole) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserRole) SetIssueAccessPolicy ¶
func (u *UserRole) SetIssueAccessPolicy(issueAccessPolicy *UserRoleIssueAccessPolicy)
SetIssueAccessPolicy sets the IssueAccessPolicy field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserRole) SetName ¶
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserRole) SetPermissions ¶
func (u *UserRole) SetPermissions(permissions []*UserRolePermission)
SetPermissions sets the Permissions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserRole) SetSlug ¶
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserRole) UnmarshalJSON ¶
type UserRoleIssueAccessPolicy ¶
type UserRoleIssueAccessPolicy struct {
// The actions granted on an issue that matches no rule.
DefaultActions []string `json:"default_actions" url:"default_actions"`
// Rules checked in order. An issue gets only the actions of the first rule that matches it, even when
// they are fewer than default_actions.
Rules []*UserRoleIssueAccessRule `json:"rules" url:"rules"`
// contains filtered or unexported fields
}
func (*UserRoleIssueAccessPolicy) GetDefaultActions ¶
func (u *UserRoleIssueAccessPolicy) GetDefaultActions() []string
func (*UserRoleIssueAccessPolicy) GetExtraProperties ¶
func (u *UserRoleIssueAccessPolicy) GetExtraProperties() map[string]interface{}
func (*UserRoleIssueAccessPolicy) GetRules ¶
func (u *UserRoleIssueAccessPolicy) GetRules() []*UserRoleIssueAccessRule
func (*UserRoleIssueAccessPolicy) MarshalJSON ¶
func (u *UserRoleIssueAccessPolicy) MarshalJSON() ([]byte, error)
func (*UserRoleIssueAccessPolicy) SetDefaultActions ¶
func (u *UserRoleIssueAccessPolicy) SetDefaultActions(defaultActions []string)
SetDefaultActions sets the DefaultActions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserRoleIssueAccessPolicy) SetRules ¶
func (u *UserRoleIssueAccessPolicy) SetRules(rules []*UserRoleIssueAccessRule)
SetRules sets the Rules field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserRoleIssueAccessPolicy) String ¶
func (u *UserRoleIssueAccessPolicy) String() string
func (*UserRoleIssueAccessPolicy) UnmarshalJSON ¶
func (u *UserRoleIssueAccessPolicy) UnmarshalJSON(data []byte) error
type UserRoleIssueAccessRule ¶
type UserRoleIssueAccessRule struct {
// The actions granted on issues for which this is the first matching rule.
Actions []string `json:"actions" url:"actions"`
Filter *Filter `json:"filter,omitempty" url:"filter,omitempty"`
// True when the rule has a filter that the API can't represent, so filter is absent.
FilterUnsupported *bool `json:"filter_unsupported,omitempty" url:"filter_unsupported,omitempty"`
// The ID of the rule.
ID string `json:"id" url:"id"`
// contains filtered or unexported fields
}
func (*UserRoleIssueAccessRule) GetActions ¶
func (u *UserRoleIssueAccessRule) GetActions() []string
func (*UserRoleIssueAccessRule) GetExtraProperties ¶
func (u *UserRoleIssueAccessRule) GetExtraProperties() map[string]interface{}
func (*UserRoleIssueAccessRule) GetFilter ¶
func (u *UserRoleIssueAccessRule) GetFilter() *Filter
func (*UserRoleIssueAccessRule) GetFilterUnsupported ¶
func (u *UserRoleIssueAccessRule) GetFilterUnsupported() *bool
func (*UserRoleIssueAccessRule) GetID ¶
func (u *UserRoleIssueAccessRule) GetID() string
func (*UserRoleIssueAccessRule) MarshalJSON ¶
func (u *UserRoleIssueAccessRule) MarshalJSON() ([]byte, error)
func (*UserRoleIssueAccessRule) SetActions ¶
func (u *UserRoleIssueAccessRule) SetActions(actions []string)
SetActions sets the Actions field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserRoleIssueAccessRule) SetFilter ¶
func (u *UserRoleIssueAccessRule) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserRoleIssueAccessRule) SetFilterUnsupported ¶
func (u *UserRoleIssueAccessRule) SetFilterUnsupported(filterUnsupported *bool)
SetFilterUnsupported sets the FilterUnsupported field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserRoleIssueAccessRule) SetID ¶
func (u *UserRoleIssueAccessRule) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserRoleIssueAccessRule) String ¶
func (u *UserRoleIssueAccessRule) String() string
func (*UserRoleIssueAccessRule) UnmarshalJSON ¶
func (u *UserRoleIssueAccessRule) UnmarshalJSON(data []byte) error
type UserRolePermission ¶
type UserRolePermission struct {
// The action, for example "read:issue".
Action string `json:"action" url:"action"`
// True when the action also hides or locks fields through restrictions that the API can't represent.
FieldRestrictionsUnsupported *bool `json:"field_restrictions_unsupported,omitempty" url:"field_restrictions_unsupported,omitempty"`
Filter *Filter `json:"filter,omitempty" url:"filter,omitempty"`
// True when the action is limited by a filter that the API can't represent, so filter is absent.
FilterUnsupported *bool `json:"filter_unsupported,omitempty" url:"filter_unsupported,omitempty"`
// contains filtered or unexported fields
}
func (*UserRolePermission) GetAction ¶
func (u *UserRolePermission) GetAction() string
func (*UserRolePermission) GetExtraProperties ¶
func (u *UserRolePermission) GetExtraProperties() map[string]interface{}
func (*UserRolePermission) GetFieldRestrictionsUnsupported ¶
func (u *UserRolePermission) GetFieldRestrictionsUnsupported() *bool
func (*UserRolePermission) GetFilter ¶
func (u *UserRolePermission) GetFilter() *Filter
func (*UserRolePermission) GetFilterUnsupported ¶
func (u *UserRolePermission) GetFilterUnsupported() *bool
func (*UserRolePermission) MarshalJSON ¶
func (u *UserRolePermission) MarshalJSON() ([]byte, error)
func (*UserRolePermission) SetAction ¶
func (u *UserRolePermission) SetAction(action string)
SetAction sets the Action field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserRolePermission) SetFieldRestrictionsUnsupported ¶
func (u *UserRolePermission) SetFieldRestrictionsUnsupported(fieldRestrictionsUnsupported *bool)
SetFieldRestrictionsUnsupported sets the FieldRestrictionsUnsupported field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserRolePermission) SetFilter ¶
func (u *UserRolePermission) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserRolePermission) SetFilterUnsupported ¶
func (u *UserRolePermission) SetFilterUnsupported(filterUnsupported *bool)
SetFilterUnsupported sets the FilterUnsupported field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserRolePermission) String ¶
func (u *UserRolePermission) String() string
func (*UserRolePermission) UnmarshalJSON ¶
func (u *UserRolePermission) UnmarshalJSON(data []byte) error
type UserSkill ¶
type UserSkill struct {
// The issue custom field ID when attribute_type is `custom_field`, or the issue property, such as `language`, when attribute_type is `default_field`.
Attribute string `json:"attribute" url:"attribute"`
// The kind of attribute the skill routes on.
//
// Known values: `custom_field`, `default_field`. This list is not exhaustive.
AttributeType string `json:"attribute_type" url:"attribute_type"`
// The attribute values the user is skilled in, with their levels.
Values []*UserSkillValue `json:"values,omitempty" url:"values,omitempty"`
// contains filtered or unexported fields
}
func (*UserSkill) GetAttribute ¶
func (*UserSkill) GetAttributeType ¶
func (*UserSkill) GetExtraProperties ¶
func (*UserSkill) GetValues ¶
func (u *UserSkill) GetValues() []*UserSkillValue
func (*UserSkill) MarshalJSON ¶
func (*UserSkill) SetAttribute ¶
SetAttribute sets the Attribute field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserSkill) SetAttributeType ¶
SetAttributeType sets the AttributeType field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserSkill) SetValues ¶
func (u *UserSkill) SetValues(values []*UserSkillValue)
SetValues sets the Values field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserSkill) UnmarshalJSON ¶
type UserSkillValue ¶
type UserSkillValue struct {
// The skill level, where 1 is the lowest. Pylon assigns levels 1 to 3.
Level int64 `json:"level" url:"level"`
// The attribute value, such as a select option slug, a user ID, or a language code.
Value string `json:"value" url:"value"`
// contains filtered or unexported fields
}
func (*UserSkillValue) GetExtraProperties ¶
func (u *UserSkillValue) GetExtraProperties() map[string]interface{}
func (*UserSkillValue) GetLevel ¶
func (u *UserSkillValue) GetLevel() int64
func (*UserSkillValue) GetValue ¶
func (u *UserSkillValue) GetValue() string
func (*UserSkillValue) MarshalJSON ¶
func (u *UserSkillValue) MarshalJSON() ([]byte, error)
func (*UserSkillValue) SetLevel ¶
func (u *UserSkillValue) SetLevel(level int64)
SetLevel sets the Level field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserSkillValue) SetValue ¶
func (u *UserSkillValue) SetValue(value string)
SetValue sets the Value field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserSkillValue) String ¶
func (u *UserSkillValue) String() string
func (*UserSkillValue) UnmarshalJSON ¶
func (u *UserSkillValue) UnmarshalJSON(data []byte) error
type UserStatus ¶
type UserStatus struct {
// The category of the user status. One of active, away, out_of_office.
Category string `json:"category" url:"category"`
// Indicates if the user status is archived.
IsArchived bool `json:"is_archived" url:"is_archived"`
// Indicates if the user status is a built-in status.
IsDefaultStatus bool `json:"is_default_status" url:"is_default_status"`
// The label of the user status.
Label string `json:"label" url:"label"`
// The slug of the user status. Use it in a team's assignment_configuration.assignable_user_statuses.
Slug string `json:"slug" url:"slug"`
// contains filtered or unexported fields
}
func (*UserStatus) GetCategory ¶
func (u *UserStatus) GetCategory() string
func (*UserStatus) GetExtraProperties ¶
func (u *UserStatus) GetExtraProperties() map[string]interface{}
func (*UserStatus) GetIsArchived ¶
func (u *UserStatus) GetIsArchived() bool
func (*UserStatus) GetIsDefaultStatus ¶
func (u *UserStatus) GetIsDefaultStatus() bool
func (*UserStatus) GetLabel ¶
func (u *UserStatus) GetLabel() string
func (*UserStatus) GetSlug ¶
func (u *UserStatus) GetSlug() string
func (*UserStatus) MarshalJSON ¶
func (u *UserStatus) MarshalJSON() ([]byte, error)
func (*UserStatus) SetCategory ¶
func (u *UserStatus) SetCategory(category string)
SetCategory sets the Category field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserStatus) SetIsArchived ¶
func (u *UserStatus) SetIsArchived(isArchived bool)
SetIsArchived sets the IsArchived field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserStatus) SetIsDefaultStatus ¶
func (u *UserStatus) SetIsDefaultStatus(isDefaultStatus bool)
SetIsDefaultStatus sets the IsDefaultStatus field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserStatus) SetLabel ¶
func (u *UserStatus) SetLabel(label string)
SetLabel sets the Label field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserStatus) SetSlug ¶
func (u *UserStatus) SetSlug(slug string)
SetSlug sets the Slug field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UserStatus) String ¶
func (u *UserStatus) String() string
func (*UserStatus) UnmarshalJSON ¶
func (u *UserStatus) UnmarshalJSON(data []byte) error
type UsersGetRequest ¶
type UsersGetRequest struct {
// The ID of the user to fetch.
ID string `json:"-" url:"-"`
// contains filtered or unexported fields
}
func (*UsersGetRequest) SetID ¶
func (u *UsersGetRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type UsersInviteRequest ¶
type UsersInviteRequest struct {
// The email address to send the invitation to.
Email string `json:"email" url:"-"`
// The name of the user to invite.
Name string `json:"name" url:"-"`
// The ID of the role to give the user. See GET /user-roles. Defaults to the organization's default role.
RoleID *string `json:"role_id,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*UsersInviteRequest) MarshalJSON ¶
func (u *UsersInviteRequest) MarshalJSON() ([]byte, error)
func (*UsersInviteRequest) SetEmail ¶
func (u *UsersInviteRequest) SetEmail(email string)
SetEmail sets the Email field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UsersInviteRequest) SetName ¶
func (u *UsersInviteRequest) SetName(name string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UsersInviteRequest) SetRoleID ¶
func (u *UsersInviteRequest) SetRoleID(roleID *string)
SetRoleID sets the RoleID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UsersInviteRequest) UnmarshalJSON ¶
func (u *UsersInviteRequest) UnmarshalJSON(data []byte) error
type UsersListRequest ¶
type UsersListRequest struct {
// Whether to include deactivated users. Defaults to false.
IncludeDeactivated *bool `json:"-" url:"include_deactivated,omitempty"`
// contains filtered or unexported fields
}
func (*UsersListRequest) SetIncludeDeactivated ¶
func (u *UsersListRequest) SetIncludeDeactivated(includeDeactivated *bool)
SetIncludeDeactivated sets the IncludeDeactivated field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
type UsersSearchRequest ¶
type UsersSearchRequest struct {
// The cursor to use for pagination.
Cursor *string `json:"cursor,omitempty" url:"-"`
Filter *Filter `json:"filter,omitempty" url:"-"`
// The number of users to fetch. Defaults to 100. Must be between 1 and 1000.
Limit *int64 `json:"limit,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*UsersSearchRequest) MarshalJSON ¶
func (u *UsersSearchRequest) MarshalJSON() ([]byte, error)
func (*UsersSearchRequest) SetCursor ¶
func (u *UsersSearchRequest) SetCursor(cursor *string)
SetCursor sets the Cursor field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UsersSearchRequest) SetFilter ¶
func (u *UsersSearchRequest) SetFilter(filter *Filter)
SetFilter sets the Filter field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UsersSearchRequest) SetLimit ¶
func (u *UsersSearchRequest) SetLimit(limit *int64)
SetLimit sets the Limit field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UsersSearchRequest) UnmarshalJSON ¶
func (u *UsersSearchRequest) UnmarshalJSON(data []byte) error
type UsersUpdateRequest ¶
type UsersUpdateRequest struct {
// The ID of the user to update.
ID string `json:"-" url:"-"`
// The avatar URL of the user. Must be a square .png, .jpg or .jpeg.
AvatarURL *string `json:"avatar_url,omitempty" url:"-"`
// Whether the user is deactivated. Changing it requires admin permissions. Deactivating revokes the user's API tokens, removes their team
// schedules and skills, disconnects their calendars, and reassigns their open issues in the background. Reactivating does not
// restore any of these. Users provisioned through SCIM must be deactivated and reactivated in the identity provider.
IsDeactivated *bool `json:"is_deactivated,omitempty" url:"-"`
// The name of the user.
Name *string `json:"name,omitempty" url:"-"`
// The ID of the user to reassign the deactivated user's open issues to. Only valid with `is_deactivated: true`. If omitted, the issues are unassigned.
ReassignOpenIssuesToUserID *string `json:"reassign_open_issues_to_user_id,omitempty" url:"-"`
// The role_id of the user.
RoleID *string `json:"role_id,omitempty" url:"-"`
// The new status for the user: `active`, `away`, `out_of_office`, or a custom status slug from GET /user-statuses.
Status *string `json:"status,omitempty" url:"-"`
// contains filtered or unexported fields
}
func (*UsersUpdateRequest) MarshalJSON ¶
func (u *UsersUpdateRequest) MarshalJSON() ([]byte, error)
func (*UsersUpdateRequest) SetAvatarURL ¶
func (u *UsersUpdateRequest) SetAvatarURL(avatarURL *string)
SetAvatarURL sets the AvatarURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UsersUpdateRequest) SetID ¶
func (u *UsersUpdateRequest) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UsersUpdateRequest) SetIsDeactivated ¶
func (u *UsersUpdateRequest) SetIsDeactivated(isDeactivated *bool)
SetIsDeactivated sets the IsDeactivated field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UsersUpdateRequest) SetName ¶
func (u *UsersUpdateRequest) SetName(name *string)
SetName sets the Name field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UsersUpdateRequest) SetReassignOpenIssuesToUserID ¶
func (u *UsersUpdateRequest) SetReassignOpenIssuesToUserID(reassignOpenIssuesToUserID *string)
SetReassignOpenIssuesToUserID sets the ReassignOpenIssuesToUserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UsersUpdateRequest) SetRoleID ¶
func (u *UsersUpdateRequest) SetRoleID(roleID *string)
SetRoleID sets the RoleID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UsersUpdateRequest) SetStatus ¶
func (u *UsersUpdateRequest) SetStatus(status *string)
SetStatus sets the Status field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*UsersUpdateRequest) UnmarshalJSON ¶
func (u *UsersUpdateRequest) UnmarshalJSON(data []byte) error
type Visibility ¶
type Visibility struct {
// Team IDs who can access the resource.
TeamIDs []string `json:"team_ids,omitempty" url:"team_ids,omitempty"`
// The visibility type.
Type string `json:"type" url:"type"`
// User IDs who can access the resource.
UserIDs []string `json:"user_ids,omitempty" url:"user_ids,omitempty"`
// contains filtered or unexported fields
}
func (*Visibility) GetExtraProperties ¶
func (v *Visibility) GetExtraProperties() map[string]interface{}
func (*Visibility) GetTeamIDs ¶
func (v *Visibility) GetTeamIDs() []string
func (*Visibility) GetType ¶
func (v *Visibility) GetType() string
func (*Visibility) GetUserIDs ¶
func (v *Visibility) GetUserIDs() []string
func (*Visibility) MarshalJSON ¶
func (v *Visibility) MarshalJSON() ([]byte, error)
func (*Visibility) SetTeamIDs ¶
func (v *Visibility) SetTeamIDs(teamIDs []string)
SetTeamIDs sets the TeamIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Visibility) SetType ¶
func (v *Visibility) SetType(type_ string)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Visibility) SetUserIDs ¶
func (v *Visibility) SetUserIDs(userIDs []string)
SetUserIDs sets the UserIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*Visibility) String ¶
func (v *Visibility) String() string
func (*Visibility) UnmarshalJSON ¶
func (v *Visibility) UnmarshalJSON(data []byte) error
type VisibilityInput ¶
type VisibilityInput struct {
// Team IDs who can access the resource. Required when type is "team" or "users_and_teams".
TeamIDs []string `json:"team_ids,omitempty" url:"team_ids,omitempty"`
// The visibility type: "org" (entire organization), "user" (specific users),
// "team" (specific teams), or "users_and_teams" (specific users and teams).
Type VisibilityInputType `json:"type" url:"type"`
// User IDs who can access the resource. Required when type is "user" or "users_and_teams".
UserIDs []string `json:"user_ids,omitempty" url:"user_ids,omitempty"`
// contains filtered or unexported fields
}
func (*VisibilityInput) GetExtraProperties ¶
func (v *VisibilityInput) GetExtraProperties() map[string]interface{}
func (*VisibilityInput) GetTeamIDs ¶
func (v *VisibilityInput) GetTeamIDs() []string
func (*VisibilityInput) GetType ¶
func (v *VisibilityInput) GetType() VisibilityInputType
func (*VisibilityInput) GetUserIDs ¶
func (v *VisibilityInput) GetUserIDs() []string
func (*VisibilityInput) MarshalJSON ¶
func (v *VisibilityInput) MarshalJSON() ([]byte, error)
func (*VisibilityInput) SetTeamIDs ¶
func (v *VisibilityInput) SetTeamIDs(teamIDs []string)
SetTeamIDs sets the TeamIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VisibilityInput) SetType ¶
func (v *VisibilityInput) SetType(type_ VisibilityInputType)
SetType sets the Type field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VisibilityInput) SetUserIDs ¶
func (v *VisibilityInput) SetUserIDs(userIDs []string)
SetUserIDs sets the UserIDs field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VisibilityInput) String ¶
func (v *VisibilityInput) String() string
func (*VisibilityInput) UnmarshalJSON ¶
func (v *VisibilityInput) UnmarshalJSON(data []byte) error
type VisibilityInputType ¶
type VisibilityInputType string
The visibility type: "org" (entire organization), "user" (specific users), "team" (specific teams), or "users_and_teams" (specific users and teams).
const ( VisibilityInputTypeOrg VisibilityInputType = "org" VisibilityInputTypeUser VisibilityInputType = "user" VisibilityInputTypeTeam VisibilityInputType = "team" VisibilityInputTypeUsersAndTeams VisibilityInputType = "users_and_teams" )
func NewVisibilityInputTypeFromString ¶
func NewVisibilityInputTypeFromString(s string) (VisibilityInputType, error)
func (VisibilityInputType) Ptr ¶
func (v VisibilityInputType) Ptr() *VisibilityInputType
type VoiceCall ¶
type VoiceCall struct {
// RFC3339 timestamp of when the call record was created.
CreatedAt time.Time `json:"created_at" url:"created_at"`
// The duration of the call in seconds.
DurationSec *int64 `json:"duration_sec,omitempty" url:"duration_sec,omitempty"`
// The phone number that originated the call.
FromPhoneNumber string `json:"from_phone_number" url:"from_phone_number"`
// The ID of the voice call.
ID string `json:"id" url:"id"`
// Everyone who was dialed into the call, one entry per call leg, so a person who is redialed appears again. Empty when the call has no participant records.
Participants []*VoiceCallParticipant `json:"participants,omitempty" url:"participants,omitempty"`
// Recordings produced for this call.
Recordings []*VoiceCallRecording `json:"recordings,omitempty" url:"recordings,omitempty"`
// The phone number that was dialed.
ToPhoneNumber string `json:"to_phone_number" url:"to_phone_number"`
// contains filtered or unexported fields
}
func (*VoiceCall) GetCreatedAt ¶
func (*VoiceCall) GetDurationSec ¶
func (*VoiceCall) GetExtraProperties ¶
func (*VoiceCall) GetFromPhoneNumber ¶
func (*VoiceCall) GetParticipants ¶
func (v *VoiceCall) GetParticipants() []*VoiceCallParticipant
func (*VoiceCall) GetRecordings ¶
func (v *VoiceCall) GetRecordings() []*VoiceCallRecording
func (*VoiceCall) GetToPhoneNumber ¶
func (*VoiceCall) MarshalJSON ¶
func (*VoiceCall) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCall) SetDurationSec ¶
SetDurationSec sets the DurationSec field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCall) SetFromPhoneNumber ¶
SetFromPhoneNumber sets the FromPhoneNumber field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCall) SetID ¶
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCall) SetParticipants ¶
func (v *VoiceCall) SetParticipants(participants []*VoiceCallParticipant)
SetParticipants sets the Participants field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCall) SetRecordings ¶
func (v *VoiceCall) SetRecordings(recordings []*VoiceCallRecording)
SetRecordings sets the Recordings field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCall) SetToPhoneNumber ¶
SetToPhoneNumber sets the ToPhoneNumber field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCall) UnmarshalJSON ¶
type VoiceCallParticipant ¶
type VoiceCallParticipant struct {
// The ID of the contact, for a customer.
ContactID *string `json:"contact_id,omitempty" url:"contact_id,omitempty"`
// The ID of the participant.
ID string `json:"id" url:"id"`
// RFC3339 timestamp of when the participant joined the call.
JoinedAt *time.Time `json:"joined_at,omitempty" url:"joined_at,omitempty"`
// RFC3339 timestamp of when the participant left the call.
LeftAt *time.Time `json:"left_at,omitempty" url:"left_at,omitempty"`
// The phone number of a customer or external participant.
PhoneNumber *string `json:"phone_number,omitempty" url:"phone_number,omitempty"`
// Whether the participant was asked to consent to recording, and their answer: `not_asked`, `granted` or `declined`.
RecordingConsent string `json:"recording_consent" url:"recording_consent"`
// The participant's role: `customer`, `agent` or `external`.
Role string `json:"role" url:"role"`
// The participant's status: `dialing`, `joined`, `left`, `failed` or `voicemail`.
Status string `json:"status" url:"status"`
// The ID of the user, for an agent.
UserID *string `json:"user_id,omitempty" url:"user_id,omitempty"`
// contains filtered or unexported fields
}
func (*VoiceCallParticipant) GetContactID ¶
func (v *VoiceCallParticipant) GetContactID() *string
func (*VoiceCallParticipant) GetExtraProperties ¶
func (v *VoiceCallParticipant) GetExtraProperties() map[string]interface{}
func (*VoiceCallParticipant) GetID ¶
func (v *VoiceCallParticipant) GetID() string
func (*VoiceCallParticipant) GetJoinedAt ¶
func (v *VoiceCallParticipant) GetJoinedAt() *time.Time
func (*VoiceCallParticipant) GetLeftAt ¶
func (v *VoiceCallParticipant) GetLeftAt() *time.Time
func (*VoiceCallParticipant) GetPhoneNumber ¶
func (v *VoiceCallParticipant) GetPhoneNumber() *string
func (*VoiceCallParticipant) GetRecordingConsent ¶
func (v *VoiceCallParticipant) GetRecordingConsent() string
func (*VoiceCallParticipant) GetRole ¶
func (v *VoiceCallParticipant) GetRole() string
func (*VoiceCallParticipant) GetStatus ¶
func (v *VoiceCallParticipant) GetStatus() string
func (*VoiceCallParticipant) GetUserID ¶
func (v *VoiceCallParticipant) GetUserID() *string
func (*VoiceCallParticipant) MarshalJSON ¶
func (v *VoiceCallParticipant) MarshalJSON() ([]byte, error)
func (*VoiceCallParticipant) SetContactID ¶
func (v *VoiceCallParticipant) SetContactID(contactID *string)
SetContactID sets the ContactID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCallParticipant) SetID ¶
func (v *VoiceCallParticipant) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCallParticipant) SetJoinedAt ¶
func (v *VoiceCallParticipant) SetJoinedAt(joinedAt *time.Time)
SetJoinedAt sets the JoinedAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCallParticipant) SetLeftAt ¶
func (v *VoiceCallParticipant) SetLeftAt(leftAt *time.Time)
SetLeftAt sets the LeftAt field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCallParticipant) SetPhoneNumber ¶
func (v *VoiceCallParticipant) SetPhoneNumber(phoneNumber *string)
SetPhoneNumber sets the PhoneNumber field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCallParticipant) SetRecordingConsent ¶
func (v *VoiceCallParticipant) SetRecordingConsent(recordingConsent string)
SetRecordingConsent sets the RecordingConsent field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCallParticipant) SetRole ¶
func (v *VoiceCallParticipant) SetRole(role string)
SetRole sets the Role field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCallParticipant) SetStatus ¶
func (v *VoiceCallParticipant) SetStatus(status string)
SetStatus sets the Status field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCallParticipant) SetUserID ¶
func (v *VoiceCallParticipant) SetUserID(userID *string)
SetUserID sets the UserID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCallParticipant) String ¶
func (v *VoiceCallParticipant) String() string
func (*VoiceCallParticipant) UnmarshalJSON ¶
func (v *VoiceCallParticipant) UnmarshalJSON(data []byte) error
type VoiceCallRecording ¶
type VoiceCallRecording struct {
// A presigned URL to download the audio file. Expires 1 hour after this response is generated; refetch the voice call to get a new URL. Empty when the audio was deleted under a retention policy.
DownloadURL string `json:"download_url" url:"download_url"`
// The ID of the recording.
ID string `json:"id" url:"id"`
// Parsed transcript with one entry per spoken segment.
TranscriptSegments []*VoiceCallTranscriptSegment `json:"transcript_segments,omitempty" url:"transcript_segments,omitempty"`
// contains filtered or unexported fields
}
func (*VoiceCallRecording) GetDownloadURL ¶
func (v *VoiceCallRecording) GetDownloadURL() string
func (*VoiceCallRecording) GetExtraProperties ¶
func (v *VoiceCallRecording) GetExtraProperties() map[string]interface{}
func (*VoiceCallRecording) GetID ¶
func (v *VoiceCallRecording) GetID() string
func (*VoiceCallRecording) GetTranscriptSegments ¶
func (v *VoiceCallRecording) GetTranscriptSegments() []*VoiceCallTranscriptSegment
func (*VoiceCallRecording) MarshalJSON ¶
func (v *VoiceCallRecording) MarshalJSON() ([]byte, error)
func (*VoiceCallRecording) SetDownloadURL ¶
func (v *VoiceCallRecording) SetDownloadURL(downloadURL string)
SetDownloadURL sets the DownloadURL field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCallRecording) SetID ¶
func (v *VoiceCallRecording) SetID(id string)
SetID sets the ID field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCallRecording) SetTranscriptSegments ¶
func (v *VoiceCallRecording) SetTranscriptSegments(transcriptSegments []*VoiceCallTranscriptSegment)
SetTranscriptSegments sets the TranscriptSegments field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCallRecording) String ¶
func (v *VoiceCallRecording) String() string
func (*VoiceCallRecording) UnmarshalJSON ¶
func (v *VoiceCallRecording) UnmarshalJSON(data []byte) error
type VoiceCallTranscriptSegment ¶
type VoiceCallTranscriptSegment struct {
// The speaker label for this segment.
Speaker string `json:"speaker" url:"speaker"`
// The text spoken in this segment.
Text string `json:"text" url:"text"`
// contains filtered or unexported fields
}
func (*VoiceCallTranscriptSegment) GetExtraProperties ¶
func (v *VoiceCallTranscriptSegment) GetExtraProperties() map[string]interface{}
func (*VoiceCallTranscriptSegment) GetSpeaker ¶
func (v *VoiceCallTranscriptSegment) GetSpeaker() string
func (*VoiceCallTranscriptSegment) GetText ¶
func (v *VoiceCallTranscriptSegment) GetText() string
func (*VoiceCallTranscriptSegment) MarshalJSON ¶
func (v *VoiceCallTranscriptSegment) MarshalJSON() ([]byte, error)
func (*VoiceCallTranscriptSegment) SetSpeaker ¶
func (v *VoiceCallTranscriptSegment) SetSpeaker(speaker string)
SetSpeaker sets the Speaker field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCallTranscriptSegment) SetText ¶
func (v *VoiceCallTranscriptSegment) SetText(text string)
SetText sets the Text field and marks it as non-optional; this prevents an empty or null value for this field from being omitted during serialization.
func (*VoiceCallTranscriptSegment) String ¶
func (v *VoiceCallTranscriptSegment) String() string
func (*VoiceCallTranscriptSegment) UnmarshalJSON ¶
func (v *VoiceCallTranscriptSegment) UnmarshalJSON(data []byte) error
Source Files
¶
- accounts.go
- activity_types.go
- article_feedback.go
- attachments.go
- audit_logs.go
- call_recordings.go
- contacts.go
- custom_fields.go
- custom_objects.go
- email_suppressions.go
- environments.go
- error_codes.go
- errors.go
- feature_requests.go
- file_param.go
- issue_groups.go
- issue_statuses.go
- issues.go
- knowledge_bases.go
- macro_groups.go
- macros.go
- me.go
- milestones.go
- pointer.go
- projects.go
- surveys.go
- tags.go
- task_statuses.go
- tasks.go
- teams.go
- ticket_forms.go
- training_data.go
- types.go
- user_roles.go
- user_statuses.go
- users.go