1 package org.onap.ccsdk.cds.blueprintsprocessor.functions.k8s.instance
3 import com.fasterxml.jackson.annotation.JsonProperty
7 @get:JsonProperty("name")
8 var name: String? = null
10 @get:JsonProperty("cluster")
11 var cluster: String? = null
13 @get:JsonProperty("partitions")
14 var partitions: Number? = null
16 @get:JsonProperty("replicas")
17 var replicas: Number? = null
19 override fun toString(): String {
20 return "$name:$cluster:$partitions:$replicas"
23 override fun equals(other: Any?): Boolean {
24 if (this === other) return true
25 if (javaClass != other?.javaClass) return false
29 override fun hashCode(): Int {
30 return javaClass.hashCode()