openapi_Nnrf_AccessToken

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

README

Go API client for openapi_Nnrf_AccessToken

NRF OAuth2 Authorization.
© 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.2.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/net/context

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

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

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_Nnrf_AccessToken.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_Nnrf_AccessToken.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_Nnrf_AccessToken.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), openapi_Nnrf_AccessToken.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AccessTokenRequestApi AccessTokenRequest Post /oauth2/token Access Token Request

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

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 (
	// 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 added in v1.18.2

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 {
	AccessTokenRequestApi *AccessTokenRequestApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the NRF OAuth2 API v1.2.1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) 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 AccessTokenClaims

type AccessTokenClaims struct {
	// 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.
	Iss string `json:"iss"`
	// 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.
	Sub                string               `json:"sub"`
	Aud                AccessTokenClaimsAud `json:"aud"`
	Scope              string               `json:"scope"`
	Exp                int32                `json:"exp"`
	ConsumerPlmnId     *PlmnId              `json:"consumerPlmnId,omitempty"`
	ConsumerSnpnId     *PlmnIdNid           `json:"consumerSnpnId,omitempty"`
	ProducerPlmnId     *PlmnId              `json:"producerPlmnId,omitempty"`
	ProducerSnpnId     *PlmnIdNid           `json:"producerSnpnId,omitempty"`
	ProducerSnssaiList []Snssai             `json:"producerSnssaiList,omitempty"`
	ProducerNsiList    []string             `json:"producerNsiList,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.
	ProducerNfSetId *string `json:"producerNfSetId,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.
	ProducerNfServiceSetId *string `json:"producerNfServiceSetId,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"`
}

AccessTokenClaims The claims data structure for the access token

func NewAccessTokenClaims

func NewAccessTokenClaims(iss string, sub string, aud AccessTokenClaimsAud, scope string, exp int32) *AccessTokenClaims

NewAccessTokenClaims instantiates a new AccessTokenClaims 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 NewAccessTokenClaimsWithDefaults

func NewAccessTokenClaimsWithDefaults() *AccessTokenClaims

NewAccessTokenClaimsWithDefaults instantiates a new AccessTokenClaims 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 (*AccessTokenClaims) GetAud

GetAud returns the Aud field value

func (*AccessTokenClaims) GetAudOk

func (o *AccessTokenClaims) GetAudOk() (*AccessTokenClaimsAud, bool)

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

func (*AccessTokenClaims) GetConsumerPlmnId

func (o *AccessTokenClaims) GetConsumerPlmnId() PlmnId

GetConsumerPlmnId returns the ConsumerPlmnId field value if set, zero value otherwise.

func (*AccessTokenClaims) GetConsumerPlmnIdOk

func (o *AccessTokenClaims) GetConsumerPlmnIdOk() (*PlmnId, bool)

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

func (*AccessTokenClaims) GetConsumerSnpnId

func (o *AccessTokenClaims) GetConsumerSnpnId() PlmnIdNid

GetConsumerSnpnId returns the ConsumerSnpnId field value if set, zero value otherwise.

func (*AccessTokenClaims) GetConsumerSnpnIdOk

func (o *AccessTokenClaims) GetConsumerSnpnIdOk() (*PlmnIdNid, bool)

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

func (*AccessTokenClaims) GetExp

func (o *AccessTokenClaims) GetExp() int32

GetExp returns the Exp field value

func (*AccessTokenClaims) GetExpOk

func (o *AccessTokenClaims) GetExpOk() (*int32, bool)

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

func (*AccessTokenClaims) GetIss

func (o *AccessTokenClaims) GetIss() string

GetIss returns the Iss field value

func (*AccessTokenClaims) GetIssOk

func (o *AccessTokenClaims) GetIssOk() (*string, bool)

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

func (*AccessTokenClaims) GetProducerNfServiceSetId

func (o *AccessTokenClaims) GetProducerNfServiceSetId() string

GetProducerNfServiceSetId returns the ProducerNfServiceSetId field value if set, zero value otherwise.

func (*AccessTokenClaims) GetProducerNfServiceSetIdOk

func (o *AccessTokenClaims) GetProducerNfServiceSetIdOk() (*string, bool)

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

func (*AccessTokenClaims) GetProducerNfSetId

func (o *AccessTokenClaims) GetProducerNfSetId() string

GetProducerNfSetId returns the ProducerNfSetId field value if set, zero value otherwise.

func (*AccessTokenClaims) GetProducerNfSetIdOk

func (o *AccessTokenClaims) GetProducerNfSetIdOk() (*string, bool)

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

func (*AccessTokenClaims) GetProducerNsiList

func (o *AccessTokenClaims) GetProducerNsiList() []string

GetProducerNsiList returns the ProducerNsiList field value if set, zero value otherwise.

func (*AccessTokenClaims) GetProducerNsiListOk

func (o *AccessTokenClaims) GetProducerNsiListOk() ([]string, bool)

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

func (*AccessTokenClaims) GetProducerPlmnId

func (o *AccessTokenClaims) GetProducerPlmnId() PlmnId

GetProducerPlmnId returns the ProducerPlmnId field value if set, zero value otherwise.

func (*AccessTokenClaims) GetProducerPlmnIdOk

func (o *AccessTokenClaims) GetProducerPlmnIdOk() (*PlmnId, bool)

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

func (*AccessTokenClaims) GetProducerSnpnId

func (o *AccessTokenClaims) GetProducerSnpnId() PlmnIdNid

GetProducerSnpnId returns the ProducerSnpnId field value if set, zero value otherwise.

func (*AccessTokenClaims) GetProducerSnpnIdOk

func (o *AccessTokenClaims) GetProducerSnpnIdOk() (*PlmnIdNid, bool)

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

func (*AccessTokenClaims) GetProducerSnssaiList

func (o *AccessTokenClaims) GetProducerSnssaiList() []Snssai

GetProducerSnssaiList returns the ProducerSnssaiList field value if set, zero value otherwise.

func (*AccessTokenClaims) GetProducerSnssaiListOk

func (o *AccessTokenClaims) GetProducerSnssaiListOk() ([]Snssai, bool)

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

func (*AccessTokenClaims) GetScope

func (o *AccessTokenClaims) GetScope() string

GetScope returns the Scope field value

func (*AccessTokenClaims) GetScopeOk

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

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

func (*AccessTokenClaims) GetSourceNfInstanceId

func (o *AccessTokenClaims) GetSourceNfInstanceId() string

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

func (*AccessTokenClaims) GetSourceNfInstanceIdOk

func (o *AccessTokenClaims) 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 (*AccessTokenClaims) GetSub

func (o *AccessTokenClaims) GetSub() string

GetSub returns the Sub field value

func (*AccessTokenClaims) GetSubOk

func (o *AccessTokenClaims) GetSubOk() (*string, bool)

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

func (*AccessTokenClaims) HasConsumerPlmnId

func (o *AccessTokenClaims) HasConsumerPlmnId() bool

HasConsumerPlmnId returns a boolean if a field has been set.

func (*AccessTokenClaims) HasConsumerSnpnId

func (o *AccessTokenClaims) HasConsumerSnpnId() bool

HasConsumerSnpnId returns a boolean if a field has been set.

func (*AccessTokenClaims) HasProducerNfServiceSetId

func (o *AccessTokenClaims) HasProducerNfServiceSetId() bool

HasProducerNfServiceSetId returns a boolean if a field has been set.

func (*AccessTokenClaims) HasProducerNfSetId

func (o *AccessTokenClaims) HasProducerNfSetId() bool

HasProducerNfSetId returns a boolean if a field has been set.

func (*AccessTokenClaims) HasProducerNsiList

func (o *AccessTokenClaims) HasProducerNsiList() bool

HasProducerNsiList returns a boolean if a field has been set.

func (*AccessTokenClaims) HasProducerPlmnId

func (o *AccessTokenClaims) HasProducerPlmnId() bool

HasProducerPlmnId returns a boolean if a field has been set.

func (*AccessTokenClaims) HasProducerSnpnId

func (o *AccessTokenClaims) HasProducerSnpnId() bool

HasProducerSnpnId returns a boolean if a field has been set.

func (*AccessTokenClaims) HasProducerSnssaiList

func (o *AccessTokenClaims) HasProducerSnssaiList() bool

HasProducerSnssaiList returns a boolean if a field has been set.

func (*AccessTokenClaims) HasSourceNfInstanceId

func (o *AccessTokenClaims) HasSourceNfInstanceId() bool

HasSourceNfInstanceId returns a boolean if a field has been set.

func (AccessTokenClaims) MarshalJSON

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

func (*AccessTokenClaims) SetAud

SetAud sets field value

func (*AccessTokenClaims) SetConsumerPlmnId

func (o *AccessTokenClaims) SetConsumerPlmnId(v PlmnId)

SetConsumerPlmnId gets a reference to the given PlmnId and assigns it to the ConsumerPlmnId field.

func (*AccessTokenClaims) SetConsumerSnpnId

func (o *AccessTokenClaims) SetConsumerSnpnId(v PlmnIdNid)

SetConsumerSnpnId gets a reference to the given PlmnIdNid and assigns it to the ConsumerSnpnId field.

func (*AccessTokenClaims) SetExp

func (o *AccessTokenClaims) SetExp(v int32)

SetExp sets field value

func (*AccessTokenClaims) SetIss

func (o *AccessTokenClaims) SetIss(v string)

SetIss sets field value

func (*AccessTokenClaims) SetProducerNfServiceSetId

func (o *AccessTokenClaims) SetProducerNfServiceSetId(v string)

SetProducerNfServiceSetId gets a reference to the given string and assigns it to the ProducerNfServiceSetId field.

func (*AccessTokenClaims) SetProducerNfSetId

func (o *AccessTokenClaims) SetProducerNfSetId(v string)

SetProducerNfSetId gets a reference to the given string and assigns it to the ProducerNfSetId field.

func (*AccessTokenClaims) SetProducerNsiList

func (o *AccessTokenClaims) SetProducerNsiList(v []string)

SetProducerNsiList gets a reference to the given []string and assigns it to the ProducerNsiList field.

func (*AccessTokenClaims) SetProducerPlmnId

func (o *AccessTokenClaims) SetProducerPlmnId(v PlmnId)

SetProducerPlmnId gets a reference to the given PlmnId and assigns it to the ProducerPlmnId field.

func (*AccessTokenClaims) SetProducerSnpnId

func (o *AccessTokenClaims) SetProducerSnpnId(v PlmnIdNid)

SetProducerSnpnId gets a reference to the given PlmnIdNid and assigns it to the ProducerSnpnId field.

func (*AccessTokenClaims) SetProducerSnssaiList

func (o *AccessTokenClaims) SetProducerSnssaiList(v []Snssai)

SetProducerSnssaiList gets a reference to the given []Snssai and assigns it to the ProducerSnssaiList field.

func (*AccessTokenClaims) SetScope

func (o *AccessTokenClaims) SetScope(v string)

SetScope sets field value

func (*AccessTokenClaims) SetSourceNfInstanceId

func (o *AccessTokenClaims) SetSourceNfInstanceId(v string)

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

func (*AccessTokenClaims) SetSub

func (o *AccessTokenClaims) SetSub(v string)

SetSub sets field value

func (AccessTokenClaims) ToMap

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

type AccessTokenClaimsAud

type AccessTokenClaimsAud struct {
	NFType        *NFType
	ArrayOfString *[]string
}

AccessTokenClaimsAud struct for AccessTokenClaimsAud

func (*AccessTokenClaimsAud) MarshalJSON

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

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

func (*AccessTokenClaimsAud) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

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)

type AccessTokenReq1

type AccessTokenReq1 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"`
}

AccessTokenReq1 Contains information related to the access token request

func NewAccessTokenReq1

func NewAccessTokenReq1(grantType string, nfInstanceId string, scope string) *AccessTokenReq1

NewAccessTokenReq1 instantiates a new AccessTokenReq1 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 NewAccessTokenReq1WithDefaults

func NewAccessTokenReq1WithDefaults() *AccessTokenReq1

NewAccessTokenReq1WithDefaults instantiates a new AccessTokenReq1 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 (*AccessTokenReq1) GetGrantType

func (o *AccessTokenReq1) GetGrantType() string

GetGrantType returns the GrantType field value

func (*AccessTokenReq1) GetGrantTypeOk

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

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

func (*AccessTokenReq1) GetHnrfAccessTokenUri

func (o *AccessTokenReq1) GetHnrfAccessTokenUri() string

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

func (*AccessTokenReq1) GetHnrfAccessTokenUriOk

func (o *AccessTokenReq1) 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 (*AccessTokenReq1) GetNfInstanceId

func (o *AccessTokenReq1) GetNfInstanceId() string

GetNfInstanceId returns the NfInstanceId field value

func (*AccessTokenReq1) GetNfInstanceIdOk

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

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

func (*AccessTokenReq1) GetNfType

func (o *AccessTokenReq1) GetNfType() NFType

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

func (*AccessTokenReq1) GetNfTypeOk

func (o *AccessTokenReq1) 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 (*AccessTokenReq1) GetRequesterFqdn

func (o *AccessTokenReq1) GetRequesterFqdn() string

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

func (*AccessTokenReq1) GetRequesterFqdnOk

func (o *AccessTokenReq1) 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 (*AccessTokenReq1) GetRequesterPlmn

func (o *AccessTokenReq1) GetRequesterPlmn() PlmnId

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

func (*AccessTokenReq1) GetRequesterPlmnList

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

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

func (*AccessTokenReq1) GetRequesterPlmnListOk

func (o *AccessTokenReq1) 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 (*AccessTokenReq1) GetRequesterPlmnOk

func (o *AccessTokenReq1) 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 (*AccessTokenReq1) GetRequesterSnpnList

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

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

func (*AccessTokenReq1) GetRequesterSnpnListOk

func (o *AccessTokenReq1) 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 (*AccessTokenReq1) GetRequesterSnssaiList

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

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

func (*AccessTokenReq1) GetRequesterSnssaiListOk

func (o *AccessTokenReq1) 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 (*AccessTokenReq1) GetScope

func (o *AccessTokenReq1) GetScope() string

GetScope returns the Scope field value

func (*AccessTokenReq1) GetScopeOk

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

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

func (*AccessTokenReq1) GetSourceNfInstanceId

func (o *AccessTokenReq1) GetSourceNfInstanceId() string

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

func (*AccessTokenReq1) GetSourceNfInstanceIdOk

func (o *AccessTokenReq1) 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 (*AccessTokenReq1) GetTargetNfInstanceId

func (o *AccessTokenReq1) GetTargetNfInstanceId() string

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

func (*AccessTokenReq1) GetTargetNfInstanceIdOk

func (o *AccessTokenReq1) 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 (*AccessTokenReq1) GetTargetNfServiceSetId

func (o *AccessTokenReq1) GetTargetNfServiceSetId() string

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

func (*AccessTokenReq1) GetTargetNfServiceSetIdOk

func (o *AccessTokenReq1) 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 (*AccessTokenReq1) GetTargetNfSetId

func (o *AccessTokenReq1) GetTargetNfSetId() string

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

func (*AccessTokenReq1) GetTargetNfSetIdOk

func (o *AccessTokenReq1) 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 (*AccessTokenReq1) GetTargetNfType

func (o *AccessTokenReq1) GetTargetNfType() NFType

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

func (*AccessTokenReq1) GetTargetNfTypeOk

func (o *AccessTokenReq1) 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 (*AccessTokenReq1) GetTargetNsiList

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

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

func (*AccessTokenReq1) GetTargetNsiListOk

func (o *AccessTokenReq1) 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 (*AccessTokenReq1) GetTargetPlmn

func (o *AccessTokenReq1) GetTargetPlmn() PlmnId

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

func (*AccessTokenReq1) GetTargetPlmnOk

func (o *AccessTokenReq1) 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 (*AccessTokenReq1) GetTargetSnpn

func (o *AccessTokenReq1) GetTargetSnpn() PlmnIdNid

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

func (*AccessTokenReq1) GetTargetSnpnOk

func (o *AccessTokenReq1) 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 (*AccessTokenReq1) GetTargetSnssaiList

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

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

func (*AccessTokenReq1) GetTargetSnssaiListOk

func (o *AccessTokenReq1) 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 (*AccessTokenReq1) HasHnrfAccessTokenUri

func (o *AccessTokenReq1) HasHnrfAccessTokenUri() bool

HasHnrfAccessTokenUri returns a boolean if a field has been set.

func (*AccessTokenReq1) HasNfType

func (o *AccessTokenReq1) HasNfType() bool

HasNfType returns a boolean if a field has been set.

func (*AccessTokenReq1) HasRequesterFqdn

func (o *AccessTokenReq1) HasRequesterFqdn() bool

HasRequesterFqdn returns a boolean if a field has been set.

func (*AccessTokenReq1) HasRequesterPlmn

func (o *AccessTokenReq1) HasRequesterPlmn() bool

HasRequesterPlmn returns a boolean if a field has been set.

func (*AccessTokenReq1) HasRequesterPlmnList

func (o *AccessTokenReq1) HasRequesterPlmnList() bool

HasRequesterPlmnList returns a boolean if a field has been set.

func (*AccessTokenReq1) HasRequesterSnpnList

func (o *AccessTokenReq1) HasRequesterSnpnList() bool

HasRequesterSnpnList returns a boolean if a field has been set.

func (*AccessTokenReq1) HasRequesterSnssaiList

func (o *AccessTokenReq1) HasRequesterSnssaiList() bool

HasRequesterSnssaiList returns a boolean if a field has been set.

func (*AccessTokenReq1) HasSourceNfInstanceId

func (o *AccessTokenReq1) HasSourceNfInstanceId() bool

HasSourceNfInstanceId returns a boolean if a field has been set.

func (*AccessTokenReq1) HasTargetNfInstanceId

func (o *AccessTokenReq1) HasTargetNfInstanceId() bool

HasTargetNfInstanceId returns a boolean if a field has been set.

func (*AccessTokenReq1) HasTargetNfServiceSetId

func (o *AccessTokenReq1) HasTargetNfServiceSetId() bool

HasTargetNfServiceSetId returns a boolean if a field has been set.

func (*AccessTokenReq1) HasTargetNfSetId

func (o *AccessTokenReq1) HasTargetNfSetId() bool

HasTargetNfSetId returns a boolean if a field has been set.

func (*AccessTokenReq1) HasTargetNfType

func (o *AccessTokenReq1) HasTargetNfType() bool

HasTargetNfType returns a boolean if a field has been set.

func (*AccessTokenReq1) HasTargetNsiList

func (o *AccessTokenReq1) HasTargetNsiList() bool

HasTargetNsiList returns a boolean if a field has been set.

func (*AccessTokenReq1) HasTargetPlmn

func (o *AccessTokenReq1) HasTargetPlmn() bool

HasTargetPlmn returns a boolean if a field has been set.

func (*AccessTokenReq1) HasTargetSnpn

func (o *AccessTokenReq1) HasTargetSnpn() bool

HasTargetSnpn returns a boolean if a field has been set.

func (*AccessTokenReq1) HasTargetSnssaiList

func (o *AccessTokenReq1) HasTargetSnssaiList() bool

HasTargetSnssaiList returns a boolean if a field has been set.

func (AccessTokenReq1) MarshalJSON

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

func (*AccessTokenReq1) SetGrantType

func (o *AccessTokenReq1) SetGrantType(v string)

SetGrantType sets field value

func (*AccessTokenReq1) SetHnrfAccessTokenUri

func (o *AccessTokenReq1) SetHnrfAccessTokenUri(v string)

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

func (*AccessTokenReq1) SetNfInstanceId

func (o *AccessTokenReq1) SetNfInstanceId(v string)

SetNfInstanceId sets field value

func (*AccessTokenReq1) SetNfType

func (o *AccessTokenReq1) SetNfType(v NFType)

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

func (*AccessTokenReq1) SetRequesterFqdn

func (o *AccessTokenReq1) SetRequesterFqdn(v string)

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

func (*AccessTokenReq1) SetRequesterPlmn

func (o *AccessTokenReq1) SetRequesterPlmn(v PlmnId)

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

func (*AccessTokenReq1) SetRequesterPlmnList

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

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

func (*AccessTokenReq1) SetRequesterSnpnList

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

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

func (*AccessTokenReq1) SetRequesterSnssaiList

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

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

func (*AccessTokenReq1) SetScope

func (o *AccessTokenReq1) SetScope(v string)

SetScope sets field value

func (*AccessTokenReq1) SetSourceNfInstanceId

func (o *AccessTokenReq1) SetSourceNfInstanceId(v string)

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

func (*AccessTokenReq1) SetTargetNfInstanceId

func (o *AccessTokenReq1) SetTargetNfInstanceId(v string)

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

func (*AccessTokenReq1) SetTargetNfServiceSetId

func (o *AccessTokenReq1) SetTargetNfServiceSetId(v string)

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

func (*AccessTokenReq1) SetTargetNfSetId

func (o *AccessTokenReq1) SetTargetNfSetId(v string)

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

func (*AccessTokenReq1) SetTargetNfType

func (o *AccessTokenReq1) SetTargetNfType(v NFType)

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

func (*AccessTokenReq1) SetTargetNsiList

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

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

func (*AccessTokenReq1) SetTargetPlmn

func (o *AccessTokenReq1) SetTargetPlmn(v PlmnId)

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

func (*AccessTokenReq1) SetTargetSnpn

func (o *AccessTokenReq1) SetTargetSnpn(v PlmnIdNid)

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

func (*AccessTokenReq1) SetTargetSnssaiList

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

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

func (AccessTokenReq1) ToMap

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

type AccessTokenRequestApiService

type AccessTokenRequestApiService service

AccessTokenRequestApiService AccessTokenRequestApi service

func (*AccessTokenRequestApiService) AccessTokenRequest

AccessTokenRequest Access Token Request

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

func (*AccessTokenRequestApiService) AccessTokenRequestExecute

Execute executes the request

@return AccessTokenRsp

type AccessTokenRsp

type AccessTokenRsp struct {
	// JWS Compact Serialized representation of JWS signed JSON object (AccessTokenClaims)
	AccessToken string  `json:"access_token"`
	TokenType   string  `json:"token_type"`
	ExpiresIn   *int32  `json:"expires_in,omitempty"`
	Scope       *string `json:"scope,omitempty"`
}

AccessTokenRsp Contains information related to the access token response

func NewAccessTokenRsp

func NewAccessTokenRsp(accessToken string, tokenType string) *AccessTokenRsp

NewAccessTokenRsp instantiates a new AccessTokenRsp 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 NewAccessTokenRspWithDefaults

func NewAccessTokenRspWithDefaults() *AccessTokenRsp

NewAccessTokenRspWithDefaults instantiates a new AccessTokenRsp 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 (*AccessTokenRsp) GetAccessToken

func (o *AccessTokenRsp) GetAccessToken() string

GetAccessToken returns the AccessToken field value

func (*AccessTokenRsp) GetAccessTokenOk

func (o *AccessTokenRsp) GetAccessTokenOk() (*string, bool)

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

func (*AccessTokenRsp) GetExpiresIn

func (o *AccessTokenRsp) GetExpiresIn() int32

GetExpiresIn returns the ExpiresIn field value if set, zero value otherwise.

func (*AccessTokenRsp) GetExpiresInOk

func (o *AccessTokenRsp) GetExpiresInOk() (*int32, bool)

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

func (*AccessTokenRsp) GetScope

func (o *AccessTokenRsp) GetScope() string

GetScope returns the Scope field value if set, zero value otherwise.

func (*AccessTokenRsp) GetScopeOk

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

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

func (*AccessTokenRsp) GetTokenType

func (o *AccessTokenRsp) GetTokenType() string

GetTokenType returns the TokenType field value

func (*AccessTokenRsp) GetTokenTypeOk

func (o *AccessTokenRsp) GetTokenTypeOk() (*string, bool)

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

func (*AccessTokenRsp) HasExpiresIn

func (o *AccessTokenRsp) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

func (*AccessTokenRsp) HasScope

func (o *AccessTokenRsp) HasScope() bool

HasScope returns a boolean if a field has been set.

func (AccessTokenRsp) MarshalJSON

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

func (*AccessTokenRsp) SetAccessToken

func (o *AccessTokenRsp) SetAccessToken(v string)

SetAccessToken sets field value

func (*AccessTokenRsp) SetExpiresIn

func (o *AccessTokenRsp) SetExpiresIn(v int32)

SetExpiresIn gets a reference to the given int32 and assigns it to the ExpiresIn field.

func (*AccessTokenRsp) SetScope

func (o *AccessTokenRsp) SetScope(v string)

SetScope gets a reference to the given string and assigns it to the Scope field.

func (*AccessTokenRsp) SetTokenType

func (o *AccessTokenRsp) SetTokenType(v string)

SetTokenType sets field value

func (AccessTokenRsp) ToMap

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

type ApiAccessTokenRequestRequest

type ApiAccessTokenRequestRequest struct {
	ApiService *AccessTokenRequestApiService
	// contains filtered or unexported fields
}

func (ApiAccessTokenRequestRequest) AcceptEncoding

func (r ApiAccessTokenRequestRequest) AcceptEncoding(acceptEncoding string) ApiAccessTokenRequestRequest

Accept-Encoding, described in IETF RFC 7231

func (ApiAccessTokenRequestRequest) ContentEncoding

func (r ApiAccessTokenRequestRequest) ContentEncoding(contentEncoding string) ApiAccessTokenRequestRequest

Content-Encoding, described in IETF RFC 7231

func (ApiAccessTokenRequestRequest) Execute

func (ApiAccessTokenRequestRequest) GrantType

func (ApiAccessTokenRequestRequest) HnrfAccessTokenUri

func (r ApiAccessTokenRequestRequest) HnrfAccessTokenUri(hnrfAccessTokenUri string) ApiAccessTokenRequestRequest

String providing an URI formatted according to RFC 3986.

func (ApiAccessTokenRequestRequest) NfInstanceId

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.

func (ApiAccessTokenRequestRequest) NfType

func (ApiAccessTokenRequestRequest) RequesterFqdn

func (r ApiAccessTokenRequestRequest) RequesterFqdn(requesterFqdn string) ApiAccessTokenRequestRequest

Fully Qualified Domain Name

func (ApiAccessTokenRequestRequest) RequesterPlmn

func (r ApiAccessTokenRequestRequest) RequesterPlmn(requesterPlmn PlmnId) ApiAccessTokenRequestRequest

func (ApiAccessTokenRequestRequest) RequesterPlmnList

func (r ApiAccessTokenRequestRequest) RequesterPlmnList(requesterPlmnList []PlmnId) ApiAccessTokenRequestRequest

func (ApiAccessTokenRequestRequest) RequesterSnpnList

func (r ApiAccessTokenRequestRequest) RequesterSnpnList(requesterSnpnList []PlmnIdNid) ApiAccessTokenRequestRequest

func (ApiAccessTokenRequestRequest) RequesterSnssaiList

func (r ApiAccessTokenRequestRequest) RequesterSnssaiList(requesterSnssaiList []Snssai) ApiAccessTokenRequestRequest

func (ApiAccessTokenRequestRequest) Scope

func (ApiAccessTokenRequestRequest) SourceNfInstanceId

func (r ApiAccessTokenRequestRequest) SourceNfInstanceId(sourceNfInstanceId string) ApiAccessTokenRequestRequest

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.

func (ApiAccessTokenRequestRequest) TargetNfInstanceId

func (r ApiAccessTokenRequestRequest) TargetNfInstanceId(targetNfInstanceId string) ApiAccessTokenRequestRequest

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.

func (ApiAccessTokenRequestRequest) TargetNfServiceSetId

func (r ApiAccessTokenRequestRequest) TargetNfServiceSetId(targetNfServiceSetId string) ApiAccessTokenRequestRequest

NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \\\&quot;set&lt;Set ID&gt;.sn&lt;Service Name&gt;.nfi&lt;NF Instance ID&gt;.5gc.mnc&lt;MNC&gt;.mcc&lt;MCC&gt;\\\&quot;, or \\\&quot;set&lt;SetID&gt;.sn&lt;ServiceName&gt;.nfi&lt;NFInstanceID&gt;.5gc.nid&lt;NID&gt;.mnc&lt;MNC&gt;.mcc&lt;MCC&gt;\\\&quot; with &lt;MCC&gt; encoded as defined in clause 5.4.2 (\\\&quot;Mcc\\\&quot; data type definition) &lt;MNC&gt; encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \\\&quot;0\\\&quot; digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: &#39;^[0-9]{3}$&#39; &lt;NID&gt; encoded as defined in clause 5.4.2 (\\\&quot;Nid\\\&quot; data type definition) &lt;NFInstanceId&gt; encoded as defined in clause 5.3.2 &lt;ServiceName&gt; encoded as defined in 3GPP TS 29.510 &lt;Set ID&gt; 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.

func (ApiAccessTokenRequestRequest) TargetNfSetId

func (r ApiAccessTokenRequestRequest) TargetNfSetId(targetNfSetId string) ApiAccessTokenRequestRequest

NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \\\&quot;set&lt;Set ID&gt;.&lt;nftype&gt;set.5gc.mnc&lt;MNC&gt;.mcc&lt;MCC&gt;\\\&quot;, or \\\&quot;set&lt;SetID&gt;.&lt;NFType&gt;set.5gc.nid&lt;NID&gt;.mnc&lt;MNC&gt;.mcc&lt;MCC&gt;\\\&quot; with &lt;MCC&gt; encoded as defined in clause 5.4.2 (\\\&quot;Mcc\\\&quot; data type definition) &lt;MNC&gt; encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \\\&quot;0\\\&quot; digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: &#39;^[0-9]{3}$&#39; &lt;NFType&gt; encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters &lt;Set ID&gt; 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.

func (ApiAccessTokenRequestRequest) TargetNfType

func (ApiAccessTokenRequestRequest) TargetNsiList

func (r ApiAccessTokenRequestRequest) TargetNsiList(targetNsiList []string) ApiAccessTokenRequestRequest

func (ApiAccessTokenRequestRequest) TargetPlmn

func (ApiAccessTokenRequestRequest) TargetSnpn

func (ApiAccessTokenRequestRequest) TargetSnssaiList

func (r ApiAccessTokenRequestRequest) TargetSnssaiList(targetSnssaiList []Snssai) ApiAccessTokenRequestRequest

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)

type MappedNullable

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

type NFType

type NFType struct {
	String *string
}

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 NullableAccessTokenClaims

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

func NewNullableAccessTokenClaims

func NewNullableAccessTokenClaims(val *AccessTokenClaims) *NullableAccessTokenClaims

func (NullableAccessTokenClaims) Get

func (NullableAccessTokenClaims) IsSet

func (v NullableAccessTokenClaims) IsSet() bool

func (NullableAccessTokenClaims) MarshalJSON

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

func (*NullableAccessTokenClaims) Set

func (*NullableAccessTokenClaims) UnmarshalJSON

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

func (*NullableAccessTokenClaims) Unset

func (v *NullableAccessTokenClaims) Unset()

type NullableAccessTokenClaimsAud

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

func NewNullableAccessTokenClaimsAud

func NewNullableAccessTokenClaimsAud(val *AccessTokenClaimsAud) *NullableAccessTokenClaimsAud

func (NullableAccessTokenClaimsAud) Get

func (NullableAccessTokenClaimsAud) IsSet

func (NullableAccessTokenClaimsAud) MarshalJSON

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

func (*NullableAccessTokenClaimsAud) Set

func (*NullableAccessTokenClaimsAud) UnmarshalJSON

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

func (*NullableAccessTokenClaimsAud) Unset

func (v *NullableAccessTokenClaimsAud) Unset()

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 NullableAccessTokenReq1

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

func NewNullableAccessTokenReq1

func NewNullableAccessTokenReq1(val *AccessTokenReq1) *NullableAccessTokenReq1

func (NullableAccessTokenReq1) Get

func (NullableAccessTokenReq1) IsSet

func (v NullableAccessTokenReq1) IsSet() bool

func (NullableAccessTokenReq1) MarshalJSON

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

func (*NullableAccessTokenReq1) Set

func (*NullableAccessTokenReq1) UnmarshalJSON

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

func (*NullableAccessTokenReq1) Unset

func (v *NullableAccessTokenReq1) Unset()

type NullableAccessTokenRsp

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

func NewNullableAccessTokenRsp

func NewNullableAccessTokenRsp(val *AccessTokenRsp) *NullableAccessTokenRsp

func (NullableAccessTokenRsp) Get

func (NullableAccessTokenRsp) IsSet

func (v NullableAccessTokenRsp) IsSet() bool

func (NullableAccessTokenRsp) MarshalJSON

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

func (*NullableAccessTokenRsp) Set

func (*NullableAccessTokenRsp) UnmarshalJSON

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

func (*NullableAccessTokenRsp) Unset

func (v *NullableAccessTokenRsp) 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 NullableRedirectResponse

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

func NewNullableRedirectResponse

func NewNullableRedirectResponse(val *RedirectResponse) *NullableRedirectResponse

func (NullableRedirectResponse) Get

func (NullableRedirectResponse) IsSet

func (v NullableRedirectResponse) IsSet() bool

func (NullableRedirectResponse) MarshalJSON

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

func (*NullableRedirectResponse) Set

func (*NullableRedirectResponse) UnmarshalJSON

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

func (*NullableRedirectResponse) Unset

func (v *NullableRedirectResponse) 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)

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)

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 *AccessTokenReq1 `json:"accessTokenRequest,omitempty"`
	// Fully Qualified Domain Name
	NrfId                *string  `json:"nrfId,omitempty"`
	SupportedApiVersions []string `json:"supportedApiVersions,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() AccessTokenReq1

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

func (*ProblemDetails) GetAccessTokenRequestOk

func (o *ProblemDetails) GetAccessTokenRequestOk() (*AccessTokenReq1, 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) GetSupportedApiVersions

func (o *ProblemDetails) GetSupportedApiVersions() []string

GetSupportedApiVersions returns the SupportedApiVersions field value if set, zero value otherwise.

func (*ProblemDetails) GetSupportedApiVersionsOk

func (o *ProblemDetails) GetSupportedApiVersionsOk() ([]string, bool)

GetSupportedApiVersionsOk returns a tuple with the SupportedApiVersions 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) HasSupportedApiVersions

func (o *ProblemDetails) HasSupportedApiVersions() bool

HasSupportedApiVersions 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 AccessTokenReq1)

SetAccessTokenRequest gets a reference to the given AccessTokenReq1 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) SetSupportedApiVersions

func (o *ProblemDetails) SetSupportedApiVersions(v []string)

SetSupportedApiVersions gets a reference to the given []string and assigns it to the SupportedApiVersions 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 RedirectResponse

type RedirectResponse struct {
	Cause *string `json:"cause,omitempty"`
	// String providing an URI formatted according to RFC 3986.
	TargetScp *string `json:"targetScp,omitempty"`
	// String providing an URI formatted according to RFC 3986.
	TargetSepp *string `json:"targetSepp,omitempty"`
}

RedirectResponse The response shall include a Location header field containing a different URI (pointing to a different URI of an other service instance), or the same URI if a request is redirected to the same target resource via a different SCP.

func NewRedirectResponse

func NewRedirectResponse() *RedirectResponse

NewRedirectResponse instantiates a new RedirectResponse 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 NewRedirectResponseWithDefaults

func NewRedirectResponseWithDefaults() *RedirectResponse

NewRedirectResponseWithDefaults instantiates a new RedirectResponse 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 (*RedirectResponse) GetCause

func (o *RedirectResponse) GetCause() string

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

func (*RedirectResponse) GetCauseOk

func (o *RedirectResponse) 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 (*RedirectResponse) GetTargetScp

func (o *RedirectResponse) GetTargetScp() string

GetTargetScp returns the TargetScp field value if set, zero value otherwise.

func (*RedirectResponse) GetTargetScpOk

func (o *RedirectResponse) GetTargetScpOk() (*string, bool)

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

func (*RedirectResponse) GetTargetSepp

func (o *RedirectResponse) GetTargetSepp() string

GetTargetSepp returns the TargetSepp field value if set, zero value otherwise.

func (*RedirectResponse) GetTargetSeppOk

func (o *RedirectResponse) GetTargetSeppOk() (*string, bool)

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

func (*RedirectResponse) HasCause

func (o *RedirectResponse) HasCause() bool

HasCause returns a boolean if a field has been set.

func (*RedirectResponse) HasTargetScp

func (o *RedirectResponse) HasTargetScp() bool

HasTargetScp returns a boolean if a field has been set.

func (*RedirectResponse) HasTargetSepp

func (o *RedirectResponse) HasTargetSepp() bool

HasTargetSepp returns a boolean if a field has been set.

func (RedirectResponse) MarshalJSON

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

func (*RedirectResponse) SetCause

func (o *RedirectResponse) SetCause(v string)

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

func (*RedirectResponse) SetTargetScp

func (o *RedirectResponse) SetTargetScp(v string)

SetTargetScp gets a reference to the given string and assigns it to the TargetScp field.

func (*RedirectResponse) SetTargetSepp

func (o *RedirectResponse) SetTargetSepp(v string)

SetTargetSepp gets a reference to the given string and assigns it to the TargetSepp field.

func (RedirectResponse) ToMap

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

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)

Jump to

Keyboard shortcuts

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