Class: Aws::QBusiness::Types::DocumentAttributeValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::QBusiness::Types::DocumentAttributeValue
- Defined in:
- gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb
Overview
DocumentAttributeValue is a union - when making an API calls you must set exactly one of the members.
DocumentAttributeValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DocumentAttributeValue corresponding to the set member.
The value of a document attribute. You can only provide one value for a document attribute.
Direct Known Subclasses
Defined Under Namespace
Classes: DateValue, LongValue, StringListValue, StringValue, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#date_value ⇒ Time
A date expressed as an ISO 8601 string.
-
#long_value ⇒ Integer
A long integer value.
-
#string_list_value ⇒ Array<String>
A list of strings.
-
#string_value ⇒ String
A string.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#date_value ⇒ Time
A date expressed as an ISO 8601 string.
It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.
2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 2661 class DocumentAttributeValue < Struct.new( :string_value, :string_list_value, :long_value, :date_value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class StringValue < DocumentAttributeValue; end class StringListValue < DocumentAttributeValue; end class LongValue < DocumentAttributeValue; end class DateValue < DocumentAttributeValue; end class Unknown < DocumentAttributeValue; end end |
#long_value ⇒ Integer
A long integer value.
2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 2661 class DocumentAttributeValue < Struct.new( :string_value, :string_list_value, :long_value, :date_value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class StringValue < DocumentAttributeValue; end class StringListValue < DocumentAttributeValue; end class LongValue < DocumentAttributeValue; end class DateValue < DocumentAttributeValue; end class Unknown < DocumentAttributeValue; end end |
#string_list_value ⇒ Array<String>
A list of strings.
2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 2661 class DocumentAttributeValue < Struct.new( :string_value, :string_list_value, :long_value, :date_value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class StringValue < DocumentAttributeValue; end class StringListValue < DocumentAttributeValue; end class LongValue < DocumentAttributeValue; end class DateValue < DocumentAttributeValue; end class Unknown < DocumentAttributeValue; end end |
#string_value ⇒ String
A string.
2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 2661 class DocumentAttributeValue < Struct.new( :string_value, :string_list_value, :long_value, :date_value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class StringValue < DocumentAttributeValue; end class StringListValue < DocumentAttributeValue; end class LongValue < DocumentAttributeValue; end class DateValue < DocumentAttributeValue; end class Unknown < DocumentAttributeValue; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
2661 2662 2663 |
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 2661 def unknown @unknown end |