struct
TwitterAds::Proto::StatsAccountIdData
- TwitterAds::Proto::StatsAccountIdData
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
twitter-ads/proto/stats_account_id_data.pb.crConstant Summary
-
FIELDS =
{1 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :metrics, pb_type: StatsAccountMetrics, crystal_type: StatsAccountMetrics, cast_type: Array(StatsAccountMetrics)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode) -
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(id : String, metrics : Array(StatsAccountMetrics) | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #id : String
- #id=(id : String)
- #metrics : Array(StatsAccountMetrics) | Nil
- #metrics=(metrics : Array(StatsAccountMetrics) | Nil)
- #metrics=(metrics : Array(StatsAccountMetrics) | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf