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