Class: KubeDSL::DSL::Meta::V1::DeleteOptions
- Inherits:
-
KubeDSL::DSLObject
- Object
- KubeDSL::DSLObject
- KubeDSL::DSL::Meta::V1::DeleteOptions
- Defined in:
- lib/kube-dsl/dsl/meta/v1/delete_options.rb
Instance Method Summary collapse
Methods inherited from KubeDSL::DSLObject
Methods included from ValueFields
#array_field, #object_field, #value_field, #value_fields
Constructor Details
This class inherits a constructor from KubeDSL::DSLObject
Instance Method Details
#kind_sym ⇒ Object
19 20 21 |
# File 'lib/kube-dsl/dsl/meta/v1/delete_options.rb', line 19 def kind_sym :delete_options end |
#serialize ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/kube-dsl/dsl/meta/v1/delete_options.rb', line 7 def serialize {}.tap do |result| result[:kind] = "DeleteOptions" result[:apiVersion] = api_version result[:gracePeriodSeconds] = grace_period_seconds result[:orphanDependents] = orphan_dependents result[:propagationPolicy] = propagation_policy result[:dryRun] = dry_runs result[:preconditions] = preconditions.serialize end end |