Class: Google::Apis::ToolresultsV1beta3::Screen
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::Screen
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/toolresults_v1beta3/classes.rb,
generated/google/apis/toolresults_v1beta3/representations.rb,
generated/google/apis/toolresults_v1beta3/representations.rb
Instance Attribute Summary collapse
-
#file_reference ⇒ String
File reference of the png file.
-
#locale ⇒ String
Locale of the device that the screenshot was taken on.
-
#model ⇒ String
Model of the device that the screenshot was taken on.
-
#version ⇒ String
OS version of the device that the screenshot was taken on.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Screen
constructor
A new instance of Screen.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Screen
Returns a new instance of Screen.
2487 2488 2489 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2487 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_reference ⇒ String
File reference of the png file. Required.
Corresponds to the JSON property fileReference
2470 2471 2472 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2470 def file_reference @file_reference end |
#locale ⇒ String
Locale of the device that the screenshot was taken on. Required.
Corresponds to the JSON property locale
2475 2476 2477 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2475 def locale @locale end |
#model ⇒ String
Model of the device that the screenshot was taken on. Required.
Corresponds to the JSON property model
2480 2481 2482 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2480 def model @model end |
#version ⇒ String
OS version of the device that the screenshot was taken on. Required.
Corresponds to the JSON property version
2485 2486 2487 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2485 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2492 2493 2494 2495 2496 2497 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2492 def update!(**args) @file_reference = args[:file_reference] if args.key?(:file_reference) @locale = args[:locale] if args.key?(:locale) @model = args[:model] if args.key?(:model) @version = args[:version] if args.key?(:version) end |