struct Facebook::Proto::InstantArticle
- Facebook::Proto::InstantArticle
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/InstantArticle.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: :canonical_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :development_mode, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :html_source, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :publish_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :published, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, 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, canonical_url : String | Nil = nil, development_mode : Bool | Nil = nil, html_source : String | Nil = nil, publish_status : String | Nil = nil, published : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #canonical_url : String | Nil
- #canonical_url=(canonical_url : String | Nil)
- #development_mode : Bool | Nil
- #development_mode=(development_mode : Bool | Nil)
- #html_source : String | Nil
- #html_source=(html_source : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #publish_status : String | Nil
- #publish_status=(publish_status : String | Nil)
- #published : Bool | Nil
- #published=(published : Bool | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(id : String | Nil = nil, canonical_url : String | Nil = nil, development_mode : Bool | Nil = nil, html_source : String | Nil = nil, publish_status : String | Nil = nil, published : Bool | Nil = nil)
#