diff options
Diffstat (limited to 'prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/AaiServiceInstanceResultModel.java')
-rw-r--r-- | prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/AaiServiceInstanceResultModel.java | 168 |
1 files changed, 0 insertions, 168 deletions
diff --git a/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/AaiServiceInstanceResultModel.java b/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/AaiServiceInstanceResultModel.java index bb839c3c..7bf8e2e4 100644 --- a/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/AaiServiceInstanceResultModel.java +++ b/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/AaiServiceInstanceResultModel.java @@ -22,8 +22,6 @@ package org.onap.dcaegen2.services.prh.model; import com.google.gson.annotations.SerializedName; -import java.util.Objects; - public class AaiServiceInstanceResultModel { @SerializedName("service-instance-id") private String serviceInstanceId = null; @@ -100,11 +98,6 @@ public class AaiServiceInstanceResultModel { @SerializedName("relationship-list") private Relationship relationshipList = null; - public AaiServiceInstanceResultModel serviceInstanceId(String serviceInstanceId) { - this.serviceInstanceId = serviceInstanceId; - return this; - } - /** * Uniquely identifies this instance of a service * @@ -118,11 +111,6 @@ public class AaiServiceInstanceResultModel { this.serviceInstanceId = serviceInstanceId; } - public AaiServiceInstanceResultModel serviceInstanceName(String serviceInstanceName) { - this.serviceInstanceName = serviceInstanceName; - return this; - } - /** * This field will store a name assigned to the service-instance. * @@ -136,11 +124,6 @@ public class AaiServiceInstanceResultModel { this.serviceInstanceName = serviceInstanceName; } - public AaiServiceInstanceResultModel serviceType(String serviceType) { - this.serviceType = serviceType; - return this; - } - /** * String capturing type of service. * @@ -154,11 +137,6 @@ public class AaiServiceInstanceResultModel { this.serviceType = serviceType; } - public AaiServiceInstanceResultModel serviceRole(String serviceRole) { - this.serviceRole = serviceRole; - return this; - } - /** * String capturing the service role. * @@ -172,11 +150,6 @@ public class AaiServiceInstanceResultModel { this.serviceRole = serviceRole; } - public AaiServiceInstanceResultModel environmentContext(String environmentContext) { - this.environmentContext = environmentContext; - return this; - } - /** * This field will store the environment context assigned to the service-instance. * @@ -190,11 +163,6 @@ public class AaiServiceInstanceResultModel { this.environmentContext = environmentContext; } - public AaiServiceInstanceResultModel workloadContext(String workloadContext) { - this.workloadContext = workloadContext; - return this; - } - /** * This field will store the workload context assigned to the service-instance. * @@ -208,11 +176,6 @@ public class AaiServiceInstanceResultModel { this.workloadContext = workloadContext; } - public AaiServiceInstanceResultModel createdAt(String createdAt) { - this.createdAt = createdAt; - return this; - } - /** * create time of Network Service. * @@ -226,11 +189,6 @@ public class AaiServiceInstanceResultModel { this.createdAt = createdAt; } - public AaiServiceInstanceResultModel updatedAt(String updatedAt) { - this.updatedAt = updatedAt; - return this; - } - /** * last update of Network Service. * @@ -244,11 +202,6 @@ public class AaiServiceInstanceResultModel { this.updatedAt = updatedAt; } - public AaiServiceInstanceResultModel description(String description) { - this.description = description; - return this; - } - /** * short description for service-instance. * @@ -262,11 +215,6 @@ public class AaiServiceInstanceResultModel { this.description = description; } - public AaiServiceInstanceResultModel modelInvariantId(String modelInvariantId) { - this.modelInvariantId = modelInvariantId; - return this; - } - /** * the ASDC model id for this resource or service model. * @@ -280,11 +228,6 @@ public class AaiServiceInstanceResultModel { this.modelInvariantId = modelInvariantId; } - public AaiServiceInstanceResultModel modelVersionId(String modelVersionId) { - this.modelVersionId = modelVersionId; - return this; - } - /** * the ASDC model version for this resource or service model. * @@ -298,11 +241,6 @@ public class AaiServiceInstanceResultModel { this.modelVersionId = modelVersionId; } - public AaiServiceInstanceResultModel personaModelVersion(String personaModelVersion) { - this.personaModelVersion = personaModelVersion; - return this; - } - /** * the ASDC model version for this resource or service model. * @@ -316,11 +254,6 @@ public class AaiServiceInstanceResultModel { this.personaModelVersion = personaModelVersion; } - public AaiServiceInstanceResultModel widgetModelId(String widgetModelId) { - this.widgetModelId = widgetModelId; - return this; - } - /** * the ASDC data dictionary widget model. This maps directly to the A&AI widget. * @@ -334,11 +267,6 @@ public class AaiServiceInstanceResultModel { this.widgetModelId = widgetModelId; } - public AaiServiceInstanceResultModel widgetModelVersion(String widgetModelVersion) { - this.widgetModelVersion = widgetModelVersion; - return this; - } - /** * the ASDC data dictionary version of the widget model.This maps directly to the A&AI version of the widget. * @@ -352,11 +280,6 @@ public class AaiServiceInstanceResultModel { this.widgetModelVersion = widgetModelVersion; } - public AaiServiceInstanceResultModel bandwidthTotal(String bandwidthTotal) { - this.bandwidthTotal = bandwidthTotal; - return this; - } - /** * Indicates the total bandwidth to be used for this service. * @@ -370,11 +293,6 @@ public class AaiServiceInstanceResultModel { this.bandwidthTotal = bandwidthTotal; } - public AaiServiceInstanceResultModel bandwidthUpWan1(String bandwidthUpWan1) { - this.bandwidthUpWan1 = bandwidthUpWan1; - return this; - } - /** * indicates the upstream bandwidth this service will use on the WAN1 port of the physical device. * @@ -388,11 +306,6 @@ public class AaiServiceInstanceResultModel { this.bandwidthUpWan1 = bandwidthUpWan1; } - public AaiServiceInstanceResultModel bandwidthDownWan1(String bandwidthDownWan1) { - this.bandwidthDownWan1 = bandwidthDownWan1; - return this; - } - /** * indicates the downstream bandwidth this service will use on the WAN1 port of the physical device. * @@ -406,11 +319,6 @@ public class AaiServiceInstanceResultModel { this.bandwidthDownWan1 = bandwidthDownWan1; } - public AaiServiceInstanceResultModel bandwidthUpWan2(String bandwidthUpWan2) { - this.bandwidthUpWan2 = bandwidthUpWan2; - return this; - } - /** * indicates the upstream bandwidth this service will use on the WAN2 port of the physical device. * @@ -424,11 +332,6 @@ public class AaiServiceInstanceResultModel { this.bandwidthUpWan2 = bandwidthUpWan2; } - public AaiServiceInstanceResultModel bandwidthDownWan2(String bandwidthDownWan2) { - this.bandwidthDownWan2 = bandwidthDownWan2; - return this; - } - /** * indicates the downstream bandwidth this service will use on the WAN2 port of the physical device. * @@ -442,11 +345,6 @@ public class AaiServiceInstanceResultModel { this.bandwidthDownWan2 = bandwidthDownWan2; } - public AaiServiceInstanceResultModel vhnPortalUrl(String vhnPortalUrl) { - this.vhnPortalUrl = vhnPortalUrl; - return this; - } - /** * URL customers will use to access the vHN Portal. * @@ -460,11 +358,6 @@ public class AaiServiceInstanceResultModel { this.vhnPortalUrl = vhnPortalUrl; } - public AaiServiceInstanceResultModel serviceInstanceLocationId(String serviceInstanceLocationId) { - this.serviceInstanceLocationId = serviceInstanceLocationId; - return this; - } - /** * An identifier that customers assign to the location where this service is being used. * @@ -478,11 +371,6 @@ public class AaiServiceInstanceResultModel { this.serviceInstanceLocationId = serviceInstanceLocationId; } - public AaiServiceInstanceResultModel resourceVersion(String resourceVersion) { - this.resourceVersion = resourceVersion; - return this; - } - /** * Used for optimistic concurrency. Must be empty on create, valid on update and delete. * @@ -496,11 +384,6 @@ public class AaiServiceInstanceResultModel { this.resourceVersion = resourceVersion; } - public AaiServiceInstanceResultModel selflink(String selflink) { - this.selflink = selflink; - return this; - } - /** * Path to the controller object. * @@ -514,11 +397,6 @@ public class AaiServiceInstanceResultModel { this.selflink = selflink; } - public AaiServiceInstanceResultModel orchestrationStatus(String orchestrationStatus) { - this.orchestrationStatus = orchestrationStatus; - return this; - } - /** * Orchestration status of this service. * @@ -532,10 +410,6 @@ public class AaiServiceInstanceResultModel { this.orchestrationStatus = orchestrationStatus; } - public AaiServiceInstanceResultModel relationshipList(Relationship relationshipList) { - this.relationshipList = relationshipList; - return this; - } /** * Get relationshipList @@ -551,48 +425,6 @@ public class AaiServiceInstanceResultModel { } @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AaiServiceInstanceResultModel serviceInstance = (AaiServiceInstanceResultModel) o; - return Objects.equals(this.serviceInstanceId, serviceInstance.serviceInstanceId) && - Objects.equals(this.serviceInstanceName, serviceInstance.serviceInstanceName) && - Objects.equals(this.serviceType, serviceInstance.serviceType) && - Objects.equals(this.serviceRole, serviceInstance.serviceRole) && - Objects.equals(this.environmentContext, serviceInstance.environmentContext) && - Objects.equals(this.workloadContext, serviceInstance.workloadContext) && - Objects.equals(this.createdAt, serviceInstance.createdAt) && - Objects.equals(this.updatedAt, serviceInstance.updatedAt) && - Objects.equals(this.description, serviceInstance.description) && - Objects.equals(this.modelInvariantId, serviceInstance.modelInvariantId) && - Objects.equals(this.modelVersionId, serviceInstance.modelVersionId) && - Objects.equals(this.personaModelVersion, serviceInstance.personaModelVersion) && - Objects.equals(this.widgetModelId, serviceInstance.widgetModelId) && - Objects.equals(this.widgetModelVersion, serviceInstance.widgetModelVersion) && - Objects.equals(this.bandwidthTotal, serviceInstance.bandwidthTotal) && - Objects.equals(this.bandwidthUpWan1, serviceInstance.bandwidthUpWan1) && - Objects.equals(this.bandwidthDownWan1, serviceInstance.bandwidthDownWan1) && - Objects.equals(this.bandwidthUpWan2, serviceInstance.bandwidthUpWan2) && - Objects.equals(this.bandwidthDownWan2, serviceInstance.bandwidthDownWan2) && - Objects.equals(this.vhnPortalUrl, serviceInstance.vhnPortalUrl) && - Objects.equals(this.serviceInstanceLocationId, serviceInstance.serviceInstanceLocationId) && - Objects.equals(this.resourceVersion, serviceInstance.resourceVersion) && - Objects.equals(this.selflink, serviceInstance.selflink) && - Objects.equals(this.orchestrationStatus, serviceInstance.orchestrationStatus) && - Objects.equals(this.relationshipList, serviceInstance.relationshipList); - } - - @Override - public int hashCode() { - return Objects.hash(serviceInstanceId, serviceInstanceName, serviceType, serviceRole, environmentContext, workloadContext, createdAt, updatedAt, description, modelInvariantId, modelVersionId, personaModelVersion, widgetModelId, widgetModelVersion, bandwidthTotal, bandwidthUpWan1, bandwidthDownWan1, bandwidthUpWan2, bandwidthDownWan2, vhnPortalUrl, serviceInstanceLocationId, resourceVersion, selflink, orchestrationStatus, relationshipList); - } - - - @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AaiServiceInstanceResultModel {\n"); |