Class: Aws::Connect::Types::ReferenceSummary

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-connect/types.rb

Overview

Note:

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

Instance Attribute Details

#attachmentTypes::AttachmentReference

Information about the reference when the ‘referenceType` is `ATTACHMENT`. Otherwise, null.



18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
# File 'lib/aws-sdk-connect/types.rb', line 18736

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

#dateTypes::DateReference

Information about a reference when the ‘referenceType` is `DATE`. Otherwise, null.



18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
# File 'lib/aws-sdk-connect/types.rb', line 18736

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

#emailTypes::EmailReference

Information about a reference when the ‘referenceType` is `EMAIL`. Otherwise, null.



18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
# File 'lib/aws-sdk-connect/types.rb', line 18736

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_messageTypes::EmailMessageReference

Information about the reference when the referenceType is ‘EMAIL_MESSAGE`. Otherwise, null.



18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
# File 'lib/aws-sdk-connect/types.rb', line 18736

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

#numberTypes::NumberReference

Information about a reference when the ‘referenceType` is `NUMBER`. Otherwise, null.



18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
# File 'lib/aws-sdk-connect/types.rb', line 18736

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

#stringTypes::StringReference

Information about a reference when the ‘referenceType` is `STRING`. Otherwise, null.



18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
# File 'lib/aws-sdk-connect/types.rb', line 18736

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



18736
18737
18738
# File 'lib/aws-sdk-connect/types.rb', line 18736

def unknown
  @unknown
end

#urlTypes::UrlReference

Information about the reference when the ‘referenceType` is `URL`. Otherwise, null.

Returns:



18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
# File 'lib/aws-sdk-connect/types.rb', line 18736

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