Class: Aws::Connect::Types::ReferenceSummary
- Inherits:
-
Struct
- Object
- Struct
- Aws::Connect::Types::ReferenceSummary
- Defined in:
- gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb
Overview
ReferenceSummary is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ReferenceSummary corresponding to the set member.
Contains summary information about a reference. ReferenceSummary
contains only one non null field between the URL and attachment based
on the reference type.
Defined Under Namespace
Classes: Attachment, Date, Email, Number, String, Unknown, Url
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#attachment ⇒ Types::AttachmentReference
Information about the reference when the
referenceType
isATTACHMENT
. -
#date ⇒ Types::DateReference
Information about a reference when the
referenceType
isDATE
. -
#email ⇒ Types::EmailReference
Information about a reference when the
referenceType
isEMAIL
. -
#number ⇒ Types::NumberReference
Information about a reference when the
referenceType
isNUMBER
. -
#string ⇒ Types::StringReference
Information about a reference when the
referenceType
isSTRING
. -
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#url ⇒ Types::UrlReference
Information about the reference when the
referenceType
isURL
.
Instance Attribute Details
#attachment ⇒ Types::AttachmentReference
Information about the reference when the referenceType
is
ATTACHMENT
. Otherwise, null.
14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 14813 class ReferenceSummary < Struct.new( :url, :attachment, :string, :number, :date, :email, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Url < ReferenceSummary; end class Attachment < ReferenceSummary; end class String < ReferenceSummary; end class Number < ReferenceSummary; end class Date < ReferenceSummary; end class Email < ReferenceSummary; end class Unknown < ReferenceSummary; end end |
#date ⇒ Types::DateReference
Information about a reference when the referenceType
is DATE
.
Otherwise, null.
14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 14813 class ReferenceSummary < Struct.new( :url, :attachment, :string, :number, :date, :email, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Url < ReferenceSummary; end class Attachment < ReferenceSummary; end class String < ReferenceSummary; end class Number < ReferenceSummary; end class Date < ReferenceSummary; end class Email < ReferenceSummary; end class Unknown < ReferenceSummary; end end |
#email ⇒ Types::EmailReference
Information about a reference when the referenceType
is EMAIL
.
Otherwise, null.
14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 14813 class ReferenceSummary < Struct.new( :url, :attachment, :string, :number, :date, :email, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Url < ReferenceSummary; end class Attachment < ReferenceSummary; end class String < ReferenceSummary; end class Number < ReferenceSummary; end class Date < ReferenceSummary; end class Email < ReferenceSummary; end class Unknown < ReferenceSummary; end end |
#number ⇒ Types::NumberReference
Information about a reference when the referenceType
is NUMBER
.
Otherwise, null.
14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 14813 class ReferenceSummary < Struct.new( :url, :attachment, :string, :number, :date, :email, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Url < ReferenceSummary; end class Attachment < ReferenceSummary; end class String < ReferenceSummary; end class Number < ReferenceSummary; end class Date < ReferenceSummary; end class Email < ReferenceSummary; end class Unknown < ReferenceSummary; end end |
#string ⇒ Types::StringReference
Information about a reference when the referenceType
is STRING
.
Otherwise, null.
14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 14813 class ReferenceSummary < Struct.new( :url, :attachment, :string, :number, :date, :email, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Url < ReferenceSummary; end class Attachment < ReferenceSummary; end class String < ReferenceSummary; end class Number < ReferenceSummary; end class Date < ReferenceSummary; end class Email < ReferenceSummary; end class Unknown < ReferenceSummary; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
14813 14814 14815 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 14813 def unknown @unknown end |
#url ⇒ Types::UrlReference
Information about the reference when the referenceType
is URL
.
Otherwise, null.
14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 14813 class ReferenceSummary < Struct.new( :url, :attachment, :string, :number, :date, :email, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Url < ReferenceSummary; end class Attachment < ReferenceSummary; end class String < ReferenceSummary; end class Number < ReferenceSummary; end class Date < ReferenceSummary; end class Email < ReferenceSummary; end class Unknown < ReferenceSummary; end end |