Class: Google::Apis::CoordinateV1::JobState
- Inherits:
-
Object
- Object
- Google::Apis::CoordinateV1::JobState
- Defined in:
- generated/google/apis/coordinate_v1/classes.rb,
generated/google/apis/coordinate_v1/representations.rb,
generated/google/apis/coordinate_v1/representations.rb
Overview
Current state of a job.
Instance Attribute Summary collapse
-
#assignee ⇒ String
Email address of the assignee, or the string "DELETED_USER" if the account is no longer available.
-
#custom_fields ⇒ Google::Apis::CoordinateV1::CustomFields
Collection of custom fields.
-
#customer_name ⇒ String
Customer name.
-
#customer_phone_number ⇒ String
Customer phone number.
-
#kind ⇒ String
Identifies this object as a job state.
-
#location ⇒ Google::Apis::CoordinateV1::Location
Location of a job.
-
#note ⇒ Array<String>
Note added to the job.
-
#progress ⇒ String
Job progress.
-
#title ⇒ String
Job title.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobState
constructor
A new instance of JobState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ JobState
Returns a new instance of JobState
348 349 350 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 348 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assignee ⇒ String
Email address of the assignee, or the string "DELETED_USER" if the account is
no longer available.
Corresponds to the JSON property assignee
306 307 308 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 306 def assignee @assignee end |
#custom_fields ⇒ Google::Apis::CoordinateV1::CustomFields
Collection of custom fields.
Corresponds to the JSON property customFields
311 312 313 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 311 def custom_fields @custom_fields end |
#customer_name ⇒ String
Customer name.
Corresponds to the JSON property customerName
316 317 318 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 316 def customer_name @customer_name end |
#customer_phone_number ⇒ String
Customer phone number.
Corresponds to the JSON property customerPhoneNumber
321 322 323 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 321 def customer_phone_number @customer_phone_number end |
#kind ⇒ String
Identifies this object as a job state.
Corresponds to the JSON property kind
326 327 328 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 326 def kind @kind end |
#location ⇒ Google::Apis::CoordinateV1::Location
Location of a job.
Corresponds to the JSON property location
331 332 333 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 331 def location @location end |
#note ⇒ Array<String>
Note added to the job.
Corresponds to the JSON property note
336 337 338 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 336 def note @note end |
#progress ⇒ String
Job progress.
Corresponds to the JSON property progress
341 342 343 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 341 def progress @progress end |
#title ⇒ String
Job title.
Corresponds to the JSON property title
346 347 348 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 346 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
353 354 355 356 357 358 359 360 361 362 363 |
# 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 |