Class: Google::Apis::ToolresultsV1beta3::Screen

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_referenceString

File reference of the png file. Required. Corresponds to the JSON property fileReference

Returns:

  • (String)


1581
1582
1583
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1581

def file_reference
  @file_reference
end

#localeString

Locale of the device that the screenshot was taken on. Required. Corresponds to the JSON property locale

Returns:

  • (String)


1586
1587
1588
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1586

def locale
  @locale
end

#modelString

Model of the device that the screenshot was taken on. Required. Corresponds to the JSON property model

Returns:

  • (String)


1591
1592
1593
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1591

def model
  @model
end

#versionString

OS version of the device that the screenshot was taken on. Required. Corresponds to the JSON property version

Returns:

  • (String)


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