struct Facebook::Proto::LeadgenForm
- Facebook::Proto::LeadgenForm
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/LeadgenForm.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: :account_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :allow_organic_lead, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :block_display_for_non_targeted_viewer, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :created_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :creator_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :cusomized_tcpa_content, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :expired_leads_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :extra_details, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 10 => {name: :follow_up_action_text, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :follow_up_action_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :is_optimized_for_quality, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :leadgen_export_csv_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :leads_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :locale, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :messenger_welcome_message, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :organic_leads_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :page_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :privacy_policy_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :question_page_custom_headline, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :tcpa_compliance, 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, account_id : String | Nil = nil, allow_organic_lead : Bool | Nil = nil, block_display_for_non_targeted_viewer : Bool | Nil = nil, created_time : Datetime | Nil = nil, creator_id : Int64 | Nil = nil, cusomized_tcpa_content : String | Nil = nil, expired_leads_count : Int64 | Nil = nil, extra_details : Array(String) | Nil = nil, follow_up_action_text : String | Nil = nil, follow_up_action_url : String | Nil = nil, is_optimized_for_quality : Bool | Nil = nil, leadgen_export_csv_url : String | Nil = nil, leads_count : Int64 | Nil = nil, locale : String | Nil = nil, messenger_welcome_message : String | Nil = nil, name : String | Nil = nil, organic_leads_count : Int64 | Nil = nil, page_id : String | Nil = nil, privacy_policy_url : String | Nil = nil, question_page_custom_headline : String | Nil = nil, status : String | Nil = nil, tcpa_compliance : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #account_id : String | Nil
- #account_id=(account_id : String | Nil)
- #allow_organic_lead : Bool | Nil
- #allow_organic_lead=(allow_organic_lead : Bool | Nil)
- #block_display_for_non_targeted_viewer : Bool | Nil
- #block_display_for_non_targeted_viewer=(block_display_for_non_targeted_viewer : Bool | Nil)
- #created_time : Datetime | Nil
- #created_time=(created_time : Datetime | Nil)
- #creator_id : Int64 | Nil
- #creator_id=(creator_id : Int64 | Nil)
- #cusomized_tcpa_content : String | Nil
- #cusomized_tcpa_content=(cusomized_tcpa_content : String | Nil)
- #expired_leads_count : Int64 | Nil
- #expired_leads_count=(expired_leads_count : Int64 | Nil)
- #extra_details : Array(String) | Nil
- #extra_details=(extra_details : Array(String) | Nil)
- #extra_details=(extra_details : Array(String) | Nil)
- #follow_up_action_text : String | Nil
- #follow_up_action_text=(follow_up_action_text : String | Nil)
- #follow_up_action_url : String | Nil
- #follow_up_action_url=(follow_up_action_url : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #is_optimized_for_quality : Bool | Nil
- #is_optimized_for_quality=(is_optimized_for_quality : Bool | Nil)
- #leadgen_export_csv_url : String | Nil
- #leadgen_export_csv_url=(leadgen_export_csv_url : String | Nil)
- #leads_count : Int64 | Nil
- #leads_count=(leads_count : Int64 | Nil)
- #locale : String | Nil
- #locale=(locale : String | Nil)
- #messenger_welcome_message : String | Nil
- #messenger_welcome_message=(messenger_welcome_message : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #organic_leads_count : Int64 | Nil
- #organic_leads_count=(organic_leads_count : Int64 | Nil)
- #page_id : String | Nil
- #page_id=(page_id : String | Nil)
- #privacy_policy_url : String | Nil
- #privacy_policy_url=(privacy_policy_url : String | Nil)
- #question_page_custom_headline : String | Nil
- #question_page_custom_headline=(question_page_custom_headline : String | Nil)
- #status : String | Nil
- #status=(status : String | Nil)
- #tcpa_compliance : Bool | Nil
- #tcpa_compliance=(tcpa_compliance : Bool | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(id : String | Nil = nil, account_id : String | Nil = nil, allow_organic_lead : Bool | Nil = nil, block_display_for_non_targeted_viewer : Bool | Nil = nil, created_time : Datetime | Nil = nil, creator_id : Int64 | Nil = nil, cusomized_tcpa_content : String | Nil = nil, expired_leads_count : Int64 | Nil = nil, extra_details : Array(String) | Nil = nil, follow_up_action_text : String | Nil = nil, follow_up_action_url : String | Nil = nil, is_optimized_for_quality : Bool | Nil = nil, leadgen_export_csv_url : String | Nil = nil, leads_count : Int64 | Nil = nil, locale : String | Nil = nil, messenger_welcome_message : String | Nil = nil, name : String | Nil = nil, organic_leads_count : Int64 | Nil = nil, page_id : String | Nil = nil, privacy_policy_url : String | Nil = nil, question_page_custom_headline : String | Nil = nil, status : String | Nil = nil, tcpa_compliance : Bool | Nil = nil)
#