Class: Aws::ConnectCases::Types::UserUnion

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

Overview

Note:

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

Note:

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

Represents the entity that performed the action.

Direct Known Subclasses

CustomEntity, Unknown, UserArn

Defined Under Namespace

Classes: CustomEntity, Unknown, UserArn

Constant Summary collapse

SENSITIVE =
[:custom_entity]

Instance Attribute Summary collapse

Instance Attribute Details

#custom_entityString

Any provided entity.

Returns:

  • (String)


3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 3369

class UserUnion < Struct.new(
  :custom_entity,
  :user_arn,
  :unknown)
  SENSITIVE = [:custom_entity]
  include Aws::Structure
  include Aws::Structure::Union

  class CustomEntity < UserUnion; end
  class UserArn < UserUnion; end
  class Unknown < UserUnion; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3369
3370
3371
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 3369

def unknown
  @unknown
end

#user_arnString

Represents the Amazon Connect ARN of the user.

Returns:

  • (String)


3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 3369

class UserUnion < Struct.new(
  :custom_entity,
  :user_arn,
  :unknown)
  SENSITIVE = [:custom_entity]
  include Aws::Structure
  include Aws::Structure::Union

  class CustomEntity < UserUnion; end
  class UserArn < UserUnion; end
  class Unknown < UserUnion; end
end