/
model_periodic_notification_subscription.go
46 lines (44 loc) · 2.97 KB
/
model_periodic_notification_subscription.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
/*
* 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 Location API
*
* Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf) <p>The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence <p>[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about Users (UE) and Zone locations <p>**Note**<br>AdvantEDGE supports all of Location API endpoints (see below).
*
* API version: 2.2.1
* Contact: AdvantEDGE@InterDigital.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package client
// A type containing data for periodic subscription.
type PeriodicNotificationSubscription struct {
// Address of terminals to monitor (e.g. \"sip\" URI, \"tel\" URI, \"acr\" URI)
Address []string `json:"address"`
CallbackReference *CallbackReference `json:"callbackReference"`
// A correlator that the client can use to tag this particular resource representation during a request to create a resource on the server.
ClientCorrelator string `json:"clientCorrelator,omitempty"`
// Period of time (in seconds) notifications are provided for. If set to “0” (zero), a default duration time, which is specified by the service policy, will be used. If the parameter is omitted, the notifications will continue until the maximum duration time, which is specified by the service policy, unless the notifications are stopped by deletion of subscription for notifications.
Duration int32 `json:"duration,omitempty"`
// Maximum frequency (in seconds) of notifications (can also be considered minimum time between notifications) per subscription.
Frequency int32 `json:"frequency"`
// Link to other resources that are in relationship with the resource.
Link []Link `json:"link,omitempty"`
// Accuracy of the provided distance in meters.
RequestedAccuracy int32 `json:"requestedAccuracy"`
// Identifies the entity that is requesting the information (e.g. \"sip\" URI, \"tel\" URI, \"acr\" URI)
Requester string `json:"requester,omitempty"`
// Self referring URL
ResourceURL string `json:"resourceURL,omitempty"`
}