Class: Aws::ConnectCases::Types::AuditEventFieldValueUnion
- Inherits:
-
Struct
- Object
- Struct
- Aws::ConnectCases::Types::AuditEventFieldValueUnion
- Defined in:
- gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb
Overview
AuditEventFieldValueUnion is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AuditEventFieldValueUnion corresponding to the set member.
Object to store union of Field values.
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 value type.
-
#empty_value ⇒ Types::EmptyFieldValue
An empty value.
-
#string_value ⇒ String
Can be either null, or have a String value type.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#user_arn_value ⇒ String
Can be either null, or have a String value type formatted as an ARN.
Instance Attribute Details
#boolean_value ⇒ Boolean
Can be either null, or have a Boolean value type. Only one value can be provided.
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 123 class AuditEventFieldValueUnion < Struct.new( :boolean_value, :double_value, :empty_value, :string_value, :user_arn_value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BooleanValue < AuditEventFieldValueUnion; end class DoubleValue < AuditEventFieldValueUnion; end class EmptyValue < AuditEventFieldValueUnion; end class StringValue < AuditEventFieldValueUnion; end class UserArnValue < AuditEventFieldValueUnion; end class Unknown < AuditEventFieldValueUnion; end end |
#double_value ⇒ Float
Can be either null, or have a Double value type. Only one value can be provided.
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 123 class AuditEventFieldValueUnion < Struct.new( :boolean_value, :double_value, :empty_value, :string_value, :user_arn_value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BooleanValue < AuditEventFieldValueUnion; end class DoubleValue < AuditEventFieldValueUnion; end class EmptyValue < AuditEventFieldValueUnion; end class StringValue < AuditEventFieldValueUnion; end class UserArnValue < AuditEventFieldValueUnion; end class Unknown < AuditEventFieldValueUnion; end end |
#empty_value ⇒ Types::EmptyFieldValue
An empty value. You cannot set EmptyFieldValue
on a field that is
required on a case template.
This structure will never have any data members. It signifies an empty value on a case field.
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 123 class AuditEventFieldValueUnion < Struct.new( :boolean_value, :double_value, :empty_value, :string_value, :user_arn_value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BooleanValue < AuditEventFieldValueUnion; end class DoubleValue < AuditEventFieldValueUnion; end class EmptyValue < AuditEventFieldValueUnion; end class StringValue < AuditEventFieldValueUnion; end class UserArnValue < AuditEventFieldValueUnion; end class Unknown < AuditEventFieldValueUnion; end end |
#string_value ⇒ String
Can be either null, or have a String value type. Only one value can be provided.
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 123 class AuditEventFieldValueUnion < Struct.new( :boolean_value, :double_value, :empty_value, :string_value, :user_arn_value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BooleanValue < AuditEventFieldValueUnion; end class DoubleValue < AuditEventFieldValueUnion; end class EmptyValue < AuditEventFieldValueUnion; end class StringValue < AuditEventFieldValueUnion; end class UserArnValue < AuditEventFieldValueUnion; end class Unknown < AuditEventFieldValueUnion; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
123 124 125 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 123 def unknown @unknown end |
#user_arn_value ⇒ String
Can be either null, or have a String value type formatted as an ARN. Only one value can be provided.
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 123 class AuditEventFieldValueUnion < Struct.new( :boolean_value, :double_value, :empty_value, :string_value, :user_arn_value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BooleanValue < AuditEventFieldValueUnion; end class DoubleValue < AuditEventFieldValueUnion; end class EmptyValue < AuditEventFieldValueUnion; end class StringValue < AuditEventFieldValueUnion; end class UserArnValue < AuditEventFieldValueUnion; end class Unknown < AuditEventFieldValueUnion; end end |