Class: Aws::ConnectCases::Types::FieldValueUnion
- Inherits:
-
Struct
- Object
- Struct
- Aws::ConnectCases::Types::FieldValueUnion
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-connectcases/types.rb
Overview
FieldValueUnion is a union - when making an API calls you must set exactly one of the members.
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.
<note markdown=“1”> The ‘Summary` system field accepts 1500 characters while all other fields accept 500 characters.
</note>
Direct Known Subclasses
BooleanValue, DoubleValue, EmptyValue, StringValue, Unknown, UserArnValue
Defined Under Namespace
Classes: BooleanValue, DoubleValue, EmptyValue, StringValue, Unknown, UserArnValue
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#boolean_value ⇒ Boolean
Can be either null, or have a Boolean value type.
-
#double_value ⇒ Float
Can be either null, or have a Double number value type.
-
#empty_value ⇒ Types::EmptyFieldValue
An empty value.
-
#string_value ⇒ String
String value type.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#user_arn_value ⇒ String
Represents the user that performed the audit.
Instance Attribute Details
#boolean_value ⇒ Boolean
Can be either null, or have a Boolean value type. Only one value can be provided.
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 |
# File '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_value ⇒ Float
Can be either null, or have a Double number value type. Only one value can be provided.
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 |
# File '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_value ⇒ Types::EmptyFieldValue
An empty value.
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 |
# File '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_value ⇒ String
String value type.
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 |
# File '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 |
#unknown ⇒ Object
Returns the value of attribute unknown
1125 1126 1127 |
# File 'lib/aws-sdk-connectcases/types.rb', line 1125 def unknown @unknown end |
#user_arn_value ⇒ String
Represents the user that performed the audit.
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 |
# File '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 |