struct Facebook::Proto::ClientTransparencyStatus

Included Modules

Defined in:

cli/proto/facebook/ClientTransparencyStatus.pb.cr

Constant 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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(grace_period_expiration_date : Datetime | Nil = nil, has_owning_business : Bool | Nil = nil, is_satisfied : Bool | Nil = nil) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def grace_period_expiration_date : Datetime | Nil #

def grace_period_expiration_date=(grace_period_expiration_date : Datetime | Nil) #

def has_owning_business : Bool | Nil #

def has_owning_business=(has_owning_business : Bool | Nil) #

def is_satisfied : Bool | Nil #

def is_satisfied=(is_satisfied : Bool | Nil) #

def to_hash #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #