class Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1MessageLead

Container for message lead specific information.

Attributes

consumer_phone_number[RW]

Consumer phone number associated with the message lead. Corresponds to the JSON property `consumerPhoneNumber` @return [String]

customer_name[RW]

Name of the customer who created the lead. Corresponds to the JSON property `customerName` @return [String]

job_type[RW]

The job type of the specified lead. Corresponds to the JSON property `jobType` @return [String]

postal_code[RW]

The postal code of the customer who created the lead. Corresponds to the JSON property `postalCode` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/localservices_v1/classes.rb, line 301
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/localservices_v1/classes.rb, line 306
def update!(**args)
  @consumer_phone_number = args[:consumer_phone_number] if args.key?(:consumer_phone_number)
  @customer_name = args[:customer_name] if args.key?(:customer_name)
  @job_type = args[:job_type] if args.key?(:job_type)
  @postal_code = args[:postal_code] if args.key?(:postal_code)
end