Class: Aws::ConnectCases::Types::RelatedItemContent

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

Overview

Note:

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

Represents the content of a particular type of related item.

Direct Known Subclasses

Comment, Contact, File, Unknown

Defined Under Namespace

Classes: Comment, Contact, File, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commentTypes::CommentContent

Represents the content of a comment to be returned to agents.



1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 1991

class RelatedItemContent < Struct.new(
  :comment,
  :contact,
  :file,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Comment < RelatedItemContent; end
  class Contact < RelatedItemContent; end
  class File < RelatedItemContent; end
  class Unknown < RelatedItemContent; end
end

#contactTypes::ContactContent

Represents the content of a contact to be returned to agents.



1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 1991

class RelatedItemContent < Struct.new(
  :comment,
  :contact,
  :file,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Comment < RelatedItemContent; end
  class Contact < RelatedItemContent; end
  class File < RelatedItemContent; end
  class Unknown < RelatedItemContent; end
end

#fileTypes::FileContent

Represents the content of a File to be returned to agents.

Returns:



1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 1991

class RelatedItemContent < Struct.new(
  :comment,
  :contact,
  :file,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Comment < RelatedItemContent; end
  class Contact < RelatedItemContent; end
  class File < RelatedItemContent; end
  class Unknown < RelatedItemContent; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1991
1992
1993
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 1991

def unknown
  @unknown
end