29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# File 'lib/kuby/kube-db/dsl/kubedb/v1alpha1/snapshot_spec.rb', line 29
def serialize
{}.tap do |result|
result[:storageSecretName] = storage_secret_name
result[:b2] = b2.serialize
result[:podTemplate] = pod_template.serialize
result[:swift] = swift.serialize
result[:podVolumeClaimSpec] = pod_volume_claim_spec.serialize
result[:rest] = rest.serialize
result[:s3] = s3.serialize
result[:gcs] = gcs.serialize
result[:storageType] = storage_type
result[:databaseName] = database_name
result[:azure] = azure.serialize
result[:local] = local.serialize
end
end
|