struct Facebook::Proto::Event
- Facebook::Proto::Event
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/Event.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: :attending_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :can_guests_invite, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :category, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :declined_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :discount_code_enabled, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :end_time, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :guest_list_enabled, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :interested_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :is_canceled, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :is_draft, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :is_page_owned, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :maybe_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :noreply_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :scheduled_publish_time, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :start_time, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :ticket_uri, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :ticket_uri_start_sales_time, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :ticketing_privacy_uri, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :ticketing_terms_uri, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :timezone, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :updated_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, 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, attending_count : Int64 | Nil = nil, can_guests_invite : Bool | Nil = nil, category : String | Nil = nil, declined_count : Int64 | Nil = nil, description : String | Nil = nil, discount_code_enabled : Bool | Nil = nil, end_time : String | Nil = nil, guest_list_enabled : Bool | Nil = nil, interested_count : Int64 | Nil = nil, is_canceled : Bool | Nil = nil, is_draft : Bool | Nil = nil, is_page_owned : Bool | Nil = nil, maybe_count : Int64 | Nil = nil, name : String | Nil = nil, noreply_count : Int64 | Nil = nil, scheduled_publish_time : String | Nil = nil, start_time : String | Nil = nil, ticket_uri : String | Nil = nil, ticket_uri_start_sales_time : String | Nil = nil, ticketing_privacy_uri : String | Nil = nil, ticketing_terms_uri : String | Nil = nil, timezone : String | Nil = nil, type : String | Nil = nil, updated_time : Datetime | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #attending_count : Int64 | Nil
- #attending_count=(attending_count : Int64 | Nil)
- #can_guests_invite : Bool | Nil
- #can_guests_invite=(can_guests_invite : Bool | Nil)
- #category : String | Nil
- #category=(category : String | Nil)
- #declined_count : Int64 | Nil
- #declined_count=(declined_count : Int64 | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #discount_code_enabled : Bool | Nil
- #discount_code_enabled=(discount_code_enabled : Bool | Nil)
- #end_time : String | Nil
- #end_time=(end_time : String | Nil)
- #guest_list_enabled : Bool | Nil
- #guest_list_enabled=(guest_list_enabled : Bool | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #interested_count : Int64 | Nil
- #interested_count=(interested_count : Int64 | Nil)
- #is_canceled : Bool | Nil
- #is_canceled=(is_canceled : Bool | Nil)
- #is_draft : Bool | Nil
- #is_draft=(is_draft : Bool | Nil)
- #is_page_owned : Bool | Nil
- #is_page_owned=(is_page_owned : Bool | Nil)
- #maybe_count : Int64 | Nil
- #maybe_count=(maybe_count : Int64 | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #noreply_count : Int64 | Nil
- #noreply_count=(noreply_count : Int64 | Nil)
- #scheduled_publish_time : String | Nil
- #scheduled_publish_time=(scheduled_publish_time : String | Nil)
- #start_time : String | Nil
- #start_time=(start_time : String | Nil)
- #ticket_uri : String | Nil
- #ticket_uri=(ticket_uri : String | Nil)
- #ticket_uri_start_sales_time : String | Nil
- #ticket_uri_start_sales_time=(ticket_uri_start_sales_time : String | Nil)
- #ticketing_privacy_uri : String | Nil
- #ticketing_privacy_uri=(ticketing_privacy_uri : String | Nil)
- #ticketing_terms_uri : String | Nil
- #ticketing_terms_uri=(ticketing_terms_uri : String | Nil)
- #timezone : String | Nil
- #timezone=(timezone : 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)
Constructor Detail
def self.new(id : String | Nil = nil, attending_count : Int64 | Nil = nil, can_guests_invite : Bool | Nil = nil, category : String | Nil = nil, declined_count : Int64 | Nil = nil, description : String | Nil = nil, discount_code_enabled : Bool | Nil = nil, end_time : String | Nil = nil, guest_list_enabled : Bool | Nil = nil, interested_count : Int64 | Nil = nil, is_canceled : Bool | Nil = nil, is_draft : Bool | Nil = nil, is_page_owned : Bool | Nil = nil, maybe_count : Int64 | Nil = nil, name : String | Nil = nil, noreply_count : Int64 | Nil = nil, scheduled_publish_time : String | Nil = nil, start_time : String | Nil = nil, ticket_uri : String | Nil = nil, ticket_uri_start_sales_time : String | Nil = nil, ticketing_privacy_uri : String | Nil = nil, ticketing_terms_uri : String | Nil = nil, timezone : String | Nil = nil, type : String | Nil = nil, updated_time : Datetime | Nil = nil)
#