struct Facebook::Proto::AdAccountCreationRequest

Included Modules

Defined in:

cli/proto/facebook/AdAccountCreationRequest.pb.cr

Constant 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: :ad_accounts_currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :additional_comment, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :address_in_chinese, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :address_in_local_language, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :business_registration_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :chinese_legal_entity_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :credit_card_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :english_legal_entity_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :extended_credit_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :is_smb, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :is_test, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :is_under_authorization, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :legal_entity_name_in_local_language, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :oe_request_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :official_website_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :planning_agency_business_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :promotable_app_ids, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 19 => {name: :promotable_page_ids, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 20 => {name: :promotable_urls, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 21 => {name: :status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :subvertical, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :time_created, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :vertical, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :advertiser_business_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :promotable_page_urls, 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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(id : String | Nil = nil, ad_accounts_currency : String | Nil = nil, additional_comment : String | Nil = nil, address_in_chinese : String | Nil = nil, address_in_local_language : String | Nil = nil, business_registration_id : String | Nil = nil, chinese_legal_entity_name : String | Nil = nil, credit_card_id : String | Nil = nil, english_legal_entity_name : String | Nil = nil, extended_credit_id : String | Nil = nil, is_smb : Bool | Nil = nil, is_test : Bool | Nil = nil, is_under_authorization : Bool | Nil = nil, legal_entity_name_in_local_language : String | Nil = nil, oe_request_id : String | Nil = nil, official_website_url : String | Nil = nil, planning_agency_business_id : String | Nil = nil, promotable_app_ids : Array(String) | Nil = nil, promotable_page_ids : Array(String) | Nil = nil, promotable_urls : Array(String) | Nil = nil, status : String | Nil = nil, subvertical : String | Nil = nil, time_created : Datetime | Nil = nil, vertical : String | Nil = nil, advertiser_business_id : String | Nil = nil, promotable_page_urls : Array(String) | Nil = nil) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def ad_accounts_currency : String | Nil #

def ad_accounts_currency=(ad_accounts_currency : String | Nil) #

def additional_comment : String | Nil #

def additional_comment=(additional_comment : String | Nil) #

def address_in_chinese : String | Nil #

def address_in_chinese=(address_in_chinese : String | Nil) #

def address_in_local_language : String | Nil #

def address_in_local_language=(address_in_local_language : String | Nil) #

def advertiser_business_id : String | Nil #

def advertiser_business_id=(advertiser_business_id : String | Nil) #

def business_registration_id : String | Nil #

def business_registration_id=(business_registration_id : String | Nil) #

def chinese_legal_entity_name : String | Nil #

def chinese_legal_entity_name=(chinese_legal_entity_name : String | Nil) #

def credit_card_id : String | Nil #

def credit_card_id=(credit_card_id : String | Nil) #

def english_legal_entity_name : String | Nil #

def english_legal_entity_name=(english_legal_entity_name : String | Nil) #

def extended_credit_id : String | Nil #

def extended_credit_id=(extended_credit_id : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def is_smb : Bool | Nil #

def is_smb=(is_smb : Bool | Nil) #

def is_test : Bool | Nil #

def is_test=(is_test : Bool | Nil) #

def is_under_authorization : Bool | Nil #

def is_under_authorization=(is_under_authorization : Bool | Nil) #

def legal_entity_name_in_local_language : String | Nil #

def legal_entity_name_in_local_language=(legal_entity_name_in_local_language : String | Nil) #

def oe_request_id : String | Nil #

def oe_request_id=(oe_request_id : String | Nil) #

def official_website_url : String | Nil #

def official_website_url=(official_website_url : String | Nil) #

def planning_agency_business_id : String | Nil #

def planning_agency_business_id=(planning_agency_business_id : String | Nil) #

def promotable_app_ids : Array(String) | Nil #

def promotable_app_ids=(promotable_app_ids : Array(String) | Nil) #

def promotable_app_ids=(promotable_app_ids : Array(String) | Nil) #

def promotable_page_ids : Array(String) | Nil #

def promotable_page_ids=(promotable_page_ids : Array(String) | Nil) #

def promotable_page_ids=(promotable_page_ids : Array(String) | Nil) #

def promotable_page_urls : Array(String) | Nil #

def promotable_page_urls=(promotable_page_urls : Array(String) | Nil) #

def promotable_page_urls=(promotable_page_urls : Array(String) | Nil) #

def promotable_urls : Array(String) | Nil #

def promotable_urls=(promotable_urls : Array(String) | Nil) #

def promotable_urls=(promotable_urls : Array(String) | Nil) #

def status : String | Nil #

def status=(status : String | Nil) #

def subvertical : String | Nil #

def subvertical=(subvertical : String | Nil) #

def time_created : Datetime | Nil #

def time_created=(time_created : Datetime | Nil) #

def to_hash #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def vertical : String | Nil #

def vertical=(vertical : String | Nil) #