Class: Aws::ConnectCases::Types::CaseIdentifierUnion

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

Overview

Note:

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

Identifies a case by its case ID or its reference ID. Specify only one member.

Defined Under Namespace

Classes: CaseId, ReferenceId, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#case_id ⇒ String

The unique identifier of the case.

Returns:

  • (String)


791
792
793
794
795
796
797
798
799
800
801
802
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 791

class CaseIdentifierUnion < Struct.new(
  :case_id,
  :reference_id,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CaseId < CaseIdentifierUnion; end
  class ReferenceId < CaseIdentifierUnion; end
  class Unknown < CaseIdentifierUnion; end
end

#reference_id ⇒ String

The reference ID of the case. Reference IDs are unique within a domain, and uniqueness isn't case sensitive.

Returns:

  • (String)


791
792
793
794
795
796
797
798
799
800
801
802
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 791

class CaseIdentifierUnion < Struct.new(
  :case_id,
  :reference_id,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CaseId < CaseIdentifierUnion; end
  class ReferenceId < CaseIdentifierUnion; end
  class Unknown < CaseIdentifierUnion; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



791
792
793
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 791

def unknown
  @unknown
end