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



1594
1595
1596
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1594

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)


1577
1578
1579
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1577

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)


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

def locale
  @locale
end

#modelString

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

Returns:

  • (String)


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

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)


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

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1599
1600
1601
1602
1603
1604
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1599

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