1 package org.onap.ccsdk.cds.blueprintsprocessor.functions.k8s.instance
3 import com.fasterxml.jackson.annotation.JsonAlias
4 import com.fasterxml.jackson.annotation.JsonProperty
6 class K8sConfigValueResponse {
7 @get:JsonProperty("rb-name")
8 var rbName: String? = null
10 @get:JsonProperty("rb-version")
11 var rbVersion: String? = null
13 @get:JsonProperty("instance-id")
14 var instanceId: String? = null
16 @get:JsonProperty("profile-name")
17 var profileName: String? = null
19 @get:JsonProperty("description")
20 var description: String? = null
22 @get:JsonProperty("template-name")
23 var templateName: String? = null
25 @get:JsonProperty("config-name")
26 var configName: String? = null
28 @get:JsonProperty("config-version")
29 @get:JsonAlias("config-verion")
30 var configVersion: Integer? = null
32 @get:JsonProperty("values")
33 var values: Map<String, Object>? = null
35 override fun toString(): String {
36 return "$templateName:$configName"
39 override fun equals(other: Any?): Boolean {
40 if (this === other) return true
41 if (javaClass != other?.javaClass) return false
45 override fun hashCode(): Int {
46 return javaClass.hashCode()