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

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_referenceString

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

Returns:

  • (String)


2470
2471
2472
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2470

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)


2475
2476
2477
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2475

def locale
  @locale
end

#modelString

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

Returns:

  • (String)


2480
2481
2482
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2480

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)


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