1 package org.openecomp.sdc.ci.tests.tosca.datatypes;
3 import org.yaml.snakeyaml.TypeDescription;
6 import java.util.Objects;
8 public class ToscaInputsAnnotation {
12 private Map<String, Object> properties;
14 public String getName() {
17 public void setName(String name) {
20 public String getType() {
23 public void setType(String type) {
26 public Map<String, Object> getProperties() {
29 public void setProperties(Map<String, Object> properties) {
30 this.properties = properties;
34 //gets Type description for Yaml snake
35 public static TypeDescription getTypeDescription(){
36 return new TypeDescription(ToscaInputsAnnotation.class);
40 public boolean equals(Object o) {
41 if (this == o) return true;
42 if (o == null || getClass() != o.getClass()) return false;
43 ToscaInputsAnnotation that = (ToscaInputsAnnotation) o;
44 return Objects.equals(type, that.type);
48 public int hashCode() {
49 return Objects.hash(type);