Class: Aws::IoTRoboRunner::Types::Orientation

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-iotroborunner/types.rb

Overview

Note:

Orientation is a union - when making an API calls you must set exactly one of the members.

Note:

Orientation is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Orientation corresponding to the set member.

Worker orientation measured in units clockwise from north.

Direct Known Subclasses

Degrees, Unknown

Defined Under Namespace

Classes: Degrees, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#degreesFloat

Degrees, limited on [0, 360)

Returns:

  • (Float)


819
820
821
822
823
824
825
826
827
828
# File 'lib/aws-sdk-iotroborunner/types.rb', line 819

class Orientation < Struct.new(
  :degrees,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Degrees < Orientation; end
  class Unknown < Orientation; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



819
820
821
# File 'lib/aws-sdk-iotroborunner/types.rb', line 819

def unknown
  @unknown
end