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