Class: Aws::ConnectCases::Types::RelatedItemContent
- Inherits:
-
Struct
- Object
- Struct
- Aws::ConnectCases::Types::RelatedItemContent
- Defined in:
- gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb
Overview
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.
Defined Under Namespace
Classes: Comment, Contact, File, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#comment ⇒ Types::CommentContent
Represents the content of a comment to be returned to agents.
-
#contact ⇒ Types::ContactContent
Represents the content of a contact to be returned to agents.
-
#file ⇒ Types::FileContent
Represents the content of a File to be returned to agents.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#comment ⇒ Types::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 |
#contact ⇒ Types::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 |
#file ⇒ Types::FileContent
Represents the content of a File 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 |
#unknown ⇒ Object
Returns the value of attribute unknown
1991 1992 1993 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 1991 def unknown @unknown end |