SO changes for Service Intent
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / onap / so / apihandlerinfra / serviceintentinstancebeans / ServiceIntentModificationRequest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2021 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 Update request
27  */
28 public class ServiceIntentModificationRequest extends ServiceIntentCommonRequest {
29
30     @JsonProperty("name")
31     private String name;
32
33     @JsonProperty("serviceInstanceID")
34     private String serviceInstanceID;
35
36     public String getServiceInstanceID() {
37         return serviceInstanceID;
38     }
39
40     public void setServiceInstanceID(String serviceInstanceID) {
41         this.serviceInstanceID = serviceInstanceID;
42     }
43
44     public String getName() {
45         return name;
46     }
47
48     public void setName(String name) {
49         this.name = name;
50     }
51
52     @Override
53     public String toString() {
54         return "ServiceIntentModificationRequest [name=" + name + ", serviceInstanceID=" + getServiceInstanceID()
55                 + ", globalSubscriberId=" + getGlobalSubscriberId() + ", subscriptionServiceType="
56                 + getSubscriptionServiceType() + ", serviceType=" + getServiceType() + ", additionalProperties="
57                 + getAdditionalProperties() + "]";
58     }
59
60 }