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, 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
Customtype 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.
2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2820 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.
2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2820 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.
2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2820 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.
2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2820 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.
2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2820 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.
2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2820 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
2820 2821 2822 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2820 def unknown @unknown end |