Class: Aws::ConnectCases::Types::FieldIdentifierUnion

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb

Overview

Note:

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

Identifies a field by its ID or by its name. Specify only one member. Identifying a field by name is supported only in BatchUpdateCase.

Defined Under Namespace

Classes: Id, Name, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#id ⇒ String

The unique identifier of the field.

Returns:

  • (String)


2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2049

class FieldIdentifierUnion < Struct.new(
  :id,
  :name,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Id < FieldIdentifierUnion; end
  class Name < FieldIdentifierUnion; end
  class Unknown < FieldIdentifierUnion; end
end

#name ⇒ String

The name of the field.

Returns:

  • (String)


2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2049

class FieldIdentifierUnion < Struct.new(
  :id,
  :name,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Id < FieldIdentifierUnion; end
  class Name < FieldIdentifierUnion; end
  class Unknown < FieldIdentifierUnion; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



2049
2050
2051
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2049

def unknown
  @unknown
end