1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
/*-
* ============LICENSE_START=======================================================
* VID
* ================================================================================
* Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ============LICENSE_END=========================================================
*/
package org.onap.vid.mso.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/* Based on this model:
// {
// "requestDetails": {
// "modelInfo": {
// “modelType”: “network”,
// “modelInvariantId”: “ff5256d1-5a33-55df-13ab-12abad84e7ff”,
// “modelVersionId”: “fe042c22-ba82-43c6-b2f6-8f1fc4164091”,
// “modelName”: “vSAMP12”,
// "modelVersion": "1.0",
// “modelCustomizationName”: “vSAMP12 1”,
// “modelCustomizationId”: “a7f1d08e-b02d-11e6-80f5-76304dec7eb7”
// },
// “cloudConfiguration”: {
// “lcpCloudRegionId”: “mdt1”,
// “tenantId”: “88a6ca3ee0394ade9403f075db23167e”
// },
// "requestInfo": {
// “instanceName”: “MSOTEST103a”,
// “productFamilyId”: “a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb”,
// “source”: “VID”,
// “suppressRollback”: false,
// “requestorId”: “az2016”
// },
// "platform": {
// "platformName": "{some platformName}"
// },
// "lineOfBusiness": {
// "lineOfBusinessName": "{some string}"
// },
// "relatedInstanceList": [
// {
// “relatedInstance”: {
// “instanceId”: “{serviceInstanceId}”,
// “modelInfo”: {
// “modelType”: “service”,
// “modelInvariantId”: “ff3514e3-5a33-55df-13ab-12abad84e7ff”,
// “modelVersionId”: “fe6985cd-ea33-3346-ac12-ab121484a3fe”,
// “modelName”: “{parent service model name}”,
// "modelVersion": "1.0"
// }
// }
// },
// {
// “relatedInstance”: {
// “instanceId”: “{instanceGroupId}”,
// “modelInfo”: {
// “modelType”: “networkCollection”,
// “modelInvariantId”: “9ea660dc-155f-44d3-b45c-cc7648b4f31c”,
// “modelVersionId”: “bb07aad1-ce2d-40c1-85cb-5392f76bb1ef”,
// “modelName”: “{network collection model name}”,
// "modelVersion": "1.0"
// }
// }
// }
// ],
// “requestParameters”: {
// “userParams”: []
// }
// }
// }
*/
public class NetworkInstantiationRequestDetails extends BaseResourceInstantiationRequestDetails {
public NetworkInstantiationRequestDetails(@JsonProperty(value = "modelInfo", required = true) ModelInfo modelInfo,
@JsonProperty(value = "cloudConfiguration", required = true) CloudConfiguration cloudConfiguration,
@JsonProperty(value = "requestInfo", required = true) RequestInfo requestInfo,
@JsonProperty(value = "platform", required = true) Platform platform,
@JsonProperty(value = "lineOfBusiness", required = true) LineOfBusiness lineOfBusiness,
@JsonProperty(value = "relatedInstanceList", required = true) List<RelatedInstance> relatedInstanceList,
@JsonProperty(value = "requestParameters", required = true) RequestParameters requestParameters)
{
super(modelInfo, cloudConfiguration, requestInfo, platform, lineOfBusiness, relatedInstanceList, requestParameters);
}
}
|