Skip to content

Latest commit

 

History

History
182 lines (97 loc) · 6.18 KB

File metadata and controls

182 lines (97 loc) · 6.18 KB

V2CommentsPostRequestData

Properties

Name Type Description Notes
Format string The format that the comment content is provided in. The `plaintext` format uses the line feed character `\n` to create new lines within the note content. Rich text formatting and links are not supported.
Content string The content of the comment itself. Workspace members can be mentioned using their email address, otherwise email addresses will be presented to users as clickable mailto links.
Author V2CommentsPostRequestDataAnyOfAuthor
CreatedAt Pointer to string `created_at` will default to the current time. However, if you wish to backdate a comment for migration or other purposes, you can override with a custom `created_at` value. Note that dates before 1970 or in the future are not allowed. [optional]
ThreadId string If responding to an existing thread, this would be the ID of that thread.
Record V2CommentsPostRequestDataAnyOf1Record
Entry V2CommentsPostRequestDataAnyOf2Entry

Methods

NewV2CommentsPostRequestData

func NewV2CommentsPostRequestData(format string, content string, author V2CommentsPostRequestDataAnyOfAuthor, threadId string, record V2CommentsPostRequestDataAnyOf1Record, entry V2CommentsPostRequestDataAnyOf2Entry, ) *V2CommentsPostRequestData

NewV2CommentsPostRequestData instantiates a new V2CommentsPostRequestData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewV2CommentsPostRequestDataWithDefaults

func NewV2CommentsPostRequestDataWithDefaults() *V2CommentsPostRequestData

NewV2CommentsPostRequestDataWithDefaults instantiates a new V2CommentsPostRequestData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetFormat

func (o *V2CommentsPostRequestData) GetFormat() string

GetFormat returns the Format field if non-nil, zero value otherwise.

GetFormatOk

func (o *V2CommentsPostRequestData) GetFormatOk() (*string, bool)

GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFormat

func (o *V2CommentsPostRequestData) SetFormat(v string)

SetFormat sets Format field to given value.

GetContent

func (o *V2CommentsPostRequestData) GetContent() string

GetContent returns the Content field if non-nil, zero value otherwise.

GetContentOk

func (o *V2CommentsPostRequestData) GetContentOk() (*string, bool)

GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetContent

func (o *V2CommentsPostRequestData) SetContent(v string)

SetContent sets Content field to given value.

GetAuthor

func (o *V2CommentsPostRequestData) GetAuthor() V2CommentsPostRequestDataAnyOfAuthor

GetAuthor returns the Author field if non-nil, zero value otherwise.

GetAuthorOk

func (o *V2CommentsPostRequestData) GetAuthorOk() (*V2CommentsPostRequestDataAnyOfAuthor, bool)

GetAuthorOk returns a tuple with the Author field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAuthor

func (o *V2CommentsPostRequestData) SetAuthor(v V2CommentsPostRequestDataAnyOfAuthor)

SetAuthor sets Author field to given value.

GetCreatedAt

func (o *V2CommentsPostRequestData) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *V2CommentsPostRequestData) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreatedAt

func (o *V2CommentsPostRequestData) SetCreatedAt(v string)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *V2CommentsPostRequestData) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetThreadId

func (o *V2CommentsPostRequestData) GetThreadId() string

GetThreadId returns the ThreadId field if non-nil, zero value otherwise.

GetThreadIdOk

func (o *V2CommentsPostRequestData) GetThreadIdOk() (*string, bool)

GetThreadIdOk returns a tuple with the ThreadId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetThreadId

func (o *V2CommentsPostRequestData) SetThreadId(v string)

SetThreadId sets ThreadId field to given value.

GetRecord

func (o *V2CommentsPostRequestData) GetRecord() V2CommentsPostRequestDataAnyOf1Record

GetRecord returns the Record field if non-nil, zero value otherwise.

GetRecordOk

func (o *V2CommentsPostRequestData) GetRecordOk() (*V2CommentsPostRequestDataAnyOf1Record, bool)

GetRecordOk returns a tuple with the Record field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRecord

func (o *V2CommentsPostRequestData) SetRecord(v V2CommentsPostRequestDataAnyOf1Record)

SetRecord sets Record field to given value.

GetEntry

func (o *V2CommentsPostRequestData) GetEntry() V2CommentsPostRequestDataAnyOf2Entry

GetEntry returns the Entry field if non-nil, zero value otherwise.

GetEntryOk

func (o *V2CommentsPostRequestData) GetEntryOk() (*V2CommentsPostRequestDataAnyOf2Entry, bool)

GetEntryOk returns a tuple with the Entry field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEntry

func (o *V2CommentsPostRequestData) SetEntry(v V2CommentsPostRequestDataAnyOf2Entry)

SetEntry sets Entry field to given value.

[Back to Model list] [Back to API list] [Back to README]