Class: Aws::ConnectCases::Types::FieldValueUnion

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

Overview

Note:

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

Note:

FieldValueUnion is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of FieldValueUnion corresponding to the set member.

Object to store union of Field values.

The Summary system field accepts 1500 characters while all other fields accept 500 characters.

Defined Under Namespace

Classes: BooleanValue, DoubleValue, EmptyValue, StringValue, Unknown, UserArnValue

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#boolean_valueBoolean

Can be either null, or have a Boolean value type. Only one value can be provided.

Returns:

  • (Boolean)


1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 1125

class FieldValueUnion < Struct.new(
  :boolean_value,
  :double_value,
  :empty_value,
  :string_value,
  :user_arn_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BooleanValue < FieldValueUnion; end
  class DoubleValue < FieldValueUnion; end
  class EmptyValue < FieldValueUnion; end
  class StringValue < FieldValueUnion; end
  class UserArnValue < FieldValueUnion; end
  class Unknown < FieldValueUnion; end
end

#double_valueFloat

Can be either null, or have a Double number value type. Only one value can be provided.

Returns:

  • (Float)


1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 1125

class FieldValueUnion < Struct.new(
  :boolean_value,
  :double_value,
  :empty_value,
  :string_value,
  :user_arn_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BooleanValue < FieldValueUnion; end
  class DoubleValue < FieldValueUnion; end
  class EmptyValue < FieldValueUnion; end
  class StringValue < FieldValueUnion; end
  class UserArnValue < FieldValueUnion; end
  class Unknown < FieldValueUnion; end
end

#empty_valueTypes::EmptyFieldValue

An empty value.

Returns:

  • (Types::EmptyFieldValue)


1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 1125

class FieldValueUnion < Struct.new(
  :boolean_value,
  :double_value,
  :empty_value,
  :string_value,
  :user_arn_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BooleanValue < FieldValueUnion; end
  class DoubleValue < FieldValueUnion; end
  class EmptyValue < FieldValueUnion; end
  class StringValue < FieldValueUnion; end
  class UserArnValue < FieldValueUnion; end
  class Unknown < FieldValueUnion; end
end

#string_valueString

String value type.

Returns:

  • (String)


1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 1125

class FieldValueUnion < Struct.new(
  :boolean_value,
  :double_value,
  :empty_value,
  :string_value,
  :user_arn_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BooleanValue < FieldValueUnion; end
  class DoubleValue < FieldValueUnion; end
  class EmptyValue < FieldValueUnion; end
  class StringValue < FieldValueUnion; end
  class UserArnValue < FieldValueUnion; end
  class Unknown < FieldValueUnion; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1125
1126
1127
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 1125

def unknown
  @unknown
end

#user_arn_valueString

Represents the user that performed the audit.

Returns:

  • (String)


1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 1125

class FieldValueUnion < Struct.new(
  :boolean_value,
  :double_value,
  :empty_value,
  :string_value,
  :user_arn_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BooleanValue < FieldValueUnion; end
  class DoubleValue < FieldValueUnion; end
  class EmptyValue < FieldValueUnion; end
  class StringValue < FieldValueUnion; end
  class UserArnValue < FieldValueUnion; end
  class Unknown < FieldValueUnion; end
end