OpenAPI_M1_PolicyTemplatesProvisioning

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

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

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

README

Go API client for OpenAPI_M1_PolicyTemplatesProvisioning

5GMS AF M1 Policy Templates Provisioning API © 2023, 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: 2.2.0
  • 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_M1_PolicyTemplatesProvisioning "gitee.com/konglinglong/openapi/OpenAPI_M1_PolicyTemplatesProvisioning"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to https://example.com/3gpp-m1/v2

Class Method HTTP request Description
DefaultAPI CreatePolicyTemplate Post /provisioning-sessions/{provisioningSessionId}/policy-templates Create (and optionally upload) a new Policy Template
DefaultAPI DestroyPolicyTemplate Delete /provisioning-sessions/{provisioningSessionId}/policy-templates/{policyTemplateId}
DefaultAPI PatchPolicyTemplate Patch /provisioning-sessions/{provisioningSessionId}/policy-templates/{policyTemplateId} Patch the Policy Template for the specified Provisioning Session
DefaultAPI RetrievePolicyTemplate Get /provisioning-sessions/{provisioningSessionId}/policy-templates/{policyTemplateId} Retrieve a representation of an existing Policy Template in the specified Provisioning Session
DefaultAPI UpdatePolicyTemplate Put /provisioning-sessions/{provisioningSessionId}/policy-templates/{policyTemplateId} Update a Policy Template for the specified Provisioning Session

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 (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
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

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

APIClient manages communication with the M1_PolicyTemplatesProvisioning API v2.2.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type AccessTokenErr

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

AccessTokenErr Error returned in the access token response message

func NewAccessTokenErr

func NewAccessTokenErr(error_ string) *AccessTokenErr

NewAccessTokenErr instantiates a new AccessTokenErr object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccessTokenErrWithDefaults

func NewAccessTokenErrWithDefaults() *AccessTokenErr

NewAccessTokenErrWithDefaults instantiates a new AccessTokenErr object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccessTokenErr) GetError

func (o *AccessTokenErr) GetError() string

GetError returns the Error field value

func (*AccessTokenErr) GetErrorDescription

func (o *AccessTokenErr) GetErrorDescription() string

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

func (*AccessTokenErr) GetErrorDescriptionOk

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

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

func (*AccessTokenErr) GetErrorOk

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

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

func (*AccessTokenErr) GetErrorUri

func (o *AccessTokenErr) GetErrorUri() string

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

func (*AccessTokenErr) GetErrorUriOk

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

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

func (*AccessTokenErr) HasErrorDescription

func (o *AccessTokenErr) HasErrorDescription() bool

HasErrorDescription returns a boolean if a field has been set.

func (*AccessTokenErr) HasErrorUri

func (o *AccessTokenErr) HasErrorUri() bool

HasErrorUri returns a boolean if a field has been set.

func (AccessTokenErr) MarshalJSON

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

func (*AccessTokenErr) SetError

func (o *AccessTokenErr) SetError(v string)

SetError sets field value

func (*AccessTokenErr) SetErrorDescription

func (o *AccessTokenErr) SetErrorDescription(v string)

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

func (*AccessTokenErr) SetErrorUri

func (o *AccessTokenErr) SetErrorUri(v string)

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

func (AccessTokenErr) ToMap

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

func (*AccessTokenErr) UnmarshalJSON

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

type AccessTokenReq

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

AccessTokenReq Contains information related to the access token request

func NewAccessTokenReq

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

NewAccessTokenReq instantiates a new AccessTokenReq object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccessTokenReqWithDefaults

func NewAccessTokenReqWithDefaults() *AccessTokenReq

NewAccessTokenReqWithDefaults instantiates a new AccessTokenReq object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccessTokenReq) GetGrantType

func (o *AccessTokenReq) GetGrantType() string

GetGrantType returns the GrantType field value

func (*AccessTokenReq) GetGrantTypeOk

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

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

func (*AccessTokenReq) GetHnrfAccessTokenUri

func (o *AccessTokenReq) GetHnrfAccessTokenUri() string

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

func (*AccessTokenReq) GetHnrfAccessTokenUriOk

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

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

func (*AccessTokenReq) GetNfInstanceId

func (o *AccessTokenReq) GetNfInstanceId() string

GetNfInstanceId returns the NfInstanceId field value

func (*AccessTokenReq) GetNfInstanceIdOk

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

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

func (*AccessTokenReq) GetNfType

func (o *AccessTokenReq) GetNfType() NFType

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

func (*AccessTokenReq) GetNfTypeOk

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

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

func (*AccessTokenReq) GetRequesterFqdn

func (o *AccessTokenReq) GetRequesterFqdn() string

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

func (*AccessTokenReq) GetRequesterFqdnOk

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

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

func (*AccessTokenReq) GetRequesterPlmn

func (o *AccessTokenReq) GetRequesterPlmn() PlmnId

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

func (*AccessTokenReq) GetRequesterPlmnList

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

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

func (*AccessTokenReq) GetRequesterPlmnListOk

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

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

func (*AccessTokenReq) GetRequesterPlmnOk

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

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

func (*AccessTokenReq) GetRequesterSnpnList

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

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

func (*AccessTokenReq) GetRequesterSnpnListOk

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

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

func (*AccessTokenReq) GetRequesterSnssaiList

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

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

func (*AccessTokenReq) GetRequesterSnssaiListOk

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

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

func (*AccessTokenReq) GetScope

func (o *AccessTokenReq) GetScope() string

GetScope returns the Scope field value

func (*AccessTokenReq) GetScopeOk

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

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

func (*AccessTokenReq) GetSourceNfInstanceId

func (o *AccessTokenReq) GetSourceNfInstanceId() string

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

func (*AccessTokenReq) GetSourceNfInstanceIdOk

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

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

func (*AccessTokenReq) GetTargetNfInstanceId

func (o *AccessTokenReq) GetTargetNfInstanceId() string

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

func (*AccessTokenReq) GetTargetNfInstanceIdOk

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

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

func (*AccessTokenReq) GetTargetNfServiceSetId

func (o *AccessTokenReq) GetTargetNfServiceSetId() string

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

func (*AccessTokenReq) GetTargetNfServiceSetIdOk

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

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

func (*AccessTokenReq) GetTargetNfSetId

func (o *AccessTokenReq) GetTargetNfSetId() string

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

func (*AccessTokenReq) GetTargetNfSetIdOk

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

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

func (*AccessTokenReq) GetTargetNfType

func (o *AccessTokenReq) GetTargetNfType() NFType

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

func (*AccessTokenReq) GetTargetNfTypeOk

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

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

func (*AccessTokenReq) GetTargetNsiList

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

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

func (*AccessTokenReq) GetTargetNsiListOk

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

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

func (*AccessTokenReq) GetTargetPlmn

func (o *AccessTokenReq) GetTargetPlmn() PlmnId

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

func (*AccessTokenReq) GetTargetPlmnOk

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

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

func (*AccessTokenReq) GetTargetSnpn

func (o *AccessTokenReq) GetTargetSnpn() PlmnIdNid

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

func (*AccessTokenReq) GetTargetSnpnOk

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

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

func (*AccessTokenReq) GetTargetSnssaiList

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

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

func (*AccessTokenReq) GetTargetSnssaiListOk

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

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

func (*AccessTokenReq) HasHnrfAccessTokenUri

func (o *AccessTokenReq) HasHnrfAccessTokenUri() bool

HasHnrfAccessTokenUri returns a boolean if a field has been set.

func (*AccessTokenReq) HasNfType

func (o *AccessTokenReq) HasNfType() bool

HasNfType returns a boolean if a field has been set.

func (*AccessTokenReq) HasRequesterFqdn

func (o *AccessTokenReq) HasRequesterFqdn() bool

HasRequesterFqdn returns a boolean if a field has been set.

func (*AccessTokenReq) HasRequesterPlmn

func (o *AccessTokenReq) HasRequesterPlmn() bool

HasRequesterPlmn returns a boolean if a field has been set.

func (*AccessTokenReq) HasRequesterPlmnList

func (o *AccessTokenReq) HasRequesterPlmnList() bool

HasRequesterPlmnList returns a boolean if a field has been set.

func (*AccessTokenReq) HasRequesterSnpnList

func (o *AccessTokenReq) HasRequesterSnpnList() bool

HasRequesterSnpnList returns a boolean if a field has been set.

func (*AccessTokenReq) HasRequesterSnssaiList

func (o *AccessTokenReq) HasRequesterSnssaiList() bool

HasRequesterSnssaiList returns a boolean if a field has been set.

func (*AccessTokenReq) HasSourceNfInstanceId

func (o *AccessTokenReq) HasSourceNfInstanceId() bool

HasSourceNfInstanceId returns a boolean if a field has been set.

func (*AccessTokenReq) HasTargetNfInstanceId

func (o *AccessTokenReq) HasTargetNfInstanceId() bool

HasTargetNfInstanceId returns a boolean if a field has been set.

func (*AccessTokenReq) HasTargetNfServiceSetId

func (o *AccessTokenReq) HasTargetNfServiceSetId() bool

HasTargetNfServiceSetId returns a boolean if a field has been set.

func (*AccessTokenReq) HasTargetNfSetId

func (o *AccessTokenReq) HasTargetNfSetId() bool

HasTargetNfSetId returns a boolean if a field has been set.

func (*AccessTokenReq) HasTargetNfType

func (o *AccessTokenReq) HasTargetNfType() bool

HasTargetNfType returns a boolean if a field has been set.

func (*AccessTokenReq) HasTargetNsiList

func (o *AccessTokenReq) HasTargetNsiList() bool

HasTargetNsiList returns a boolean if a field has been set.

func (*AccessTokenReq) HasTargetPlmn

func (o *AccessTokenReq) HasTargetPlmn() bool

HasTargetPlmn returns a boolean if a field has been set.

func (*AccessTokenReq) HasTargetSnpn

func (o *AccessTokenReq) HasTargetSnpn() bool

HasTargetSnpn returns a boolean if a field has been set.

func (*AccessTokenReq) HasTargetSnssaiList

func (o *AccessTokenReq) HasTargetSnssaiList() bool

HasTargetSnssaiList returns a boolean if a field has been set.

func (AccessTokenReq) MarshalJSON

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

func (*AccessTokenReq) SetGrantType

func (o *AccessTokenReq) SetGrantType(v string)

SetGrantType sets field value

func (*AccessTokenReq) SetHnrfAccessTokenUri

func (o *AccessTokenReq) SetHnrfAccessTokenUri(v string)

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

func (*AccessTokenReq) SetNfInstanceId

func (o *AccessTokenReq) SetNfInstanceId(v string)

SetNfInstanceId sets field value

func (*AccessTokenReq) SetNfType

func (o *AccessTokenReq) SetNfType(v NFType)

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

func (*AccessTokenReq) SetRequesterFqdn

func (o *AccessTokenReq) SetRequesterFqdn(v string)

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

func (*AccessTokenReq) SetRequesterPlmn

func (o *AccessTokenReq) SetRequesterPlmn(v PlmnId)

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

func (*AccessTokenReq) SetRequesterPlmnList

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

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

func (*AccessTokenReq) SetRequesterSnpnList

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

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

func (*AccessTokenReq) SetRequesterSnssaiList

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

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

func (*AccessTokenReq) SetScope

func (o *AccessTokenReq) SetScope(v string)

SetScope sets field value

func (*AccessTokenReq) SetSourceNfInstanceId

func (o *AccessTokenReq) SetSourceNfInstanceId(v string)

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

func (*AccessTokenReq) SetTargetNfInstanceId

func (o *AccessTokenReq) SetTargetNfInstanceId(v string)

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

func (*AccessTokenReq) SetTargetNfServiceSetId

func (o *AccessTokenReq) SetTargetNfServiceSetId(v string)

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

func (*AccessTokenReq) SetTargetNfSetId

func (o *AccessTokenReq) SetTargetNfSetId(v string)

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

func (*AccessTokenReq) SetTargetNfType

func (o *AccessTokenReq) SetTargetNfType(v NFType)

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

func (*AccessTokenReq) SetTargetNsiList

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

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

func (*AccessTokenReq) SetTargetPlmn

func (o *AccessTokenReq) SetTargetPlmn(v PlmnId)

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

func (*AccessTokenReq) SetTargetSnpn

func (o *AccessTokenReq) SetTargetSnpn(v PlmnIdNid)

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

func (*AccessTokenReq) SetTargetSnssaiList

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

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

func (AccessTokenReq) ToMap

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

func (*AccessTokenReq) UnmarshalJSON

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

type ApiCreatePolicyTemplateRequest

type ApiCreatePolicyTemplateRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiCreatePolicyTemplateRequest) Execute

func (ApiCreatePolicyTemplateRequest) PolicyTemplate

A JSON representation of a Policy Template

type ApiDestroyPolicyTemplateRequest

type ApiDestroyPolicyTemplateRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiDestroyPolicyTemplateRequest) Execute

type ApiPatchPolicyTemplateRequest

type ApiPatchPolicyTemplateRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiPatchPolicyTemplateRequest) Execute

func (ApiPatchPolicyTemplateRequest) PolicyTemplate

A JSON representation of a Policy Template

type ApiRetrievePolicyTemplateRequest

type ApiRetrievePolicyTemplateRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiRetrievePolicyTemplateRequest) Execute

type ApiUpdatePolicyTemplateRequest

type ApiUpdatePolicyTemplateRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiUpdatePolicyTemplateRequest) Execute

func (ApiUpdatePolicyTemplateRequest) PolicyTemplate

A JSON representation of a Policy Template

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 ChargingSpecification

type ChargingSpecification struct {
	SponId     *string           `json:"sponId,omitempty"`
	SponStatus *SponsoringStatus `json:"sponStatus,omitempty"`
	Gpsi       []string          `json:"gpsi,omitempty"`
}

ChargingSpecification struct for ChargingSpecification

func NewChargingSpecification

func NewChargingSpecification() *ChargingSpecification

NewChargingSpecification instantiates a new ChargingSpecification 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 NewChargingSpecificationWithDefaults

func NewChargingSpecificationWithDefaults() *ChargingSpecification

NewChargingSpecificationWithDefaults instantiates a new ChargingSpecification 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 (*ChargingSpecification) GetGpsi

func (o *ChargingSpecification) GetGpsi() []string

GetGpsi returns the Gpsi field value if set, zero value otherwise.

func (*ChargingSpecification) GetGpsiOk

func (o *ChargingSpecification) GetGpsiOk() ([]string, bool)

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

func (*ChargingSpecification) GetSponId

func (o *ChargingSpecification) GetSponId() string

GetSponId returns the SponId field value if set, zero value otherwise.

func (*ChargingSpecification) GetSponIdOk

func (o *ChargingSpecification) GetSponIdOk() (*string, bool)

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

func (*ChargingSpecification) GetSponStatus

func (o *ChargingSpecification) GetSponStatus() SponsoringStatus

GetSponStatus returns the SponStatus field value if set, zero value otherwise.

func (*ChargingSpecification) GetSponStatusOk

func (o *ChargingSpecification) GetSponStatusOk() (*SponsoringStatus, bool)

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

func (*ChargingSpecification) HasGpsi

func (o *ChargingSpecification) HasGpsi() bool

HasGpsi returns a boolean if a field has been set.

func (*ChargingSpecification) HasSponId

func (o *ChargingSpecification) HasSponId() bool

HasSponId returns a boolean if a field has been set.

func (*ChargingSpecification) HasSponStatus

func (o *ChargingSpecification) HasSponStatus() bool

HasSponStatus returns a boolean if a field has been set.

func (ChargingSpecification) MarshalJSON

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

func (*ChargingSpecification) SetGpsi

func (o *ChargingSpecification) SetGpsi(v []string)

SetGpsi gets a reference to the given []string and assigns it to the Gpsi field.

func (*ChargingSpecification) SetSponId

func (o *ChargingSpecification) SetSponId(v string)

SetSponId gets a reference to the given string and assigns it to the SponId field.

func (*ChargingSpecification) SetSponStatus

func (o *ChargingSpecification) SetSponStatus(v SponsoringStatus)

SetSponStatus gets a reference to the given SponsoringStatus and assigns it to the SponStatus field.

func (ChargingSpecification) ToMap

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

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 DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreatePolicyTemplate

func (a *DefaultAPIService) CreatePolicyTemplate(ctx context.Context, provisioningSessionId string) ApiCreatePolicyTemplateRequest

CreatePolicyTemplate Create (and optionally upload) a new Policy Template

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param provisioningSessionId The resource identifier of an existing Provisioning Session.
@return ApiCreatePolicyTemplateRequest

func (*DefaultAPIService) CreatePolicyTemplateExecute

func (a *DefaultAPIService) CreatePolicyTemplateExecute(r ApiCreatePolicyTemplateRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) DestroyPolicyTemplate

func (a *DefaultAPIService) DestroyPolicyTemplate(ctx context.Context, provisioningSessionId string, policyTemplateId string) ApiDestroyPolicyTemplateRequest

DestroyPolicyTemplate Method for DestroyPolicyTemplate

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param provisioningSessionId A unique identifier of the Provisioning Session.
@param policyTemplateId A resource identifier of a Policy Template.
@return ApiDestroyPolicyTemplateRequest

func (*DefaultAPIService) DestroyPolicyTemplateExecute

func (a *DefaultAPIService) DestroyPolicyTemplateExecute(r ApiDestroyPolicyTemplateRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) PatchPolicyTemplate

func (a *DefaultAPIService) PatchPolicyTemplate(ctx context.Context, provisioningSessionId string, policyTemplateId string) ApiPatchPolicyTemplateRequest

PatchPolicyTemplate Patch the Policy Template for the specified Provisioning Session

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param provisioningSessionId A unique identifier of the Provisioning Session.
@param policyTemplateId A resource identifier of a Policy Template.
@return ApiPatchPolicyTemplateRequest

func (*DefaultAPIService) PatchPolicyTemplateExecute

func (a *DefaultAPIService) PatchPolicyTemplateExecute(r ApiPatchPolicyTemplateRequest) (*PolicyTemplate, *http.Response, error)

Execute executes the request

@return PolicyTemplate

func (*DefaultAPIService) RetrievePolicyTemplate

func (a *DefaultAPIService) RetrievePolicyTemplate(ctx context.Context, provisioningSessionId string, policyTemplateId string) ApiRetrievePolicyTemplateRequest

RetrievePolicyTemplate Retrieve a representation of an existing Policy Template in the specified Provisioning Session

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param provisioningSessionId A unique identifier of the Provisioning Session.
@param policyTemplateId A resource identifier of a Policy Template.
@return ApiRetrievePolicyTemplateRequest

func (*DefaultAPIService) RetrievePolicyTemplateExecute

func (a *DefaultAPIService) RetrievePolicyTemplateExecute(r ApiRetrievePolicyTemplateRequest) (*PolicyTemplate, *http.Response, error)

Execute executes the request

@return PolicyTemplate

func (*DefaultAPIService) UpdatePolicyTemplate

func (a *DefaultAPIService) UpdatePolicyTemplate(ctx context.Context, provisioningSessionId string, policyTemplateId string) ApiUpdatePolicyTemplateRequest

UpdatePolicyTemplate Update a Policy Template for the specified Provisioning Session

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param provisioningSessionId A unique identifier of the Provisioning Session.
@param policyTemplateId A resource identifier of a Policy Template.
@return ApiUpdatePolicyTemplateRequest

func (*DefaultAPIService) UpdatePolicyTemplateExecute

func (a *DefaultAPIService) UpdatePolicyTemplateExecute(r ApiUpdatePolicyTemplateRequest) (*http.Response, error)

Execute executes the request

type GenericOpenAPIError

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

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

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

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

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type InvalidParam

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

InvalidParam It contains an invalid parameter and a related description.

func NewInvalidParam

func NewInvalidParam(param string) *InvalidParam

NewInvalidParam instantiates a new InvalidParam object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInvalidParamWithDefaults

func NewInvalidParamWithDefaults() *InvalidParam

NewInvalidParamWithDefaults instantiates a new InvalidParam object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InvalidParam) GetParam

func (o *InvalidParam) GetParam() string

GetParam returns the Param field value

func (*InvalidParam) GetParamOk

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

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

func (*InvalidParam) GetReason

func (o *InvalidParam) GetReason() string

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

func (*InvalidParam) GetReasonOk

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

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

func (*InvalidParam) HasReason

func (o *InvalidParam) HasReason() bool

HasReason returns a boolean if a field has been set.

func (InvalidParam) MarshalJSON

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

func (*InvalidParam) SetParam

func (o *InvalidParam) SetParam(v string)

SetParam sets field value

func (*InvalidParam) SetReason

func (o *InvalidParam) SetReason(v string)

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

func (InvalidParam) ToMap

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

func (*InvalidParam) UnmarshalJSON

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

type M1QoSSpecification

type M1QoSSpecification struct {
	QosReference *string `json:"qosReference,omitempty"`
	// String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\".
	MaxBtrUl *string `json:"maxBtrUl,omitempty"`
	// String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\".
	MaxBtrDl *string `json:"maxBtrDl,omitempty"`
	// String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\".
	MaxAuthBtrUl *string `json:"maxAuthBtrUl,omitempty"`
	// String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\".
	MaxAuthBtrDl        *string `json:"maxAuthBtrDl,omitempty"`
	DefPacketLossRateDl *int32  `json:"defPacketLossRateDl,omitempty"`
	DefPacketLossRateUl *int32  `json:"defPacketLossRateUl,omitempty"`
}

M1QoSSpecification struct for M1QoSSpecification

func NewM1QoSSpecification

func NewM1QoSSpecification() *M1QoSSpecification

NewM1QoSSpecification instantiates a new M1QoSSpecification 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 NewM1QoSSpecificationWithDefaults

func NewM1QoSSpecificationWithDefaults() *M1QoSSpecification

NewM1QoSSpecificationWithDefaults instantiates a new M1QoSSpecification 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 (*M1QoSSpecification) GetDefPacketLossRateDl

func (o *M1QoSSpecification) GetDefPacketLossRateDl() int32

GetDefPacketLossRateDl returns the DefPacketLossRateDl field value if set, zero value otherwise.

func (*M1QoSSpecification) GetDefPacketLossRateDlOk

func (o *M1QoSSpecification) GetDefPacketLossRateDlOk() (*int32, bool)

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

func (*M1QoSSpecification) GetDefPacketLossRateUl

func (o *M1QoSSpecification) GetDefPacketLossRateUl() int32

GetDefPacketLossRateUl returns the DefPacketLossRateUl field value if set, zero value otherwise.

func (*M1QoSSpecification) GetDefPacketLossRateUlOk

func (o *M1QoSSpecification) GetDefPacketLossRateUlOk() (*int32, bool)

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

func (*M1QoSSpecification) GetMaxAuthBtrDl

func (o *M1QoSSpecification) GetMaxAuthBtrDl() string

GetMaxAuthBtrDl returns the MaxAuthBtrDl field value if set, zero value otherwise.

func (*M1QoSSpecification) GetMaxAuthBtrDlOk

func (o *M1QoSSpecification) GetMaxAuthBtrDlOk() (*string, bool)

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

func (*M1QoSSpecification) GetMaxAuthBtrUl

func (o *M1QoSSpecification) GetMaxAuthBtrUl() string

GetMaxAuthBtrUl returns the MaxAuthBtrUl field value if set, zero value otherwise.

func (*M1QoSSpecification) GetMaxAuthBtrUlOk

func (o *M1QoSSpecification) GetMaxAuthBtrUlOk() (*string, bool)

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

func (*M1QoSSpecification) GetMaxBtrDl

func (o *M1QoSSpecification) GetMaxBtrDl() string

GetMaxBtrDl returns the MaxBtrDl field value if set, zero value otherwise.

func (*M1QoSSpecification) GetMaxBtrDlOk

func (o *M1QoSSpecification) GetMaxBtrDlOk() (*string, bool)

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

func (*M1QoSSpecification) GetMaxBtrUl

func (o *M1QoSSpecification) GetMaxBtrUl() string

GetMaxBtrUl returns the MaxBtrUl field value if set, zero value otherwise.

func (*M1QoSSpecification) GetMaxBtrUlOk

func (o *M1QoSSpecification) GetMaxBtrUlOk() (*string, bool)

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

func (*M1QoSSpecification) GetQosReference

func (o *M1QoSSpecification) GetQosReference() string

GetQosReference returns the QosReference field value if set, zero value otherwise.

func (*M1QoSSpecification) GetQosReferenceOk

func (o *M1QoSSpecification) GetQosReferenceOk() (*string, bool)

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

func (*M1QoSSpecification) HasDefPacketLossRateDl

func (o *M1QoSSpecification) HasDefPacketLossRateDl() bool

HasDefPacketLossRateDl returns a boolean if a field has been set.

func (*M1QoSSpecification) HasDefPacketLossRateUl

func (o *M1QoSSpecification) HasDefPacketLossRateUl() bool

HasDefPacketLossRateUl returns a boolean if a field has been set.

func (*M1QoSSpecification) HasMaxAuthBtrDl

func (o *M1QoSSpecification) HasMaxAuthBtrDl() bool

HasMaxAuthBtrDl returns a boolean if a field has been set.

func (*M1QoSSpecification) HasMaxAuthBtrUl

func (o *M1QoSSpecification) HasMaxAuthBtrUl() bool

HasMaxAuthBtrUl returns a boolean if a field has been set.

func (*M1QoSSpecification) HasMaxBtrDl

func (o *M1QoSSpecification) HasMaxBtrDl() bool

HasMaxBtrDl returns a boolean if a field has been set.

func (*M1QoSSpecification) HasMaxBtrUl

func (o *M1QoSSpecification) HasMaxBtrUl() bool

HasMaxBtrUl returns a boolean if a field has been set.

func (*M1QoSSpecification) HasQosReference

func (o *M1QoSSpecification) HasQosReference() bool

HasQosReference returns a boolean if a field has been set.

func (M1QoSSpecification) MarshalJSON

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

func (*M1QoSSpecification) SetDefPacketLossRateDl

func (o *M1QoSSpecification) SetDefPacketLossRateDl(v int32)

SetDefPacketLossRateDl gets a reference to the given int32 and assigns it to the DefPacketLossRateDl field.

func (*M1QoSSpecification) SetDefPacketLossRateUl

func (o *M1QoSSpecification) SetDefPacketLossRateUl(v int32)

SetDefPacketLossRateUl gets a reference to the given int32 and assigns it to the DefPacketLossRateUl field.

func (*M1QoSSpecification) SetMaxAuthBtrDl

func (o *M1QoSSpecification) SetMaxAuthBtrDl(v string)

SetMaxAuthBtrDl gets a reference to the given string and assigns it to the MaxAuthBtrDl field.

func (*M1QoSSpecification) SetMaxAuthBtrUl

func (o *M1QoSSpecification) SetMaxAuthBtrUl(v string)

SetMaxAuthBtrUl gets a reference to the given string and assigns it to the MaxAuthBtrUl field.

func (*M1QoSSpecification) SetMaxBtrDl

func (o *M1QoSSpecification) SetMaxBtrDl(v string)

SetMaxBtrDl gets a reference to the given string and assigns it to the MaxBtrDl field.

func (*M1QoSSpecification) SetMaxBtrUl

func (o *M1QoSSpecification) SetMaxBtrUl(v string)

SetMaxBtrUl gets a reference to the given string and assigns it to the MaxBtrUl field.

func (*M1QoSSpecification) SetQosReference

func (o *M1QoSSpecification) SetQosReference(v string)

SetQosReference gets a reference to the given string and assigns it to the QosReference field.

func (M1QoSSpecification) ToMap

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

type MappedNullable

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

type NFType

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

NFType NF types known to NRF

func (*NFType) MarshalJSON

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

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

func (*NFType) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type NullableAccessTokenErr

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

func NewNullableAccessTokenErr

func NewNullableAccessTokenErr(val *AccessTokenErr) *NullableAccessTokenErr

func (NullableAccessTokenErr) Get

func (NullableAccessTokenErr) IsSet

func (v NullableAccessTokenErr) IsSet() bool

func (NullableAccessTokenErr) MarshalJSON

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

func (*NullableAccessTokenErr) Set

func (*NullableAccessTokenErr) UnmarshalJSON

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

func (*NullableAccessTokenErr) Unset

func (v *NullableAccessTokenErr) Unset()

type NullableAccessTokenReq

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

func NewNullableAccessTokenReq

func NewNullableAccessTokenReq(val *AccessTokenReq) *NullableAccessTokenReq

func (NullableAccessTokenReq) Get

func (NullableAccessTokenReq) IsSet

func (v NullableAccessTokenReq) IsSet() bool

func (NullableAccessTokenReq) MarshalJSON

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

func (*NullableAccessTokenReq) Set

func (*NullableAccessTokenReq) UnmarshalJSON

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

func (*NullableAccessTokenReq) Unset

func (v *NullableAccessTokenReq) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableChargingSpecification

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

func (NullableChargingSpecification) Get

func (NullableChargingSpecification) IsSet

func (NullableChargingSpecification) MarshalJSON

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

func (*NullableChargingSpecification) Set

func (*NullableChargingSpecification) UnmarshalJSON

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

func (*NullableChargingSpecification) Unset

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

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

func NewNullableM1QoSSpecification

func NewNullableM1QoSSpecification(val *M1QoSSpecification) *NullableM1QoSSpecification

func (NullableM1QoSSpecification) Get

func (NullableM1QoSSpecification) IsSet

func (v NullableM1QoSSpecification) IsSet() bool

func (NullableM1QoSSpecification) MarshalJSON

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

func (*NullableM1QoSSpecification) Set

func (*NullableM1QoSSpecification) UnmarshalJSON

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

func (*NullableM1QoSSpecification) Unset

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

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

func NewNullablePolicyTemplate

func NewNullablePolicyTemplate(val *PolicyTemplate) *NullablePolicyTemplate

func (NullablePolicyTemplate) Get

func (NullablePolicyTemplate) IsSet

func (v NullablePolicyTemplate) IsSet() bool

func (NullablePolicyTemplate) MarshalJSON

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

func (*NullablePolicyTemplate) Set

func (*NullablePolicyTemplate) UnmarshalJSON

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

func (*NullablePolicyTemplate) Unset

func (v *NullablePolicyTemplate) Unset()

type NullablePolicyTemplateApplicationSessionContext

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

func (NullablePolicyTemplateApplicationSessionContext) Get

func (NullablePolicyTemplateApplicationSessionContext) IsSet

func (NullablePolicyTemplateApplicationSessionContext) MarshalJSON

func (*NullablePolicyTemplateApplicationSessionContext) Set

func (*NullablePolicyTemplateApplicationSessionContext) UnmarshalJSON

func (*NullablePolicyTemplateApplicationSessionContext) Unset

type NullablePolicyTemplateState

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

func NewNullablePolicyTemplateState

func NewNullablePolicyTemplateState(val *PolicyTemplateState) *NullablePolicyTemplateState

func (NullablePolicyTemplateState) Get

func (NullablePolicyTemplateState) IsSet

func (NullablePolicyTemplateState) MarshalJSON

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

func (*NullablePolicyTemplateState) Set

func (*NullablePolicyTemplateState) UnmarshalJSON

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

func (*NullablePolicyTemplateState) Unset

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

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

func NewNullableSponsoringStatus

func NewNullableSponsoringStatus(val *SponsoringStatus) *NullableSponsoringStatus

func (NullableSponsoringStatus) Get

func (NullableSponsoringStatus) IsSet

func (v NullableSponsoringStatus) IsSet() bool

func (NullableSponsoringStatus) MarshalJSON

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

func (*NullableSponsoringStatus) Set

func (*NullableSponsoringStatus) UnmarshalJSON

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

func (*NullableSponsoringStatus) Unset

func (v *NullableSponsoringStatus) Unset()

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

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

func (*NullableString) Set

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

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

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

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

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

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type PlmnId

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

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

func NewPlmnId

func NewPlmnId(mcc string, mnc string) *PlmnId

NewPlmnId instantiates a new PlmnId object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPlmnIdWithDefaults

func NewPlmnIdWithDefaults() *PlmnId

NewPlmnIdWithDefaults instantiates a new PlmnId object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PlmnId) GetMcc

func (o *PlmnId) GetMcc() string

GetMcc returns the Mcc field value

func (*PlmnId) GetMccOk

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

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

func (*PlmnId) GetMnc

func (o *PlmnId) GetMnc() string

GetMnc returns the Mnc field value

func (*PlmnId) GetMncOk

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

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

func (PlmnId) MarshalJSON

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

func (*PlmnId) SetMcc

func (o *PlmnId) SetMcc(v string)

SetMcc sets field value

func (*PlmnId) SetMnc

func (o *PlmnId) SetMnc(v string)

SetMnc sets field value

func (PlmnId) ToMap

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

func (*PlmnId) UnmarshalJSON

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

type PlmnIdNid

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

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

func NewPlmnIdNid

func NewPlmnIdNid(mcc string, mnc string) *PlmnIdNid

NewPlmnIdNid instantiates a new PlmnIdNid object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPlmnIdNidWithDefaults

func NewPlmnIdNidWithDefaults() *PlmnIdNid

NewPlmnIdNidWithDefaults instantiates a new PlmnIdNid object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PlmnIdNid) GetMcc

func (o *PlmnIdNid) GetMcc() string

GetMcc returns the Mcc field value

func (*PlmnIdNid) GetMccOk

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

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

func (*PlmnIdNid) GetMnc

func (o *PlmnIdNid) GetMnc() string

GetMnc returns the Mnc field value

func (*PlmnIdNid) GetMncOk

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

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

func (*PlmnIdNid) GetNid

func (o *PlmnIdNid) GetNid() string

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

func (*PlmnIdNid) GetNidOk

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

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

func (*PlmnIdNid) HasNid

func (o *PlmnIdNid) HasNid() bool

HasNid returns a boolean if a field has been set.

func (PlmnIdNid) MarshalJSON

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

func (*PlmnIdNid) SetMcc

func (o *PlmnIdNid) SetMcc(v string)

SetMcc sets field value

func (*PlmnIdNid) SetMnc

func (o *PlmnIdNid) SetMnc(v string)

SetMnc sets field value

func (*PlmnIdNid) SetNid

func (o *PlmnIdNid) SetNid(v string)

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

func (PlmnIdNid) ToMap

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

func (*PlmnIdNid) UnmarshalJSON

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

type PolicyTemplate

type PolicyTemplate struct {
	// String chosen by the 5GMS AF to serve as an identifier in a resource URI.
	PolicyTemplateId          string                                  `json:"policyTemplateId"`
	State                     PolicyTemplateState                     `json:"state"`
	StateReason               ProblemDetails                          `json:"stateReason"`
	ExternalReference         string                                  `json:"externalReference"`
	QoSSpecification          *M1QoSSpecification                     `json:"qoSSpecification,omitempty"`
	ApplicationSessionContext PolicyTemplateApplicationSessionContext `json:"applicationSessionContext"`
	ChargingSpecification     *ChargingSpecification                  `json:"chargingSpecification,omitempty"`
}

PolicyTemplate A representation of a Policy Template resource.

func NewPolicyTemplate

func NewPolicyTemplate(policyTemplateId string, state PolicyTemplateState, stateReason ProblemDetails, externalReference string, applicationSessionContext PolicyTemplateApplicationSessionContext) *PolicyTemplate

NewPolicyTemplate instantiates a new PolicyTemplate 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 NewPolicyTemplateWithDefaults

func NewPolicyTemplateWithDefaults() *PolicyTemplate

NewPolicyTemplateWithDefaults instantiates a new PolicyTemplate 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 (*PolicyTemplate) GetApplicationSessionContext

func (o *PolicyTemplate) GetApplicationSessionContext() PolicyTemplateApplicationSessionContext

GetApplicationSessionContext returns the ApplicationSessionContext field value

func (*PolicyTemplate) GetApplicationSessionContextOk

func (o *PolicyTemplate) GetApplicationSessionContextOk() (*PolicyTemplateApplicationSessionContext, bool)

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

func (*PolicyTemplate) GetChargingSpecification

func (o *PolicyTemplate) GetChargingSpecification() ChargingSpecification

GetChargingSpecification returns the ChargingSpecification field value if set, zero value otherwise.

func (*PolicyTemplate) GetChargingSpecificationOk

func (o *PolicyTemplate) GetChargingSpecificationOk() (*ChargingSpecification, bool)

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

func (*PolicyTemplate) GetExternalReference

func (o *PolicyTemplate) GetExternalReference() string

GetExternalReference returns the ExternalReference field value

func (*PolicyTemplate) GetExternalReferenceOk

func (o *PolicyTemplate) GetExternalReferenceOk() (*string, bool)

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

func (*PolicyTemplate) GetPolicyTemplateId

func (o *PolicyTemplate) GetPolicyTemplateId() string

GetPolicyTemplateId returns the PolicyTemplateId field value

func (*PolicyTemplate) GetPolicyTemplateIdOk

func (o *PolicyTemplate) GetPolicyTemplateIdOk() (*string, bool)

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

func (*PolicyTemplate) GetQoSSpecification

func (o *PolicyTemplate) GetQoSSpecification() M1QoSSpecification

GetQoSSpecification returns the QoSSpecification field value if set, zero value otherwise.

func (*PolicyTemplate) GetQoSSpecificationOk

func (o *PolicyTemplate) GetQoSSpecificationOk() (*M1QoSSpecification, bool)

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

func (*PolicyTemplate) GetState

func (o *PolicyTemplate) GetState() PolicyTemplateState

GetState returns the State field value

func (*PolicyTemplate) GetStateOk

func (o *PolicyTemplate) GetStateOk() (*PolicyTemplateState, bool)

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

func (*PolicyTemplate) GetStateReason

func (o *PolicyTemplate) GetStateReason() ProblemDetails

GetStateReason returns the StateReason field value

func (*PolicyTemplate) GetStateReasonOk

func (o *PolicyTemplate) GetStateReasonOk() (*ProblemDetails, bool)

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

func (*PolicyTemplate) HasChargingSpecification

func (o *PolicyTemplate) HasChargingSpecification() bool

HasChargingSpecification returns a boolean if a field has been set.

func (*PolicyTemplate) HasQoSSpecification

func (o *PolicyTemplate) HasQoSSpecification() bool

HasQoSSpecification returns a boolean if a field has been set.

func (PolicyTemplate) MarshalJSON

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

func (*PolicyTemplate) SetApplicationSessionContext

func (o *PolicyTemplate) SetApplicationSessionContext(v PolicyTemplateApplicationSessionContext)

SetApplicationSessionContext sets field value

func (*PolicyTemplate) SetChargingSpecification

func (o *PolicyTemplate) SetChargingSpecification(v ChargingSpecification)

SetChargingSpecification gets a reference to the given ChargingSpecification and assigns it to the ChargingSpecification field.

func (*PolicyTemplate) SetExternalReference

func (o *PolicyTemplate) SetExternalReference(v string)

SetExternalReference sets field value

func (*PolicyTemplate) SetPolicyTemplateId

func (o *PolicyTemplate) SetPolicyTemplateId(v string)

SetPolicyTemplateId sets field value

func (*PolicyTemplate) SetQoSSpecification

func (o *PolicyTemplate) SetQoSSpecification(v M1QoSSpecification)

SetQoSSpecification gets a reference to the given M1QoSSpecification and assigns it to the QoSSpecification field.

func (*PolicyTemplate) SetState

func (o *PolicyTemplate) SetState(v PolicyTemplateState)

SetState sets field value

func (*PolicyTemplate) SetStateReason

func (o *PolicyTemplate) SetStateReason(v ProblemDetails)

SetStateReason sets field value

func (PolicyTemplate) ToMap

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

func (*PolicyTemplate) UnmarshalJSON

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

type PolicyTemplateApplicationSessionContext

type PolicyTemplateApplicationSessionContext struct {
	SliceInfo *Snssai `json:"sliceInfo,omitempty"`
	// String representing a Data Network as defined in clause 9A of 3GPP TS 23.003;  it shall contain either a DNN Network Identifier, or a full DNN with both the Network  Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots  (e.g. \"Label1.Label2.Label3\").
	Dnn *string `json:"dnn,omitempty"`
}

PolicyTemplateApplicationSessionContext struct for PolicyTemplateApplicationSessionContext

func NewPolicyTemplateApplicationSessionContext

func NewPolicyTemplateApplicationSessionContext() *PolicyTemplateApplicationSessionContext

NewPolicyTemplateApplicationSessionContext instantiates a new PolicyTemplateApplicationSessionContext 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 NewPolicyTemplateApplicationSessionContextWithDefaults

func NewPolicyTemplateApplicationSessionContextWithDefaults() *PolicyTemplateApplicationSessionContext

NewPolicyTemplateApplicationSessionContextWithDefaults instantiates a new PolicyTemplateApplicationSessionContext 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 (*PolicyTemplateApplicationSessionContext) GetDnn

GetDnn returns the Dnn field value if set, zero value otherwise.

func (*PolicyTemplateApplicationSessionContext) GetDnnOk

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

func (*PolicyTemplateApplicationSessionContext) GetSliceInfo

GetSliceInfo returns the SliceInfo field value if set, zero value otherwise.

func (*PolicyTemplateApplicationSessionContext) GetSliceInfoOk

func (o *PolicyTemplateApplicationSessionContext) GetSliceInfoOk() (*Snssai, bool)

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

func (*PolicyTemplateApplicationSessionContext) HasDnn

HasDnn returns a boolean if a field has been set.

func (*PolicyTemplateApplicationSessionContext) HasSliceInfo

HasSliceInfo returns a boolean if a field has been set.

func (PolicyTemplateApplicationSessionContext) MarshalJSON

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

func (*PolicyTemplateApplicationSessionContext) SetDnn

SetDnn gets a reference to the given string and assigns it to the Dnn field.

func (*PolicyTemplateApplicationSessionContext) SetSliceInfo

SetSliceInfo gets a reference to the given Snssai and assigns it to the SliceInfo field.

func (PolicyTemplateApplicationSessionContext) ToMap

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

type PolicyTemplateState

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

PolicyTemplateState struct for PolicyTemplateState

func (*PolicyTemplateState) MarshalJSON

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

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

func (*PolicyTemplateState) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type ProblemDetails

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

ProblemDetails Provides additional information in an error response.

func NewProblemDetails

func NewProblemDetails() *ProblemDetails

NewProblemDetails instantiates a new ProblemDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProblemDetailsWithDefaults

func NewProblemDetailsWithDefaults() *ProblemDetails

NewProblemDetailsWithDefaults instantiates a new ProblemDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ProblemDetails) GetAccessTokenError

func (o *ProblemDetails) GetAccessTokenError() AccessTokenErr

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

func (*ProblemDetails) GetAccessTokenErrorOk

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

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

func (*ProblemDetails) GetAccessTokenRequest

func (o *ProblemDetails) GetAccessTokenRequest() AccessTokenReq

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

func (*ProblemDetails) GetAccessTokenRequestOk

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

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

func (*ProblemDetails) GetCause

func (o *ProblemDetails) GetCause() string

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

func (*ProblemDetails) GetCauseOk

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

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

func (*ProblemDetails) GetDetail

func (o *ProblemDetails) GetDetail() string

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

func (*ProblemDetails) GetDetailOk

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

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

func (*ProblemDetails) GetInstance

func (o *ProblemDetails) GetInstance() string

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

func (*ProblemDetails) GetInstanceOk

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

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

func (*ProblemDetails) GetInvalidParams

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

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

func (*ProblemDetails) GetInvalidParamsOk

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

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

func (*ProblemDetails) GetNrfId

func (o *ProblemDetails) GetNrfId() string

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

func (*ProblemDetails) GetNrfIdOk

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

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

func (*ProblemDetails) GetStatus

func (o *ProblemDetails) GetStatus() int32

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

func (*ProblemDetails) GetStatusOk

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

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

func (*ProblemDetails) GetSupportedFeatures

func (o *ProblemDetails) GetSupportedFeatures() string

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

func (*ProblemDetails) GetSupportedFeaturesOk

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

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

func (*ProblemDetails) GetTitle

func (o *ProblemDetails) GetTitle() string

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

func (*ProblemDetails) GetTitleOk

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

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

func (*ProblemDetails) GetType

func (o *ProblemDetails) GetType() string

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

func (*ProblemDetails) GetTypeOk

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

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

func (*ProblemDetails) HasAccessTokenError

func (o *ProblemDetails) HasAccessTokenError() bool

HasAccessTokenError returns a boolean if a field has been set.

func (*ProblemDetails) HasAccessTokenRequest

func (o *ProblemDetails) HasAccessTokenRequest() bool

HasAccessTokenRequest returns a boolean if a field has been set.

func (*ProblemDetails) HasCause

func (o *ProblemDetails) HasCause() bool

HasCause returns a boolean if a field has been set.

func (*ProblemDetails) HasDetail

func (o *ProblemDetails) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*ProblemDetails) HasInstance

func (o *ProblemDetails) HasInstance() bool

HasInstance returns a boolean if a field has been set.

func (*ProblemDetails) HasInvalidParams

func (o *ProblemDetails) HasInvalidParams() bool

HasInvalidParams returns a boolean if a field has been set.

func (*ProblemDetails) HasNrfId

func (o *ProblemDetails) HasNrfId() bool

HasNrfId returns a boolean if a field has been set.

func (*ProblemDetails) HasStatus

func (o *ProblemDetails) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ProblemDetails) HasSupportedFeatures

func (o *ProblemDetails) HasSupportedFeatures() bool

HasSupportedFeatures returns a boolean if a field has been set.

func (*ProblemDetails) HasTitle

func (o *ProblemDetails) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ProblemDetails) HasType

func (o *ProblemDetails) HasType() bool

HasType returns a boolean if a field has been set.

func (ProblemDetails) MarshalJSON

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

func (*ProblemDetails) SetAccessTokenError

func (o *ProblemDetails) SetAccessTokenError(v AccessTokenErr)

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

func (*ProblemDetails) SetAccessTokenRequest

func (o *ProblemDetails) SetAccessTokenRequest(v AccessTokenReq)

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

func (*ProblemDetails) SetCause

func (o *ProblemDetails) SetCause(v string)

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

func (*ProblemDetails) SetDetail

func (o *ProblemDetails) SetDetail(v string)

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

func (*ProblemDetails) SetInstance

func (o *ProblemDetails) SetInstance(v string)

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

func (*ProblemDetails) SetInvalidParams

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

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

func (*ProblemDetails) SetNrfId

func (o *ProblemDetails) SetNrfId(v string)

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

func (*ProblemDetails) SetStatus

func (o *ProblemDetails) SetStatus(v int32)

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

func (*ProblemDetails) SetSupportedFeatures

func (o *ProblemDetails) SetSupportedFeatures(v string)

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

func (*ProblemDetails) SetTitle

func (o *ProblemDetails) SetTitle(v string)

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

func (*ProblemDetails) SetType

func (o *ProblemDetails) SetType(v string)

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

func (ProblemDetails) ToMap

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

type ServerConfiguration

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

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

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

URL formats template on a index using given variables

type ServerVariable

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

ServerVariable stores the information about a server variable

type Snssai

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

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

func NewSnssai

func NewSnssai(sst int32) *Snssai

NewSnssai instantiates a new Snssai object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSnssaiWithDefaults

func NewSnssaiWithDefaults() *Snssai

NewSnssaiWithDefaults instantiates a new Snssai object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Snssai) GetSd

func (o *Snssai) GetSd() string

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

func (*Snssai) GetSdOk

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

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

func (*Snssai) GetSst

func (o *Snssai) GetSst() int32

GetSst returns the Sst field value

func (*Snssai) GetSstOk

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

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

func (*Snssai) HasSd

func (o *Snssai) HasSd() bool

HasSd returns a boolean if a field has been set.

func (Snssai) MarshalJSON

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

func (*Snssai) SetSd

func (o *Snssai) SetSd(v string)

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

func (*Snssai) SetSst

func (o *Snssai) SetSst(v int32)

SetSst sets field value

func (Snssai) ToMap

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

func (*Snssai) UnmarshalJSON

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

type SponsoringStatus

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

SponsoringStatus Indicates whether sponsored data connectivity is enabled or disabled/not enabled.

func (*SponsoringStatus) MarshalJSON

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

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

func (*SponsoringStatus) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

Jump to

Keyboard shortcuts

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