diff options
Diffstat (limited to 'src/main/java/org/onap/sdc/dcae/composition/model/Model.java')
-rw-r--r-- | src/main/java/org/onap/sdc/dcae/composition/model/Model.java | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/src/main/java/org/onap/sdc/dcae/composition/model/Model.java b/src/main/java/org/onap/sdc/dcae/composition/model/Model.java new file mode 100644 index 0000000..9c24602 --- /dev/null +++ b/src/main/java/org/onap/sdc/dcae/composition/model/Model.java @@ -0,0 +1,77 @@ + +package org.onap.sdc.dcae.composition.model; + +import java.util.List; +import com.google.gson.annotations.Expose; +import com.google.gson.annotations.SerializedName; + +public class Model { + + @SerializedName("itemId") + @Expose + private String itemId; + @SerializedName("nodes") + @Expose + private List<Node> nodes = null; + @SerializedName("catalogId") + @Expose + private Integer catalogId; + @SerializedName("catalog") + @Expose + private String catalog; + @SerializedName("name") + @Expose + private String name; + @SerializedName("id") + @Expose + private Integer id; + + public String getItemId() { + return itemId; + } + + public void setItemId(String itemId) { + this.itemId = itemId; + } + + public List<Node> getNodes() { + return nodes; + } + + public void setNodes(List<Node> nodes) { + this.nodes = nodes; + } + + public Integer getCatalogId() { + return catalogId; + } + + public void setCatalogId(Integer catalogId) { + this.catalogId = catalogId; + } + + public String getCatalog() { + return catalog; + } + + public void setCatalog(String catalog) { + this.catalog = catalog; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + +} |