- property \PHPFUI\ConstantContact\Definition\ImageDto[] $images Images to include in the post. Each image must be accessible via a public URL.
- property string $post_content_id Identifier for this post content. Generated by the server on creation. When updating a post, existing profile posts must include their original post_content_id unchanged.
- property \PHPFUI\ConstantContact\Definition\ProfilePostProfileDto[] $profiles The list of profiles to post to. Can be an empty list only when the post is in DRAFT status.
- property \PHPFUI\ConstantContact\Definition\Settings $settings Network-specific post settings. If no settings are provided, this field will be omitted in the JSON response. All values are persisted as strings. Currently, only TikTok has available settings:
- property string $text The text/caption content for the post. Whether text is required depends on the target social network. In DRAFT status, this is always optional.
CloneableInstantiable
- Extends
- Implements
JsonSerializable
| Methods |
| Properties |
| protected static array $fields = ['images' => 'array<\PHPFUI\ConstantContact\Definition\ImageDto>', 'post_content_id' => 'string', 'profiles' => 'array<\PHPFUI\ConstantContact\Definition\ProfilePostProfileDto>', 'settings' => '\PHPFUI\ConstantContact\Definition\Settings', 'text' => 'string'] |
| protected static array $requiredFields = ['profiles'] |
| Properties |
| protected static array $fields = ['images' => 'array<\PHPFUI\ConstantContact\Definition\ImageDto>', 'post_content_id' => 'string', 'profiles' => 'array<\PHPFUI\ConstantContact\Definition\ProfilePostProfileDto>', 'settings' => '\PHPFUI\ConstantContact\Definition\Settings', 'text' => 'string'] |
| protected static array $requiredFields = ['profiles'] |