class Google::Apis::CoordinateV1::JobState

Current state of a job.

Attributes

assignee[RW]

Email address of the assignee, or the string “DELETED_USER” if the account is no longer available. Corresponds to the JSON property `assignee` @return [String]

custom_fields[RW]

Collection of custom fields. Corresponds to the JSON property `customFields` @return [Google::Apis::CoordinateV1::CustomFields]

customer_name[RW]

Customer name. Corresponds to the JSON property `customerName` @return [String]

customer_phone_number[RW]

Customer phone number. Corresponds to the JSON property `customerPhoneNumber` @return [String]

kind[RW]

Identifies this object as a job state. Corresponds to the JSON property `kind` @return [String]

location[RW]

Location of a job. Corresponds to the JSON property `location` @return [Google::Apis::CoordinateV1::Location]

note[RW]

Note added to the job. Corresponds to the JSON property `note` @return [Array<String>]

progress[RW]

Job progress. Corresponds to the JSON property `progress` @return [String]

title[RW]

Job title. Corresponds to the JSON property `title` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/coordinate_v1/classes.rb, line 353
def update!(**args)
  @assignee = args[:assignee] if args.key?(:assignee)
  @custom_fields = args[:custom_fields] if args.key?(:custom_fields)
  @customer_name = args[:customer_name] if args.key?(:customer_name)
  @customer_phone_number = args[:customer_phone_number] if args.key?(:customer_phone_number)
  @kind = args[:kind] if args.key?(:kind)
  @location = args[:location] if args.key?(:location)
  @note = args[:note] if args.key?(:note)
  @progress = args[:progress] if args.key?(:progress)
  @title = args[:title] if args.key?(:title)
end