Commit 062d29f3 authored by Ayesha Ayub's avatar Ayesha Ayub
Browse files

Update meep-wais-client to MEC028 v2.3.1

parent 20221de8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
# Go API client for client

WLAN Access Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC028 WAI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/028/02.02.01_60/gs_MEC028v020201p.pdf) <p>[Copyright (c) ETSI 2020](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-wais](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-wais) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about WLAN access information in the network <p>**Note**<br>AdvantEDGE supports a selected subset of WAI API subscription types. <p>Supported subscriptions: <p> - AssocStaSubscription <p> - StaDataRateSubscription
WLAN Access Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC028 WAI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/028/02.03.01_60/gs_MEC028v020301p.pdf) <p>[Copyright (c) ETSI 2024](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-wais](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-wais) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about WLAN access information in the network <p>**Note**<br>AdvantEDGE supports a selected subset of WAI API subscription types. <p>Supported subscriptions: <p> - AssocStaSubscription <p> - StaDataRateSubscription

## Overview
This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project.  By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client.

- API version: 2.2.1
- API version: 2.3.1
- Package version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen

+3 −3
Original line number Diff line number Diff line
/*
 * Copyright (c) 2022  The AdvantEDGE Authors
 * Copyright (c) 2024  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.
@@ -15,9 +15,9 @@
 *
 * AdvantEDGE WLAN Access Information API
 *
 * WLAN Access Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC028 WAI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/028/02.02.01_60/gs_MEC028v020201p.pdf) <p>[Copyright (c) ETSI 2020](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-wais](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-wais) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about WLAN access information in the network <p>**Details**<br>API details available at _your-AdvantEDGE-ip-address/api_ <p>AdvantEDGE supports a selected subset of WAI API subscription types. <p>Supported subscriptions: <p> - AssocStaSubscription <p> - StaDataRateSubscription
 * WLAN Access Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC028 WAI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/028/02.03.01_60/gs_MEC028v020301p.pdf) <p>[Copyright (c) ETSI 2020](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-wais](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-wais) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about WLAN access information in the network <p>**Details**<br>API details available at _your-AdvantEDGE-ip-address/api_ <p>AdvantEDGE supports a selected subset of WAI API subscription types. <p>Supported subscriptions: <p> - AssocStaSubscription
 *
 * API version: 2.2.1
 * API version: 2.3.1
 * Contact: AdvantEDGE@InterDigital.com
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */
+47 −60
Original line number Diff line number Diff line
openapi: 3.0.0
info:
  title: AdvantEDGE WLAN Access Information API
  description: "WLAN Access Information Service is AdvantEDGE's implementation of\
    \ [ETSI MEC ISG MEC028 WAI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/028/02.02.01_60/gs_MEC028v020201p.pdf)\
    \ <p>[Copyright (c) ETSI 2020](https://forge.etsi.org/etsi-forge-copyright-notice.txt)\
    \ <p>**Micro-service**<br>[meep-wais](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-wais)\
    \ <p>**Type & Usage**<br>Edge Service used by edge applications that want to get\
    \ information about WLAN access information in the network <p>**Note**<br>AdvantEDGE\
    \ supports a selected subset of WAI API subscription types. <p>Supported subscriptions:\
    \ <p> - AssocStaSubscription <p> - StaDataRateSubscription"
  description: "WLAN Access Information Service is AdvantEDGE's implementation of
    [ETSI MEC ISG MEC028 WAI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/028/02.03.01_60/gs_MEC028v020301p.pdf)
    <p>[Copyright (c) ETSI 2024](https://forge.etsi.org/etsi-forge-copyright-notice.txt)
    <p>**Micro-service**<br>[meep-wais](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-wais)
    <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about WLAN access information in the network
    <p>**Note**<br>AdvantEDGE supports a selected subset of WAI API subscription types.
    <p>Supported subscriptions:
    <p> - AssocStaSubscription"
  contact:
    name: InterDigital AdvantEDGE Support
    email: AdvantEDGE@InterDigital.com
  license:
    name: Apache 2.0
    url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE
  version: 2.2.1
    name: "Apache 2.0"
    url: "https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE"
  version: 2.3.1  
externalDocs:
  description: ETSI MEC028 V2.2.1 WLAN Information API
  url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/028/02.02.01_60/gs_mec028v020201p.pdf
  description: ETSI MEC028 V2.3.1 WLAN Information API
  url: >-
    https://www.etsi.org/deliver/etsi_gs/MEC/001_099/028/02.03.01_60/gs_mec028v020301p.pdf
servers:
  - url: https://localhost/sandboxname/wai/v2
tags:
@@ -345,10 +346,9 @@ paths:
                nanoSeconds: 0
              apId:
                bssid: 005C0A0A0A0A
                ssid:
                - myNetworkSsid
                ipAddress:
                - 10.10.100.1
              notificationEvent:
                threshold: 1
                trigger: 1
        required: true
      responses:
        "201":
@@ -368,10 +368,9 @@ paths:
                  nanoSeconds: 0
                apId:
                  bssid: 005C0A0A0A0A
                  ssid:
                  - myNetworkSsid
                  ipAddress:
                  - 10.10.100.1
                notificationEvent:
                  threshold: 1
                  trigger: 1
        "400":
          description: "Bad Request : used to indicate that incorrect parameters were\
            \ passed to the request."
@@ -460,18 +459,8 @@ paths:
                        nanoseconds: 0
                      apId:
                        bssid: 005C0A0A0A0A
                        ssid:
                        - myNetworkSsid
                        ipAddress:
                        - 10.10.100.1
                      staId:
                        macId: 005C01111111
                        ssid:
                        - myNetworkSsid
                        - myOtherNetworkSsid
                        aid: "1122"
                        ipAddress:
                        - 10.10.1.255
                required: true
              responses:
                "204":
@@ -482,7 +471,7 @@ paths:
      - wai
      summary: Retrieve information on current specific subscription
      description: "Queries information about an existing subscription, identified\
        \ by its self-referring URI returned on creation (initial POST)"
        \ by its self-referring URI returned on creation"
      operationId: subscriptionsGET
      parameters:
      - name: subscriptionId
@@ -513,10 +502,9 @@ paths:
                  nanoSeconds: 0
                apId:
                  bssid: 005C0A0A0A0A
                  ssid:
                  - myNetworkSsid
                  ipAddress:
                  - 10.10.100.1
                notificationEvent:
                  threshold: 1
                  trigger: 1
        "400":
          description: "Bad Request : used to indicate that incorrect parameters were\
            \ passed to the request."
@@ -562,7 +550,7 @@ paths:
      - wai
      summary: Modify an existing subscription
      description: "Updates an existing subscription, identified by its self-referring\
        \ URI returned on creation (initial POST)"
        \ URI returned on creation"
      operationId: subscriptionsPUT
      parameters:
      - name: subscriptionId
@@ -592,10 +580,9 @@ paths:
                nanoSeconds: 0
              apId:
                bssid: 005C0A0A0A0A
                ssid:
                - myNetworkSsid
                ipAddress:
                - 10.10.100.1
              notificationEvent:
                threshold: 1
                trigger: 1
        required: true
      responses:
        "200":
@@ -611,10 +598,9 @@ paths:
                callbackReference: http://my.callback.com/wai/some-id
                apId:
                  bssid: 005C0A0A0A0A
                  ssid:
                  - myNetworkSsid
                  ipAddress:
                  - 10.10.100.1
                notificationEvent:
                  threshold: 1
                  trigger: 1
        "400":
          description: "Bad Request : used to indicate that incorrect parameters were\
            \ passed to the request."
@@ -1479,6 +1465,7 @@ components:
          $ref: '#/components/schemas/ApIdentity'
        callbackReference:
          type: string
          description: URI exposed by the client on which to receive notifications
        expiryDeadline:
          $ref: '#/components/schemas/TimeStamp'
        notificationEvent:
@@ -1494,8 +1481,7 @@ components:
        requestTestNotification:
          type: boolean
          description: Set to TRUE by the service consumer to request a test notification
            on the callbackReference URI to determine if it is reachable by the WAIS
            for notifications.
            via HTTP on the callbackReference URI.
          x-etsi-mec-cardinality: 0..1
          x-etsi-mec-origin-type: Boolean
        subscriptionType:
@@ -1525,7 +1511,7 @@ components:
        antennaId:
          type: integer
          description: "The Antenna ID field contains the identifying number for the\
            \ antenna(s) used for this measurement. Antenna ID is defined in section\_\
            \ antenna(s) used for this measurement. Antenna ID is defined in clause\_\
            9.4.2.40 of IEEE 802.11-2016 [8]."
          format: uint8
          x-etsi-mec-cardinality: 0..1
@@ -1569,7 +1555,7 @@ components:
          type: integer
          description: "RCPI indicates the received channel power of the Beacon, Measurement\
            \ Pilot, or Probe Response frame, which is a logarithmic function of the\
            \ received signal power, as defined in section\_9.4.2.38 of IEEE 802.11-2016\
            \ received signal power, as defined in clause\_9.4.2.38 of IEEE 802.11-2016\
            \ [8]."
          format: uint8
          x-etsi-mec-cardinality: 0..1
@@ -1580,7 +1566,7 @@ components:
          type: integer
          description: "RSNI indicates the received signal-to-noise indication for\
            \ the Beacon, Measurement Pilot, or Probe Response frame, as described\
            \ in section\_9.4.2.41 of IEEE 802.11-2016 [8]."
            \ in clause\_9.4.2.41 of IEEE 802.11-2016 [8]."
          format: uint8
          x-etsi-mec-cardinality: 0..1
          x-etsi-mec-origin-type: Uint8
@@ -1646,10 +1632,10 @@ components:
          description: "The threshold subfield contains either the threshold value\
            \ or the offset value to be used for conditional reporting.\n\nFor reportingCondition\
            \ subfield with values 1 and 2, the threshold value is a logarithmic function\
            \ of the received signal power, as defined in section\_9.4.2.38 of IEEE\
            \ of the received signal power, as defined in clause\_9.4.2.38 of IEEE\
            \ 802.11-2016 [8].\n\nFor reportingCondition subfield values 3 and 4,\
            \ the threshold value is a logarithmic function of the signal-to-noise\
            \ ratio, as described in section\_9.4.2.41 of IEEE 802.11-2016 [8].\n\n\
            \ ratio, as described in clause\_9.4.2.41 of IEEE 802.11-2016 [8].\n\n\
            For reportingCondition subfield values 5 to 10, the offset value is an\
            \ 8-bit 2s complement integer in units of 0,5 dBm. The indicated reporting\
            \ condition applies individually to each measured Beacon, Measurement\
@@ -2769,6 +2755,7 @@ components:
          $ref: '#/components/schemas/AssocStaSubscription__links'
        callbackReference:
          type: string
          description: URI exposed by the client on which to receive notifications.
        expiryDeadline:
          $ref: '#/components/schemas/TimeStamp'
        measurementId:
@@ -2781,9 +2768,9 @@ components:
          $ref: '#/components/schemas/MeasurementInfo'
        requestTestNotification:
          type: boolean
          description: Set to TRUE by the service consumer to request a test notification
            on the callbackReference URI to determine if it is reachable by the WAIS
            for notifications.
          description: |-
            Set to TRUE by the service consumer to request a test notification
             via HTTP on the callbackReference URI.
          x-etsi-mec-cardinality: 0..1
          x-etsi-mec-origin-type: Boolean
        staId:
@@ -3259,6 +3246,7 @@ components:
          $ref: '#/components/schemas/AssocStaSubscription__links'
        callbackReference:
          type: string
          description: URI exposed by the client on which to receive notifications
        expiryDeadline:
          $ref: '#/components/schemas/TimeStamp'
        notificationEvent:
@@ -3274,8 +3262,7 @@ components:
        requestTestNotification:
          type: boolean
          description: Set to TRUE by the service consumer to request a test notification
            on the callbackReference URI to determine if it is reachable by the WAIS
            for notifications.
            via HTTP on the callbackReference URI.
          x-etsi-mec-cardinality: 0..1
          x-etsi-mec-origin-type: Boolean
        staId:
+202 −206
Original line number Diff line number Diff line
/*
 * Copyright (c) 2022  The AdvantEDGE Authors
 * Copyright (c) 2024  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.
@@ -15,9 +15,9 @@
 *
 * AdvantEDGE WLAN Access Information API
 *
 * WLAN Access Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC028 WAI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/028/02.02.01_60/gs_MEC028v020201p.pdf) <p>[Copyright (c) ETSI 2020](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-wais](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-wais) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about WLAN access information in the network <p>**Note**<br>AdvantEDGE supports a selected subset of WAI API subscription types. <p>Supported subscriptions: <p> - AssocStaSubscription <p> - StaDataRateSubscription
 * WLAN Access Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC028 WAI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/028/02.03.01_60/gs_MEC028v020301p.pdf) <p>[Copyright (c) ETSI 2020](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-wais](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-wais) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about WLAN access information in the network <p>**Note**<br>AdvantEDGE supports a selected subset of WAI API subscription types. <p>Supported subscriptions: <p> - AssocStaSubscription <p> - StaDataRateSubscription
 *
 * API version: 2.2.1
 * API version: 2.3.1
 * Contact: AdvantEDGE@InterDigital.com
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */
@@ -39,12 +39,10 @@ var (
)

type UnsupportedApiService service

/*
UnsupportedApiService Retrieve information on measurements configuration
UnsupportedApiService Queries information on measurements configuration
Queries information on measurements configuration
  - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return MeasurementConfigLinkList
*/
func (a *UnsupportedApiService) MeasurementLinkListMeasurementsGET(ctx context.Context) (MeasurementConfigLinkList, *http.Response, error) {
@@ -460,11 +458,10 @@ func (a *UnsupportedApiService) MeasurementsGET(ctx context.Context, measurement
}

/*
UnsupportedApiService Create a new measurement configuration
UnsupportedApiService Creates a new measurement configuration
Creates a new measurement configuration
  - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  - @param body Measurement configuration information

 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
 * @param body Measurement configuration information
@return MeasurementConfig
*/
func (a *UnsupportedApiService) MeasurementsPOST(ctx context.Context, body MeasurementConfig) (MeasurementConfig, *http.Response, error) {
@@ -640,10 +637,9 @@ func (a *UnsupportedApiService) MeasurementsPOST(ctx context.Context, body Measu
/*
UnsupportedApiService Modify an existing measurement configuration
Updates an existing measurement configuration, identified by its self-referring URI returned on creation (initial POST)
  - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  - @param body Measurement configuration to be modified
  - @param measurementConfigId Measurement configuration Id, specifically the \&quot;self\&quot; returned in the measurement configuration request

 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
 * @param body Measurement configuration to be modified
 * @param measurementConfigId Measurement configuration Id, specifically the \&quot;self\&quot; returned in the measurement configuration request
@return MeasurementConfig
*/
func (a *UnsupportedApiService) MeasurementsPUT(ctx context.Context, body MeasurementConfig, measurementConfigId string) (MeasurementConfig, *http.Response, error) {
+3 −3
Original line number Diff line number Diff line
/*
 * Copyright (c) 2022  The AdvantEDGE Authors
 * Copyright (c) 2024  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.
@@ -15,9 +15,9 @@
 *
 * AdvantEDGE WLAN Access Information API
 *
 * WLAN Access Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC028 WAI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/028/02.02.01_60/gs_MEC028v020201p.pdf) <p>[Copyright (c) ETSI 2020](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-wais](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-wais) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about WLAN access information in the network <p>**Note**<br>AdvantEDGE supports a selected subset of WAI API subscription types. <p>Supported subscriptions: <p> - AssocStaSubscription <p> - StaDataRateSubscription
 * WLAN Access Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC028 WAI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/028/02.03.01_60/gs_MEC028v020301p.pdf) <p>[Copyright (c) ETSI 2020](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-wais](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-wais) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about WLAN access information in the network <p>**Note**<br>AdvantEDGE supports a selected subset of WAI API subscription types. <p>Supported subscriptions: <p> - AssocStaSubscription <p> - StaDataRateSubscription
 *
 * API version: 2.2.1
 * API version: 2.3.1
 * Contact: AdvantEDGE@InterDigital.com
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */
Loading