Class: Aws::ConnectCases::Types::RelatedItemUpdateContent

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

Overview

Note:

RelatedItemUpdateContent 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 updated. This is a union type that can contain either comment content or custom content.

Direct Known Subclasses

Comment, Custom, Unknown

Defined Under Namespace

Classes: Comment, Custom, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commentTypes::CommentUpdateContent

Represents the updated content of a Comment related item.



3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 3053

class RelatedItemUpdateContent < Struct.new(
  :comment,
  :custom,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Comment < RelatedItemUpdateContent; end
  class Custom < RelatedItemUpdateContent; end
  class Unknown < RelatedItemUpdateContent; end
end

#customTypes::CustomUpdateContent

Represents the updated content of a Custom related item.



3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 3053

class RelatedItemUpdateContent < Struct.new(
  :comment,
  :custom,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Comment < RelatedItemUpdateContent; end
  class Custom < RelatedItemUpdateContent; end
  class Unknown < RelatedItemUpdateContent; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3053
3054
3055
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 3053

def unknown
  @unknown
end