Class: Aws::ConnectCases::Types::RelatedItemInputContent

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb

Overview

Note:

RelatedItemInputContent is a union - when making an API calls you must set exactly one of the members.

Represents the content of a related item to be created.

Direct Known Subclasses

Comment, Contact, File, Unknown

Defined Under Namespace

Classes: Comment, Contact, File, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commentTypes::CommentContent

Represents the content of a comment to be returned to agents.



2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2041

class RelatedItemInputContent < Struct.new(
  :comment,
  :contact,
  :file,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Comment < RelatedItemInputContent; end
  class Contact < RelatedItemInputContent; end
  class File < RelatedItemInputContent; end
  class Unknown < RelatedItemInputContent; end
end

#contactTypes::Contact

Object representing a contact in Amazon Connect as an API request field.

Returns:



2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2041

class RelatedItemInputContent < Struct.new(
  :comment,
  :contact,
  :file,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Comment < RelatedItemInputContent; end
  class Contact < RelatedItemInputContent; end
  class File < RelatedItemInputContent; end
  class Unknown < RelatedItemInputContent; end
end

#fileTypes::FileContent

A file of related items.

Returns:



2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2041

class RelatedItemInputContent < Struct.new(
  :comment,
  :contact,
  :file,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Comment < RelatedItemInputContent; end
  class Contact < RelatedItemInputContent; end
  class File < RelatedItemInputContent; end
  class Unknown < RelatedItemInputContent; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2041
2042
2043
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2041

def unknown
  @unknown
end