Class: Google::Apis::DiscoveryV1::JsonSchema::Variant::Map
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryV1::JsonSchema::Variant::Map
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discovery_v1/classes.rb,
lib/google/apis/discovery_v1/representations.rb,
lib/google/apis/discovery_v1/representations.rb
Instance Attribute Summary collapse
-
#_ref ⇒ String
Corresponds to the JSON property
$ref
. -
#type_value ⇒ String
Corresponds to the JSON property
type_value
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Map
constructor
A new instance of Map.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Map
Returns a new instance of Map.
388 389 390 |
# File 'lib/google/apis/discovery_v1/classes.rb', line 388 def initialize(**args) update!(**args) end |
Instance Attribute Details
#_ref ⇒ String
Corresponds to the JSON property $ref
381 382 383 |
# File 'lib/google/apis/discovery_v1/classes.rb', line 381 def _ref @_ref end |
#type_value ⇒ String
Corresponds to the JSON property type_value
386 387 388 |
# File 'lib/google/apis/discovery_v1/classes.rb', line 386 def type_value @type_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
393 394 395 396 |
# File 'lib/google/apis/discovery_v1/classes.rb', line 393 def update!(**args) @_ref = args[:_ref] if args.key?(:_ref) @type_value = args[:type_value] if args.key?(:type_value) end |