Commit a3185654 authored by Spiros Koulouzis's avatar Spiros Koulouzis

format

parent 6be9e016
......@@ -16,297 +16,278 @@ import javax.validation.Valid;
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-10-25T14:09:25.182Z")
public class NodeTemplate {
@JsonProperty("name")
private String name = null;
public class NodeTemplate {
@JsonProperty("type")
private String type = null;
@JsonProperty("type")
private String type = null;
@JsonProperty("requirements")
@Valid
private List<Map<String, Object>> requirements = null;
@JsonProperty("requirements")
@Valid
private List<Map<String, Object>> requirements = null;
@JsonProperty("artifacts")
@Valid
private Map<String, Object> artifacts = null;
@JsonProperty("artifacts")
@Valid
private Map<String, Object> artifacts = null;
@JsonProperty("properties")
@Valid
private Map<String, Object> properties = null;
@JsonProperty("properties")
@Valid
private Map<String, Object> properties = null;
@JsonProperty("interfaces")
@Valid
private Map<String, Object> interfaces = null;
@JsonProperty("interfaces")
@Valid
private Map<String, Object> interfaces = null;
@JsonProperty("capabilities")
@Valid
private Map<String, Object> capabilities = null;
@JsonProperty("capabilities")
@Valid
private Map<String, Object> capabilities = null;
@JsonProperty("workflows")
@Valid
private Map<String, Object> workflows = null;
@JsonProperty("workflows")
@Valid
private Map<String, Object> workflows = null;
public NodeTemplate name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public NodeTemplate type(String type) {
this.type = type;
return this;
}
public void setName(String name) {
this.name = name;
}
/**
* Get type
*
* @return type
*
*/
@ApiModelProperty(value = "")
public NodeTemplate type(String type) {
this.type = type;
return this;
}
public String getType() {
return type;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(value = "")
public void setType(String type) {
this.type = type;
}
public NodeTemplate requirements(List<Map<String, Object>> requirements) {
this.requirements = requirements;
return this;
}
public String getType() {
return type;
}
public NodeTemplate addRequirementsItem(Map<String, Object> requirementsItem) {
if (this.requirements == null) {
this.requirements = new ArrayList<Map<String, Object>>();
}
this.requirements.add(requirementsItem);
return this;
}
public void setType(String type) {
this.type = type;
}
/**
* Get requirements
*
* @return requirements
*
*/
@ApiModelProperty(value = "")
public NodeTemplate requirements(List<Map<String, Object>> requirements) {
this.requirements = requirements;
return this;
}
@Valid
public NodeTemplate addRequirementsItem(Map<String, Object> requirementsItem) {
if (this.requirements == null) {
this.requirements = new ArrayList<Map<String, Object>>();
public List<Map<String, Object>> getRequirements() {
return requirements;
}
this.requirements.add(requirementsItem);
return this;
}
/**
* Get requirements
* @return requirements
**/
@ApiModelProperty(value = "")
@Valid
public List<Map<String, Object>> getRequirements() {
return requirements;
}
public void setRequirements(List<Map<String, Object>> requirements) {
this.requirements = requirements;
}
public NodeTemplate artifacts(Map<String, Object> artifacts) {
this.artifacts = artifacts;
return this;
}
public NodeTemplate putArtifactsItem(String key, Object artifactsItem) {
if (this.artifacts == null) {
this.artifacts = new HashMap<String, Object>();
}
this.artifacts.put(key, artifactsItem);
return this;
}
/**
* Get artifacts
* @return artifacts
**/
@ApiModelProperty(value = "")
public void setRequirements(List<Map<String, Object>> requirements) {
this.requirements = requirements;
}
public Map<String, Object> getArtifacts() {
return artifacts;
}
public NodeTemplate artifacts(Map<String, Object> artifacts) {
this.artifacts = artifacts;
return this;
}
public void setArtifacts(Map<String, Object> artifacts) {
this.artifacts = artifacts;
}
public NodeTemplate putArtifactsItem(String key, Object artifactsItem) {
if (this.artifacts == null) {
this.artifacts = new HashMap<String, Object>();
}
this.artifacts.put(key, artifactsItem);
return this;
}
public NodeTemplate properties(Map<String, Object> properties) {
this.properties = properties;
return this;
}
/**
* Get artifacts
*
* @return artifacts
*
*/
@ApiModelProperty(value = "")
public NodeTemplate putPropertiesItem(String key, Object propertiesItem) {
if (this.properties == null) {
this.properties = new HashMap<String, Object>();
public Map<String, Object> getArtifacts() {
return artifacts;
}
this.properties.put(key, propertiesItem);
return this;
}
/**
* Get properties
* @return properties
**/
@ApiModelProperty(value = "")
public void setArtifacts(Map<String, Object> artifacts) {
this.artifacts = artifacts;
}
public Map<String, Object> getProperties() {
return properties;
}
public NodeTemplate properties(Map<String, Object> properties) {
this.properties = properties;
return this;
}
public void setProperties(Map<String, Object> properties) {
this.properties = properties;
}
public NodeTemplate putPropertiesItem(String key, Object propertiesItem) {
if (this.properties == null) {
this.properties = new HashMap<String, Object>();
}
this.properties.put(key, propertiesItem);
return this;
}
public NodeTemplate interfaces(Map<String, Object> interfaces) {
this.interfaces = interfaces;
return this;
}
/**
* Get properties
*
* @return properties
*
*/
@ApiModelProperty(value = "")
public NodeTemplate putInterfacesItem(String key, Object interfacesItem) {
if (this.interfaces == null) {
this.interfaces = new HashMap<>();
public Map<String, Object> getProperties() {
return properties;
}
this.interfaces.put(key, interfacesItem);
return this;
}
/**
* Get interfaces
* @return interfaces
**/
@ApiModelProperty(value = "")
public void setProperties(Map<String, Object> properties) {
this.properties = properties;
}
public NodeTemplate interfaces(Map<String, Object> interfaces) {
this.interfaces = interfaces;
return this;
}
public Map<String, Object> getInterfaces() {
return interfaces;
}
public NodeTemplate putInterfacesItem(String key, Object interfacesItem) {
if (this.interfaces == null) {
this.interfaces = new HashMap<>();
}
this.interfaces.put(key, interfacesItem);
return this;
}
public void setInterfaces(Map<String, Object> interfaces) {
this.interfaces = interfaces;
}
/**
* Get interfaces
*
* @return interfaces
*
*/
@ApiModelProperty(value = "")
public NodeTemplate capabilities(Map<String, Object> capabilities) {
this.capabilities = capabilities;
return this;
}
public Map<String, Object> getInterfaces() {
return interfaces;
}
public NodeTemplate putCapabilitiesItem(String key, Object capabilitiesItem) {
if (this.capabilities == null) {
this.capabilities = new HashMap<String, Object>();
public void setInterfaces(Map<String, Object> interfaces) {
this.interfaces = interfaces;
}
this.capabilities.put(key, capabilitiesItem);
return this;
}
/**
* Get capabilities
* @return capabilities
**/
@ApiModelProperty(value = "")
public NodeTemplate capabilities(Map<String, Object> capabilities) {
this.capabilities = capabilities;
return this;
}
public NodeTemplate putCapabilitiesItem(String key, Object capabilitiesItem) {
if (this.capabilities == null) {
this.capabilities = new HashMap<String, Object>();
}
this.capabilities.put(key, capabilitiesItem);
return this;
}
public Map<String, Object> getCapabilities() {
return capabilities;
}
/**
* Get capabilities
*
* @return capabilities
*
*/
@ApiModelProperty(value = "")
public void setCapabilities(Map<String, Object> capabilities) {
this.capabilities = capabilities;
}
public Map<String, Object> getCapabilities() {
return capabilities;
}
public NodeTemplate workflows(Map<String, Object> workflows) {
this.workflows = workflows;
return this;
}
public void setCapabilities(Map<String, Object> capabilities) {
this.capabilities = capabilities;
}
public NodeTemplate putWorkflowsItem(String key, Object workflowsItem) {
if (this.workflows == null) {
this.workflows = new HashMap<String, Object>();
public NodeTemplate workflows(Map<String, Object> workflows) {
this.workflows = workflows;
return this;
}
this.workflows.put(key, workflowsItem);
return this;
}
/**
* Get workflows
* @return workflows
**/
@ApiModelProperty(value = "")
public NodeTemplate putWorkflowsItem(String key, Object workflowsItem) {
if (this.workflows == null) {
this.workflows = new HashMap<String, Object>();
}
this.workflows.put(key, workflowsItem);
return this;
}
/**
* Get workflows
*
* @return workflows
*
*/
@ApiModelProperty(value = "")
public Map<String, Object> getWorkflows() {
return workflows;
}
public Map<String, Object> getWorkflows() {
return workflows;
}
public void setWorkflows(Map<String, Object> workflows) {
this.workflows = workflows;
}
public void setWorkflows(Map<String, Object> workflows) {
this.workflows = workflows;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
NodeTemplate nodeTemplate = (NodeTemplate) o;
return Objects.equals(this.type, nodeTemplate.type)
&& Objects.equals(this.requirements, nodeTemplate.requirements)
&& Objects.equals(this.artifacts, nodeTemplate.artifacts)
&& Objects.equals(this.properties, nodeTemplate.properties)
&& Objects.equals(this.interfaces, nodeTemplate.interfaces)
&& Objects.equals(this.capabilities, nodeTemplate.capabilities)
&& Objects.equals(this.workflows, nodeTemplate.workflows);
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
@Override
public int hashCode() {
return Objects.hash(type, requirements, artifacts, properties, interfaces, capabilities, workflows);
}
if (o == null || getClass() != o.getClass()) {
return false;
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class NodeTemplate {\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" requirements: ").append(toIndentedString(requirements)).append("\n");
sb.append(" artifacts: ").append(toIndentedString(artifacts)).append("\n");
sb.append(" properties: ").append(toIndentedString(properties)).append("\n");
sb.append(" interfaces: ").append(toIndentedString(interfaces)).append("\n");
sb.append(" capabilities: ").append(toIndentedString(capabilities)).append("\n");
sb.append(" workflows: ").append(toIndentedString(workflows)).append("\n");
sb.append("}");
return sb.toString();
}
NodeTemplate nodeTemplate = (NodeTemplate) o;
return Objects.equals(this.name, nodeTemplate.name) &&
Objects.equals(this.type, nodeTemplate.type) &&
Objects.equals(this.requirements, nodeTemplate.requirements) &&
Objects.equals(this.artifacts, nodeTemplate.artifacts) &&
Objects.equals(this.properties, nodeTemplate.properties) &&
Objects.equals(this.interfaces, nodeTemplate.interfaces) &&
Objects.equals(this.capabilities, nodeTemplate.capabilities) &&
Objects.equals(this.workflows, nodeTemplate.workflows);
}
@Override
public int hashCode() {
return Objects.hash(name, type, requirements, artifacts, properties, interfaces, capabilities, workflows);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class NodeTemplate {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" requirements: ").append(toIndentedString(requirements)).append("\n");
sb.append(" artifacts: ").append(toIndentedString(artifacts)).append("\n");
sb.append(" properties: ").append(toIndentedString(properties)).append("\n");
sb.append(" interfaces: ").append(toIndentedString(interfaces)).append("\n");
sb.append(" capabilities: ").append(toIndentedString(capabilities)).append("\n");
sb.append(" workflows: ").append(toIndentedString(workflows)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
return o.toString().replace("\n", "\n ");
}
}
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="PyCompatibilityInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ourVersions">
<value>
<list size="2">
<item index="0" class="java.lang.String" itemvalue="3.6" />
<item index="1" class="java.lang.String" itemvalue="3.8" />
</list>
</value>
</option>
</inspection_tool>
</profile>
</component>
\ No newline at end of file
......@@ -2,8 +2,28 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="462ede19-adfe-472b-975e-fefefa973fe0" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/../drip-manager/src/main/java/nl/uva/sne/drip/service/ProvisionerService.java" beforeDir="false" afterPath="$PROJECT_DIR$/../drip-manager/src/main/java/nl/uva/sne/drip/service/ProvisionerService.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/requirements.txt" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/requirements.txt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/sure_tosca/controllers/default_controller.py" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/sure_tosca/controllers/default_controller.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/sure_tosca/models/node_template.py" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/sure_tosca/models/node_template.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/sure_tosca/models/topology_template.py" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/sure_tosca/models/topology_template.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/sure_tosca/models/tosca_template.py" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/sure_tosca/models/tosca_template.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/sure_tosca/swagger/swagger.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/sure_tosca/swagger/swagger.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/bin/chardetect" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/bin/chardetect" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/bin/connexion" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/bin/connexion" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/bin/flask" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/bin/flask" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/bin/jsonschema" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/bin/jsonschema" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/bin/openapi-spec-validator" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/bin/openapi-spec-validator" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/bin/pbr" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/bin/pbr" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/bin/pybabel" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/bin/pybabel" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/bin/tosca-parser" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/bin/tosca-parser" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/lib/python3.6/site-packages/attr/converters.py" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/lib/python3.6/site-packages/attr/converters.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/lib/python3.6/site-packages/attr/filters.py" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/lib/python3.6/site-packages/attr/filters.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/lib/python3.6/site-packages/pbr/find_package.py" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/lib/python3.6/site-packages/pbr/find_package.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/lib/python3.6/site-packages/pbr/pbr_json.py" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/lib/python3.6/site-packages/pbr/pbr_json.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/lib/python3.6/site-packages/pbr/tests/__init__.py" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/lib/python3.6/site-packages/pbr/tests/__init__.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/lib/python3.6/site-packages/pbr/tests/testpackage/pbr_testpackage/wsgi.py" beforeDir="false" afterPath="$PROJECT_DIR$/../sure_tosca-flask-server/venv/lib/python3.6/site-packages/pbr/tests/testpackage/pbr_testpackage/wsgi.py" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
......@@ -35,7 +55,7 @@
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="TODO_SCOPE" value="All Places" />
<property name="full.screen.before.presentation.mode" value="false" />
<property name="last_opened_file_path" value="$USER_HOME$/Downloads/python-flask-server-generated" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/../drip-deployer" />
<property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable" />
</component>
<component name="RecentsManager">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment