77 lines
2.3 KiB
PHP
77 lines
2.3 KiB
PHP
<?php
|
|
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
namespace FacebookPixelPlugin\FacebookAds\Object\Fields;
|
|
|
|
use FacebookPixelPlugin\FacebookAds\Enum\AbstractEnum;
|
|
|
|
/**
|
|
* This class is auto-generated.
|
|
*
|
|
* For any issues or feature requests related to this class, please let us know
|
|
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
|
* pull request for this class.
|
|
*
|
|
*/
|
|
|
|
class CommentFields extends AbstractEnum {
|
|
|
|
const ADMIN_CREATOR = 'admin_creator';
|
|
const APPLICATION = 'application';
|
|
const ATTACHMENT = 'attachment';
|
|
const CAN_COMMENT = 'can_comment';
|
|
const CAN_HIDE = 'can_hide';
|
|
const CAN_LIKE = 'can_like';
|
|
const CAN_REMOVE = 'can_remove';
|
|
const CAN_REPLY_PRIVATELY = 'can_reply_privately';
|
|
const COMMENT_COUNT = 'comment_count';
|
|
const CREATED_TIME = 'created_time';
|
|
const FROM = 'from';
|
|
const ID = 'id';
|
|
const IS_HIDDEN = 'is_hidden';
|
|
const IS_PRIVATE = 'is_private';
|
|
const LIKE_COUNT = 'like_count';
|
|
const LIVE_BROADCAST_TIMESTAMP = 'live_broadcast_timestamp';
|
|
const MESSAGE = 'message';
|
|
const MESSAGE_TAGS = 'message_tags';
|
|
const OBJECT = 'object';
|
|
const PARENT = 'parent';
|
|
const PERMALINK_URL = 'permalink_url';
|
|
const PRIVATE_REPLY_CONVERSATION = 'private_reply_conversation';
|
|
const USER_LIKES = 'user_likes';
|
|
|
|
public function getFieldTypes() {
|
|
return array(
|
|
'admin_creator' => 'User',
|
|
'application' => 'Application',
|
|
'attachment' => 'Object',
|
|
'can_comment' => 'bool',
|
|
'can_hide' => 'bool',
|
|
'can_like' => 'bool',
|
|
'can_remove' => 'bool',
|
|
'can_reply_privately' => 'bool',
|
|
'comment_count' => 'unsigned int',
|
|
'created_time' => 'datetime',
|
|
'from' => 'Object',
|
|
'id' => 'string',
|
|
'is_hidden' => 'bool',
|
|
'is_private' => 'bool',
|
|
'like_count' => 'unsigned int',
|
|
'live_broadcast_timestamp' => 'unsigned int',
|
|
'message' => 'string',
|
|
'message_tags' => 'list<EntityAtTextRange>',
|
|
'object' => 'Object',
|
|
'parent' => 'Comment',
|
|
'permalink_url' => 'string',
|
|
'private_reply_conversation' => 'Object',
|
|
'user_likes' => 'bool',
|
|
);
|
|
}
|
|
}
|