struct Facebook::Proto::PagePost

Included Modules

Defined in:

cli/proto/facebook/PagePost.pb.cr

Constant 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: :child_attachments, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 7 => {name: :comments_mirroring_domain, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :created_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :expanded_height, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :expanded_width, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :full_picture, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :height, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :icon, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :instagram_eligibility, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :is_app_share, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :is_eligible_for_promotion, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :is_expired, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :is_hidden, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :is_instagram_eligible, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :is_popular, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :is_published, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :is_spherical, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :message, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :message_tags, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 25 => {name: :multi_share_end_card, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :multi_share_optimized, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :parent_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :picture, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 29 => {name: :promotable_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :promotion_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :properties, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 32 => {name: :scheduled_publish_time, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :status_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 34 => {name: :story, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 35 => {name: :story_tags, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 36 => {name: :subscribed, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 37 => {name: :timeline_visibility, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 38 => {name: :updated_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 39 => {name: :video_buying_eligibility, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 40 => {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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.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, child_attachments : Array(String) | Nil = nil, comments_mirroring_domain : String | Nil = nil, created_time : Datetime | 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, message : String | Nil = nil, message_tags : Array(String) | Nil = nil, multi_share_end_card : Bool | Nil = nil, multi_share_optimized : Bool | 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, status_type : String | Nil = nil, story : String | Nil = nil, story_tags : Array(String) | Nil = nil, subscribed : Bool | Nil = nil, timeline_visibility : String | Nil = nil, updated_time : Datetime | Nil = nil, video_buying_eligibility : Array(String) | Nil = nil, width : Int64 | Nil = nil) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def actions : Array(String) | Nil #

def actions=(actions : Array(String) | Nil) #

def actions=(actions : Array(String) | Nil) #

def allowed_advertising_objectives : Array(String) | Nil #

def allowed_advertising_objectives=(allowed_advertising_objectives : Array(String) | Nil) #

def allowed_advertising_objectives=(allowed_advertising_objectives : Array(String) | Nil) #

def backdated_time : Datetime | Nil #

def backdated_time=(backdated_time : Datetime | Nil) #

def can_reply_privately : Bool | Nil #

def can_reply_privately=(can_reply_privately : Bool | Nil) #

def child_attachments : Array(String) | Nil #

def child_attachments=(child_attachments : Array(String) | Nil) #

def child_attachments=(child_attachments : Array(String) | Nil) #

def comments_mirroring_domain : String | Nil #

def comments_mirroring_domain=(comments_mirroring_domain : String | Nil) #

def created_time : Datetime | Nil #

def created_time=(created_time : Datetime | Nil) #

def expanded_height : Int64 | Nil #

def expanded_height=(expanded_height : Int64 | Nil) #

def expanded_width : Int64 | Nil #

def expanded_width=(expanded_width : Int64 | Nil) #

def full_picture : String | Nil #

def full_picture=(full_picture : String | Nil) #

def height : Int64 | Nil #

def height=(height : Int64 | Nil) #

def icon : String | Nil #

def icon=(icon : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def instagram_eligibility : String | Nil #

def instagram_eligibility=(instagram_eligibility : String | Nil) #

def is_app_share : Bool | Nil #

def is_app_share=(is_app_share : Bool | Nil) #

def is_eligible_for_promotion : Bool | Nil #

def is_eligible_for_promotion=(is_eligible_for_promotion : Bool | Nil) #

def is_expired : Bool | Nil #

def is_expired=(is_expired : Bool | Nil) #

def is_hidden : Bool | Nil #

def is_hidden=(is_hidden : Bool | Nil) #

def is_instagram_eligible : Bool | Nil #

def is_instagram_eligible=(is_instagram_eligible : Bool | Nil) #

def is_popular : Bool | Nil #

def is_popular=(is_popular : Bool | Nil) #

def is_published : Bool | Nil #

def is_published=(is_published : Bool | Nil) #

def is_spherical : Bool | Nil #

def is_spherical=(is_spherical : Bool | Nil) #

def message : String | Nil #

def message=(message : String | Nil) #

def message_tags : Array(String) | Nil #

def message_tags=(message_tags : Array(String) | Nil) #

def message_tags=(message_tags : Array(String) | Nil) #

def multi_share_end_card : Bool | Nil #

def multi_share_end_card=(multi_share_end_card : Bool | Nil) #

def multi_share_optimized : Bool | Nil #

def multi_share_optimized=(multi_share_optimized : Bool | Nil) #

def parent_id : String | Nil #

def parent_id=(parent_id : String | Nil) #

def picture : String | Nil #

def picture=(picture : String | Nil) #

def promotable_id : String | Nil #

def promotable_id=(promotable_id : String | Nil) #

def promotion_status : String | Nil #

def promotion_status=(promotion_status : String | Nil) #

def properties : Array(String) | Nil #

def properties=(properties : Array(String) | Nil) #

def properties=(properties : Array(String) | Nil) #

def scheduled_publish_time : Float64 | Nil #

def scheduled_publish_time=(scheduled_publish_time : Float64 | Nil) #

def status_type : String | Nil #

def status_type=(status_type : String | Nil) #

def story : String | Nil #

def story=(story : String | Nil) #

def story_tags : Array(String) | Nil #

def story_tags=(story_tags : Array(String) | Nil) #

def story_tags=(story_tags : Array(String) | Nil) #

def subscribed : Bool | Nil #

def subscribed=(subscribed : Bool | Nil) #

def timeline_visibility : String | Nil #

def timeline_visibility=(timeline_visibility : String | Nil) #

def to_hash #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def updated_time : Datetime | Nil #

def updated_time=(updated_time : Datetime | Nil) #

def video_buying_eligibility : Array(String) | Nil #

def video_buying_eligibility=(video_buying_eligibility : Array(String) | Nil) #

def video_buying_eligibility=(video_buying_eligibility : Array(String) | Nil) #

def width : Int64 | Nil #

def width=(width : Int64 | Nil) #