struct Facebook::Proto::DirectDeal
- Facebook::Proto::DirectDeal
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/DirectDeal.pb.crConstant Summary
-
FIELDS =
{1 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :adbreaks_enabled, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :advertiser_lead_email, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :advertiser_page, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :cpe_amount, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :cpe_currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :end_time, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :lifetime_budget_amount, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :lifetime_budget_currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :lifetime_impressions, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :pages, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 13 => {name: :placements, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 14 => {name: :priced_by, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :publisher_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :review_requirement, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :sales_lead_email, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :start_time, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :targeting, pb_type: Targeting, crystal_type: Targeting, cast_type: Targeting?, native: false, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :third_party_ids, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 22 => {name: :third_party_integrated_deal, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, 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(id : String | Nil = nil, adbreaks_enabled : Bool | Nil = nil, advertiser_lead_email : String | Nil = nil, advertiser_page : String | Nil = nil, cpe_amount : Int64 | Nil = nil, cpe_currency : String | Nil = nil, end_time : Int64 | Nil = nil, lifetime_budget_amount : Int64 | Nil = nil, lifetime_budget_currency : String | Nil = nil, lifetime_impressions : Int64 | Nil = nil, name : String | Nil = nil, pages : Array(String) | Nil = nil, placements : Array(String) | Nil = nil, priced_by : String | Nil = nil, publisher_name : String | Nil = nil, review_requirement : String | Nil = nil, sales_lead_email : String | Nil = nil, start_time : Int64 | Nil = nil, status : String | Nil = nil, targeting : Targeting | Nil = nil, third_party_ids : Array(String) | Nil = nil, third_party_integrated_deal : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #adbreaks_enabled : Bool | Nil
- #adbreaks_enabled=(adbreaks_enabled : Bool | Nil)
- #advertiser_lead_email : String | Nil
- #advertiser_lead_email=(advertiser_lead_email : String | Nil)
- #advertiser_page : String | Nil
- #advertiser_page=(advertiser_page : String | Nil)
- #cpe_amount : Int64 | Nil
- #cpe_amount=(cpe_amount : Int64 | Nil)
- #cpe_currency : String | Nil
- #cpe_currency=(cpe_currency : String | Nil)
- #end_time : Int64 | Nil
- #end_time=(end_time : Int64 | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #lifetime_budget_amount : Int64 | Nil
- #lifetime_budget_amount=(lifetime_budget_amount : Int64 | Nil)
- #lifetime_budget_currency : String | Nil
- #lifetime_budget_currency=(lifetime_budget_currency : String | Nil)
- #lifetime_impressions : Int64 | Nil
- #lifetime_impressions=(lifetime_impressions : Int64 | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #pages : Array(String) | Nil
- #pages=(pages : Array(String) | Nil)
- #pages=(pages : Array(String) | Nil)
- #placements : Array(String) | Nil
- #placements=(placements : Array(String) | Nil)
- #placements=(placements : Array(String) | Nil)
- #priced_by : String | Nil
- #priced_by=(priced_by : String | Nil)
- #publisher_name : String | Nil
- #publisher_name=(publisher_name : String | Nil)
- #review_requirement : String | Nil
- #review_requirement=(review_requirement : String | Nil)
- #sales_lead_email : String | Nil
- #sales_lead_email=(sales_lead_email : String | Nil)
- #start_time : Int64 | Nil
- #start_time=(start_time : Int64 | Nil)
- #status : String | Nil
- #status=(status : String | Nil)
- #targeting : Targeting | Nil
- #targeting=(targeting : Targeting | Nil)
- #third_party_ids : Array(String) | Nil
- #third_party_ids=(third_party_ids : Array(String) | Nil)
- #third_party_ids=(third_party_ids : Array(String) | Nil)
- #third_party_integrated_deal : Bool | Nil
- #third_party_integrated_deal=(third_party_integrated_deal : Bool | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(id : String | Nil = nil, adbreaks_enabled : Bool | Nil = nil, advertiser_lead_email : String | Nil = nil, advertiser_page : String | Nil = nil, cpe_amount : Int64 | Nil = nil, cpe_currency : String | Nil = nil, end_time : Int64 | Nil = nil, lifetime_budget_amount : Int64 | Nil = nil, lifetime_budget_currency : String | Nil = nil, lifetime_impressions : Int64 | Nil = nil, name : String | Nil = nil, pages : Array(String) | Nil = nil, placements : Array(String) | Nil = nil, priced_by : String | Nil = nil, publisher_name : String | Nil = nil, review_requirement : String | Nil = nil, sales_lead_email : String | Nil = nil, start_time : Int64 | Nil = nil, status : String | Nil = nil, targeting : Targeting | Nil = nil, third_party_ids : Array(String) | Nil = nil, third_party_integrated_deal : Bool | Nil = nil)
#