AT&T 1712 and 1802 release code
[so.git] / common / src / main / java / org / openecomp / mso / serviceinstancebeans / RequestDetails.java
-/*-\r
- * ============LICENSE_START=======================================================\r
- * ONAP - SO\r
- * ================================================================================\r
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
- * ================================================================================\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- *      http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- * ============LICENSE_END=========================================================\r
- */\r
-\r
-package org.openecomp.mso.apihandlerinfra.serviceinstancebeans;\r
-\r
-import java.util.Arrays;\r
-\r
-import org.codehaus.jackson.map.annotate.JsonRootName;\r
-import org.codehaus.jackson.map.annotate.JsonSerialize;\r
-\r
-@JsonRootName(value = "requestDetails")\r
-@JsonSerialize(include=JsonSerialize.Inclusion.NON_DEFAULT)\r
-public class RequestDetails {\r
-\r
-    protected ModelInfo modelInfo;\r
-    protected RequestInfo requestInfo;\r
-    protected RelatedInstanceList[] relatedInstanceList;\r
-    protected SubscriberInfo subscriberInfo;\r
-    protected CloudConfiguration cloudConfiguration;\r
-    protected RequestParameters requestParameters;\r
-\r
-    /**\r
-     * Gets the value of the serviceInfo property.\r
-     *\r
-     * @return\r
-     *     possible object is\r
-     *     {@link ModelInfo }\r
-     *\r
-     */\r
-    public ModelInfo getModelInfo() {\r
-        return modelInfo;\r
-    }\r
-\r
-    /**\r
-     * Sets the value of the serviceInfo property.\r
-     *\r
-     * @param value\r
-     *     allowed object is\r
-     *     {@link ModelInfo }\r
-     *\r
-     */\r
-    public void setModelInfo(ModelInfo value) {\r
-        this.modelInfo = value;\r
-    }\r
-\r
-    /**\r
-     * Gets the value of the requestInfo property.\r
-     *\r
-     * @return\r
-     *     possible object is\r
-     *     {@link RequestInfo }\r
-     *\r
-     */\r
-    public RequestInfo getRequestInfo() {\r
-        return requestInfo;\r
-    }\r
-\r
-    /**\r
-     * Sets the value of the requestInfo property.\r
-     *\r
-     * @param value\r
-     *     allowed object is\r
-     *     {@link RequestInfo }\r
-     *\r
-     */\r
-    public void setRequestInfo(RequestInfo value) {\r
-        this.requestInfo = value;\r
-    }\r
-\r
-    /**\r
-     * Gets the value of the subscriberInfo property.\r
-     *\r
-     * @return\r
-     *     possible object is\r
-     *     {@link SubscriberInfo }\r
-     *\r
-     */\r
-    public SubscriberInfo getSubscriberInfo() {\r
-        return subscriberInfo;\r
-    }\r
-\r
-    /**\r
-     * Sets the value of the subscriberInfo property.\r
-     *\r
-     * @param value\r
-     *     allowed object is\r
-     *     {@link SubscriberInfo }\r
-     *\r
-     */\r
-    public void setSubscriberInfo(SubscriberInfo value) {\r
-        this.subscriberInfo = value;\r
-    }\r
-\r
-    /**\r
-     * Gets the value of the cloudConfiguration property.\r
-     *\r
-     * @return\r
-     *     possible object is\r
-     *     {@link CloudConfiguration }\r
-     *\r
-     */\r
-    public CloudConfiguration getCloudConfiguration() {\r
-        return cloudConfiguration;\r
-    }\r
-\r
-    /**\r
-     * Sets the value of the cloudConfiguration property.\r
-     *\r
-     * @param value\r
-     *     allowed object is\r
-     *     {@link CloudConfiguration }\r
-     *\r
-     */\r
-    public void setCloudConfiguration(CloudConfiguration value) {\r
-        this.cloudConfiguration = value;\r
-    }\r
-\r
-    /**\r
-     * Gets the value of the requestParameters property.\r
-     *\r
-     * @return\r
-     *     possible object is\r
-     *     {@link RequestParameters }\r
-     *\r
-     */\r
-    public RequestParameters getRequestParameters() {\r
-        return requestParameters;\r
-    }\r
-\r
-    /**\r
-     * Sets the value of the requestParameters property.\r
-     *\r
-     * @param value\r
-     *     allowed object is\r
-     *     {@link RequestParameters }\r
-     *\r
-     */\r
-    public void setRequestParameters(RequestParameters value) {\r
-        this.requestParameters = value;\r
-    }\r
-\r
-       public RelatedInstanceList[] getRelatedInstanceList() {\r
-               return relatedInstanceList;\r
-       }\r
-\r
-       public void setRelatedInstanceList(RelatedInstanceList[] relatedInstanceList) {\r
-               this.relatedInstanceList = relatedInstanceList;\r
-       }\r
-\r
-       @Override\r
-       public String toString() {\r
-               return "RequestDetails [modelInfo=" + modelInfo + ", requestInfo="\r
-                               + requestInfo + ", relatedInstanceList="\r
-                               + Arrays.toString(relatedInstanceList) + ", subscriberInfo="\r
-                               + subscriberInfo + ", cloudConfiguration=" + cloudConfiguration\r
-                               + ", requestParameters=" + requestParameters + "]";\r
-       }\r
-\r
-}\r
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP - SO
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.openecomp.mso.serviceinstancebeans;
+
+import java.io.Serializable;
+import java.util.Arrays;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonInclude.Include;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonRootName;
+
+@JsonRootName(value = "requestDetails")
+@JsonInclude(Include.NON_DEFAULT)
+public class RequestDetails implements Serializable {
+
+       private static final long serialVersionUID = -73080684945860609L;
+       @JsonProperty("modelInfo")
+    protected ModelInfo modelInfo;
+       @JsonProperty("requestInfo")
+    protected RequestInfo requestInfo;
+       @JsonProperty("relatedInstanceList")
+    protected RelatedInstanceList[] relatedInstanceList;
+       @JsonProperty("subscriberInfo")
+    protected SubscriberInfo subscriberInfo;
+       @JsonProperty("cloudConfiguration")
+    protected CloudConfiguration cloudConfiguration;
+       @JsonProperty("requestParameters")
+    protected RequestParameters requestParameters;
+       @JsonProperty("project")
+    protected Project project;
+       @JsonProperty("owningEntity")
+    protected OwningEntity owningEntity;
+       @JsonProperty("platform")
+    protected Platform platform;
+       @JsonProperty("lineOfBusiness")
+    protected LineOfBusiness lineOfBusiness;
+    /**
+     * Gets the value of the serviceInfo property.
+     *
+     * @return
+     *     possible object is
+     *     {@link ModelInfo }
+     *
+     */
+    public ModelInfo getModelInfo() {
+        return modelInfo;
+    }
+
+    /**
+     * Sets the value of the serviceInfo property.
+     *
+     * @param value
+     *     allowed object is
+     *     {@link ModelInfo }
+     *
+     */
+    public void setModelInfo(ModelInfo value) {
+        this.modelInfo = value;
+    }
+
+    /**
+     * Gets the value of the requestInfo property.
+     *
+     * @return
+     *     possible object is
+     *     {@link RequestInfo }
+     *
+     */
+    public RequestInfo getRequestInfo() {
+        return requestInfo;
+    }
+
+    /**
+     * Sets the value of the requestInfo property.
+     *
+     * @param value
+     *     allowed object is
+     *     {@link RequestInfo }
+     *
+     */
+    public void setRequestInfo(RequestInfo value) {
+        this.requestInfo = value;
+    }
+
+    /**
+     * Gets the value of the subscriberInfo property.
+     *
+     * @return
+     *     possible object is
+     *     {@link SubscriberInfo }
+     *
+     */
+    public SubscriberInfo getSubscriberInfo() {
+        return subscriberInfo;
+    }
+
+    /**
+     * Sets the value of the subscriberInfo property.
+     *
+     * @param value
+     *     allowed object is
+     *     {@link SubscriberInfo }
+     *
+     */
+    public void setSubscriberInfo(SubscriberInfo value) {
+        this.subscriberInfo = value;
+    }
+
+    /**
+     * Gets the value of the cloudConfiguration property.
+     *
+     * @return
+     *     possible object is
+     *     {@link CloudConfiguration }
+     *
+     */
+    public CloudConfiguration getCloudConfiguration() {
+        return cloudConfiguration;
+    }
+
+    /**
+     * Sets the value of the cloudConfiguration property.
+     *
+     * @param value
+     *     allowed object is
+     *     {@link CloudConfiguration }
+     *
+     */
+    public void setCloudConfiguration(CloudConfiguration value) {
+        this.cloudConfiguration = value;
+    }
+
+    /**
+     * Gets the value of the requestParameters property.
+     *
+     * @return
+     *     possible object is
+     *     {@link RequestParameters }
+     *
+     */
+    public RequestParameters getRequestParameters() {
+        return requestParameters;
+    }
+
+    /**
+     * Sets the value of the requestParameters property.
+     *
+     * @param value
+     *     allowed object is
+     *     {@link RequestParameters }
+     *
+     */
+    public void setRequestParameters(RequestParameters value) {
+        this.requestParameters = value;
+    }
+
+       public RelatedInstanceList[] getRelatedInstanceList() {
+               return relatedInstanceList;
+       }
+
+       public void setRelatedInstanceList(RelatedInstanceList[] relatedInstanceList) {
+               this.relatedInstanceList = relatedInstanceList;
+       }
+       /**
+        * Gets the value of the project property.
+        *
+        * @return
+        *     possible object is
+        *     {@link Project }
+        *
+        */
+       public Project getProject(){
+               return project;
+       }
+       /**
+     * Sets the value of the project property.
+     *
+     * @param value
+     *     allowed object is
+     *     {@link Project }
+     *
+     */
+       public void setProject(Project value){
+               this.project = value;
+       }
+       /**
+        * Gets the value of the owningEntity property.
+        *
+        * @return
+        *     possible object is
+        *     {@link OwningEntity }
+        *
+        */
+       public OwningEntity getOwningEntity(){
+               return owningEntity;
+       }
+       /**
+     * Sets the value of the owningEntity property.
+     *
+     * @param value
+     *     allowed object is
+     *     {@link OwningEntity }
+     *
+     */
+       public void setOwningEntity(OwningEntity value){
+               this.owningEntity = value;
+       }
+       /**
+     * Gets the value of the platform property.
+     *
+     * @return
+     *     possible object is
+     *     {@link Platform }
+     *
+     */
+       public Platform getPlatform(){
+               return platform;
+       }
+       /**
+     * Sets the value of the platform property.
+     *
+     * @param value
+     *     allowed object is
+     *     {@link Platform }
+     *
+     */
+       public void setPlatform(Platform value){
+               this.platform = value;
+       }
+       /**
+     * Gets the value of the lineOfBusiness property.
+     *
+     * @return
+     *     possible object is
+     *     {@link LineOfBusiness }
+     *
+     */
+       public LineOfBusiness getLineOfBusiness(){
+               return lineOfBusiness;
+       }
+       /**
+     * Sets the value of the lineOfBusiness property.
+     *
+     * @param value
+     *     allowed object is
+     *     {@link LineOfBusiness }
+     *
+     */
+       public void setLineOfBusiness(LineOfBusiness value){
+               this.lineOfBusiness = value;
+       }
+       @Override
+       public String toString() {
+               return "RequestDetails [modelInfo=" + modelInfo + ", requestInfo="
+                               + requestInfo + ", relatedInstanceList="
+                               + Arrays.toString(relatedInstanceList) + ", subscriberInfo="
+                               + subscriberInfo + ", cloudConfiguration=" + cloudConfiguration
+                               + ", requestParameters=" + requestParameters + ", platform=" + platform 
+                               + ", lineOfBusiness=" + ", project=" + project + ", owningEntity=" + owningEntity + "]";
+       }
+}