5.2 KiB
ContentPublishResult
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Channels | Pointer to []string | Channels is the channel list read off the content document — integration ids or provider names, as the item declares them. Empty when the item names none, which targets every connected, enabled channel. It is what was ASKED for; Results is what happened. | [optional] |
| ExternalIds | Pointer to map[string]string | ExternalIDs maps channel id → the post id that channel returned, merged with everything earlier publishes recorded. Successes only, and it is the idempotency ledger: a channel named here is skipped by every later publish of this item, so the map only ever grows. | [optional] |
| Results | Pointer to []ContentChannelResult | Results is the outcome per channel — which went out, which did not and why — covering the whole fan-out including failures, so partial success is never flattened into one verdict. A channel the org has not connected appears here as failed with "channel not connected". | [optional] |
| Status | Pointer to string | Status is the ONE headline, drawn from: "distributed" (something is on record and went out now), "scheduled" (same, handed to the channel's own scheduler for later), "failed" (nothing is on record — this fan-out missed entirely and no earlier one landed), "in_progress" (another publisher holds the item, so this call posted NOTHING and the caller retries), and "not_configured" (no distribution edge is wired; a transition records it instead of failing). A partial fan-out is "distributed"/"scheduled", never "failed" — the per-channel truth is in Results. | [optional] |
Methods
NewContentPublishResult
func NewContentPublishResult() *ContentPublishResult
NewContentPublishResult instantiates a new ContentPublishResult 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
NewContentPublishResultWithDefaults
func NewContentPublishResultWithDefaults() *ContentPublishResult
NewContentPublishResultWithDefaults instantiates a new ContentPublishResult 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
GetChannels
func (o *ContentPublishResult) GetChannels() []string
GetChannels returns the Channels field if non-nil, zero value otherwise.
GetChannelsOk
func (o *ContentPublishResult) GetChannelsOk() (*[]string, bool)
GetChannelsOk returns a tuple with the Channels field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetChannels
func (o *ContentPublishResult) SetChannels(v []string)
SetChannels sets Channels field to given value.
HasChannels
func (o *ContentPublishResult) HasChannels() bool
HasChannels returns a boolean if a field has been set.
GetExternalIds
func (o *ContentPublishResult) GetExternalIds() map[string]string
GetExternalIds returns the ExternalIds field if non-nil, zero value otherwise.
GetExternalIdsOk
func (o *ContentPublishResult) GetExternalIdsOk() (*map[string]string, bool)
GetExternalIdsOk returns a tuple with the ExternalIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetExternalIds
func (o *ContentPublishResult) SetExternalIds(v map[string]string)
SetExternalIds sets ExternalIds field to given value.
HasExternalIds
func (o *ContentPublishResult) HasExternalIds() bool
HasExternalIds returns a boolean if a field has been set.
GetResults
func (o *ContentPublishResult) GetResults() []ContentChannelResult
GetResults returns the Results field if non-nil, zero value otherwise.
GetResultsOk
func (o *ContentPublishResult) GetResultsOk() (*[]ContentChannelResult, bool)
GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetResults
func (o *ContentPublishResult) SetResults(v []ContentChannelResult)
SetResults sets Results field to given value.
HasResults
func (o *ContentPublishResult) HasResults() bool
HasResults returns a boolean if a field has been set.
GetStatus
func (o *ContentPublishResult) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *ContentPublishResult) 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 *ContentPublishResult) SetStatus(v string)
SetStatus sets Status field to given value.
HasStatus
func (o *ContentPublishResult) HasStatus() bool
HasStatus returns a boolean if a field has been set.