Class: Google::Apis::ToolresultsV1beta3::EncounteredNonAndroidUiWidgetScreen

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

Overview

Additional details about encountered screens with elements that are not Android UI widgets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EncounteredNonAndroidUiWidgetScreen

Returns a new instance of EncounteredNonAndroidUiWidgetScreen.



579
580
581
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 579

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#distinct_screensFixnum

Number of encountered distinct screens with non Android UI widgets. Corresponds to the JSON property distinctScreens

Returns:

  • (Fixnum)


572
573
574
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 572

def distinct_screens
  @distinct_screens
end

#screen_idsArray<String>

Subset of screens which contain non Android UI widgets. Corresponds to the JSON property screenIds

Returns:

  • (Array<String>)


577
578
579
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 577

def screen_ids
  @screen_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



584
585
586
587
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 584

def update!(**args)
  @distinct_screens = args[:distinct_screens] if args.key?(:distinct_screens)
  @screen_ids = args[:screen_ids] if args.key?(:screen_ids)
end