Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AppTerminationNotification
- type AppTerminationNotificationLinks
- type BasicAuth
- type CellId
- type Configuration
- type Earfcn
- type Ecgi
- type FddInfo
- type GenericSwaggerError
- type LinkType
- type Links
- type LocationInfo
- type LocationInfoGeoArea
- type MsgType
- type OneOfsubscriptionsBody
- type OneOfsubscriptionsSubscriptionIdBody
- type OperationActionType
- type Pc5NeighbourCellInfo
- type Pc5ProvisioningInfo
- type Pc5ProvisioningInfoProInfoPc5
- type Plmn
- type PredictedQos
- type PredictedQosRoutes
- type PredictedQosRoutesRouteInfo
- type ProblemDetails
- type ProvChgPc5Notification
- type ProvChgPc5Subscription
- type ProvChgPc5SubscriptionFilterCriteria
- type ProvChgUuMbmsNotification
- type ProvChgUuMbmsSubscription
- type ProvChgUuMbmsSubscriptionFilterCriteria
- type ProvChgUuUniNotification
- type ProvChgUuUniSubscription
- type ProvChgUuUniSubscriptionFilterCriteria
- type SubGETOpts
- type SubscriptionLinkList
- type SubscriptionLinkListLinks
- type SubscriptionLinkListLinksSubscriptions
- type SubscriptionsBody
- type SubscriptionsSubscriptionIdBody
- type SystemInformationBlockType21
- type TddInfo
- type TestNotification
- type TestNotificationLinks
- type TimeStamp
- type TransmissionBandwidth
- type TransmissionBandwidthTransmissionBandwidth
- type UnsupportedApiService
- func (a *UnsupportedApiService) IndividualSubscriptionDELETE(ctx context.Context, subscriptionId string) (*http.Response, error)
- func (a *UnsupportedApiService) IndividualSubscriptionGET(ctx context.Context, subscriptionId string) (SubscriptionsBody, *http.Response, error)
- func (a *UnsupportedApiService) IndividualSubscriptionPUT(ctx context.Context, body SubscriptionsSubscriptionIdBody, ...) (SubscriptionsSubscriptionIdBody, *http.Response, error)
- func (a *UnsupportedApiService) ProvInfoGET(ctx context.Context, locationInfo string) (Pc5ProvisioningInfo, *http.Response, error)
- func (a *UnsupportedApiService) ProvInfoUuMbmsGET(ctx context.Context, locationInfo string) (UuMbmsProvisioningInfo, *http.Response, error)
- func (a *UnsupportedApiService) ProvInfoUuUnicastGET(ctx context.Context, locationInfo string) (UuUnicastProvisioningInfo, *http.Response, error)
- func (a *UnsupportedApiService) SubGET(ctx context.Context, localVarOptionals *SubGETOpts) (SubscriptionLinkList, *http.Response, error)
- func (a *UnsupportedApiService) SubPOST(ctx context.Context, body SubscriptionsBody) (SubscriptionsBody, *http.Response, error)
- func (a *UnsupportedApiService) V2xMessagePOST(ctx context.Context, body V2xMsgPublication) (*http.Response, error)
- type UuMbmsNeighbourCellInfo
- type UuMbmsProvisioningInfo
- type UuMbmsProvisioningInfoProInfoUuMbms
- type UuUniNeighbourCellInfo
- type UuUnicastProvisioningInfo
- type UuUnicastProvisioningInfoProInfoUuUnicast
- type V2xApplicationServer
- type V2xMsgNotification
- type V2xMsgNotificationLinks
- type V2xMsgPublication
- type V2xMsgSubscription
- type V2xMsgSubscriptionFilterCriteria
- type V2xServerUsd
- type V2xServerUsdSdpInfo
- type V2xServerUsdTmgi
- type V2xiApiService
- type WebsockNotifConfig
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { UnsupportedApi *UnsupportedApiService V2xiApi *V2xiApiService // contains filtered or unexported fields }
APIClient manages communication with the AdvantEDGE V2X Information Service REST API API v2.2.1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AppTerminationNotification ¶
type AppTerminationNotification struct { // Shall be set to AppTerminationNotification. NotificationType string `json:"notificationType"` OperationAction *OperationActionType `json:"operationAction"` // Maximum timeout value in seconds for graceful termination or graceful stop of an application instance. MaxGracefulTimeout int32 `json:"maxGracefulTimeout"` Links *AppTerminationNotificationLinks `json:"_links"` }
This type represents the information that the MEC platform notifies the subscribed application instance about the corresponding application instance termination/stop.
type AppTerminationNotificationLinks ¶
type AppTerminationNotificationLinks struct { Subscription *LinkType `json:"subscription"` ConfirmTermination *LinkType `json:"confirmTermination,omitempty"` }
Object containing hyperlinks related to the resource.
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CellId ¶
type CellId struct { // E-UTRAN Cell Identity as a bit string (size (28)). CellId string `json:"cellId"` }
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type Earfcn ¶
type Earfcn struct { // E-UTRA Absolute Radio Frequency Channel Number, range (0... 65535) Earfcn int32 `json:"earfcn"` }
type FddInfo ¶
type FddInfo struct { DlEarfcn *Earfcn `json:"dlEarfcn"` DlTransmissionBandwidth *TransmissionBandwidth `json:"dlTransmissionBandwidth"` UlEarfcn *Earfcn `json:"ulEarfcn"` UlTransmissionBandwidth *TransmissionBandwidth `json:"ulTransmissionBandwidth"` }
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type Links ¶
type Links struct {
Self *LinkType `json:"self"`
}
Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests.
type LocationInfo ¶
type LocationInfo struct { Ecgi *Ecgi `json:"ecgi,omitempty"` GeoArea *LocationInfoGeoArea `json:"geoArea,omitempty"` }
type LocationInfoGeoArea ¶
type LocationInfoGeoArea struct { // Latitude (DATUM = WGS84) -90 to 90 in decimal degree format DDD.ddd Latitude float32 `json:"latitude"` // Longitude (DATUM = WGS84) -180 to 180 in decimal degree format DDD.ddd Longitude float32 `json:"longitude"` }
Information of a geographical area.
type MsgType ¶
type MsgType int32
MsgType : Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301,
type OneOfsubscriptionsBody ¶
type OneOfsubscriptionsBody struct { }
type OneOfsubscriptionsSubscriptionIdBody ¶
type OneOfsubscriptionsSubscriptionIdBody struct { }
type OperationActionType ¶
type OperationActionType string
OperationActionType : Operation that is being performed on the MEC application instance.
const ( STOPPING_OperationActionType OperationActionType = "STOPPING" TERMINATING_OperationActionType OperationActionType = "TERMINATING" )
List of OperationActionType
type Pc5NeighbourCellInfo ¶
type Pc5NeighbourCellInfo struct { Ecgi *Ecgi `json:"ecgi"` Plmn *Plmn `json:"plmn"` SiV2xConfig *SystemInformationBlockType21 `json:"siV2xConfig"` }
type Pc5ProvisioningInfo ¶
type Pc5ProvisioningInfo struct { ProInfoPc5 []Pc5ProvisioningInfoProInfoPc5 `json:"proInfoPc5"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` }
type Pc5ProvisioningInfoProInfoPc5 ¶
type Pc5ProvisioningInfoProInfoPc5 struct { // For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. PLMN operators coordinate to make sure Destination Layer2 ID(s) for different V2X services are configured in a consistent manner. DstLayer2Id string `json:"dstLayer2Id"` LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. NeighbourCellInfo []Pc5NeighbourCellInfo `json:"neighbourCellInfo,omitempty"` }
The provisioning information per location as defined below.
type PredictedQos ¶
type PredictedQos struct { // Granularity of visited location. Measured in meters. LocationGranularity string `json:"locationGranularity"` // Information relating to the potential routes of a vehicular UE. Routes []PredictedQosRoutes `json:"routes"` TimeGranularity *TimeStamp `json:"timeGranularity,omitempty"` }
type PredictedQosRoutes ¶
type PredictedQosRoutes struct { // Information relating to a specific route. The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. RouteInfo []PredictedQosRoutesRouteInfo `json:"routeInfo,omitempty"` }
type PredictedQosRoutesRouteInfo ¶
type PredictedQosRoutesRouteInfo struct { Location *LocationInfo `json:"location,omitempty"` // Reference Signal Received Power as defined in ETSI TS 136 214 [i.13]. Shall only be included in the response. Rsrp int32 `json:"rsrp,omitempty"` // Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. Shall only be included in the response. Rsrq int32 `json:"rsrq,omitempty"` Time *TimeStamp `json:"time,omitempty"` }
type ProblemDetails ¶
type ProblemDetails struct { // A human-readable explanation specific to this occurrence of the problem Detail string `json:"detail,omitempty"` // A URI reference that identifies the specific occurrence of the problem Instance string `json:"instance,omitempty"` // The HTTP status code for this occurrence of the problem Status int32 `json:"status,omitempty"` // A short, human-readable summary of the problem type Title string `json:"title,omitempty"` // A URI reference according to IETF RFC 3986 that identifies the problem type Type_ string `json:"type,omitempty"` }
type ProvChgPc5Notification ¶
type ProvChgPc5Notification struct { // For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. DstLayer2Id string `json:"dstLayer2Id,omitempty"` LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. NeighbourCellInfo []Pc5NeighbourCellInfo `json:"neighbourCellInfo,omitempty"` // Shall be set to \"ProvChgPc5Notification\". NotificationType string `json:"notificationType"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` }
type ProvChgPc5Subscription ¶
type ProvChgPc5Subscription struct { Links *Links `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note. CallbackReference string `json:"callbackReference,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteria *ProvChgPc5SubscriptionFilterCriteria `json:"filterCriteria"` // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. RequestTestNotification bool `json:"requestTestNotification,omitempty"` // Shall be set to \"ProvChgPc5Subscription\". SubscriptionType string `json:"subscriptionType"` WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` }
type ProvChgPc5SubscriptionFilterCriteria ¶
type ProvChgPc5SubscriptionFilterCriteria struct { // For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. DstLayer2Id string `json:"dstLayer2Id"` LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. NeighbourCellInfo []Pc5NeighbourCellInfo `json:"neighbourCellInfo,omitempty"` }
List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response.
type ProvChgUuMbmsNotification ¶
type ProvChgUuMbmsNotification struct { LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. NeighbourCellInfo []UuMbmsNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` // Shall be set to \"ProvChgUuMbmsNotification\". NotificationType string `json:"notificationType"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` V2xServerUsd *V2xServerUsd `json:"v2xServerUsd,omitempty"` }
type ProvChgUuMbmsSubscription ¶
type ProvChgUuMbmsSubscription struct { Links *Links `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note. CallbackReference string `json:"callbackReference,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteria *ProvChgUuMbmsSubscriptionFilterCriteria `json:"filterCriteria"` // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. RequestTestNotification bool `json:"requestTestNotification,omitempty"` // Shall be set to \"ProvChgUuMbmsSubscription\". SubscriptionType string `json:"subscriptionType"` WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` }
type ProvChgUuMbmsSubscriptionFilterCriteria ¶
type ProvChgUuMbmsSubscriptionFilterCriteria struct { LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. NeighbourCellInfo []UuMbmsNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` V2xServerUsd *V2xServerUsd `json:"v2xServerUsd"` }
List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response.
type ProvChgUuUniNotification ¶
type ProvChgUuUniNotification struct { LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. NeighbourCellInfo []UuUniNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` // Shall be set to \"ProvChgUuUniNotification\". NotificationType string `json:"notificationType"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` V2xApplicationServer *V2xApplicationServer `json:"v2xApplicationServer,omitempty"` }
type ProvChgUuUniSubscription ¶
type ProvChgUuUniSubscription struct { Links *Links `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note. CallbackReference string `json:"callbackReference,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteria *ProvChgUuUniSubscriptionFilterCriteria `json:"filterCriteria"` // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. RequestTestNotification bool `json:"requestTestNotification,omitempty"` // Shall be set to \"ProvChgUuUniSubscription\". SubscriptionType string `json:"subscriptionType"` WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` }
type ProvChgUuUniSubscriptionFilterCriteria ¶
type ProvChgUuUniSubscriptionFilterCriteria struct { LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. NeighbourCellInfo []UuUniNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` V2xApplicationServer *V2xApplicationServer `json:"v2xApplicationServer"` }
List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response.
type SubGETOpts ¶
type SubscriptionLinkList ¶
type SubscriptionLinkList struct {
Links *SubscriptionLinkListLinks `json:"_links"`
}
type SubscriptionLinkListLinks ¶
type SubscriptionLinkListLinks struct { Self *LinkType `json:"self"` Subscriptions []SubscriptionLinkListLinksSubscriptions `json:"subscriptions,omitempty"` }
List of hyperlinks related to the resource.
type SubscriptionLinkListLinksSubscriptions ¶
type SubscriptionLinkListLinksSubscriptions struct { // The URI referring to the subscription. Href string `json:"href"` // Type of the subscription. The values are as defined in the \"subscriptionType\" attribute for each different V2X information event subscription data type. SubscriptionType string `json:"subscriptionType"` }
The service consumer's subscriptions.
type SubscriptionsBody ¶
type SubscriptionsBody struct { }
type SubscriptionsSubscriptionIdBody ¶
type SubscriptionsSubscriptionIdBody struct { }
type SystemInformationBlockType21 ¶
type SystemInformationBlockType21 struct { }
type TddInfo ¶
type TddInfo struct { Earfcn *Earfcn `json:"earfcn"` // Uplink-downlink subframe configuration information. SubframeAssignment string `json:"subframeAssignment"` TransmissionBandwidth *TransmissionBandwidth `json:"transmissionBandwidth"` }
type TestNotification ¶
type TestNotification struct { Links *TestNotificationLinks `json:"_links"` // Shall be set to \"TestNotification\". NotificationType string `json:"notificationType"` }
type TestNotificationLinks ¶
type TestNotificationLinks struct {
Subscription *LinkType `json:"subscription"`
}
Hyperlink related to the resource.
type TransmissionBandwidth ¶
type TransmissionBandwidth struct {
TransmissionBandwidth *TransmissionBandwidthTransmissionBandwidth `json:"transmissionBandwidth"`
}
type TransmissionBandwidthTransmissionBandwidth ¶
type TransmissionBandwidthTransmissionBandwidth int32
TransmissionBandwidthTransmissionBandwidth : 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: 1 = bw6 (6 resource blocks) 2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)'
const ( BW6 TransmissionBandwidthTransmissionBandwidth = 1 BW15 TransmissionBandwidthTransmissionBandwidth = 2 BW25 TransmissionBandwidthTransmissionBandwidth = 3 BW50 TransmissionBandwidthTransmissionBandwidth = 4 BW75 TransmissionBandwidthTransmissionBandwidth = 5 BW100 TransmissionBandwidthTransmissionBandwidth = 6 )
List of TransmissionBandwidth.transmissionBandwidth
type UnsupportedApiService ¶
type UnsupportedApiService service
func (*UnsupportedApiService) IndividualSubscriptionDELETE ¶
func (a *UnsupportedApiService) IndividualSubscriptionDELETE(ctx context.Context, subscriptionId string) (*http.Response, error)
UnsupportedApiService Used to cancel the existing subscription. Used to cancel the existing subscription.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription
func (*UnsupportedApiService) IndividualSubscriptionGET ¶
func (a *UnsupportedApiService) IndividualSubscriptionGET(ctx context.Context, subscriptionId string) (SubscriptionsBody, *http.Response, error)
UnsupportedApiService Retrieve information about this subscription. Retrieve information about this subscription.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription
@return SubscriptionsBody
func (*UnsupportedApiService) IndividualSubscriptionPUT ¶
func (a *UnsupportedApiService) IndividualSubscriptionPUT(ctx context.Context, body SubscriptionsSubscriptionIdBody, subscriptionId string) (SubscriptionsSubscriptionIdBody, *http.Response, error)
UnsupportedApiService Used to update the existing subscription. Used to update the existing subscription.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription
@return SubscriptionsSubscriptionIdBody
func (*UnsupportedApiService) ProvInfoGET ¶
func (a *UnsupportedApiService) ProvInfoGET(ctx context.Context, locationInfo string) (Pc5ProvisioningInfo, *http.Response, error)
UnsupportedApiService Query provisioning information for V2X communication over PC5. Query provisioning information for V2X communication over PC5.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param locationInfo Comma separated list of locations to identify a cell of a base station or a particular geographical area
@return Pc5ProvisioningInfo
func (*UnsupportedApiService) ProvInfoUuMbmsGET ¶
func (a *UnsupportedApiService) ProvInfoUuMbmsGET(ctx context.Context, locationInfo string) (UuMbmsProvisioningInfo, *http.Response, error)
UnsupportedApiService retrieve information required for V2X communication over Uu MBMS. retrieve information required for V2X communication over Uu MBMS.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param locationInfo omma separated list of locations to identify a cell of a base station or a particular geographical area
@return UuMbmsProvisioningInfo
func (*UnsupportedApiService) ProvInfoUuUnicastGET ¶
func (a *UnsupportedApiService) ProvInfoUuUnicastGET(ctx context.Context, locationInfo string) (UuUnicastProvisioningInfo, *http.Response, error)
UnsupportedApiService Used to query provisioning information for V2X communication over Uu unicast. Used to query provisioning information for V2X communication over Uu unicast.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param locationInfo Comma separated list of locations to identify a cell of a base station or a particular geographical area
@return UuUnicastProvisioningInfo
func (*UnsupportedApiService) SubGET ¶
func (a *UnsupportedApiService) SubGET(ctx context.Context, localVarOptionals *SubGETOpts) (SubscriptionLinkList, *http.Response, error)
func (*UnsupportedApiService) SubPOST ¶
func (a *UnsupportedApiService) SubPOST(ctx context.Context, body SubscriptionsBody) (SubscriptionsBody, *http.Response, error)
UnsupportedApiService create a new subscription to VIS notifications.
create a new subscription to VIS notifications. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param body
@return SubscriptionsBody
func (*UnsupportedApiService) V2xMessagePOST ¶
func (a *UnsupportedApiService) V2xMessagePOST(ctx context.Context, body V2xMsgPublication) (*http.Response, error)
UnsupportedApiService Used to publish a V2X message. Used to publish a V2X message.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
type UuMbmsNeighbourCellInfo ¶
type UuMbmsNeighbourCellInfo struct { Ecgi *Ecgi `json:"ecgi"` FddInfo *FddInfo `json:"fddInfo"` // Supported MBMS Service Area Identities in the cell. MbmsServiceAreaIdentity []string `json:"mbmsServiceAreaIdentity"` // Physical Cell Identifier. Pci int32 `json:"pci"` Plmn *Plmn `json:"plmn"` TddInfo *TddInfo `json:"tddInfo"` }
type UuMbmsProvisioningInfo ¶
type UuMbmsProvisioningInfo struct { ProInfoUuMbms []UuMbmsProvisioningInfoProInfoUuMbms `json:"proInfoUuMbms"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` }
type UuMbmsProvisioningInfoProInfoUuMbms ¶
type UuMbmsProvisioningInfoProInfoUuMbms struct { LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. NeighbourCellInfo []UuMbmsNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` V2xServerUsd *V2xServerUsd `json:"v2xServerUsd"` }
The provisioning information per location as defined below.
type UuUniNeighbourCellInfo ¶
type UuUnicastProvisioningInfo ¶
type UuUnicastProvisioningInfo struct { ProInfoUuUnicast []UuUnicastProvisioningInfoProInfoUuUnicast `json:"proInfoUuUnicast"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` }
type UuUnicastProvisioningInfoProInfoUuUnicast ¶
type UuUnicastProvisioningInfoProInfoUuUnicast struct { LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. NeighbourCellInfo []UuUniNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` V2xApplicationServer *V2xApplicationServer `json:"v2xApplicationServer"` }
The provisioning information per location as defined below.
type V2xApplicationServer ¶
type V2xMsgNotification ¶
type V2xMsgNotification struct { Links *V2xMsgNotificationLinks `json:"_links"` // Published V2X message content. The format of the string is defined by the standardization organization indicated by the attribute stdOrganization. MsgContent string `json:"msgContent"` // The encode format of the V2X message, for example base64. MsgEncodeFormat string `json:"msgEncodeFormat"` MsgType *MsgType `json:"msgType"` // Shall be set to \"V2xMsgNotification\". NotificationType string `json:"notificationType"` // Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. StdOrganization string `json:"stdOrganization"` TimeStamp *TimeStamp `json:"timeStamp"` }
type V2xMsgNotificationLinks ¶
type V2xMsgNotificationLinks struct {
Subscription *LinkType `json:"subscription"`
}
links to resources related to this notification.
type V2xMsgPublication ¶
type V2xMsgPublication struct { // Published V2X message content. Its format is defined by the standardization organization indicated by the attribute stdOrganization. MsgContent string `json:"msgContent"` // The encode format of the V2X message, for example base64. MsgEncodeFormat string `json:"msgEncodeFormat"` MsgType *MsgType `json:"msgType"` // Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. StdOrganization string `json:"stdOrganization"` }
type V2xMsgSubscription ¶
type V2xMsgSubscription struct { Links *Links `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note 1. CallbackReference string `json:"callbackReference,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteria *V2xMsgSubscriptionFilterCriteria `json:"filterCriteria"` // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. RequestTestNotification bool `json:"requestTestNotification,omitempty"` // Shall be set to \"V2xMsgSubscription\". SubscriptionType string `json:"subscriptionType"` WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` }
type V2xMsgSubscriptionFilterCriteria ¶
type V2xMsgSubscriptionFilterCriteria struct { // Subscribed V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 3. MsgType []string `json:"msgType,omitempty"` // Standardization organization which defines the subscribed V2X message type: ETSI: European Telecommunications Standards Institute. See note 2. StdOrganization string `json:"stdOrganization"` }
List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response.
type V2xServerUsd ¶
type V2xServerUsd struct { SdpInfo *V2xServerUsdSdpInfo `json:"sdpInfo"` // A list of service area identifier for the applicable MBMS broadcast area. ServiceAreaIdentifier []string `json:"serviceAreaIdentifier"` Tmgi *V2xServerUsdTmgi `json:"tmgi"` }
type V2xServerUsdSdpInfo ¶
type V2xServerUsdSdpInfo struct { IpMulticastAddress string `json:"ipMulticastAddress"` PortNumber string `json:"portNumber"` }
SDP with IP multicast address and port number used for V2X communication via MBMS.
type V2xServerUsdTmgi ¶
type V2xServerUsdTmgi struct { // MBMS Service ID consisting of three octets. MbmsServiceId string `json:"mbmsServiceId"` // The Mobile Country Code part of PLMN Identity. Mcc string `json:"mcc"` // The Mobile Network Code part of PLMN Identity. Mnc string `json:"mnc"` }
Temporary Mobile Group Identity (TMGI), which is used within MBMS to uniquely identify Multicast and Broadcast bearer services.
type V2xiApiService ¶
type V2xiApiService service
func (*V2xiApiService) Mec011AppTerminationPOST ¶
func (a *V2xiApiService) Mec011AppTerminationPOST(ctx context.Context, body AppTerminationNotification) (*http.Response, error)
V2xiApiService MEC011 Application Termination notification for self termination Terminates itself.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Termination notification details
func (*V2xiApiService) PredictedQosPOST ¶
func (a *V2xiApiService) PredictedQosPOST(ctx context.Context, body PredictedQos) (PredictedQos, *http.Response, error)
V2xiApiService Request the predicted QoS correspondent to potential routes of a vehicular UE. Request the predicted QoS correspondent to potential routes of a vehicular UE.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return PredictedQos
type WebsockNotifConfig ¶
type WebsockNotifConfig struct { // Set to TRUE by the service consumer to indicate that Websocket delivery is requested. RequestWebsocketUri bool `json:"requestWebsocketUri,omitempty"` // Set by VIS to indicate to the service consumer the Websocket URI to be used for delivering notifications. WebsocketUri string `json:"websocketUri,omitempty"` }
Source Files ¶
- api_unsupported.go
- api_v2xi.go
- client.go
- configuration.go
- model_app_termination_notification.go
- model_app_termination_notification__links.go
- model_cell_id.go
- model_earfcn.go
- model_ecgi.go
- model_fdd_info.go
- model_link_type.go
- model_links.go
- model_location_info.go
- model_location_info_geo_area.go
- model_msg_type.go
- model_one_ofsubscriptions_body.go
- model_one_ofsubscriptions_subscription_id_body.go
- model_operation_action_type.go
- model_pc5_neighbour_cell_info.go
- model_pc5_provisioning_info.go
- model_pc5_provisioning_info_pro_info_pc5.go
- model_plmn.go
- model_predicted_qos.go
- model_predicted_qos_routes.go
- model_predicted_qos_routes_route_info.go
- model_problem_details.go
- model_prov_chg_pc5_notification.go
- model_prov_chg_pc5_subscription.go
- model_prov_chg_pc5_subscription_filter_criteria.go
- model_prov_chg_uu_mbms_notification.go
- model_prov_chg_uu_mbms_subscription.go
- model_prov_chg_uu_mbms_subscription_filter_criteria.go
- model_prov_chg_uu_uni_notification.go
- model_prov_chg_uu_uni_subscription.go
- model_prov_chg_uu_uni_subscription_filter_criteria.go
- model_subscription_link_list.go
- model_subscription_link_list_links.go
- model_subscription_link_list_links_subscriptions.go
- model_subscriptions_body.go
- model_subscriptions_subscription_id_body.go
- model_system_information_block_type21.go
- model_tdd_info.go
- model_test_notification.go
- model_test_notification__links.go
- model_time_stamp.go
- model_transmission_bandwidth.go
- model_transmission_bandwidth_transmission_bandwidth.go
- model_uu_mbms_neighbour_cell_info.go
- model_uu_mbms_provisioning_info.go
- model_uu_mbms_provisioning_info_pro_info_uu_mbms.go
- model_uu_uni_neighbour_cell_info.go
- model_uu_unicast_provisioning_info.go
- model_uu_unicast_provisioning_info_pro_info_uu_unicast.go
- model_v2x_application_server.go
- model_v2x_msg_notification.go
- model_v2x_msg_notification_links.go
- model_v2x_msg_publication.go
- model_v2x_msg_subscription.go
- model_v2x_msg_subscription_filter_criteria.go
- model_v2x_server_usd.go
- model_v2x_server_usd_sdp_info.go
- model_v2x_server_usd_tmgi.go
- model_websock_notif_config.go
- response.go