struct Facebook::Proto::Post
- Facebook::Proto::Post
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/Post.pb.crConstant Summary
-
FIELDS =
{1 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :actions, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :allowed_advertising_objectives, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 4 => {name: :backdated_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :can_reply_privately, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :caption, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :child_attachments, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 8 => {name: :comments_mirroring_domain, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :created_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :expanded_height, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :expanded_width, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :full_picture, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :height, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :icon, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :instagram_eligibility, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :is_app_share, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :is_eligible_for_promotion, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :is_expired, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :is_hidden, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :is_instagram_eligible, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :is_popular, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :is_published, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :is_spherical, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :message, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :message_tags, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 28 => {name: :multi_share_end_card, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 29 => {name: :multi_share_optimized, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :object_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 32 => {name: :parent_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :picture, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 34 => {name: :promotable_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 35 => {name: :promotion_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 36 => {name: :properties, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 37 => {name: :scheduled_publish_time, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 38 => {name: :source, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 39 => {name: :status_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 40 => {name: :story, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 41 => {name: :story_tags, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 42 => {name: :subscribed, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 43 => {name: :timeline_visibility, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 44 => {name: :type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 45 => {name: :updated_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 46 => {name: :video_buying_eligibility, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 47 => {name: :width, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
-
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(id : String | Nil = nil, actions : Array(String) | Nil = nil, allowed_advertising_objectives : Array(String) | Nil = nil, backdated_time : Datetime | Nil = nil, can_reply_privately : Bool | Nil = nil, caption : String | Nil = nil, child_attachments : Array(String) | Nil = nil, comments_mirroring_domain : String | Nil = nil, created_time : Datetime | Nil = nil, description : String | Nil = nil, expanded_height : Int64 | Nil = nil, expanded_width : Int64 | Nil = nil, full_picture : String | Nil = nil, height : Int64 | Nil = nil, icon : String | Nil = nil, instagram_eligibility : String | Nil = nil, is_app_share : Bool | Nil = nil, is_eligible_for_promotion : Bool | Nil = nil, is_expired : Bool | Nil = nil, is_hidden : Bool | Nil = nil, is_instagram_eligible : Bool | Nil = nil, is_popular : Bool | Nil = nil, is_published : Bool | Nil = nil, is_spherical : Bool | Nil = nil, link : String | Nil = nil, message : String | Nil = nil, message_tags : Array(String) | Nil = nil, multi_share_end_card : Bool | Nil = nil, multi_share_optimized : Bool | Nil = nil, name : String | Nil = nil, object_id : String | Nil = nil, parent_id : String | Nil = nil, picture : String | Nil = nil, promotable_id : String | Nil = nil, promotion_status : String | Nil = nil, properties : Array(String) | Nil = nil, scheduled_publish_time : Float64 | Nil = nil, source : String | Nil = nil, status_type : String | Nil = nil, story : String | Nil = nil, story_tags : Array(String) | Nil = nil, subscribed : Bool | Nil = nil, timeline_visibility : String | Nil = nil, type : String | Nil = nil, updated_time : Datetime | Nil = nil, video_buying_eligibility : Array(String) | Nil = nil, width : Int64 | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #actions : Array(String) | Nil
- #actions=(actions : Array(String) | Nil)
- #actions=(actions : Array(String) | Nil)
- #allowed_advertising_objectives : Array(String) | Nil
- #allowed_advertising_objectives=(allowed_advertising_objectives : Array(String) | Nil)
- #allowed_advertising_objectives=(allowed_advertising_objectives : Array(String) | Nil)
- #backdated_time : Datetime | Nil
- #backdated_time=(backdated_time : Datetime | Nil)
- #can_reply_privately : Bool | Nil
- #can_reply_privately=(can_reply_privately : Bool | Nil)
- #caption : String | Nil
- #caption=(caption : String | Nil)
- #child_attachments : Array(String) | Nil
- #child_attachments=(child_attachments : Array(String) | Nil)
- #child_attachments=(child_attachments : Array(String) | Nil)
- #comments_mirroring_domain : String | Nil
- #comments_mirroring_domain=(comments_mirroring_domain : String | Nil)
- #created_time : Datetime | Nil
- #created_time=(created_time : Datetime | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #expanded_height : Int64 | Nil
- #expanded_height=(expanded_height : Int64 | Nil)
- #expanded_width : Int64 | Nil
- #expanded_width=(expanded_width : Int64 | Nil)
- #full_picture : String | Nil
- #full_picture=(full_picture : String | Nil)
- #height : Int64 | Nil
- #height=(height : Int64 | Nil)
- #icon : String | Nil
- #icon=(icon : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #instagram_eligibility : String | Nil
- #instagram_eligibility=(instagram_eligibility : String | Nil)
- #is_app_share : Bool | Nil
- #is_app_share=(is_app_share : Bool | Nil)
- #is_eligible_for_promotion : Bool | Nil
- #is_eligible_for_promotion=(is_eligible_for_promotion : Bool | Nil)
- #is_expired : Bool | Nil
- #is_expired=(is_expired : Bool | Nil)
- #is_hidden : Bool | Nil
- #is_hidden=(is_hidden : Bool | Nil)
- #is_instagram_eligible : Bool | Nil
- #is_instagram_eligible=(is_instagram_eligible : Bool | Nil)
- #is_popular : Bool | Nil
- #is_popular=(is_popular : Bool | Nil)
- #is_published : Bool | Nil
- #is_published=(is_published : Bool | Nil)
- #is_spherical : Bool | Nil
- #is_spherical=(is_spherical : Bool | Nil)
- #link : String | Nil
- #link=(link : String | Nil)
- #message : String | Nil
- #message=(message : String | Nil)
- #message_tags : Array(String) | Nil
- #message_tags=(message_tags : Array(String) | Nil)
- #message_tags=(message_tags : Array(String) | Nil)
- #multi_share_end_card : Bool | Nil
- #multi_share_end_card=(multi_share_end_card : Bool | Nil)
- #multi_share_optimized : Bool | Nil
- #multi_share_optimized=(multi_share_optimized : Bool | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #object_id : String | Nil
- #object_id=(object_id : String | Nil)
- #parent_id : String | Nil
- #parent_id=(parent_id : String | Nil)
- #picture : String | Nil
- #picture=(picture : String | Nil)
- #promotable_id : String | Nil
- #promotable_id=(promotable_id : String | Nil)
- #promotion_status : String | Nil
- #promotion_status=(promotion_status : String | Nil)
- #properties : Array(String) | Nil
- #properties=(properties : Array(String) | Nil)
- #properties=(properties : Array(String) | Nil)
- #scheduled_publish_time : Float64 | Nil
- #scheduled_publish_time=(scheduled_publish_time : Float64 | Nil)
- #source : String | Nil
- #source=(source : String | Nil)
- #status_type : String | Nil
- #status_type=(status_type : String | Nil)
- #story : String | Nil
- #story=(story : String | Nil)
- #story_tags : Array(String) | Nil
- #story_tags=(story_tags : Array(String) | Nil)
- #story_tags=(story_tags : Array(String) | Nil)
- #subscribed : Bool | Nil
- #subscribed=(subscribed : Bool | Nil)
- #timeline_visibility : String | Nil
- #timeline_visibility=(timeline_visibility : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #type : String | Nil
- #type=(type : String | Nil)
- #updated_time : Datetime | Nil
- #updated_time=(updated_time : Datetime | Nil)
- #video_buying_eligibility : Array(String) | Nil
- #video_buying_eligibility=(video_buying_eligibility : Array(String) | Nil)
- #video_buying_eligibility=(video_buying_eligibility : Array(String) | Nil)
- #width : Int64 | Nil
- #width=(width : Int64 | Nil)