struct
TwitterAds::Proto::StatsAccount
- TwitterAds::Proto::StatsAccount
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
twitter-ads/proto/stats_account.pb.crConstant Summary
-
FIELDS =
{1 => {name: :account_id, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :data_type, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 3 => {name: :time_series_length, pb_type: :int64, crystal_type: Int64, cast_type: Int64, native: true, optional: false, repeated: false, default: nil, packed: false}, 4 => {name: :data, pb_type: StatsAccountIdData, crystal_type: StatsAccountIdData, cast_type: Array(StatsAccountIdData)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 5 => {name: :request, pb_type: StatsAccountRequest, crystal_type: StatsAccountRequest, cast_type: StatsAccountRequest, native: false, optional: false, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode) -
Fields =
{} of String => Field
Constructors
- .new(account_id : String, data_type : String, time_series_length : Int64, request : StatsAccountRequest, data : Array(StatsAccountIdData) | Nil = nil)
- .new(buf : Protobuf::Buffer)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #account_id : String
- #account_id=(account_id : String)
- #data : Array(StatsAccountIdData) | Nil
- #data=(data : Array(StatsAccountIdData) | Nil)
- #data=(data : Array(StatsAccountIdData) | Nil)
- #data_type : String
- #data_type=(data_type : String)
- #request : StatsAccountRequest
- #request=(request : StatsAccountRequest)
- #time_series_length : Int64
- #time_series_length=(time_series_length : Int64)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(account_id : String, data_type : String, time_series_length : Int64, request : StatsAccountRequest, data : Array(StatsAccountIdData) | Nil = nil)
#