struct Facebook::Proto::AgencyClientDeclaration

Included Modules

Defined in:

cli/proto/facebook/AgencyClientDeclaration.pb.cr

Constant Summary

FIELDS = {1 => {name: :agency_representing_client, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :client_based_in_france, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :client_city, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :client_country_code, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :client_email_address, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :client_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :client_postal_code, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :client_province, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :client_street, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :client_street2, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :has_written_mandate_from_advertiser, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :is_client_paying_invoices, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, 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(agency_representing_client : Int64 | Nil = nil, client_based_in_france : Int64 | Nil = nil, client_city : String | Nil = nil, client_country_code : String | Nil = nil, client_email_address : String | Nil = nil, client_name : String | Nil = nil, client_postal_code : String | Nil = nil, client_province : String | Nil = nil, client_street : String | Nil = nil, client_street2 : String | Nil = nil, has_written_mandate_from_advertiser : Int64 | Nil = nil, is_client_paying_invoices : Int64 | 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 agency_representing_client : Int64 | Nil #

def agency_representing_client=(agency_representing_client : Int64 | Nil) #

def client_based_in_france : Int64 | Nil #

def client_based_in_france=(client_based_in_france : Int64 | Nil) #

def client_city : String | Nil #

def client_city=(client_city : String | Nil) #

def client_country_code : String | Nil #

def client_country_code=(client_country_code : String | Nil) #

def client_email_address : String | Nil #

def client_email_address=(client_email_address : String | Nil) #

def client_name : String | Nil #

def client_name=(client_name : String | Nil) #

def client_postal_code : String | Nil #

def client_postal_code=(client_postal_code : String | Nil) #

def client_province : String | Nil #

def client_province=(client_province : String | Nil) #

def client_street : String | Nil #

def client_street2 : String | Nil #

def client_street2=(client_street2 : String | Nil) #

def client_street=(client_street : String | Nil) #

def has_written_mandate_from_advertiser : Int64 | Nil #

def has_written_mandate_from_advertiser=(has_written_mandate_from_advertiser : Int64 | Nil) #

def is_client_paying_invoices : Int64 | Nil #

def is_client_paying_invoices=(is_client_paying_invoices : Int64 | Nil) #

def to_hash #

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

def to_protobuf #