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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/toolresults_v1beta3/classes.rb,
lib/google/apis/toolresults_v1beta3/representations.rb,
lib/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.



606
607
608
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 606

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)


599
600
601
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 599

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>)


604
605
606
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 604

def screen_ids
  @screen_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



611
612
613
614
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 611

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