10 KiB
SocialSocialPost
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| AccountId | Pointer to string | AccountID / ExternalID / Error are server-managed publish results, set only by the publish path (never by a client update): the account a post was published through, the provider's returned external post id (for reconciliation), and the last failure reason. Empty until a publish attempt lands. AccountID is the connected account the post went out through. Absent until a publish succeeds. | [optional] |
| Channel | Pointer to string | Channel is the network this post targets: x, facebook, instagram, linkedin, tiktok, youtube or threads. It is the channel whose CONNECTED accounts a publish fans out to. Example: "x" | [optional] |
| Content | Pointer to string | Content is the post's text, bounded at 8192 characters. Example: "Shipping today." | [optional] |
| CreatedAt | Pointer to int64 | CreatedAt is when the post was created, as a unix timestamp in seconds. | [optional] |
| Error | Pointer to string | Error is why the last publish attempt failed, verbatim and bounded. Absent when no attempt has failed; cleared by a later success. A post published to several accounts that only some took is published, and this names the rest. | [optional] |
| ExternalId | Pointer to string | ExternalID is the id the network returned for the published post, which is what reconciles this row against the post on the network. Absent until a publish succeeds. | [optional] |
| Id | Pointer to string | ID is the post's identifier, minted on create and the id every later call addresses it by. Example: "post_91ab20" | [optional] |
| Media | Pointer to []string | Media is the post's attached media as a list of URLs (images today; the composer's URL field now, an S3 picker later, populate it). Stored as a JSON array in the media TEXT column and ALWAYS serialized as an array (never null), so a client can rely on `media` being present. Bounded at the write layer (normMedia in social.go): each URL clipped to maxField, the list to maxMedia. | [optional] |
| ScheduleAt | Pointer to int64 | ScheduleAt is when the post is due, as a unix timestamp in SECONDS. 0 means unscheduled. It is meaningful only while the status is scheduled — a scheduled post whose time has arrived is published by the scheduler. | [optional] |
| Status | Pointer to string | Status is the post's lifecycle state: draft, scheduled, published or failed. A fifth, transient publishing state exists while a publish attempt holds the claim; it is never settable from a request and a caller sees it only if it reads a post mid-attempt. | [optional] |
| UpdatedAt | Pointer to int64 | UpdatedAt is when the post row last changed, as a unix timestamp in seconds. The listing is ordered by it, newest first. | [optional] |
Methods
NewSocialSocialPost
func NewSocialSocialPost() *SocialSocialPost
NewSocialSocialPost instantiates a new SocialSocialPost 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
NewSocialSocialPostWithDefaults
func NewSocialSocialPostWithDefaults() *SocialSocialPost
NewSocialSocialPostWithDefaults instantiates a new SocialSocialPost 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
GetAccountId
func (o *SocialSocialPost) GetAccountId() string
GetAccountId returns the AccountId field if non-nil, zero value otherwise.
GetAccountIdOk
func (o *SocialSocialPost) GetAccountIdOk() (*string, bool)
GetAccountIdOk returns a tuple with the AccountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAccountId
func (o *SocialSocialPost) SetAccountId(v string)
SetAccountId sets AccountId field to given value.
HasAccountId
func (o *SocialSocialPost) HasAccountId() bool
HasAccountId returns a boolean if a field has been set.
GetChannel
func (o *SocialSocialPost) GetChannel() string
GetChannel returns the Channel field if non-nil, zero value otherwise.
GetChannelOk
func (o *SocialSocialPost) GetChannelOk() (*string, bool)
GetChannelOk returns a tuple with the Channel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetChannel
func (o *SocialSocialPost) SetChannel(v string)
SetChannel sets Channel field to given value.
HasChannel
func (o *SocialSocialPost) HasChannel() bool
HasChannel returns a boolean if a field has been set.
GetContent
func (o *SocialSocialPost) GetContent() string
GetContent returns the Content field if non-nil, zero value otherwise.
GetContentOk
func (o *SocialSocialPost) 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 *SocialSocialPost) SetContent(v string)
SetContent sets Content field to given value.
HasContent
func (o *SocialSocialPost) HasContent() bool
HasContent returns a boolean if a field has been set.
GetCreatedAt
func (o *SocialSocialPost) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
GetCreatedAtOk
func (o *SocialSocialPost) GetCreatedAtOk() (*int64, 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 *SocialSocialPost) SetCreatedAt(v int64)
SetCreatedAt sets CreatedAt field to given value.
HasCreatedAt
func (o *SocialSocialPost) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
GetError
func (o *SocialSocialPost) GetError() string
GetError returns the Error field if non-nil, zero value otherwise.
GetErrorOk
func (o *SocialSocialPost) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetError
func (o *SocialSocialPost) SetError(v string)
SetError sets Error field to given value.
HasError
func (o *SocialSocialPost) HasError() bool
HasError returns a boolean if a field has been set.
GetExternalId
func (o *SocialSocialPost) GetExternalId() string
GetExternalId returns the ExternalId field if non-nil, zero value otherwise.
GetExternalIdOk
func (o *SocialSocialPost) GetExternalIdOk() (*string, bool)
GetExternalIdOk returns a tuple with the ExternalId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetExternalId
func (o *SocialSocialPost) SetExternalId(v string)
SetExternalId sets ExternalId field to given value.
HasExternalId
func (o *SocialSocialPost) HasExternalId() bool
HasExternalId returns a boolean if a field has been set.
GetId
func (o *SocialSocialPost) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *SocialSocialPost) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetId
func (o *SocialSocialPost) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *SocialSocialPost) HasId() bool
HasId returns a boolean if a field has been set.
GetMedia
func (o *SocialSocialPost) GetMedia() []string
GetMedia returns the Media field if non-nil, zero value otherwise.
GetMediaOk
func (o *SocialSocialPost) GetMediaOk() (*[]string, bool)
GetMediaOk returns a tuple with the Media field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMedia
func (o *SocialSocialPost) SetMedia(v []string)
SetMedia sets Media field to given value.
HasMedia
func (o *SocialSocialPost) HasMedia() bool
HasMedia returns a boolean if a field has been set.
GetScheduleAt
func (o *SocialSocialPost) GetScheduleAt() int64
GetScheduleAt returns the ScheduleAt field if non-nil, zero value otherwise.
GetScheduleAtOk
func (o *SocialSocialPost) GetScheduleAtOk() (*int64, bool)
GetScheduleAtOk returns a tuple with the ScheduleAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetScheduleAt
func (o *SocialSocialPost) SetScheduleAt(v int64)
SetScheduleAt sets ScheduleAt field to given value.
HasScheduleAt
func (o *SocialSocialPost) HasScheduleAt() bool
HasScheduleAt returns a boolean if a field has been set.
GetStatus
func (o *SocialSocialPost) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *SocialSocialPost) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStatus
func (o *SocialSocialPost) SetStatus(v string)
SetStatus sets Status field to given value.
HasStatus
func (o *SocialSocialPost) HasStatus() bool
HasStatus returns a boolean if a field has been set.
GetUpdatedAt
func (o *SocialSocialPost) GetUpdatedAt() int64
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
GetUpdatedAtOk
func (o *SocialSocialPost) GetUpdatedAtOk() (*int64, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUpdatedAt
func (o *SocialSocialPost) SetUpdatedAt(v int64)
SetUpdatedAt sets UpdatedAt field to given value.
HasUpdatedAt
func (o *SocialSocialPost) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.