Class: Aws::ConnectCases::Types::AuditEventFieldValueUnion

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

Overview

Note:

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.

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)


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_valueFloat

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

Returns:

  • (Float)


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_valueTypes::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.

Returns:

  • (Types::EmptyFieldValue)


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_valueString

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

Returns:

  • (String)


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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



123
124
125
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 123

def unknown
  @unknown
end

#user_arn_valueString

Can be either null, or have a String value type formatted as an ARN. Only one value can be provided.

Returns:

  • (String)


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