struct
TwitterAds::Proto::ReachEstimate
- TwitterAds::Proto::ReachEstimate
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
twitter-ads/proto/reach_estimate.pb.crConstant Summary
-
FIELDS =
{1 => {name: :impressions, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :count, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :infinite_bid_count, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :engagements, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :estimated_daily_spend_local_micro, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :account_id, 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(impressions : String | Nil = nil, count : String | Nil = nil, infinite_bid_count : String | Nil = nil, engagements : String | Nil = nil, estimated_daily_spend_local_micro : String | Nil = nil, account_id : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #account_id : String | Nil
- #account_id=(account_id : String | Nil)
- #count : String | Nil
- #count=(count : String | Nil)
- #engagements : String | Nil
- #engagements=(engagements : String | Nil)
- #estimated_daily_spend_local_micro : String | Nil
- #estimated_daily_spend_local_micro=(estimated_daily_spend_local_micro : String | Nil)
- #impressions : String | Nil
- #impressions=(impressions : String | Nil)
- #infinite_bid_count : String | Nil
- #infinite_bid_count=(infinite_bid_count : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(impressions : String | Nil = nil, count : String | Nil = nil, infinite_bid_count : String | Nil = nil, engagements : String | Nil = nil, estimated_daily_spend_local_micro : String | Nil = nil, account_id : String | Nil = nil)
#