Class: Google::Apis::ToolresultsV1beta3::UiElementTooDeep

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

A warning that the screen hierarchy is deeper than the recommended threshold.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UiElementTooDeep

Returns a new instance of UiElementTooDeep.



3724
3725
3726
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3724

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

Instance Attribute Details

#depthFixnum

The depth of the screen element Corresponds to the JSON property depth

Returns:

  • (Fixnum)


3712
3713
3714
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3712

def depth
  @depth
end

#screen_idString

The screen id of the element Corresponds to the JSON property screenId

Returns:

  • (String)


3717
3718
3719
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3717

def screen_id
  @screen_id
end

#screen_state_idString

The screen state id of the element Corresponds to the JSON property screenStateId

Returns:

  • (String)


3722
3723
3724
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3722

def screen_state_id
  @screen_state_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3729
3730
3731
3732
3733
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3729

def update!(**args)
  @depth = args[:depth] if args.key?(:depth)
  @screen_id = args[:screen_id] if args.key?(:screen_id)
  @screen_state_id = args[:screen_state_id] if args.key?(:screen_state_id)
end