Class: Google::Apis::DiscoveryV1::JsonSchema::Variant::Map
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryV1::JsonSchema::Variant::Map
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/discovery_v1/classes.rb,
generated/google/apis/discovery_v1/representations.rb,
generated/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.
374 375 376 |
# File 'generated/google/apis/discovery_v1/classes.rb', line 374 def initialize(**args) update!(**args) end |
Instance Attribute Details
#_ref ⇒ String
Corresponds to the JSON property $ref
367 368 369 |
# File 'generated/google/apis/discovery_v1/classes.rb', line 367 def _ref @_ref end |
#type_value ⇒ String
Corresponds to the JSON property type_value
372 373 374 |
# File 'generated/google/apis/discovery_v1/classes.rb', line 372 def type_value @type_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
379 380 381 382 |
# File 'generated/google/apis/discovery_v1/classes.rb', line 379 def update!(**args) @_ref = args[:_ref] if args.key?(:_ref) @type_value = args[:type_value] if args.key?(:type_value) end |