Categorygithub.com/5GCoreNet/openapiopenapi_SS_LocationAreaInfoRetrieval
package
1.18.2
Repository: https://github.com/5gcorenet/openapi.git
Documentation: pkg.go.dev

# README

Go API client for openapi_SS_LocationAreaInfoRetrieval

API for SEAL Location Area Info Retrieval.
© 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
All rights reserved.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.1
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import openapi_SS_LocationAreaInfoRetrieval "github.com/GIT_USER_ID/GIT_REPO_ID/openapi_SS_LocationAreaInfoRetrieval"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), openapi_SS_LocationAreaInfoRetrieval.ContextServerIndex, 1)

Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), openapi_SS_LocationAreaInfoRetrieval.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), openapi_SS_LocationAreaInfoRetrieval.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), openapi_SS_LocationAreaInfoRetrieval.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://example.com/ss-lair/v1

ClassMethodHTTP requestDescription
LocationInformationCollectionApiRetrieveUeLocInfoGet /location-retrievals

Documentation For Models

Documentation For Authorization

oAuth2ClientCredentials

  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes: N/A

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

# Functions

CacheExpires helper function to determine remaining time before repeating a request.
HorizontalVelocityAsVelocityEstimate is a convenience function that returns HorizontalVelocity wrapped in VelocityEstimate.
HorizontalVelocityWithUncertaintyAsVelocityEstimate is a convenience function that returns HorizontalVelocityWithUncertainty wrapped in VelocityEstimate.
HorizontalWithVerticalVelocityAndUncertaintyAsVelocityEstimate is a convenience function that returns HorizontalWithVerticalVelocityAndUncertainty wrapped in VelocityEstimate.
HorizontalWithVerticalVelocityAsVelocityEstimate is a convenience function that returns HorizontalWithVerticalVelocity wrapped in VelocityEstimate.
interface{}AsValTargetUe is a convenience function that returns interface{} wrapped in ValTargetUe.
IsNil checks if an input is nil.
NewAPIClient creates a new API client.
NewAPIResponse returns a new APIResponse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewCivicAddress instantiates a new CivicAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCivicAddressWithDefaults instantiates a new CivicAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewConfiguration returns a new Configuration object.
NewEllipsoidArc instantiates a new EllipsoidArc object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEllipsoidArcAllOf instantiates a new EllipsoidArcAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEllipsoidArcAllOfWithDefaults instantiates a new EllipsoidArcAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEllipsoidArcWithDefaults instantiates a new EllipsoidArc object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGADShape instantiates a new GADShape object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGADShapeWithDefaults instantiates a new GADShape object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGeographicalCoordinates instantiates a new GeographicalCoordinates object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGeographicalCoordinatesWithDefaults instantiates a new GeographicalCoordinates object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewHorizontalVelocity instantiates a new HorizontalVelocity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewHorizontalVelocityWithDefaults instantiates a new HorizontalVelocity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewHorizontalVelocityWithUncertainty instantiates a new HorizontalVelocityWithUncertainty object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewHorizontalVelocityWithUncertaintyWithDefaults instantiates a new HorizontalVelocityWithUncertainty object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewHorizontalWithVerticalVelocity instantiates a new HorizontalWithVerticalVelocity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewHorizontalWithVerticalVelocityAndUncertainty instantiates a new HorizontalWithVerticalVelocityAndUncertainty object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewHorizontalWithVerticalVelocityAndUncertaintyWithDefaults instantiates a new HorizontalWithVerticalVelocityAndUncertainty object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewHorizontalWithVerticalVelocityWithDefaults instantiates a new HorizontalWithVerticalVelocity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewInvalidParam instantiates a new InvalidParam object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewInvalidParamWithDefaults instantiates a new InvalidParam object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLMInformation instantiates a new LMInformation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLMInformationWithDefaults instantiates a new LMInformation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLocal2dPointUncertaintyEllipse instantiates a new Local2dPointUncertaintyEllipse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLocal2dPointUncertaintyEllipseAllOf instantiates a new Local2dPointUncertaintyEllipseAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLocal2dPointUncertaintyEllipseAllOfWithDefaults instantiates a new Local2dPointUncertaintyEllipseAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLocal2dPointUncertaintyEllipseWithDefaults instantiates a new Local2dPointUncertaintyEllipse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLocal3dPointUncertaintyEllipsoid instantiates a new Local3dPointUncertaintyEllipsoid object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLocal3dPointUncertaintyEllipsoidAllOf instantiates a new Local3dPointUncertaintyEllipsoidAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLocal3dPointUncertaintyEllipsoidAllOfWithDefaults instantiates a new Local3dPointUncertaintyEllipsoidAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLocal3dPointUncertaintyEllipsoidWithDefaults instantiates a new Local3dPointUncertaintyEllipsoid object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLocalOrigin instantiates a new LocalOrigin object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLocalOriginWithDefaults instantiates a new LocalOrigin object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLocationInfo instantiates a new LocationInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLocationInfoWithDefaults instantiates a new LocationInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewMinorLocationQoS instantiates a new MinorLocationQoS object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewMinorLocationQoSWithDefaults instantiates a new MinorLocationQoS object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewPoint instantiates a new Point object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPointAllOf instantiates a new PointAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPointAllOfWithDefaults instantiates a new PointAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPointAltitude instantiates a new PointAltitude object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPointAltitudeAllOf instantiates a new PointAltitudeAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPointAltitudeAllOfWithDefaults instantiates a new PointAltitudeAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPointAltitudeUncertainty instantiates a new PointAltitudeUncertainty object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPointAltitudeUncertaintyAllOf instantiates a new PointAltitudeUncertaintyAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPointAltitudeUncertaintyAllOfWithDefaults instantiates a new PointAltitudeUncertaintyAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPointAltitudeUncertaintyWithDefaults instantiates a new PointAltitudeUncertainty object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPointAltitudeWithDefaults instantiates a new PointAltitude object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPointUncertaintyCircle instantiates a new PointUncertaintyCircle object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPointUncertaintyCircleAllOf instantiates a new PointUncertaintyCircleAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPointUncertaintyCircleAllOfWithDefaults instantiates a new PointUncertaintyCircleAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPointUncertaintyCircleWithDefaults instantiates a new PointUncertaintyCircle object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPointUncertaintyEllipse instantiates a new PointUncertaintyEllipse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPointUncertaintyEllipseAllOf instantiates a new PointUncertaintyEllipseAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPointUncertaintyEllipseAllOfWithDefaults instantiates a new PointUncertaintyEllipseAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPointUncertaintyEllipseWithDefaults instantiates a new PointUncertaintyEllipse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPointWithDefaults instantiates a new Point object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPolygon instantiates a new Polygon object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPolygonAllOf instantiates a new PolygonAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPolygonAllOfWithDefaults instantiates a new PolygonAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPolygonWithDefaults instantiates a new Polygon object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewProblemDetails instantiates a new ProblemDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewProblemDetailsWithDefaults instantiates a new ProblemDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRelativeCartesianLocation instantiates a new RelativeCartesianLocation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRelativeCartesianLocationWithDefaults instantiates a new RelativeCartesianLocation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewUncertaintyEllipse instantiates a new UncertaintyEllipse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewUncertaintyEllipseWithDefaults instantiates a new UncertaintyEllipse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewUncertaintyEllipsoid instantiates a new UncertaintyEllipsoid object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewUncertaintyEllipsoidWithDefaults instantiates a new UncertaintyEllipsoid object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewVerticalDirectionFromValue returns a pointer to a valid VerticalDirection for the value passed as argument, or an error if the value passed is not allowed by the enum.
PtrBool is a helper routine that returns a pointer to given boolean value.
PtrFloat32 is a helper routine that returns a pointer to given float value.
PtrFloat64 is a helper routine that returns a pointer to given float value.
PtrInt is a helper routine that returns a pointer to given integer value.
PtrInt32 is a helper routine that returns a pointer to given integer value.
PtrInt64 is a helper routine that returns a pointer to given integer value.
PtrString is a helper routine that returns a pointer to given string value.
PtrTime is helper routine that returns a pointer to given Time value.

# Constants

List of VerticalDirection.
List of VerticalDirection.

# Variables

All allowed values of VerticalDirection enum.
ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextServerIndex uses a server configuration from the index.
ContextServerVariables overrides a server configuration variables.

# Structs

AccuracyFulfilmentIndicator Indicates fulfilment of requested accuracy.
APIClient manages communication with the SS_LocationAreaInfoRetrieval API v1.0.1 In most cases there should be only one, shared, APIClient.
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
APIResponse stores the API response returned by the server.
No description provided by the author
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
CivicAddress Indicates a Civic address.
Configuration stores the configuration of the API client.
EllipsoidArc Ellipsoid Arc.
EllipsoidArcAllOf struct for EllipsoidArcAllOf.
GADShape Common base type for GAD shapes.
GenericOpenAPIError Provides access to the body, error and model on returned errors.
GeographicalCoordinates Geographical coordinates.
GeographicArea Geographic area specified by different shape.
HorizontalVelocity Horizontal velocity.
HorizontalVelocityWithUncertainty Horizontal velocity with speed uncertainty.
HorizontalWithVerticalVelocity Horizontal and vertical velocity.
HorizontalWithVerticalVelocityAndUncertainty Horizontal and vertical velocity with speed uncertainty.
InvalidParam Represents the description of invalid parameters, for a request rejected due to invalid parameters.
LdrType Indicates LDR types.
LMInformation Represents the location information for a VAL User ID or a VAL UE ID.
Local2dPointUncertaintyEllipse Local 2D point with uncertainty ellipse.
Local2dPointUncertaintyEllipseAllOf struct for Local2dPointUncertaintyEllipseAllOf.
Local3dPointUncertaintyEllipsoid Local 3D point with uncertainty ellipsoid.
Local3dPointUncertaintyEllipsoidAllOf struct for Local3dPointUncertaintyEllipsoidAllOf.
LocalOrigin Indicates a Local origin in a reference system.
LocationInfo Represents the user location information.
MinorLocationQoS Contain Minor Location QoS.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Point Ellipsoid Point.
PointAllOf struct for PointAllOf.
PointAltitude Ellipsoid point with altitude.
PointAltitudeAllOf struct for PointAltitudeAllOf.
PointAltitudeUncertainty Ellipsoid point with altitude and uncertainty ellipsoid.
PointAltitudeUncertaintyAllOf struct for PointAltitudeUncertaintyAllOf.
PointUncertaintyCircle Ellipsoid point with uncertainty circle.
PointUncertaintyCircleAllOf struct for PointUncertaintyCircleAllOf.
PointUncertaintyEllipse Ellipsoid point with uncertainty ellipse.
PointUncertaintyEllipseAllOf struct for PointUncertaintyEllipseAllOf.
Polygon Polygon.
PolygonAllOf struct for PolygonAllOf.
PositioningMethod Indicates supported positioning methods.
ProblemDetails Represents additional information and details on an error response.
RelativeCartesianLocation Relative Cartesian Location.
ServerConfiguration stores the information about a server.
ServerVariable stores the information about a server variable.
SupportedGADShapes Indicates supported GAD shapes.
UncertaintyEllipse Ellipse with uncertainty.
UncertaintyEllipsoid Ellipsoid with uncertainty.
ValTargetUe - Represents the information identifying a VAL user ID or a VAL UE ID.
VelocityEstimate - Velocity estimate.

# Interfaces

No description provided by the author

# Type aliases

LocationInformationCollectionApiService LocationInformationCollectionApi service.
ServerConfigurations stores multiple ServerConfiguration items.
VerticalDirection Indicates direction of vertical speed.