struct Facebook::Proto::AdAccountCreationRequest
- Facebook::Proto::AdAccountCreationRequest
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdAccountCreationRequest.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: :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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #ad_accounts_currency : String | Nil
- #ad_accounts_currency=(ad_accounts_currency : String | Nil)
- #additional_comment : String | Nil
- #additional_comment=(additional_comment : String | Nil)
- #address_in_chinese : String | Nil
- #address_in_chinese=(address_in_chinese : String | Nil)
- #address_in_local_language : String | Nil
- #address_in_local_language=(address_in_local_language : String | Nil)
- #advertiser_business_id : String | Nil
- #advertiser_business_id=(advertiser_business_id : String | Nil)
- #business_registration_id : String | Nil
- #business_registration_id=(business_registration_id : String | Nil)
- #chinese_legal_entity_name : String | Nil
- #chinese_legal_entity_name=(chinese_legal_entity_name : String | Nil)
- #credit_card_id : String | Nil
- #credit_card_id=(credit_card_id : String | Nil)
- #english_legal_entity_name : String | Nil
- #english_legal_entity_name=(english_legal_entity_name : String | Nil)
- #extended_credit_id : String | Nil
- #extended_credit_id=(extended_credit_id : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #is_smb : Bool | Nil
- #is_smb=(is_smb : Bool | Nil)
- #is_test : Bool | Nil
- #is_test=(is_test : Bool | Nil)
- #is_under_authorization : Bool | Nil
- #is_under_authorization=(is_under_authorization : Bool | Nil)
- #legal_entity_name_in_local_language : String | Nil
- #legal_entity_name_in_local_language=(legal_entity_name_in_local_language : String | Nil)
- #oe_request_id : String | Nil
- #oe_request_id=(oe_request_id : String | Nil)
- #official_website_url : String | Nil
- #official_website_url=(official_website_url : String | Nil)
- #planning_agency_business_id : String | Nil
- #planning_agency_business_id=(planning_agency_business_id : String | Nil)
- #promotable_app_ids : Array(String) | Nil
- #promotable_app_ids=(promotable_app_ids : Array(String) | Nil)
- #promotable_app_ids=(promotable_app_ids : Array(String) | Nil)
- #promotable_page_ids : Array(String) | Nil
- #promotable_page_ids=(promotable_page_ids : Array(String) | Nil)
- #promotable_page_ids=(promotable_page_ids : Array(String) | Nil)
- #promotable_page_urls : Array(String) | Nil
- #promotable_page_urls=(promotable_page_urls : Array(String) | Nil)
- #promotable_page_urls=(promotable_page_urls : Array(String) | Nil)
- #promotable_urls : Array(String) | Nil
- #promotable_urls=(promotable_urls : Array(String) | Nil)
- #promotable_urls=(promotable_urls : Array(String) | Nil)
- #status : String | Nil
- #status=(status : String | Nil)
- #subvertical : String | Nil
- #subvertical=(subvertical : String | Nil)
- #time_created : Datetime | Nil
- #time_created=(time_created : Datetime | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #vertical : String | Nil
- #vertical=(vertical : String | Nil)
Constructor Detail
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)
#