github.com/grokify/go-ringcentral-client@v0.3.31/engagedigital/v1/client/model_content.go (about)

     1  /*
     2   * Engage Digital API
     3   *
     4   * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
     5   *
     6   * API version: 1.0
     7   * Generated by: OpenAPI Generator (https://openapi-generator.tech)
     8   */
     9  
    10  package engagedigital
    11  
    12  import (
    13  	"time"
    14  )
    15  
    16  type Content struct {
    17  	ApprovalRequired bool                 `json:"approval_required,omitempty"`
    18  	Attachments      []ContentAttachment  `json:"attachments,omitempty"`
    19  	AttachmentsCount int32                `json:"attachments_count,omitempty"`
    20  	AuthorId         string               `json:"author_id,omitempty"`
    21  	Body             string               `json:"body,omitempty"`
    22  	BodyFormatted    ContentBodyFormatted `json:"body_formatted,omitempty"`
    23  	// values can be: text or html.
    24  	BodyInputFormat string `json:"body_input_format,omitempty"`
    25  	// are content categories if none, they are default to intervention categories or thread categories
    26  	CategoryIds []string `json:"category_ids,omitempty"`
    27  	// is present only if the content has context_data associated. The context_data hash keys are the custom fields keys.
    28  	ContextData           map[string]interface{} `json:"context_data,omitempty"`
    29  	CreatedAt             time.Time              `json:"created_at,omitempty"`
    30  	CreatedFrom           string                 `json:"created_from,omitempty"`
    31  	CreatorId             string                 `json:"creator_id,omitempty"`
    32  	ForeignId             string                 `json:"foreign_id,omitempty"`
    33  	Id                    string                 `json:"id"`
    34  	InReplyToAuthorId     string                 `json:"in_reply_to_author_id,omitempty"`
    35  	InReplyToId           string                 `json:"in_reply_to_id,omitempty"`
    36  	InterventionId        string                 `json:"intervention_id,omitempty"`
    37  	Language              string                 `json:"language,omitempty"`
    38  	PrivateMessage        bool                   `json:"private_message,omitempty"`
    39  	Published             bool                   `json:"published,omitempty"`
    40  	RemotelyDeleted       bool                   `json:"remotely_deleted,omitempty"`
    41  	SourceId              string                 `json:"source_id,omitempty"`
    42  	SourceType            string                 `json:"source_type,omitempty"`
    43  	SourceUrl             string                 `json:"source_url,omitempty"`
    44  	Status                string                 `json:"status,omitempty"`
    45  	SynchronizationStatus string                 `json:"synchronization_status,omitempty"`
    46  	ThreadId              string                 `json:"thread_id,omitempty"`
    47  	Title                 string                 `json:"title,omitempty"`
    48  	Type                  string                 `json:"type,omitempty"`
    49  	UpdatedAt             time.Time              `json:"updated_at,omitempty"`
    50  }