struct Facebook::Proto::PartnerStudy

Included Modules

Defined in:

cli/proto/facebook/PartnerStudy.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: :additional_info, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :brand, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :client_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :emails, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :input_ids, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 7 => {name: :is_export, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :location, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :match_file_ds, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :partner_defined_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :partner_household_graph_dataset_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :study_end_date, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :study_start_date, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :study_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :submit_date, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, 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, additional_info : String | Nil = nil, brand : String | Nil = nil, client_name : String | Nil = nil, emails : String | Nil = nil, input_ids : Array(String) | Nil = nil, is_export : Bool | Nil = nil, location : String | Nil = nil, match_file_ds : String | Nil = nil, name : String | Nil = nil, partner_defined_id : String | Nil = nil, partner_household_graph_dataset_id : String | Nil = nil, status : String | Nil = nil, study_end_date : Datetime | Nil = nil, study_start_date : Datetime | Nil = nil, study_type : String | Nil = nil, submit_date : Datetime | 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 additional_info : String | Nil #

def additional_info=(additional_info : String | Nil) #

def brand : String | Nil #

def brand=(brand : String | Nil) #

def client_name : String | Nil #

def client_name=(client_name : String | Nil) #

def emails : String | Nil #

def emails=(emails : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def input_ids : Array(String) | Nil #

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

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

def is_export : Bool | Nil #

def is_export=(is_export : Bool | Nil) #

def location : String | Nil #

def location=(location : String | Nil) #

def match_file_ds : String | Nil #

def match_file_ds=(match_file_ds : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def partner_defined_id : String | Nil #

def partner_defined_id=(partner_defined_id : String | Nil) #

def partner_household_graph_dataset_id : String | Nil #

def partner_household_graph_dataset_id=(partner_household_graph_dataset_id : String | Nil) #

def status : String | Nil #

def status=(status : String | Nil) #

def study_end_date : Datetime | Nil #

def study_end_date=(study_end_date : Datetime | Nil) #

def study_start_date : Datetime | Nil #

def study_start_date=(study_start_date : Datetime | Nil) #

def study_type : String | Nil #

def study_type=(study_type : String | Nil) #

def submit_date : Datetime | Nil #

def submit_date=(submit_date : Datetime | Nil) #

def to_hash #

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

def to_protobuf #