OpenAPI_Npanf_ProseKey

package
v0.0.0-...-e403a3c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 21 Imported by: 0

README

Go API client for OpenAPI_Npanf_ProseKey

PAnF ProseKey Service.
© 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_Npanf_ProseKey "gitee.com/konglinglong/openapi/OpenAPI_Npanf_ProseKey"

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 OpenAPI_Npanf_ProseKey.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), OpenAPI_Npanf_ProseKey.ContextServerIndex, 1)
Templated Server URL

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

ctx := context.WithValue(context.Background(), OpenAPI_Npanf_ProseKey.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 OpenAPI_Npanf_ProseKey.ContextOperationServerIndices and OpenAPI_Npanf_ProseKey.ContextOperationServerVariables context maps.

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

Documentation for API Endpoints

All URIs are relative to https://example.com/npanf-prosekey/<apiVersion>

Class Method HTTP request Description
ProseKeyRetrievalAPI ProseKeyRetrieval Post /prose-keys/retrieve retrieve the prose key
ProsekeyRegistrationAPI ProseKeyRegistration Post /prose-keys/register Register the Prose Key

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

oAuth2ClientCredentials
  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes:
  • npanf-prosekey: Access to the Npanf_ProseKey API

Example

auth := context.WithValue(context.Background(), OpenAPI_Npanf_ProseKey.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, OpenAPI_Npanf_ProseKey.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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	ProseKeyRetrievalAPI *ProseKeyRetrievalAPIService

	ProsekeyRegistrationAPI *ProsekeyRegistrationAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Npanf_ProseKey API v1.0.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) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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 OpenAPI 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:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type AccessTokenErr

type AccessTokenErr struct {
	Error            string  `json:"error"`
	ErrorDescription *string `json:"error_description,omitempty"`
	ErrorUri         *string `json:"error_uri,omitempty"`
}

AccessTokenErr Error returned in the access token response message

func NewAccessTokenErr

func NewAccessTokenErr(error_ string) *AccessTokenErr

NewAccessTokenErr instantiates a new AccessTokenErr 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

func NewAccessTokenErrWithDefaults

func NewAccessTokenErrWithDefaults() *AccessTokenErr

NewAccessTokenErrWithDefaults instantiates a new AccessTokenErr 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

func (*AccessTokenErr) GetError

func (o *AccessTokenErr) GetError() string

GetError returns the Error field value

func (*AccessTokenErr) GetErrorDescription

func (o *AccessTokenErr) GetErrorDescription() string

GetErrorDescription returns the ErrorDescription field value if set, zero value otherwise.

func (*AccessTokenErr) GetErrorDescriptionOk

func (o *AccessTokenErr) GetErrorDescriptionOk() (*string, bool)

GetErrorDescriptionOk returns a tuple with the ErrorDescription field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenErr) GetErrorOk

func (o *AccessTokenErr) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.

func (*AccessTokenErr) GetErrorUri

func (o *AccessTokenErr) GetErrorUri() string

GetErrorUri returns the ErrorUri field value if set, zero value otherwise.

func (*AccessTokenErr) GetErrorUriOk

func (o *AccessTokenErr) GetErrorUriOk() (*string, bool)

GetErrorUriOk returns a tuple with the ErrorUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenErr) HasErrorDescription

func (o *AccessTokenErr) HasErrorDescription() bool

HasErrorDescription returns a boolean if a field has been set.

func (*AccessTokenErr) HasErrorUri

func (o *AccessTokenErr) HasErrorUri() bool

HasErrorUri returns a boolean if a field has been set.

func (AccessTokenErr) MarshalJSON

func (o AccessTokenErr) MarshalJSON() ([]byte, error)

func (*AccessTokenErr) SetError

func (o *AccessTokenErr) SetError(v string)

SetError sets field value

func (*AccessTokenErr) SetErrorDescription

func (o *AccessTokenErr) SetErrorDescription(v string)

SetErrorDescription gets a reference to the given string and assigns it to the ErrorDescription field.

func (*AccessTokenErr) SetErrorUri

func (o *AccessTokenErr) SetErrorUri(v string)

SetErrorUri gets a reference to the given string and assigns it to the ErrorUri field.

func (AccessTokenErr) ToMap

func (o AccessTokenErr) ToMap() (map[string]interface{}, error)

func (*AccessTokenErr) UnmarshalJSON

func (o *AccessTokenErr) UnmarshalJSON(bytes []byte) (err error)

type AccessTokenReq

type AccessTokenReq struct {
	GrantType string `json:"grant_type"`
	// String uniquely identifying a NF instance. The format of the NF Instance ID shall be a  Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122.
	NfInstanceId string  `json:"nfInstanceId"`
	NfType       *NFType `json:"nfType,omitempty"`
	TargetNfType *NFType `json:"targetNfType,omitempty"`
	Scope        string  `json:"scope"`
	// String uniquely identifying a NF instance. The format of the NF Instance ID shall be a  Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122.
	TargetNfInstanceId  *string  `json:"targetNfInstanceId,omitempty"`
	RequesterPlmn       *PlmnId  `json:"requesterPlmn,omitempty"`
	RequesterPlmnList   []PlmnId `json:"requesterPlmnList,omitempty"`
	RequesterSnssaiList []Snssai `json:"requesterSnssaiList,omitempty"`
	// Fully Qualified Domain Name
	RequesterFqdn     *string     `json:"requesterFqdn,omitempty"`
	RequesterSnpnList []PlmnIdNid `json:"requesterSnpnList,omitempty"`
	TargetPlmn        *PlmnId     `json:"targetPlmn,omitempty"`
	TargetSnpn        *PlmnIdNid  `json:"targetSnpn,omitempty"`
	TargetSnssaiList  []Snssai    `json:"targetSnssaiList,omitempty"`
	TargetNsiList     []string    `json:"targetNsiList,omitempty"`
	// NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set<Set ID>.<nftype>set.5gc.mnc<MNC>.mcc<MCC>\", or  \"set<SetID>.<NFType>set.5gc.nid<NID>.mnc<MNC>.mcc<MCC>\" with  <MCC> encoded as defined in clause 5.4.2 (\"Mcc\" data type definition)  <MNC> encoding the Mobile Network Code part of the PLMN, comprising 3 digits.    If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted    at the left side to fill the 3 digits coding of MNC.  Pattern: '^[0-9]{3}$' <NFType> encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but    with lower case characters <Set ID> encoded as a string of characters consisting of    alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that    shall end with either an alphabetic character or a digit.
	TargetNfSetId *string `json:"targetNfSetId,omitempty"`
	// NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following  string \"set<Set ID>.sn<Service Name>.nfi<NF Instance ID>.5gc.mnc<MNC>.mcc<MCC>\", or  \"set<SetID>.sn<ServiceName>.nfi<NFInstanceID>.5gc.nid<NID>.mnc<MNC>.mcc<MCC>\" with  <MCC> encoded as defined in clause 5.4.2 (\"Mcc\" data type definition)   <MNC> encoding the Mobile Network Code part of the PLMN, comprising 3 digits.    If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted    at the left side to fill the 3 digits coding of MNC.  Pattern: '^[0-9]{3}$' <NID> encoded as defined in clause 5.4.2 (\"Nid\" data type definition)  <NFInstanceId> encoded as defined in clause 5.3.2  <ServiceName> encoded as defined in 3GPP TS 29.510  <Set ID> encoded as a string of characters consisting of alphabetic    characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end    with either an alphabetic character or a digit.
	TargetNfServiceSetId *string `json:"targetNfServiceSetId,omitempty"`
	// String providing an URI formatted according to RFC 3986.
	HnrfAccessTokenUri *string `json:"hnrfAccessTokenUri,omitempty"`
	// String uniquely identifying a NF instance. The format of the NF Instance ID shall be a  Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122.
	SourceNfInstanceId *string `json:"sourceNfInstanceId,omitempty"`
}

AccessTokenReq Contains information related to the access token request

func NewAccessTokenReq

func NewAccessTokenReq(grantType string, nfInstanceId string, scope string) *AccessTokenReq

NewAccessTokenReq instantiates a new AccessTokenReq 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

func NewAccessTokenReqWithDefaults

func NewAccessTokenReqWithDefaults() *AccessTokenReq

NewAccessTokenReqWithDefaults instantiates a new AccessTokenReq 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

func (*AccessTokenReq) GetGrantType

func (o *AccessTokenReq) GetGrantType() string

GetGrantType returns the GrantType field value

func (*AccessTokenReq) GetGrantTypeOk

func (o *AccessTokenReq) GetGrantTypeOk() (*string, bool)

GetGrantTypeOk returns a tuple with the GrantType field value and a boolean to check if the value has been set.

func (*AccessTokenReq) GetHnrfAccessTokenUri

func (o *AccessTokenReq) GetHnrfAccessTokenUri() string

GetHnrfAccessTokenUri returns the HnrfAccessTokenUri field value if set, zero value otherwise.

func (*AccessTokenReq) GetHnrfAccessTokenUriOk

func (o *AccessTokenReq) GetHnrfAccessTokenUriOk() (*string, bool)

GetHnrfAccessTokenUriOk returns a tuple with the HnrfAccessTokenUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenReq) GetNfInstanceId

func (o *AccessTokenReq) GetNfInstanceId() string

GetNfInstanceId returns the NfInstanceId field value

func (*AccessTokenReq) GetNfInstanceIdOk

func (o *AccessTokenReq) GetNfInstanceIdOk() (*string, bool)

GetNfInstanceIdOk returns a tuple with the NfInstanceId field value and a boolean to check if the value has been set.

func (*AccessTokenReq) GetNfType

func (o *AccessTokenReq) GetNfType() NFType

GetNfType returns the NfType field value if set, zero value otherwise.

func (*AccessTokenReq) GetNfTypeOk

func (o *AccessTokenReq) GetNfTypeOk() (*NFType, bool)

GetNfTypeOk returns a tuple with the NfType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenReq) GetRequesterFqdn

func (o *AccessTokenReq) GetRequesterFqdn() string

GetRequesterFqdn returns the RequesterFqdn field value if set, zero value otherwise.

func (*AccessTokenReq) GetRequesterFqdnOk

func (o *AccessTokenReq) GetRequesterFqdnOk() (*string, bool)

GetRequesterFqdnOk returns a tuple with the RequesterFqdn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenReq) GetRequesterPlmn

func (o *AccessTokenReq) GetRequesterPlmn() PlmnId

GetRequesterPlmn returns the RequesterPlmn field value if set, zero value otherwise.

func (*AccessTokenReq) GetRequesterPlmnList

func (o *AccessTokenReq) GetRequesterPlmnList() []PlmnId

GetRequesterPlmnList returns the RequesterPlmnList field value if set, zero value otherwise.

func (*AccessTokenReq) GetRequesterPlmnListOk

func (o *AccessTokenReq) GetRequesterPlmnListOk() ([]PlmnId, bool)

GetRequesterPlmnListOk returns a tuple with the RequesterPlmnList field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenReq) GetRequesterPlmnOk

func (o *AccessTokenReq) GetRequesterPlmnOk() (*PlmnId, bool)

GetRequesterPlmnOk returns a tuple with the RequesterPlmn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenReq) GetRequesterSnpnList

func (o *AccessTokenReq) GetRequesterSnpnList() []PlmnIdNid

GetRequesterSnpnList returns the RequesterSnpnList field value if set, zero value otherwise.

func (*AccessTokenReq) GetRequesterSnpnListOk

func (o *AccessTokenReq) GetRequesterSnpnListOk() ([]PlmnIdNid, bool)

GetRequesterSnpnListOk returns a tuple with the RequesterSnpnList field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenReq) GetRequesterSnssaiList

func (o *AccessTokenReq) GetRequesterSnssaiList() []Snssai

GetRequesterSnssaiList returns the RequesterSnssaiList field value if set, zero value otherwise.

func (*AccessTokenReq) GetRequesterSnssaiListOk

func (o *AccessTokenReq) GetRequesterSnssaiListOk() ([]Snssai, bool)

GetRequesterSnssaiListOk returns a tuple with the RequesterSnssaiList field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenReq) GetScope

func (o *AccessTokenReq) GetScope() string

GetScope returns the Scope field value

func (*AccessTokenReq) GetScopeOk

func (o *AccessTokenReq) GetScopeOk() (*string, bool)

GetScopeOk returns a tuple with the Scope field value and a boolean to check if the value has been set.

func (*AccessTokenReq) GetSourceNfInstanceId

func (o *AccessTokenReq) GetSourceNfInstanceId() string

GetSourceNfInstanceId returns the SourceNfInstanceId field value if set, zero value otherwise.

func (*AccessTokenReq) GetSourceNfInstanceIdOk

func (o *AccessTokenReq) GetSourceNfInstanceIdOk() (*string, bool)

GetSourceNfInstanceIdOk returns a tuple with the SourceNfInstanceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenReq) GetTargetNfInstanceId

func (o *AccessTokenReq) GetTargetNfInstanceId() string

GetTargetNfInstanceId returns the TargetNfInstanceId field value if set, zero value otherwise.

func (*AccessTokenReq) GetTargetNfInstanceIdOk

func (o *AccessTokenReq) GetTargetNfInstanceIdOk() (*string, bool)

GetTargetNfInstanceIdOk returns a tuple with the TargetNfInstanceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenReq) GetTargetNfServiceSetId

func (o *AccessTokenReq) GetTargetNfServiceSetId() string

GetTargetNfServiceSetId returns the TargetNfServiceSetId field value if set, zero value otherwise.

func (*AccessTokenReq) GetTargetNfServiceSetIdOk

func (o *AccessTokenReq) GetTargetNfServiceSetIdOk() (*string, bool)

GetTargetNfServiceSetIdOk returns a tuple with the TargetNfServiceSetId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenReq) GetTargetNfSetId

func (o *AccessTokenReq) GetTargetNfSetId() string

GetTargetNfSetId returns the TargetNfSetId field value if set, zero value otherwise.

func (*AccessTokenReq) GetTargetNfSetIdOk

func (o *AccessTokenReq) GetTargetNfSetIdOk() (*string, bool)

GetTargetNfSetIdOk returns a tuple with the TargetNfSetId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenReq) GetTargetNfType

func (o *AccessTokenReq) GetTargetNfType() NFType

GetTargetNfType returns the TargetNfType field value if set, zero value otherwise.

func (*AccessTokenReq) GetTargetNfTypeOk

func (o *AccessTokenReq) GetTargetNfTypeOk() (*NFType, bool)

GetTargetNfTypeOk returns a tuple with the TargetNfType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenReq) GetTargetNsiList

func (o *AccessTokenReq) GetTargetNsiList() []string

GetTargetNsiList returns the TargetNsiList field value if set, zero value otherwise.

func (*AccessTokenReq) GetTargetNsiListOk

func (o *AccessTokenReq) GetTargetNsiListOk() ([]string, bool)

GetTargetNsiListOk returns a tuple with the TargetNsiList field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenReq) GetTargetPlmn

func (o *AccessTokenReq) GetTargetPlmn() PlmnId

GetTargetPlmn returns the TargetPlmn field value if set, zero value otherwise.

func (*AccessTokenReq) GetTargetPlmnOk

func (o *AccessTokenReq) GetTargetPlmnOk() (*PlmnId, bool)

GetTargetPlmnOk returns a tuple with the TargetPlmn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenReq) GetTargetSnpn

func (o *AccessTokenReq) GetTargetSnpn() PlmnIdNid

GetTargetSnpn returns the TargetSnpn field value if set, zero value otherwise.

func (*AccessTokenReq) GetTargetSnpnOk

func (o *AccessTokenReq) GetTargetSnpnOk() (*PlmnIdNid, bool)

GetTargetSnpnOk returns a tuple with the TargetSnpn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenReq) GetTargetSnssaiList

func (o *AccessTokenReq) GetTargetSnssaiList() []Snssai

GetTargetSnssaiList returns the TargetSnssaiList field value if set, zero value otherwise.

func (*AccessTokenReq) GetTargetSnssaiListOk

func (o *AccessTokenReq) GetTargetSnssaiListOk() ([]Snssai, bool)

GetTargetSnssaiListOk returns a tuple with the TargetSnssaiList field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccessTokenReq) HasHnrfAccessTokenUri

func (o *AccessTokenReq) HasHnrfAccessTokenUri() bool

HasHnrfAccessTokenUri returns a boolean if a field has been set.

func (*AccessTokenReq) HasNfType

func (o *AccessTokenReq) HasNfType() bool

HasNfType returns a boolean if a field has been set.

func (*AccessTokenReq) HasRequesterFqdn

func (o *AccessTokenReq) HasRequesterFqdn() bool

HasRequesterFqdn returns a boolean if a field has been set.

func (*AccessTokenReq) HasRequesterPlmn

func (o *AccessTokenReq) HasRequesterPlmn() bool

HasRequesterPlmn returns a boolean if a field has been set.

func (*AccessTokenReq) HasRequesterPlmnList

func (o *AccessTokenReq) HasRequesterPlmnList() bool

HasRequesterPlmnList returns a boolean if a field has been set.

func (*AccessTokenReq) HasRequesterSnpnList

func (o *AccessTokenReq) HasRequesterSnpnList() bool

HasRequesterSnpnList returns a boolean if a field has been set.

func (*AccessTokenReq) HasRequesterSnssaiList

func (o *AccessTokenReq) HasRequesterSnssaiList() bool

HasRequesterSnssaiList returns a boolean if a field has been set.

func (*AccessTokenReq) HasSourceNfInstanceId

func (o *AccessTokenReq) HasSourceNfInstanceId() bool

HasSourceNfInstanceId returns a boolean if a field has been set.

func (*AccessTokenReq) HasTargetNfInstanceId

func (o *AccessTokenReq) HasTargetNfInstanceId() bool

HasTargetNfInstanceId returns a boolean if a field has been set.

func (*AccessTokenReq) HasTargetNfServiceSetId

func (o *AccessTokenReq) HasTargetNfServiceSetId() bool

HasTargetNfServiceSetId returns a boolean if a field has been set.

func (*AccessTokenReq) HasTargetNfSetId

func (o *AccessTokenReq) HasTargetNfSetId() bool

HasTargetNfSetId returns a boolean if a field has been set.

func (*AccessTokenReq) HasTargetNfType

func (o *AccessTokenReq) HasTargetNfType() bool

HasTargetNfType returns a boolean if a field has been set.

func (*AccessTokenReq) HasTargetNsiList

func (o *AccessTokenReq) HasTargetNsiList() bool

HasTargetNsiList returns a boolean if a field has been set.

func (*AccessTokenReq) HasTargetPlmn

func (o *AccessTokenReq) HasTargetPlmn() bool

HasTargetPlmn returns a boolean if a field has been set.

func (*AccessTokenReq) HasTargetSnpn

func (o *AccessTokenReq) HasTargetSnpn() bool

HasTargetSnpn returns a boolean if a field has been set.

func (*AccessTokenReq) HasTargetSnssaiList

func (o *AccessTokenReq) HasTargetSnssaiList() bool

HasTargetSnssaiList returns a boolean if a field has been set.

func (AccessTokenReq) MarshalJSON

func (o AccessTokenReq) MarshalJSON() ([]byte, error)

func (*AccessTokenReq) SetGrantType

func (o *AccessTokenReq) SetGrantType(v string)

SetGrantType sets field value

func (*AccessTokenReq) SetHnrfAccessTokenUri

func (o *AccessTokenReq) SetHnrfAccessTokenUri(v string)

SetHnrfAccessTokenUri gets a reference to the given string and assigns it to the HnrfAccessTokenUri field.

func (*AccessTokenReq) SetNfInstanceId

func (o *AccessTokenReq) SetNfInstanceId(v string)

SetNfInstanceId sets field value

func (*AccessTokenReq) SetNfType

func (o *AccessTokenReq) SetNfType(v NFType)

SetNfType gets a reference to the given NFType and assigns it to the NfType field.

func (*AccessTokenReq) SetRequesterFqdn

func (o *AccessTokenReq) SetRequesterFqdn(v string)

SetRequesterFqdn gets a reference to the given string and assigns it to the RequesterFqdn field.

func (*AccessTokenReq) SetRequesterPlmn

func (o *AccessTokenReq) SetRequesterPlmn(v PlmnId)

SetRequesterPlmn gets a reference to the given PlmnId and assigns it to the RequesterPlmn field.

func (*AccessTokenReq) SetRequesterPlmnList

func (o *AccessTokenReq) SetRequesterPlmnList(v []PlmnId)

SetRequesterPlmnList gets a reference to the given []PlmnId and assigns it to the RequesterPlmnList field.

func (*AccessTokenReq) SetRequesterSnpnList

func (o *AccessTokenReq) SetRequesterSnpnList(v []PlmnIdNid)

SetRequesterSnpnList gets a reference to the given []PlmnIdNid and assigns it to the RequesterSnpnList field.

func (*AccessTokenReq) SetRequesterSnssaiList

func (o *AccessTokenReq) SetRequesterSnssaiList(v []Snssai)

SetRequesterSnssaiList gets a reference to the given []Snssai and assigns it to the RequesterSnssaiList field.

func (*AccessTokenReq) SetScope

func (o *AccessTokenReq) SetScope(v string)

SetScope sets field value

func (*AccessTokenReq) SetSourceNfInstanceId

func (o *AccessTokenReq) SetSourceNfInstanceId(v string)

SetSourceNfInstanceId gets a reference to the given string and assigns it to the SourceNfInstanceId field.

func (*AccessTokenReq) SetTargetNfInstanceId

func (o *AccessTokenReq) SetTargetNfInstanceId(v string)

SetTargetNfInstanceId gets a reference to the given string and assigns it to the TargetNfInstanceId field.

func (*AccessTokenReq) SetTargetNfServiceSetId

func (o *AccessTokenReq) SetTargetNfServiceSetId(v string)

SetTargetNfServiceSetId gets a reference to the given string and assigns it to the TargetNfServiceSetId field.

func (*AccessTokenReq) SetTargetNfSetId

func (o *AccessTokenReq) SetTargetNfSetId(v string)

SetTargetNfSetId gets a reference to the given string and assigns it to the TargetNfSetId field.

func (*AccessTokenReq) SetTargetNfType

func (o *AccessTokenReq) SetTargetNfType(v NFType)

SetTargetNfType gets a reference to the given NFType and assigns it to the TargetNfType field.

func (*AccessTokenReq) SetTargetNsiList

func (o *AccessTokenReq) SetTargetNsiList(v []string)

SetTargetNsiList gets a reference to the given []string and assigns it to the TargetNsiList field.

func (*AccessTokenReq) SetTargetPlmn

func (o *AccessTokenReq) SetTargetPlmn(v PlmnId)

SetTargetPlmn gets a reference to the given PlmnId and assigns it to the TargetPlmn field.

func (*AccessTokenReq) SetTargetSnpn

func (o *AccessTokenReq) SetTargetSnpn(v PlmnIdNid)

SetTargetSnpn gets a reference to the given PlmnIdNid and assigns it to the TargetSnpn field.

func (*AccessTokenReq) SetTargetSnssaiList

func (o *AccessTokenReq) SetTargetSnssaiList(v []Snssai)

SetTargetSnssaiList gets a reference to the given []Snssai and assigns it to the TargetSnssaiList field.

func (AccessTokenReq) ToMap

func (o AccessTokenReq) ToMap() (map[string]interface{}, error)

func (*AccessTokenReq) UnmarshalJSON

func (o *AccessTokenReq) UnmarshalJSON(bytes []byte) (err error)

type ApiProseKeyRegistrationRequest

type ApiProseKeyRegistrationRequest struct {
	ApiService *ProsekeyRegistrationAPIService
	// contains filtered or unexported fields
}

func (ApiProseKeyRegistrationRequest) Execute

func (ApiProseKeyRegistrationRequest) ProseContextInfo

type ApiProseKeyRetrievalRequest

type ApiProseKeyRetrievalRequest struct {
	ApiService *ProseKeyRetrievalAPIService
	// contains filtered or unexported fields
}

func (ApiProseKeyRetrievalRequest) Execute

func (ApiProseKeyRetrievalRequest) ProseKeyRequest

func (r ApiProseKeyRetrievalRequest) ProseKeyRequest(proseKeyRequest ProseKeyRequest) ApiProseKeyRetrievalRequest

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 Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type InvalidParam

type InvalidParam struct {
	// If the invalid parameter is an attribute in a JSON body, this IE shall contain the  attribute's name and shall be encoded as a JSON Pointer. If the invalid parameter is  an HTTP header, this IE shall be formatted as the concatenation of the string \"header \"  plus the name of such header. If the invalid parameter is a query parameter, this IE  shall be formatted as the concatenation of the string \"query \" plus the name of such  query parameter. If the invalid parameter is a variable part in the path of a resource  URI, this IE shall contain the name of the variable, including the symbols \"{\" and \"}\"  used in OpenAPI specification as the notation to represent variable path segments.
	Param string `json:"param"`
	// A human-readable reason, e.g. \"must be a positive integer\". In cases involving failed  operations in a PATCH request, the reason string should identify the operation that  failed using the operation's array index to assist in correlation of the invalid  parameter with the failed operation, e.g.\" Replacement value invalid for attribute  (failed operation index= 4)\"
	Reason *string `json:"reason,omitempty"`
}

InvalidParam It contains an invalid parameter and a related description.

func NewInvalidParam

func NewInvalidParam(param string) *InvalidParam

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

func NewInvalidParamWithDefaults

func NewInvalidParamWithDefaults() *InvalidParam

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

func (*InvalidParam) GetParam

func (o *InvalidParam) GetParam() string

GetParam returns the Param field value

func (*InvalidParam) GetParamOk

func (o *InvalidParam) GetParamOk() (*string, bool)

GetParamOk returns a tuple with the Param field value and a boolean to check if the value has been set.

func (*InvalidParam) GetReason

func (o *InvalidParam) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*InvalidParam) GetReasonOk

func (o *InvalidParam) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InvalidParam) HasReason

func (o *InvalidParam) HasReason() bool

HasReason returns a boolean if a field has been set.

func (InvalidParam) MarshalJSON

func (o InvalidParam) MarshalJSON() ([]byte, error)

func (*InvalidParam) SetParam

func (o *InvalidParam) SetParam(v string)

SetParam sets field value

func (*InvalidParam) SetReason

func (o *InvalidParam) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (InvalidParam) ToMap

func (o InvalidParam) ToMap() (map[string]interface{}, error)

func (*InvalidParam) UnmarshalJSON

func (o *InvalidParam) UnmarshalJSON(bytes []byte) (err error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NFType

type NFType struct {
	// contains filtered or unexported fields
}

NFType NF types known to NRF

func (*NFType) MarshalJSON

func (src *NFType) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*NFType) UnmarshalJSON

func (dst *NFType) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type NullableAccessTokenErr

type NullableAccessTokenErr struct {
	// contains filtered or unexported fields
}

func NewNullableAccessTokenErr

func NewNullableAccessTokenErr(val *AccessTokenErr) *NullableAccessTokenErr

func (NullableAccessTokenErr) Get

func (NullableAccessTokenErr) IsSet

func (v NullableAccessTokenErr) IsSet() bool

func (NullableAccessTokenErr) MarshalJSON

func (v NullableAccessTokenErr) MarshalJSON() ([]byte, error)

func (*NullableAccessTokenErr) Set

func (*NullableAccessTokenErr) UnmarshalJSON

func (v *NullableAccessTokenErr) UnmarshalJSON(src []byte) error

func (*NullableAccessTokenErr) Unset

func (v *NullableAccessTokenErr) Unset()

type NullableAccessTokenReq

type NullableAccessTokenReq struct {
	// contains filtered or unexported fields
}

func NewNullableAccessTokenReq

func NewNullableAccessTokenReq(val *AccessTokenReq) *NullableAccessTokenReq

func (NullableAccessTokenReq) Get

func (NullableAccessTokenReq) IsSet

func (v NullableAccessTokenReq) IsSet() bool

func (NullableAccessTokenReq) MarshalJSON

func (v NullableAccessTokenReq) MarshalJSON() ([]byte, error)

func (*NullableAccessTokenReq) Set

func (*NullableAccessTokenReq) UnmarshalJSON

func (v *NullableAccessTokenReq) UnmarshalJSON(src []byte) error

func (*NullableAccessTokenReq) Unset

func (v *NullableAccessTokenReq) Unset()

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableInvalidParam

type NullableInvalidParam struct {
	// contains filtered or unexported fields
}

func NewNullableInvalidParam

func NewNullableInvalidParam(val *InvalidParam) *NullableInvalidParam

func (NullableInvalidParam) Get

func (NullableInvalidParam) IsSet

func (v NullableInvalidParam) IsSet() bool

func (NullableInvalidParam) MarshalJSON

func (v NullableInvalidParam) MarshalJSON() ([]byte, error)

func (*NullableInvalidParam) Set

func (v *NullableInvalidParam) Set(val *InvalidParam)

func (*NullableInvalidParam) UnmarshalJSON

func (v *NullableInvalidParam) UnmarshalJSON(src []byte) error

func (*NullableInvalidParam) Unset

func (v *NullableInvalidParam) Unset()

type NullableNFType

type NullableNFType struct {
	// contains filtered or unexported fields
}

func NewNullableNFType

func NewNullableNFType(val *NFType) *NullableNFType

func (NullableNFType) Get

func (v NullableNFType) Get() *NFType

func (NullableNFType) IsSet

func (v NullableNFType) IsSet() bool

func (NullableNFType) MarshalJSON

func (v NullableNFType) MarshalJSON() ([]byte, error)

func (*NullableNFType) Set

func (v *NullableNFType) Set(val *NFType)

func (*NullableNFType) UnmarshalJSON

func (v *NullableNFType) UnmarshalJSON(src []byte) error

func (*NullableNFType) Unset

func (v *NullableNFType) Unset()

type NullablePlmnId

type NullablePlmnId struct {
	// contains filtered or unexported fields
}

func NewNullablePlmnId

func NewNullablePlmnId(val *PlmnId) *NullablePlmnId

func (NullablePlmnId) Get

func (v NullablePlmnId) Get() *PlmnId

func (NullablePlmnId) IsSet

func (v NullablePlmnId) IsSet() bool

func (NullablePlmnId) MarshalJSON

func (v NullablePlmnId) MarshalJSON() ([]byte, error)

func (*NullablePlmnId) Set

func (v *NullablePlmnId) Set(val *PlmnId)

func (*NullablePlmnId) UnmarshalJSON

func (v *NullablePlmnId) UnmarshalJSON(src []byte) error

func (*NullablePlmnId) Unset

func (v *NullablePlmnId) Unset()

type NullablePlmnIdNid

type NullablePlmnIdNid struct {
	// contains filtered or unexported fields
}

func NewNullablePlmnIdNid

func NewNullablePlmnIdNid(val *PlmnIdNid) *NullablePlmnIdNid

func (NullablePlmnIdNid) Get

func (v NullablePlmnIdNid) Get() *PlmnIdNid

func (NullablePlmnIdNid) IsSet

func (v NullablePlmnIdNid) IsSet() bool

func (NullablePlmnIdNid) MarshalJSON

func (v NullablePlmnIdNid) MarshalJSON() ([]byte, error)

func (*NullablePlmnIdNid) Set

func (v *NullablePlmnIdNid) Set(val *PlmnIdNid)

func (*NullablePlmnIdNid) UnmarshalJSON

func (v *NullablePlmnIdNid) UnmarshalJSON(src []byte) error

func (*NullablePlmnIdNid) Unset

func (v *NullablePlmnIdNid) Unset()

type NullableProblemDetails

type NullableProblemDetails struct {
	// contains filtered or unexported fields
}

func NewNullableProblemDetails

func NewNullableProblemDetails(val *ProblemDetails) *NullableProblemDetails

func (NullableProblemDetails) Get

func (NullableProblemDetails) IsSet

func (v NullableProblemDetails) IsSet() bool

func (NullableProblemDetails) MarshalJSON

func (v NullableProblemDetails) MarshalJSON() ([]byte, error)

func (*NullableProblemDetails) Set

func (*NullableProblemDetails) UnmarshalJSON

func (v *NullableProblemDetails) UnmarshalJSON(src []byte) error

func (*NullableProblemDetails) Unset

func (v *NullableProblemDetails) Unset()

type NullableProseContextInfo

type NullableProseContextInfo struct {
	// contains filtered or unexported fields
}

func NewNullableProseContextInfo

func NewNullableProseContextInfo(val *ProseContextInfo) *NullableProseContextInfo

func (NullableProseContextInfo) Get

func (NullableProseContextInfo) IsSet

func (v NullableProseContextInfo) IsSet() bool

func (NullableProseContextInfo) MarshalJSON

func (v NullableProseContextInfo) MarshalJSON() ([]byte, error)

func (*NullableProseContextInfo) Set

func (*NullableProseContextInfo) UnmarshalJSON

func (v *NullableProseContextInfo) UnmarshalJSON(src []byte) error

func (*NullableProseContextInfo) Unset

func (v *NullableProseContextInfo) Unset()

type NullableProseKeyRequest

type NullableProseKeyRequest struct {
	// contains filtered or unexported fields
}

func NewNullableProseKeyRequest

func NewNullableProseKeyRequest(val *ProseKeyRequest) *NullableProseKeyRequest

func (NullableProseKeyRequest) Get

func (NullableProseKeyRequest) IsSet

func (v NullableProseKeyRequest) IsSet() bool

func (NullableProseKeyRequest) MarshalJSON

func (v NullableProseKeyRequest) MarshalJSON() ([]byte, error)

func (*NullableProseKeyRequest) Set

func (*NullableProseKeyRequest) UnmarshalJSON

func (v *NullableProseKeyRequest) UnmarshalJSON(src []byte) error

func (*NullableProseKeyRequest) Unset

func (v *NullableProseKeyRequest) Unset()

type NullableProseKeyResponse

type NullableProseKeyResponse struct {
	// contains filtered or unexported fields
}

func NewNullableProseKeyResponse

func NewNullableProseKeyResponse(val *ProseKeyResponse) *NullableProseKeyResponse

func (NullableProseKeyResponse) Get

func (NullableProseKeyResponse) IsSet

func (v NullableProseKeyResponse) IsSet() bool

func (NullableProseKeyResponse) MarshalJSON

func (v NullableProseKeyResponse) MarshalJSON() ([]byte, error)

func (*NullableProseKeyResponse) Set

func (*NullableProseKeyResponse) UnmarshalJSON

func (v *NullableProseKeyResponse) UnmarshalJSON(src []byte) error

func (*NullableProseKeyResponse) Unset

func (v *NullableProseKeyResponse) Unset()

type NullableSnssai

type NullableSnssai struct {
	// contains filtered or unexported fields
}

func NewNullableSnssai

func NewNullableSnssai(val *Snssai) *NullableSnssai

func (NullableSnssai) Get

func (v NullableSnssai) Get() *Snssai

func (NullableSnssai) IsSet

func (v NullableSnssai) IsSet() bool

func (NullableSnssai) MarshalJSON

func (v NullableSnssai) MarshalJSON() ([]byte, error)

func (*NullableSnssai) Set

func (v *NullableSnssai) Set(val *Snssai)

func (*NullableSnssai) UnmarshalJSON

func (v *NullableSnssai) UnmarshalJSON(src []byte) error

func (*NullableSnssai) Unset

func (v *NullableSnssai) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type PlmnId

type PlmnId struct {
	// Mobile Country Code part of the PLMN, comprising 3 digits, as defined in clause 9.3.3.5 of 3GPP TS 38.413.
	Mcc string `json:"mcc"`
	// Mobile Network Code part of the PLMN, comprising 2 or 3 digits, as defined in clause 9.3.3.5 of 3GPP TS 38.413.
	Mnc string `json:"mnc"`
}

PlmnId When PlmnId needs to be converted to string (e.g. when used in maps as key), the string shall be composed of three digits \"mcc\" followed by \"-\" and two or three digits \"mnc\".

func NewPlmnId

func NewPlmnId(mcc string, mnc string) *PlmnId

NewPlmnId instantiates a new PlmnId 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

func NewPlmnIdWithDefaults

func NewPlmnIdWithDefaults() *PlmnId

NewPlmnIdWithDefaults instantiates a new PlmnId 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

func (*PlmnId) GetMcc

func (o *PlmnId) GetMcc() string

GetMcc returns the Mcc field value

func (*PlmnId) GetMccOk

func (o *PlmnId) GetMccOk() (*string, bool)

GetMccOk returns a tuple with the Mcc field value and a boolean to check if the value has been set.

func (*PlmnId) GetMnc

func (o *PlmnId) GetMnc() string

GetMnc returns the Mnc field value

func (*PlmnId) GetMncOk

func (o *PlmnId) GetMncOk() (*string, bool)

GetMncOk returns a tuple with the Mnc field value and a boolean to check if the value has been set.

func (PlmnId) MarshalJSON

func (o PlmnId) MarshalJSON() ([]byte, error)

func (*PlmnId) SetMcc

func (o *PlmnId) SetMcc(v string)

SetMcc sets field value

func (*PlmnId) SetMnc

func (o *PlmnId) SetMnc(v string)

SetMnc sets field value

func (PlmnId) ToMap

func (o PlmnId) ToMap() (map[string]interface{}, error)

func (*PlmnId) UnmarshalJSON

func (o *PlmnId) UnmarshalJSON(bytes []byte) (err error)

type PlmnIdNid

type PlmnIdNid struct {
	// Mobile Country Code part of the PLMN, comprising 3 digits, as defined in clause 9.3.3.5 of 3GPP TS 38.413.
	Mcc string `json:"mcc"`
	// Mobile Network Code part of the PLMN, comprising 2 or 3 digits, as defined in clause 9.3.3.5 of 3GPP TS 38.413.
	Mnc string `json:"mnc"`
	// This represents the Network Identifier, which together with a PLMN ID is used to identify an SNPN (see 3GPP TS 23.003 and 3GPP TS 23.501 clause 5.30.2.1).
	Nid *string `json:"nid,omitempty"`
}

PlmnIdNid Contains the serving core network operator PLMN ID and, for an SNPN, the NID that together with the PLMN ID identifies the SNPN.

func NewPlmnIdNid

func NewPlmnIdNid(mcc string, mnc string) *PlmnIdNid

NewPlmnIdNid instantiates a new PlmnIdNid 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

func NewPlmnIdNidWithDefaults

func NewPlmnIdNidWithDefaults() *PlmnIdNid

NewPlmnIdNidWithDefaults instantiates a new PlmnIdNid 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

func (*PlmnIdNid) GetMcc

func (o *PlmnIdNid) GetMcc() string

GetMcc returns the Mcc field value

func (*PlmnIdNid) GetMccOk

func (o *PlmnIdNid) GetMccOk() (*string, bool)

GetMccOk returns a tuple with the Mcc field value and a boolean to check if the value has been set.

func (*PlmnIdNid) GetMnc

func (o *PlmnIdNid) GetMnc() string

GetMnc returns the Mnc field value

func (*PlmnIdNid) GetMncOk

func (o *PlmnIdNid) GetMncOk() (*string, bool)

GetMncOk returns a tuple with the Mnc field value and a boolean to check if the value has been set.

func (*PlmnIdNid) GetNid

func (o *PlmnIdNid) GetNid() string

GetNid returns the Nid field value if set, zero value otherwise.

func (*PlmnIdNid) GetNidOk

func (o *PlmnIdNid) GetNidOk() (*string, bool)

GetNidOk returns a tuple with the Nid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlmnIdNid) HasNid

func (o *PlmnIdNid) HasNid() bool

HasNid returns a boolean if a field has been set.

func (PlmnIdNid) MarshalJSON

func (o PlmnIdNid) MarshalJSON() ([]byte, error)

func (*PlmnIdNid) SetMcc

func (o *PlmnIdNid) SetMcc(v string)

SetMcc sets field value

func (*PlmnIdNid) SetMnc

func (o *PlmnIdNid) SetMnc(v string)

SetMnc sets field value

func (*PlmnIdNid) SetNid

func (o *PlmnIdNid) SetNid(v string)

SetNid gets a reference to the given string and assigns it to the Nid field.

func (PlmnIdNid) ToMap

func (o PlmnIdNid) ToMap() (map[string]interface{}, error)

func (*PlmnIdNid) UnmarshalJSON

func (o *PlmnIdNid) UnmarshalJSON(bytes []byte) (err error)

type ProblemDetails

type ProblemDetails struct {
	// String providing an URI formatted according to RFC 3986.
	Type   *string `json:"type,omitempty"`
	Title  *string `json:"title,omitempty"`
	Status *int32  `json:"status,omitempty"`
	// A human-readable explanation specific to this occurrence of the problem.
	Detail *string `json:"detail,omitempty"`
	// String providing an URI formatted according to RFC 3986.
	Instance *string `json:"instance,omitempty"`
	// A machine-readable application error cause specific to this occurrence of the problem.  This IE should be present and provide application-related error information, if available.
	Cause         *string        `json:"cause,omitempty"`
	InvalidParams []InvalidParam `json:"invalidParams,omitempty"`
	// A string used to indicate the features supported by an API that is used as defined in clause  6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in  hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\",  \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in  table 5.2.2-3. The most significant character representing the highest-numbered features shall  appear first in the string, and the character representing features 1 to 4 shall appear last  in the string. The list of features and their numbering (starting with 1) are defined  separately for each API. If the string contains a lower number of characters than there are  defined features for an API, all features that would be represented by characters that are not  present in the string are not supported.
	SupportedFeatures  *string         `json:"supportedFeatures,omitempty"`
	AccessTokenError   *AccessTokenErr `json:"accessTokenError,omitempty"`
	AccessTokenRequest *AccessTokenReq `json:"accessTokenRequest,omitempty"`
	// Fully Qualified Domain Name
	NrfId *string `json:"nrfId,omitempty"`
}

ProblemDetails Provides additional information in an error response.

func NewProblemDetails

func NewProblemDetails() *ProblemDetails

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

func NewProblemDetailsWithDefaults

func NewProblemDetailsWithDefaults() *ProblemDetails

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

func (*ProblemDetails) GetAccessTokenError

func (o *ProblemDetails) GetAccessTokenError() AccessTokenErr

GetAccessTokenError returns the AccessTokenError field value if set, zero value otherwise.

func (*ProblemDetails) GetAccessTokenErrorOk

func (o *ProblemDetails) GetAccessTokenErrorOk() (*AccessTokenErr, bool)

GetAccessTokenErrorOk returns a tuple with the AccessTokenError field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProblemDetails) GetAccessTokenRequest

func (o *ProblemDetails) GetAccessTokenRequest() AccessTokenReq

GetAccessTokenRequest returns the AccessTokenRequest field value if set, zero value otherwise.

func (*ProblemDetails) GetAccessTokenRequestOk

func (o *ProblemDetails) GetAccessTokenRequestOk() (*AccessTokenReq, bool)

GetAccessTokenRequestOk returns a tuple with the AccessTokenRequest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProblemDetails) GetCause

func (o *ProblemDetails) GetCause() string

GetCause returns the Cause field value if set, zero value otherwise.

func (*ProblemDetails) GetCauseOk

func (o *ProblemDetails) GetCauseOk() (*string, bool)

GetCauseOk returns a tuple with the Cause field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProblemDetails) GetDetail

func (o *ProblemDetails) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*ProblemDetails) GetDetailOk

func (o *ProblemDetails) GetDetailOk() (*string, bool)

GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProblemDetails) GetInstance

func (o *ProblemDetails) GetInstance() string

GetInstance returns the Instance field value if set, zero value otherwise.

func (*ProblemDetails) GetInstanceOk

func (o *ProblemDetails) GetInstanceOk() (*string, bool)

GetInstanceOk returns a tuple with the Instance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProblemDetails) GetInvalidParams

func (o *ProblemDetails) GetInvalidParams() []InvalidParam

GetInvalidParams returns the InvalidParams field value if set, zero value otherwise.

func (*ProblemDetails) GetInvalidParamsOk

func (o *ProblemDetails) GetInvalidParamsOk() ([]InvalidParam, bool)

GetInvalidParamsOk returns a tuple with the InvalidParams field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProblemDetails) GetNrfId

func (o *ProblemDetails) GetNrfId() string

GetNrfId returns the NrfId field value if set, zero value otherwise.

func (*ProblemDetails) GetNrfIdOk

func (o *ProblemDetails) GetNrfIdOk() (*string, bool)

GetNrfIdOk returns a tuple with the NrfId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProblemDetails) GetStatus

func (o *ProblemDetails) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*ProblemDetails) GetStatusOk

func (o *ProblemDetails) GetStatusOk() (*int32, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProblemDetails) GetSupportedFeatures

func (o *ProblemDetails) GetSupportedFeatures() string

GetSupportedFeatures returns the SupportedFeatures field value if set, zero value otherwise.

func (*ProblemDetails) GetSupportedFeaturesOk

func (o *ProblemDetails) GetSupportedFeaturesOk() (*string, bool)

GetSupportedFeaturesOk returns a tuple with the SupportedFeatures field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProblemDetails) GetTitle

func (o *ProblemDetails) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*ProblemDetails) GetTitleOk

func (o *ProblemDetails) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProblemDetails) GetType

func (o *ProblemDetails) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ProblemDetails) GetTypeOk

func (o *ProblemDetails) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProblemDetails) HasAccessTokenError

func (o *ProblemDetails) HasAccessTokenError() bool

HasAccessTokenError returns a boolean if a field has been set.

func (*ProblemDetails) HasAccessTokenRequest

func (o *ProblemDetails) HasAccessTokenRequest() bool

HasAccessTokenRequest returns a boolean if a field has been set.

func (*ProblemDetails) HasCause

func (o *ProblemDetails) HasCause() bool

HasCause returns a boolean if a field has been set.

func (*ProblemDetails) HasDetail

func (o *ProblemDetails) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*ProblemDetails) HasInstance

func (o *ProblemDetails) HasInstance() bool

HasInstance returns a boolean if a field has been set.

func (*ProblemDetails) HasInvalidParams

func (o *ProblemDetails) HasInvalidParams() bool

HasInvalidParams returns a boolean if a field has been set.

func (*ProblemDetails) HasNrfId

func (o *ProblemDetails) HasNrfId() bool

HasNrfId returns a boolean if a field has been set.

func (*ProblemDetails) HasStatus

func (o *ProblemDetails) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ProblemDetails) HasSupportedFeatures

func (o *ProblemDetails) HasSupportedFeatures() bool

HasSupportedFeatures returns a boolean if a field has been set.

func (*ProblemDetails) HasTitle

func (o *ProblemDetails) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ProblemDetails) HasType

func (o *ProblemDetails) HasType() bool

HasType returns a boolean if a field has been set.

func (ProblemDetails) MarshalJSON

func (o ProblemDetails) MarshalJSON() ([]byte, error)

func (*ProblemDetails) SetAccessTokenError

func (o *ProblemDetails) SetAccessTokenError(v AccessTokenErr)

SetAccessTokenError gets a reference to the given AccessTokenErr and assigns it to the AccessTokenError field.

func (*ProblemDetails) SetAccessTokenRequest

func (o *ProblemDetails) SetAccessTokenRequest(v AccessTokenReq)

SetAccessTokenRequest gets a reference to the given AccessTokenReq and assigns it to the AccessTokenRequest field.

func (*ProblemDetails) SetCause

func (o *ProblemDetails) SetCause(v string)

SetCause gets a reference to the given string and assigns it to the Cause field.

func (*ProblemDetails) SetDetail

func (o *ProblemDetails) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*ProblemDetails) SetInstance

func (o *ProblemDetails) SetInstance(v string)

SetInstance gets a reference to the given string and assigns it to the Instance field.

func (*ProblemDetails) SetInvalidParams

func (o *ProblemDetails) SetInvalidParams(v []InvalidParam)

SetInvalidParams gets a reference to the given []InvalidParam and assigns it to the InvalidParams field.

func (*ProblemDetails) SetNrfId

func (o *ProblemDetails) SetNrfId(v string)

SetNrfId gets a reference to the given string and assigns it to the NrfId field.

func (*ProblemDetails) SetStatus

func (o *ProblemDetails) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*ProblemDetails) SetSupportedFeatures

func (o *ProblemDetails) SetSupportedFeatures(v string)

SetSupportedFeatures gets a reference to the given string and assigns it to the SupportedFeatures field.

func (*ProblemDetails) SetTitle

func (o *ProblemDetails) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*ProblemDetails) SetType

func (o *ProblemDetails) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (ProblemDetails) ToMap

func (o ProblemDetails) ToMap() (map[string]interface{}, error)

type ProseContextInfo

type ProseContextInfo struct {
	// String identifying a Supi that shall contain either an IMSI, a network specific identifier, a Global Cable Identifier (GCI) or a Global Line Identifier (GLI) as specified in clause  2.2A of 3GPP TS 23.003. It shall be formatted as follows  - for an IMSI \"imsi-<imsi>\", where <imsi> shall be formatted according to clause 2.2    of 3GPP TS 23.003 that describes an IMSI.  - for a network specific identifier \"nai-<nai>, where <nai> shall be formatted    according to clause 28.7.2 of 3GPP TS 23.003 that describes an NAI.  - for a GCI \"gci-<gci>\", where <gci> shall be formatted according to clause 28.15.2    of 3GPP TS 23.003.  - for a GLI \"gli-<gli>\", where <gli> shall be formatted according to clause 28.16.2 of    3GPP TS 23.003.To enable that the value is used as part of an URI, the string shall    only contain characters allowed according to the \"lower-with-hyphen\" naming convention    defined in 3GPP TS 29.501.
	Supi string `json:"supi"`
	// ProSe Remote User Key over Control Plane
	Var5gPruk string `json:"5gPruk"`
	// A string carrying the CP-PRUK ID of the remote UE. The CP-PRUK ID is a string in NAI format as specified in clause 28.7.11 of 3GPP TS 23.003.
	Var5gPrukId string `json:"5gPrukId"`
	// Relay Service Code to identify a connectivity service provided by the UE-to-Network relay.
	RelayServiceCode int32 `json:"relayServiceCode"`
}

ProseContextInfo Prose Context Info.

func NewProseContextInfo

func NewProseContextInfo(supi string, var5gPruk string, var5gPrukId string, relayServiceCode int32) *ProseContextInfo

NewProseContextInfo instantiates a new ProseContextInfo 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

func NewProseContextInfoWithDefaults

func NewProseContextInfoWithDefaults() *ProseContextInfo

NewProseContextInfoWithDefaults instantiates a new ProseContextInfo 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

func (*ProseContextInfo) GetRelayServiceCode

func (o *ProseContextInfo) GetRelayServiceCode() int32

GetRelayServiceCode returns the RelayServiceCode field value

func (*ProseContextInfo) GetRelayServiceCodeOk

func (o *ProseContextInfo) GetRelayServiceCodeOk() (*int32, bool)

GetRelayServiceCodeOk returns a tuple with the RelayServiceCode field value and a boolean to check if the value has been set.

func (*ProseContextInfo) GetSupi

func (o *ProseContextInfo) GetSupi() string

GetSupi returns the Supi field value

func (*ProseContextInfo) GetSupiOk

func (o *ProseContextInfo) GetSupiOk() (*string, bool)

GetSupiOk returns a tuple with the Supi field value and a boolean to check if the value has been set.

func (*ProseContextInfo) GetVar5gPruk

func (o *ProseContextInfo) GetVar5gPruk() string

GetVar5gPruk returns the Var5gPruk field value

func (*ProseContextInfo) GetVar5gPrukId

func (o *ProseContextInfo) GetVar5gPrukId() string

GetVar5gPrukId returns the Var5gPrukId field value

func (*ProseContextInfo) GetVar5gPrukIdOk

func (o *ProseContextInfo) GetVar5gPrukIdOk() (*string, bool)

GetVar5gPrukIdOk returns a tuple with the Var5gPrukId field value and a boolean to check if the value has been set.

func (*ProseContextInfo) GetVar5gPrukOk

func (o *ProseContextInfo) GetVar5gPrukOk() (*string, bool)

GetVar5gPrukOk returns a tuple with the Var5gPruk field value and a boolean to check if the value has been set.

func (ProseContextInfo) MarshalJSON

func (o ProseContextInfo) MarshalJSON() ([]byte, error)

func (*ProseContextInfo) SetRelayServiceCode

func (o *ProseContextInfo) SetRelayServiceCode(v int32)

SetRelayServiceCode sets field value

func (*ProseContextInfo) SetSupi

func (o *ProseContextInfo) SetSupi(v string)

SetSupi sets field value

func (*ProseContextInfo) SetVar5gPruk

func (o *ProseContextInfo) SetVar5gPruk(v string)

SetVar5gPruk sets field value

func (*ProseContextInfo) SetVar5gPrukId

func (o *ProseContextInfo) SetVar5gPrukId(v string)

SetVar5gPrukId sets field value

func (ProseContextInfo) ToMap

func (o ProseContextInfo) ToMap() (map[string]interface{}, error)

func (*ProseContextInfo) UnmarshalJSON

func (o *ProseContextInfo) UnmarshalJSON(bytes []byte) (err error)

type ProseKeyRequest

type ProseKeyRequest struct {
	// A string carrying the CP-PRUK ID of the remote UE. The CP-PRUK ID is a string in NAI format as specified in clause 28.7.11 of 3GPP TS 23.003.
	Var5gPrukId string `json:"5gPrukId"`
	// Relay Service Code to identify a connectivity service provided by the UE-to-Network relay.
	RelayServiceCode int32 `json:"relayServiceCode"`
}

ProseKeyRequest Prose Key Request.

func NewProseKeyRequest

func NewProseKeyRequest(var5gPrukId string, relayServiceCode int32) *ProseKeyRequest

NewProseKeyRequest instantiates a new ProseKeyRequest 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

func NewProseKeyRequestWithDefaults

func NewProseKeyRequestWithDefaults() *ProseKeyRequest

NewProseKeyRequestWithDefaults instantiates a new ProseKeyRequest 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

func (*ProseKeyRequest) GetRelayServiceCode

func (o *ProseKeyRequest) GetRelayServiceCode() int32

GetRelayServiceCode returns the RelayServiceCode field value

func (*ProseKeyRequest) GetRelayServiceCodeOk

func (o *ProseKeyRequest) GetRelayServiceCodeOk() (*int32, bool)

GetRelayServiceCodeOk returns a tuple with the RelayServiceCode field value and a boolean to check if the value has been set.

func (*ProseKeyRequest) GetVar5gPrukId

func (o *ProseKeyRequest) GetVar5gPrukId() string

GetVar5gPrukId returns the Var5gPrukId field value

func (*ProseKeyRequest) GetVar5gPrukIdOk

func (o *ProseKeyRequest) GetVar5gPrukIdOk() (*string, bool)

GetVar5gPrukIdOk returns a tuple with the Var5gPrukId field value and a boolean to check if the value has been set.

func (ProseKeyRequest) MarshalJSON

func (o ProseKeyRequest) MarshalJSON() ([]byte, error)

func (*ProseKeyRequest) SetRelayServiceCode

func (o *ProseKeyRequest) SetRelayServiceCode(v int32)

SetRelayServiceCode sets field value

func (*ProseKeyRequest) SetVar5gPrukId

func (o *ProseKeyRequest) SetVar5gPrukId(v string)

SetVar5gPrukId sets field value

func (ProseKeyRequest) ToMap

func (o ProseKeyRequest) ToMap() (map[string]interface{}, error)

func (*ProseKeyRequest) UnmarshalJSON

func (o *ProseKeyRequest) UnmarshalJSON(bytes []byte) (err error)

type ProseKeyResponse

type ProseKeyResponse struct {
	// ProSe Remote User Key over Control Plane
	Var5gPruk string `json:"5gPruk"`
}

ProseKeyResponse Prose Key Response.

func NewProseKeyResponse

func NewProseKeyResponse(var5gPruk string) *ProseKeyResponse

NewProseKeyResponse instantiates a new ProseKeyResponse 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

func NewProseKeyResponseWithDefaults

func NewProseKeyResponseWithDefaults() *ProseKeyResponse

NewProseKeyResponseWithDefaults instantiates a new ProseKeyResponse 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

func (*ProseKeyResponse) GetVar5gPruk

func (o *ProseKeyResponse) GetVar5gPruk() string

GetVar5gPruk returns the Var5gPruk field value

func (*ProseKeyResponse) GetVar5gPrukOk

func (o *ProseKeyResponse) GetVar5gPrukOk() (*string, bool)

GetVar5gPrukOk returns a tuple with the Var5gPruk field value and a boolean to check if the value has been set.

func (ProseKeyResponse) MarshalJSON

func (o ProseKeyResponse) MarshalJSON() ([]byte, error)

func (*ProseKeyResponse) SetVar5gPruk

func (o *ProseKeyResponse) SetVar5gPruk(v string)

SetVar5gPruk sets field value

func (ProseKeyResponse) ToMap

func (o ProseKeyResponse) ToMap() (map[string]interface{}, error)

func (*ProseKeyResponse) UnmarshalJSON

func (o *ProseKeyResponse) UnmarshalJSON(bytes []byte) (err error)

type ProseKeyRetrievalAPIService

type ProseKeyRetrievalAPIService service

ProseKeyRetrievalAPIService ProseKeyRetrievalAPI service

func (*ProseKeyRetrievalAPIService) ProseKeyRetrieval

ProseKeyRetrieval retrieve the prose key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiProseKeyRetrievalRequest

func (*ProseKeyRetrievalAPIService) ProseKeyRetrievalExecute

Execute executes the request

@return ProseKeyResponse

type ProsekeyRegistrationAPIService

type ProsekeyRegistrationAPIService service

ProsekeyRegistrationAPIService ProsekeyRegistrationAPI service

func (*ProsekeyRegistrationAPIService) ProseKeyRegistration

ProseKeyRegistration Register the Prose Key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiProseKeyRegistrationRequest

func (*ProsekeyRegistrationAPIService) ProseKeyRegistrationExecute

Execute executes the request

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type Snssai

type Snssai struct {
	// Unsigned integer, within the range 0 to 255, representing the Slice/Service Type.  It indicates the expected Network Slice behaviour in terms of features and services. Values 0 to 127 correspond to the standardized SST range. Values 128 to 255 correspond  to the Operator-specific range. See clause 28.4.2 of 3GPP TS 23.003. Standardized values are defined in clause 5.15.2.2 of 3GPP TS 23.501.
	Sst int32 `json:"sst"`
	// 3-octet string, representing the Slice Differentiator, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the SD shall appear first in the string, and the character representing the 4 least significant bit of the SD shall appear last in the string. This is an optional parameter that complements the Slice/Service type(s) to allow to  differentiate amongst multiple Network Slices of the same Slice/Service type. This IE shall be absent if no SD value is associated with the SST.
	Sd *string `json:"sd,omitempty"`
}

Snssai When Snssai needs to be converted to string (e.g. when used in maps as key), the string shall be composed of one to three digits \"sst\" optionally followed by \"-\" and 6 hexadecimal digits \"sd\".

func NewSnssai

func NewSnssai(sst int32) *Snssai

NewSnssai instantiates a new Snssai 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

func NewSnssaiWithDefaults

func NewSnssaiWithDefaults() *Snssai

NewSnssaiWithDefaults instantiates a new Snssai 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

func (*Snssai) GetSd

func (o *Snssai) GetSd() string

GetSd returns the Sd field value if set, zero value otherwise.

func (*Snssai) GetSdOk

func (o *Snssai) GetSdOk() (*string, bool)

GetSdOk returns a tuple with the Sd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Snssai) GetSst

func (o *Snssai) GetSst() int32

GetSst returns the Sst field value

func (*Snssai) GetSstOk

func (o *Snssai) GetSstOk() (*int32, bool)

GetSstOk returns a tuple with the Sst field value and a boolean to check if the value has been set.

func (*Snssai) HasSd

func (o *Snssai) HasSd() bool

HasSd returns a boolean if a field has been set.

func (Snssai) MarshalJSON

func (o Snssai) MarshalJSON() ([]byte, error)

func (*Snssai) SetSd

func (o *Snssai) SetSd(v string)

SetSd gets a reference to the given string and assigns it to the Sd field.

func (*Snssai) SetSst

func (o *Snssai) SetSst(v int32)

SetSst sets field value

func (Snssai) ToMap

func (o Snssai) ToMap() (map[string]interface{}, error)

func (*Snssai) UnmarshalJSON

func (o *Snssai) UnmarshalJSON(bytes []byte) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL