Class: Aws::ConnectCases::Types::RelatedItemContent
- Inherits:
-
Struct
- Object
- Struct
- Aws::ConnectCases::Types::RelatedItemContent
- Includes:
- Structure, Structure::Union
- Defined in:
- 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, ConnectCase, Contact, Custom, File, Sla, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#comment ⇒ Types::CommentContent
Represents the content of a comment to be returned to agents.
-
#connect_case ⇒ Types::ConnectCaseContent
Represents the Amazon Connect case to be created as a related item.
-
#contact ⇒ Types::ContactContent
Represents the content of a contact to be returned to agents.
-
#custom ⇒ Types::CustomContent
Represents the content of a ‘Custom` type related item.
-
#file ⇒ Types::FileContent
Represents the content of a File to be returned to agents.
-
#sla ⇒ Types::SlaContent
Represents the content of an SLA 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.
2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 |
# File 'lib/aws-sdk-connectcases/types.rb', line 2756 class RelatedItemContent < Struct.new( :contact, :comment, :file, :sla, :connect_case, :custom, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Contact < RelatedItemContent; end class Comment < RelatedItemContent; end class File < RelatedItemContent; end class Sla < RelatedItemContent; end class ConnectCase < RelatedItemContent; end class Custom < RelatedItemContent; end class Unknown < RelatedItemContent; end end |
#connect_case ⇒ Types::ConnectCaseContent
Represents the Amazon Connect case to be created as a related item.
2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 |
# File 'lib/aws-sdk-connectcases/types.rb', line 2756 class RelatedItemContent < Struct.new( :contact, :comment, :file, :sla, :connect_case, :custom, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Contact < RelatedItemContent; end class Comment < RelatedItemContent; end class File < RelatedItemContent; end class Sla < RelatedItemContent; end class ConnectCase < RelatedItemContent; end class Custom < RelatedItemContent; end class Unknown < RelatedItemContent; end end |
#contact ⇒ Types::ContactContent
Represents the content of a contact to be returned to agents.
2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 |
# File 'lib/aws-sdk-connectcases/types.rb', line 2756 class RelatedItemContent < Struct.new( :contact, :comment, :file, :sla, :connect_case, :custom, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Contact < RelatedItemContent; end class Comment < RelatedItemContent; end class File < RelatedItemContent; end class Sla < RelatedItemContent; end class ConnectCase < RelatedItemContent; end class Custom < RelatedItemContent; end class Unknown < RelatedItemContent; end end |
#custom ⇒ Types::CustomContent
Represents the content of a ‘Custom` type related item.
2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 |
# File 'lib/aws-sdk-connectcases/types.rb', line 2756 class RelatedItemContent < Struct.new( :contact, :comment, :file, :sla, :connect_case, :custom, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Contact < RelatedItemContent; end class Comment < RelatedItemContent; end class File < RelatedItemContent; end class Sla < RelatedItemContent; end class ConnectCase < RelatedItemContent; end class Custom < RelatedItemContent; end class Unknown < RelatedItemContent; end end |
#file ⇒ Types::FileContent
Represents the content of a File to be returned to agents.
2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 |
# File 'lib/aws-sdk-connectcases/types.rb', line 2756 class RelatedItemContent < Struct.new( :contact, :comment, :file, :sla, :connect_case, :custom, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Contact < RelatedItemContent; end class Comment < RelatedItemContent; end class File < RelatedItemContent; end class Sla < RelatedItemContent; end class ConnectCase < RelatedItemContent; end class Custom < RelatedItemContent; end class Unknown < RelatedItemContent; end end |
#sla ⇒ Types::SlaContent
Represents the content of an SLA to be returned to agents.
2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 |
# File 'lib/aws-sdk-connectcases/types.rb', line 2756 class RelatedItemContent < Struct.new( :contact, :comment, :file, :sla, :connect_case, :custom, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Contact < RelatedItemContent; end class Comment < RelatedItemContent; end class File < RelatedItemContent; end class Sla < RelatedItemContent; end class ConnectCase < RelatedItemContent; end class Custom < RelatedItemContent; end class Unknown < RelatedItemContent; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
2756 2757 2758 |
# File 'lib/aws-sdk-connectcases/types.rb', line 2756 def unknown @unknown end |