SO changes for Service Intent
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / onap / so / apihandlerinfra / serviceintentinstancebeans / ServiceIntentCreationRequest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2020 Huawei Technologies.
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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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=========================================================
19  */
20
21 package org.onap.so.apihandlerinfra.serviceintentinstancebeans;
22
23 import com.fasterxml.jackson.annotation.JsonProperty;
24
25 /**
26  * Model class for Service Intent Creation request
27  */
28 public class ServiceIntentCreationRequest extends ServiceIntentCommonRequest {
29
30     @JsonProperty("name")
31     private String name;
32
33     @JsonProperty("modelInvariantUuid")
34     private String modelInvariantUuid;
35
36     @JsonProperty("modelUuid")
37     private String modelUuid;
38
39     @JsonProperty("sst")
40     private String sST;
41
42     public String getName() {
43         return name;
44     }
45
46     public void setName(String name) {
47         this.name = name;
48     }
49
50     public String getModelInvariantUuid() {
51         return modelInvariantUuid;
52     }
53
54     public void setModelInvariantUuid(String modelInvariantUuid) {
55         this.modelInvariantUuid = modelInvariantUuid;
56     }
57
58     public String getModelUuid() {
59         return modelUuid;
60     }
61
62     public void setModelUuid(String modelUuid) {
63         this.modelUuid = modelUuid;
64     }
65
66     public String getsST() {
67         return sST;
68     }
69
70     public void setsST(String sST) {
71         this.sST = sST;
72     }
73
74     @Override
75     public String toString() {
76         return "ServiceIntentCreationRequest [name=" + name + ", modelInvariantUuid=" + modelInvariantUuid
77                 + ", modelUuid=" + modelUuid + ", globalSubscriberId=" + getGlobalSubscriberId()
78                 + ", subscriptionServiceType=" + getSubscriptionServiceType() + ", serviceType=" + getServiceType()
79                 + ", additionalProperties=" + getAdditionalProperties() + "]";
80     }
81
82 }