struct Facebook::Proto::VoipInfo
- Facebook::Proto::VoipInfo
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/VoipInfo.pb.crConstant Summary
-
FIELDS =
{1 => {name: :has_mobile_app, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :has_permission, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :is_callable, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :is_callable_webrtc, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :is_pushable, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :reason_code, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :reason_description, 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(has_mobile_app : Bool | Nil = nil, has_permission : Bool | Nil = nil, is_callable : Bool | Nil = nil, is_callable_webrtc : Bool | Nil = nil, is_pushable : Bool | Nil = nil, reason_code : Int64 | Nil = nil, reason_description : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #has_mobile_app : Bool | Nil
- #has_mobile_app=(has_mobile_app : Bool | Nil)
- #has_permission : Bool | Nil
- #has_permission=(has_permission : Bool | Nil)
- #is_callable : Bool | Nil
- #is_callable=(is_callable : Bool | Nil)
- #is_callable_webrtc : Bool | Nil
- #is_callable_webrtc=(is_callable_webrtc : Bool | Nil)
- #is_pushable : Bool | Nil
- #is_pushable=(is_pushable : Bool | Nil)
- #reason_code : Int64 | Nil
- #reason_code=(reason_code : Int64 | Nil)
- #reason_description : String | Nil
- #reason_description=(reason_description : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(has_mobile_app : Bool | Nil = nil, has_permission : Bool | Nil = nil, is_callable : Bool | Nil = nil, is_callable_webrtc : Bool | Nil = nil, is_pushable : Bool | Nil = nil, reason_code : Int64 | Nil = nil, reason_description : String | Nil = nil)
#