struct Facebook::Proto::AdActivity
- Facebook::Proto::AdActivity
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdActivity.pb.crConstant Summary
-
FIELDS =
{1 => {name: :actor_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :actor_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :application_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :application_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :date_time_in_timezone, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :event_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :event_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :extra_data, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :object_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :object_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :object_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :translated_event_type, pb_type: :string, crystal_type: String, cast_type: String?, 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(actor_id : String | Nil = nil, actor_name : String | Nil = nil, application_id : String | Nil = nil, application_name : String | Nil = nil, date_time_in_timezone : String | Nil = nil, event_time : Datetime | Nil = nil, event_type : String | Nil = nil, extra_data : String | Nil = nil, object_id : String | Nil = nil, object_name : String | Nil = nil, object_type : String | Nil = nil, translated_event_type : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #actor_id : String | Nil
- #actor_id=(actor_id : String | Nil)
- #actor_name : String | Nil
- #actor_name=(actor_name : String | Nil)
- #application_id : String | Nil
- #application_id=(application_id : String | Nil)
- #application_name : String | Nil
- #application_name=(application_name : String | Nil)
- #date_time_in_timezone : String | Nil
- #date_time_in_timezone=(date_time_in_timezone : String | Nil)
- #event_time : Datetime | Nil
- #event_time=(event_time : Datetime | Nil)
- #event_type : String | Nil
- #event_type=(event_type : String | Nil)
- #extra_data : String | Nil
- #extra_data=(extra_data : String | Nil)
- #object_id : String | Nil
- #object_id=(object_id : String | Nil)
- #object_name : String | Nil
- #object_name=(object_name : String | Nil)
- #object_type : String | Nil
- #object_type=(object_type : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #translated_event_type : String | Nil
- #translated_event_type=(translated_event_type : String | Nil)
Constructor Detail
def self.new(actor_id : String | Nil = nil, actor_name : String | Nil = nil, application_id : String | Nil = nil, application_name : String | Nil = nil, date_time_in_timezone : String | Nil = nil, event_time : Datetime | Nil = nil, event_type : String | Nil = nil, extra_data : String | Nil = nil, object_id : String | Nil = nil, object_name : String | Nil = nil, object_type : String | Nil = nil, translated_event_type : String | Nil = nil)
#