+/*-
+ * ============LICENSE_START=======================================================
+ * VID
+ * ================================================================================
+ * Copyright (C) 2017 - 2019 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.onap.vid.mso.model;
import com.fasterxml.jackson.annotation.JsonInclude;
public static class RequestInfo {
- @JsonInclude(NON_NULL) public final String instanceName;
- @JsonInclude(NON_NULL) public final String productFamilyId;
+ @JsonInclude(NON_EMPTY) public final String instanceName;
+ @JsonInclude(NON_EMPTY) public final String productFamilyId;
public final String source;
public final boolean suppressRollback;
public final String requestorId;
private static class ServiceInstantiationServiceInner implements UserParamTypes {
public ModelInfo modelInfo = new ModelInfo();
- @JsonInclude(NON_NULL)
+ @JsonInclude(NON_EMPTY)
public String instanceName;
public List<Map<String, String>> instanceParams;
public ServiceInstantiationVnfList resources;
public final String productFamilyId;
public final List<Map<String, String>> instanceParams;
@JsonInclude(NON_EMPTY) public final List<VfModuleMacro> vfModules;
- @JsonInclude(NON_NULL) public final String instanceName;
+ @JsonInclude(NON_EMPTY) public final String instanceName;
public ServiceInstantiationVnf(ModelInfo modelInfo, CloudConfiguration cloudConfiguration, String platform, String lineOfBusiness, String productFamilyId, List<Map<String, String>> instanceParams, List<VfModuleMacro> vfModules, String instanceName) {
this.modelInfo = modelInfo;