2 * ============LICENSE_START===================================================
3 * Copyright (c) 2017 Cloudify.co. All rights reserved.
4 * ===================================================================
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
16 * ============LICENSE_END====================================================
18 package com.gigaspaces.aria.rest.client;
20 import com.fasterxml.jackson.annotation.JsonProperty;
23 * Created by DeWayne on 7/18/2017.
25 public class NodeTemplateImpl implements NodeTemplate {
28 private String description="";
29 @JsonProperty("service_template_id")
30 private int service_template_id;
31 @JsonProperty("type_name")
32 private String type_name="";
34 public NodeTemplateImpl(){}
36 public NodeTemplateImpl(int id, String name, String description, int service_template_id, String type_name){
38 this.description=description;
39 this.service_template_id=service_template_id;
40 this.type_name=type_name;
47 public String getDescription() {
51 public int getServiceTemplateId() {
52 return service_template_id;
55 public String getTypeName() {
59 public String getName() {
63 public void setName(String name) {