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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Screen
Returns a new instance of Screen
1598 1599 1600 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1598 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
1581 1582 1583 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1581 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
1586 1587 1588 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1586 def locale @locale end |
#model ⇒ String
Model of the device that the screenshot was taken on. Required.
Corresponds to the JSON property model
1591 1592 1593 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1591 def model @model end |
#version ⇒ String
OS version of the device that the screenshot was taken on. Required.
Corresponds to the JSON property version
1596 1597 1598 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1596 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1603 1604 1605 1606 1607 1608 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1603 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 |