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