struct Facebook::Proto::AdReportSpec

Included Modules

Defined in:

cli/proto/facebook/AdReportSpec.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: :actions_group_by, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 4 => {name: :creation_source, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :data_columns, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 6 => {name: :date_preset, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :export_columns, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 8 => {name: :format_version, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :report_schedule_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :sort_by, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :sort_dir, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :time_increment, pb_type: :string, crystal_type: String, cast_type: String?, 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, actions_group_by : Array(String) | Nil = nil, creation_source : String | Nil = nil, data_columns : Array(String) | Nil = nil, date_preset : String | Nil = nil, export_columns : Array(String) | Nil = nil, format_version : Int64 | Nil = nil, name : String | Nil = nil, report_schedule_id : String | Nil = nil, sort_by : String | Nil = nil, sort_dir : String | Nil = nil, time_increment : 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 account_id : String | Nil #

def account_id=(account_id : String | Nil) #

def actions_group_by : Array(String) | Nil #

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

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

def creation_source : String | Nil #

def creation_source=(creation_source : String | Nil) #

def data_columns : Array(String) | Nil #

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

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

def date_preset : String | Nil #

def date_preset=(date_preset : String | Nil) #

def export_columns : Array(String) | Nil #

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

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

def format_version : Int64 | Nil #

def format_version=(format_version : Int64 | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def report_schedule_id : String | Nil #

def report_schedule_id=(report_schedule_id : String | Nil) #

def sort_by : String | Nil #

def sort_by=(sort_by : String | Nil) #

def sort_dir : String | Nil #

def sort_dir=(sort_dir : String | Nil) #

def time_increment : String | Nil #

def time_increment=(time_increment : String | Nil) #

def to_hash #

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

def to_protobuf #