/
model_zone.go
65 lines (63 loc) · 3.27 KB
/
model_zone.go
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
/*
* Copyright (c) 2022 The AdvantEDGE Authors
*
* 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.
*
* AdvantEDGE Sandbox Controller REST API
*
* This API is the main Sandbox Controller API for scenario deployment & event injection <p>**Micro-service**<br>[meep-sandbox-ctrl](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-sandbox-ctrl) <p>**Type & Usage**<br>Platform runtime interface to manage active scenarios and inject events in AdvantEDGE platform <p>**Details**<br>API details available at _your-AdvantEDGE-ip-address/api_
*
* API version: 1.0.0
* Contact: AdvantEDGE@InterDigital.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package client
// Logical zone (MEC network) object
type Zone struct {
// Unique zone ID
Id string `json:"id,omitempty"`
// Zone name
Name string `json:"name,omitempty"`
// Zone type
Type_ string `json:"type,omitempty"`
NetChar *NetworkCharacteristics `json:"netChar,omitempty"`
// **DEPRECATED** As of release 1.3.0, no longer supported
InterFogLatency int32 `json:"interFogLatency,omitempty"`
// **DEPRECATED** As of release 1.3.0, no longer supported
InterFogLatencyVariation int32 `json:"interFogLatencyVariation,omitempty"`
// **DEPRECATED** As of release 1.3.0, no longer supported
InterFogThroughput int32 `json:"interFogThroughput,omitempty"`
// **DEPRECATED** As of release 1.3.0, no longer supported
InterFogPacketLoss float64 `json:"interFogPacketLoss,omitempty"`
// **DEPRECATED** As of release 1.3.0, no longer supported
InterEdgeLatency int32 `json:"interEdgeLatency,omitempty"`
// **DEPRECATED** As of release 1.3.0, no longer supported
InterEdgeLatencyVariation int32 `json:"interEdgeLatencyVariation,omitempty"`
// **DEPRECATED** As of release 1.3.0, no longer supported
InterEdgeThroughput int32 `json:"interEdgeThroughput,omitempty"`
// **DEPRECATED** As of release 1.3.0, no longer supported
InterEdgePacketLoss float64 `json:"interEdgePacketLoss,omitempty"`
// **DEPRECATED** As of release 1.3.0, replaced by netChar latency
EdgeFogLatency int32 `json:"edgeFogLatency,omitempty"`
// **DEPRECATED** As of release 1.3.0, replaced by netChar latencyVariation
EdgeFogLatencyVariation int32 `json:"edgeFogLatencyVariation,omitempty"`
// **DEPRECATED** As of release 1.3.0, replaced by netChar throughput
EdgeFogThroughput int32 `json:"edgeFogThroughput,omitempty"`
// **DEPRECATED** As of release 1.3.0, replaced by netChar packetLoss
EdgeFogPacketLoss float64 `json:"edgeFogPacketLoss,omitempty"`
// Key/Value Pair Map (string, string)
Meta map[string]string `json:"meta,omitempty"`
// Key/Value Pair Map (string, string)
UserMeta map[string]string `json:"userMeta,omitempty"`
NetworkLocations []NetworkLocation `json:"networkLocations,omitempty"`
}