class Google::Apis::TestingV1::Orientation
Screen orientation of the device.
Attributes
id[RW]
The id for this orientation. Example: “portrait”. Corresponds to the JSON property `id` @return [String]
name[RW]
A human-friendly name for this orientation. Example: “portrait”. Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/testing_v1/classes.rb, line 1722 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/testing_v1/classes.rb, line 1727 def update!(**args) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @tags = args[:tags] if args.key?(:tags) end