b6093d68cef67a13f118869c0fd34f6cbd54e829
[ccsdk/cds.git] /
1 package org.onap.ccsdk.cds.blueprintsprocessor.functions.k8s.instance
2
3 import com.fasterxml.jackson.annotation.JsonProperty
4
5 class K8sConfigValueRequest {
6
7     @get:JsonProperty("template-name")
8     var templateName: String? = null
9
10     @get:JsonProperty("config-name")
11     var configName: String? = null
12
13     @get:JsonProperty("description")
14     var description: String? = null
15
16     @get:JsonProperty("values")
17     var values: Any? = null
18
19     override fun toString(): String {
20         return "$templateName:$configName:$description:$values"
21     }
22
23     override fun equals(other: Any?): Boolean {
24         if (this === other) return true
25         if (javaClass != other?.javaClass) return false
26         return true
27     }
28
29     override fun hashCode(): Int {
30         return javaClass.hashCode()
31     }
32 }