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