Class: KubeDSL::DSL::Apiserverinternal::V1alpha1::ServerStorageVersion

Inherits:
KubeDSL::DSLObject
  • Object
show all
Defined in:
lib/kube-dsl/dsl/apiserverinternal/v1alpha1/server_storage_version.rb

Instance Method Summary collapse

Methods inherited from KubeDSL::DSLObject

#initialize, #to_resource

Methods included from ValueFields

extended

Methods included from Validations

extended

Constructor Details

This class inherits a constructor from KubeDSL::DSLObject

Instance Method Details

#kind_symObject



24
25
26
# File 'lib/kube-dsl/dsl/apiserverinternal/v1alpha1/server_storage_version.rb', line 24

def kind_sym
  :server_storage_version
end

#serializeObject



16
17
18
19
20
21
22
# File 'lib/kube-dsl/dsl/apiserverinternal/v1alpha1/server_storage_version.rb', line 16

def serialize
  {}.tap do |result|
    result[:apiServerID] = api_server_id
    result[:decodableVersions] = decodable_versions
    result[:encodingVersion] = encoding_version
  end
end