struct Facebook::Proto::LeadgenForm

Included Modules

Defined in:

cli/proto/facebook/LeadgenForm.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: :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

Class Method Summary

Instance Method Summary

Constructor Detail

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

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) #

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 account_id : String | Nil #

def account_id=(account_id : String | Nil) #

def allow_organic_lead : Bool | Nil #

def allow_organic_lead=(allow_organic_lead : Bool | Nil) #

def block_display_for_non_targeted_viewer : Bool | Nil #

def block_display_for_non_targeted_viewer=(block_display_for_non_targeted_viewer : Bool | Nil) #

def created_time : Datetime | Nil #

def created_time=(created_time : Datetime | Nil) #

def creator_id : Int64 | Nil #

def creator_id=(creator_id : Int64 | Nil) #

def cusomized_tcpa_content : String | Nil #

def cusomized_tcpa_content=(cusomized_tcpa_content : String | Nil) #

def expired_leads_count : Int64 | Nil #

def expired_leads_count=(expired_leads_count : Int64 | Nil) #

def extra_details : Array(String) | Nil #

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

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

def follow_up_action_text : String | Nil #

def follow_up_action_text=(follow_up_action_text : String | Nil) #

def follow_up_action_url : String | Nil #

def follow_up_action_url=(follow_up_action_url : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def is_optimized_for_quality : Bool | Nil #

def is_optimized_for_quality=(is_optimized_for_quality : Bool | Nil) #

def leadgen_export_csv_url : String | Nil #

def leadgen_export_csv_url=(leadgen_export_csv_url : String | Nil) #

def leads_count : Int64 | Nil #

def leads_count=(leads_count : Int64 | Nil) #

def locale : String | Nil #

def locale=(locale : String | Nil) #

def messenger_welcome_message : String | Nil #

def messenger_welcome_message=(messenger_welcome_message : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def organic_leads_count : Int64 | Nil #

def organic_leads_count=(organic_leads_count : Int64 | Nil) #

def page_id : String | Nil #

def page_id=(page_id : String | Nil) #

def privacy_policy_url : String | Nil #

def privacy_policy_url=(privacy_policy_url : String | Nil) #

def question_page_custom_headline : String | Nil #

def question_page_custom_headline=(question_page_custom_headline : String | Nil) #

def status : String | Nil #

def status=(status : String | Nil) #

def tcpa_compliance : Bool | Nil #

def tcpa_compliance=(tcpa_compliance : Bool | Nil) #

def to_hash #

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

def to_protobuf #