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