struct Facebook::Proto::Link
- Facebook::Proto::Link
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/Link.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: :caption, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :created_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :icon, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :message, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :multi_share_optimized, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :name, 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(id : String | Nil = nil, caption : String | Nil = nil, created_time : Datetime | Nil = nil, description : String | Nil = nil, icon : String | Nil = nil, link : String | Nil = nil, message : String | Nil = nil, multi_share_optimized : Bool | Nil = nil, name : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #caption : String | Nil
- #caption=(caption : String | Nil)
- #created_time : Datetime | Nil
- #created_time=(created_time : Datetime | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #icon : String | Nil
- #icon=(icon : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #link : String | Nil
- #link=(link : String | Nil)
- #message : String | Nil
- #message=(message : String | Nil)
- #multi_share_optimized : Bool | Nil
- #multi_share_optimized=(multi_share_optimized : Bool | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf