2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.openecomp.mso.cloudify.v3.model;
23 import java.io.Serializable;
26 import com.fasterxml.jackson.annotation.JsonProperty;
28 public class StartExecutionParams implements Serializable {
30 private static final long serialVersionUID = 1L;
32 @JsonProperty("workflow_id")
33 private String workflowId;
35 @JsonProperty("deployment_id")
36 private String deploymentId;
38 @JsonProperty("allow_custom_parameters")
39 private boolean allowCustomParameters;
41 @JsonProperty("force")
42 private boolean force;
44 @JsonProperty("parameters")
45 private Map<String, Object> parameters;
47 public String getWorkflowId() {
51 public void setWorkflowId(String workflowId) {
52 this.workflowId = workflowId;
55 public String getDeploymentId() {
59 public void setDeploymentId(String deploymentId) {
60 this.deploymentId = deploymentId;
63 public boolean isAllowCustomParameters() {
64 return allowCustomParameters;
67 public void setAllowCustomParameters(boolean allowCustomParameters) {
68 this.allowCustomParameters = allowCustomParameters;
71 public boolean isForce() {
75 public void setForce(boolean force) {
79 public Map<String, Object> getParameters() {
83 public void setParameters(Map<String, Object> parameters) {
84 this.parameters = parameters;
88 public String toString() {
89 return "UpdateExecutionParams{" +
90 "workflowId='" + workflowId + '\'' +
91 "deploymentId='" + deploymentId + '\'' +
92 "allowCustomParameters='" + allowCustomParameters + '\'' +
93 "force='" + force + '\'' +
94 "parameters='" + parameters + '\'' +