Class: Aws::Connect::Types::ReferenceSummary
- Inherits:
-
Struct
- Object
- Struct
- Aws::Connect::Types::ReferenceSummary
- Includes:
- Structure, Structure::Union
- Defined in:
- 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.
Direct Known Subclasses
Attachment, Date, Email, EmailMessage, Number, String, Unknown, Url
Defined Under Namespace
Classes: Attachment, Date, Email, EmailMessage, Number, String, Unknown, Url
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#attachment ⇒ Types::AttachmentReference
Information about the reference when the ‘referenceType` is `ATTACHMENT`.
-
#date ⇒ Types::DateReference
Information about a reference when the ‘referenceType` is `DATE`.
-
#email ⇒ Types::EmailReference
Information about a reference when the ‘referenceType` is `EMAIL`.
-
#email_message ⇒ Types::EmailMessageReference
Information about the reference when the referenceType is ‘EMAIL_MESSAGE`.
-
#number ⇒ Types::NumberReference
Information about a reference when the ‘referenceType` is `NUMBER`.
-
#string ⇒ Types::StringReference
Information about a reference when the ‘referenceType` is `STRING`.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#url ⇒ Types::UrlReference
Information about the reference when the ‘referenceType` is `URL`.
Instance Attribute Details
#attachment ⇒ Types::AttachmentReference
Information about the reference when the ‘referenceType` is `ATTACHMENT`. Otherwise, null.
18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 |
# File 'lib/aws-sdk-connect/types.rb', line 18339 class ReferenceSummary < Struct.new( :url, :attachment, :email_message, :string, :number, :date, :email, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Url < ReferenceSummary; end class Attachment < ReferenceSummary; end class EmailMessage < 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.
18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 |
# File 'lib/aws-sdk-connect/types.rb', line 18339 class ReferenceSummary < Struct.new( :url, :attachment, :email_message, :string, :number, :date, :email, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Url < ReferenceSummary; end class Attachment < ReferenceSummary; end class EmailMessage < 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.
18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 |
# File 'lib/aws-sdk-connect/types.rb', line 18339 class ReferenceSummary < Struct.new( :url, :attachment, :email_message, :string, :number, :date, :email, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Url < ReferenceSummary; end class Attachment < ReferenceSummary; end class EmailMessage < ReferenceSummary; end class String < ReferenceSummary; end class Number < ReferenceSummary; end class Date < ReferenceSummary; end class Email < ReferenceSummary; end class Unknown < ReferenceSummary; end end |
#email_message ⇒ Types::EmailMessageReference
Information about the reference when the referenceType is ‘EMAIL_MESSAGE`. Otherwise, null.
18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 |
# File 'lib/aws-sdk-connect/types.rb', line 18339 class ReferenceSummary < Struct.new( :url, :attachment, :email_message, :string, :number, :date, :email, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Url < ReferenceSummary; end class Attachment < ReferenceSummary; end class EmailMessage < 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.
18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 |
# File 'lib/aws-sdk-connect/types.rb', line 18339 class ReferenceSummary < Struct.new( :url, :attachment, :email_message, :string, :number, :date, :email, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Url < ReferenceSummary; end class Attachment < ReferenceSummary; end class EmailMessage < 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.
18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 |
# File 'lib/aws-sdk-connect/types.rb', line 18339 class ReferenceSummary < Struct.new( :url, :attachment, :email_message, :string, :number, :date, :email, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Url < ReferenceSummary; end class Attachment < ReferenceSummary; end class EmailMessage < 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
18339 18340 18341 |
# File 'lib/aws-sdk-connect/types.rb', line 18339 def unknown @unknown end |
#url ⇒ Types::UrlReference
Information about the reference when the ‘referenceType` is `URL`. Otherwise, null.
18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 |
# File 'lib/aws-sdk-connect/types.rb', line 18339 class ReferenceSummary < Struct.new( :url, :attachment, :email_message, :string, :number, :date, :email, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Url < ReferenceSummary; end class Attachment < ReferenceSummary; end class EmailMessage < ReferenceSummary; end class String < ReferenceSummary; end class Number < ReferenceSummary; end class Date < ReferenceSummary; end class Email < ReferenceSummary; end class Unknown < ReferenceSummary; end end |