class Google::Apis::CoordinateV1::JobState
Current state of a job.
Attributes
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]
Collection of custom fields. Corresponds to the JSON property `customFields` @return [Google::Apis::CoordinateV1::CustomFields]
Customer name. Corresponds to the JSON property `customerName` @return [String]
Customer phone number. Corresponds to the JSON property `customerPhoneNumber` @return [String]
Identifies this object as a job state. Corresponds to the JSON property `kind` @return [String]
Location of a job. Corresponds to the JSON property `location` @return [Google::Apis::CoordinateV1::Location]
Note added to the job. Corresponds to the JSON property `note` @return [Array<String>]
Job progress. Corresponds to the JSON property `progress` @return [String]
Job title. Corresponds to the JSON property `title` @return [String]
Public Class Methods
# File generated/google/apis/coordinate_v1/classes.rb, line 348 def initialize(**args) update!(**args) end
Public Instance Methods
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