struct Facebook::Proto::InvoiceCampaign
- Facebook::Proto::InvoiceCampaign
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/InvoiceCampaign.pb.crConstant Summary
-
FIELDS =
{1 => {name: :ad_account_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :campaign_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :campaign_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :clicks, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :conversions, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :impressions, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :tags, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
-
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(ad_account_id : String | Nil = nil, campaign_id : String | Nil = nil, campaign_name : String | Nil = nil, clicks : Int64 | Nil = nil, conversions : Int64 | Nil = nil, impressions : Int64 | Nil = nil, tags : Array(String) | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #ad_account_id : String | Nil
- #ad_account_id=(ad_account_id : String | Nil)
- #campaign_id : String | Nil
- #campaign_id=(campaign_id : String | Nil)
- #campaign_name : String | Nil
- #campaign_name=(campaign_name : String | Nil)
- #clicks : Int64 | Nil
- #clicks=(clicks : Int64 | Nil)
- #conversions : Int64 | Nil
- #conversions=(conversions : Int64 | Nil)
- #impressions : Int64 | Nil
- #impressions=(impressions : Int64 | Nil)
- #tags : Array(String) | Nil
- #tags=(tags : Array(String) | Nil)
- #tags=(tags : Array(String) | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(ad_account_id : String | Nil = nil, campaign_id : String | Nil = nil, campaign_name : String | Nil = nil, clicks : Int64 | Nil = nil, conversions : Int64 | Nil = nil, impressions : Int64 | Nil = nil, tags : Array(String) | Nil = nil)
#