OpenAPI_MSGG_N3GDelivery

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

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

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

README

Go API client for OpenAPI_MSGG_N3GDelivery

API for MSGG N3G Message Delivery Service.
© 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
All rights reserved.

Overview

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

  • API version: 1.0.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/oauth2
go get golang.org/x/net/context

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

import OpenAPI_MSGG_N3GDelivery "gitee.com/konglinglong/openapi/OpenAPI_MSGG_N3GDelivery"

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

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

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

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

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

Documentation for API Endpoints

All URIs are relative to https://example.com/msgg-n3gdelivery/v1

Class Method HTTP request Description
N3GMessageDeliveryAPI DeliverMessagePost Post /deliver-message deliver message to NON-3GPP Message Gateway
N3GStatusReportDeliveryAPI DeliverReportPost Post /deliver-report deliver status report to NON-3GPP Message Gateway

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

oAuth2ClientCredentials
  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes:
  • msgg-n3gdelivery: Access to the MSGG_N3GDelivery API

Example

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

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

import "golang.org/x/oauth2"

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

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

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

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

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	N3GMessageDeliveryAPI *N3GMessageDeliveryAPIService

	N3GStatusReportDeliveryAPI *N3GStatusReportDeliveryAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the MSGG_N3GDelivery API v1.0.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 Address

type Address struct {
	AddrType AddressType `json:"addrType"`
	Addr     string      `json:"addr"`
}

Address Contains the Message type data

func NewAddress

func NewAddress(addrType AddressType, addr string) *Address

NewAddress instantiates a new Address 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 NewAddressWithDefaults

func NewAddressWithDefaults() *Address

NewAddressWithDefaults instantiates a new Address 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 (*Address) GetAddr

func (o *Address) GetAddr() string

GetAddr returns the Addr field value

func (*Address) GetAddrOk

func (o *Address) GetAddrOk() (*string, bool)

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

func (*Address) GetAddrType

func (o *Address) GetAddrType() AddressType

GetAddrType returns the AddrType field value

func (*Address) GetAddrTypeOk

func (o *Address) GetAddrTypeOk() (*AddressType, bool)

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

func (Address) MarshalJSON

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

func (*Address) SetAddr

func (o *Address) SetAddr(v string)

SetAddr sets field value

func (*Address) SetAddrType

func (o *Address) SetAddrType(v AddressType)

SetAddrType sets field value

func (Address) ToMap

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

func (*Address) UnmarshalJSON

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

type AddressType

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

AddressType Possible values are: - UE: The address type is UE. - AS: The address type is AS. - GROUP: The address type is GROUP. - BC: The address type is BC. - TOPIC: The address type is TOPIC.

func (*AddressType) MarshalJSON

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

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

func (*AddressType) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type ApiDeliverMessagePostRequest

type ApiDeliverMessagePostRequest struct {
	ApiService *N3GMessageDeliveryAPIService
	// contains filtered or unexported fields
}

func (ApiDeliverMessagePostRequest) Execute

func (ApiDeliverMessagePostRequest) N3gMessageDelivery

func (r ApiDeliverMessagePostRequest) N3gMessageDelivery(n3gMessageDelivery N3gMessageDelivery) ApiDeliverMessagePostRequest

type ApiDeliverReportPostRequest

type ApiDeliverReportPostRequest struct {
	ApiService *N3GStatusReportDeliveryAPIService
	// contains filtered or unexported fields
}

func (ApiDeliverReportPostRequest) DeliveryStatusReport

func (r ApiDeliverReportPostRequest) DeliveryStatusReport(deliveryStatusReport DeliveryStatusReport) ApiDeliverReportPostRequest

func (ApiDeliverReportPostRequest) Execute

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type DeliveryStatusReport

type DeliveryStatusReport struct {
	OriAddr      Address              `json:"oriAddr"`
	DestAddr     Address              `json:"destAddr"`
	MsgId        string               `json:"msgId"`
	SecCred      *string              `json:"secCred,omitempty"`
	FailureCause *string              `json:"failureCause,omitempty"`
	DelivSt      ReportDeliveryStatus `json:"delivSt"`
}

DeliveryStatusReport Contains the delivery status report data

func NewDeliveryStatusReport

func NewDeliveryStatusReport(oriAddr Address, destAddr Address, msgId string, delivSt ReportDeliveryStatus) *DeliveryStatusReport

NewDeliveryStatusReport instantiates a new DeliveryStatusReport 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 NewDeliveryStatusReportWithDefaults

func NewDeliveryStatusReportWithDefaults() *DeliveryStatusReport

NewDeliveryStatusReportWithDefaults instantiates a new DeliveryStatusReport 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 (*DeliveryStatusReport) GetDelivSt

GetDelivSt returns the DelivSt field value

func (*DeliveryStatusReport) GetDelivStOk

func (o *DeliveryStatusReport) GetDelivStOk() (*ReportDeliveryStatus, bool)

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

func (*DeliveryStatusReport) GetDestAddr

func (o *DeliveryStatusReport) GetDestAddr() Address

GetDestAddr returns the DestAddr field value

func (*DeliveryStatusReport) GetDestAddrOk

func (o *DeliveryStatusReport) GetDestAddrOk() (*Address, bool)

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

func (*DeliveryStatusReport) GetFailureCause

func (o *DeliveryStatusReport) GetFailureCause() string

GetFailureCause returns the FailureCause field value if set, zero value otherwise.

func (*DeliveryStatusReport) GetFailureCauseOk

func (o *DeliveryStatusReport) GetFailureCauseOk() (*string, bool)

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

func (*DeliveryStatusReport) GetMsgId

func (o *DeliveryStatusReport) GetMsgId() string

GetMsgId returns the MsgId field value

func (*DeliveryStatusReport) GetMsgIdOk

func (o *DeliveryStatusReport) GetMsgIdOk() (*string, bool)

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

func (*DeliveryStatusReport) GetOriAddr

func (o *DeliveryStatusReport) GetOriAddr() Address

GetOriAddr returns the OriAddr field value

func (*DeliveryStatusReport) GetOriAddrOk

func (o *DeliveryStatusReport) GetOriAddrOk() (*Address, bool)

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

func (*DeliveryStatusReport) GetSecCred

func (o *DeliveryStatusReport) GetSecCred() string

GetSecCred returns the SecCred field value if set, zero value otherwise.

func (*DeliveryStatusReport) GetSecCredOk

func (o *DeliveryStatusReport) GetSecCredOk() (*string, bool)

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

func (*DeliveryStatusReport) HasFailureCause

func (o *DeliveryStatusReport) HasFailureCause() bool

HasFailureCause returns a boolean if a field has been set.

func (*DeliveryStatusReport) HasSecCred

func (o *DeliveryStatusReport) HasSecCred() bool

HasSecCred returns a boolean if a field has been set.

func (DeliveryStatusReport) MarshalJSON

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

func (*DeliveryStatusReport) SetDelivSt

func (o *DeliveryStatusReport) SetDelivSt(v ReportDeliveryStatus)

SetDelivSt sets field value

func (*DeliveryStatusReport) SetDestAddr

func (o *DeliveryStatusReport) SetDestAddr(v Address)

SetDestAddr sets field value

func (*DeliveryStatusReport) SetFailureCause

func (o *DeliveryStatusReport) SetFailureCause(v string)

SetFailureCause gets a reference to the given string and assigns it to the FailureCause field.

func (*DeliveryStatusReport) SetMsgId

func (o *DeliveryStatusReport) SetMsgId(v string)

SetMsgId sets field value

func (*DeliveryStatusReport) SetOriAddr

func (o *DeliveryStatusReport) SetOriAddr(v Address)

SetOriAddr sets field value

func (*DeliveryStatusReport) SetSecCred

func (o *DeliveryStatusReport) SetSecCred(v string)

SetSecCred gets a reference to the given string and assigns it to the SecCred field.

func (DeliveryStatusReport) ToMap

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

func (*DeliveryStatusReport) UnmarshalJSON

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

type GenericOpenAPIError

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

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

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

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

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type InvalidParam

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

InvalidParam It contains an invalid parameter and a related description.

func NewInvalidParam

func NewInvalidParam(param string) *InvalidParam

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

func NewInvalidParamWithDefaults

func NewInvalidParamWithDefaults() *InvalidParam

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

func (*InvalidParam) GetParam

func (o *InvalidParam) GetParam() string

GetParam returns the Param field value

func (*InvalidParam) GetParamOk

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

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

func (*InvalidParam) GetReason

func (o *InvalidParam) GetReason() string

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

func (*InvalidParam) GetReasonOk

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

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

func (*InvalidParam) HasReason

func (o *InvalidParam) HasReason() bool

HasReason returns a boolean if a field has been set.

func (InvalidParam) MarshalJSON

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

func (*InvalidParam) SetParam

func (o *InvalidParam) SetParam(v string)

SetParam sets field value

func (*InvalidParam) SetReason

func (o *InvalidParam) SetReason(v string)

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

func (InvalidParam) ToMap

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

func (*InvalidParam) UnmarshalJSON

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

type MappedNullable

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

type MessageSegmentParameters

type MessageSegmentParameters struct {
	SegId         *string `json:"segId,omitempty"`
	TotalSegCount *int32  `json:"totalSegCount,omitempty"`
	SegNumb       *int32  `json:"segNumb,omitempty"`
	LastSegFlag   *bool   `json:"lastSegFlag,omitempty"`
}

MessageSegmentParameters Contains the message segment parameters data

func NewMessageSegmentParameters

func NewMessageSegmentParameters() *MessageSegmentParameters

NewMessageSegmentParameters instantiates a new MessageSegmentParameters 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 NewMessageSegmentParametersWithDefaults

func NewMessageSegmentParametersWithDefaults() *MessageSegmentParameters

NewMessageSegmentParametersWithDefaults instantiates a new MessageSegmentParameters 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 (*MessageSegmentParameters) GetLastSegFlag

func (o *MessageSegmentParameters) GetLastSegFlag() bool

GetLastSegFlag returns the LastSegFlag field value if set, zero value otherwise.

func (*MessageSegmentParameters) GetLastSegFlagOk

func (o *MessageSegmentParameters) GetLastSegFlagOk() (*bool, bool)

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

func (*MessageSegmentParameters) GetSegId

func (o *MessageSegmentParameters) GetSegId() string

GetSegId returns the SegId field value if set, zero value otherwise.

func (*MessageSegmentParameters) GetSegIdOk

func (o *MessageSegmentParameters) GetSegIdOk() (*string, bool)

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

func (*MessageSegmentParameters) GetSegNumb

func (o *MessageSegmentParameters) GetSegNumb() int32

GetSegNumb returns the SegNumb field value if set, zero value otherwise.

func (*MessageSegmentParameters) GetSegNumbOk

func (o *MessageSegmentParameters) GetSegNumbOk() (*int32, bool)

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

func (*MessageSegmentParameters) GetTotalSegCount

func (o *MessageSegmentParameters) GetTotalSegCount() int32

GetTotalSegCount returns the TotalSegCount field value if set, zero value otherwise.

func (*MessageSegmentParameters) GetTotalSegCountOk

func (o *MessageSegmentParameters) GetTotalSegCountOk() (*int32, bool)

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

func (*MessageSegmentParameters) HasLastSegFlag

func (o *MessageSegmentParameters) HasLastSegFlag() bool

HasLastSegFlag returns a boolean if a field has been set.

func (*MessageSegmentParameters) HasSegId

func (o *MessageSegmentParameters) HasSegId() bool

HasSegId returns a boolean if a field has been set.

func (*MessageSegmentParameters) HasSegNumb

func (o *MessageSegmentParameters) HasSegNumb() bool

HasSegNumb returns a boolean if a field has been set.

func (*MessageSegmentParameters) HasTotalSegCount

func (o *MessageSegmentParameters) HasTotalSegCount() bool

HasTotalSegCount returns a boolean if a field has been set.

func (MessageSegmentParameters) MarshalJSON

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

func (*MessageSegmentParameters) SetLastSegFlag

func (o *MessageSegmentParameters) SetLastSegFlag(v bool)

SetLastSegFlag gets a reference to the given bool and assigns it to the LastSegFlag field.

func (*MessageSegmentParameters) SetSegId

func (o *MessageSegmentParameters) SetSegId(v string)

SetSegId gets a reference to the given string and assigns it to the SegId field.

func (*MessageSegmentParameters) SetSegNumb

func (o *MessageSegmentParameters) SetSegNumb(v int32)

SetSegNumb gets a reference to the given int32 and assigns it to the SegNumb field.

func (*MessageSegmentParameters) SetTotalSegCount

func (o *MessageSegmentParameters) SetTotalSegCount(v int32)

SetTotalSegCount gets a reference to the given int32 and assigns it to the TotalSegCount field.

func (MessageSegmentParameters) ToMap

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

type N3GMessageDeliveryAPIService

type N3GMessageDeliveryAPIService service

N3GMessageDeliveryAPIService N3GMessageDeliveryAPI service

func (*N3GMessageDeliveryAPIService) DeliverMessagePost

DeliverMessagePost deliver message to NON-3GPP Message Gateway

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

func (*N3GMessageDeliveryAPIService) DeliverMessagePostExecute

func (a *N3GMessageDeliveryAPIService) DeliverMessagePostExecute(r ApiDeliverMessagePostRequest) (*http.Response, error)

Execute executes the request

type N3GStatusReportDeliveryAPIService

type N3GStatusReportDeliveryAPIService service

N3GStatusReportDeliveryAPIService N3GStatusReportDeliveryAPI service

func (*N3GStatusReportDeliveryAPIService) DeliverReportPost

DeliverReportPost deliver status report to NON-3GPP Message Gateway

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

func (*N3GStatusReportDeliveryAPIService) DeliverReportPostExecute

Execute executes the request

type N3gMessageDelivery

type N3gMessageDelivery struct {
	OriAddr       Address                   `json:"oriAddr"`
	DestAddr      Address                   `json:"destAddr"`
	AppId         *string                   `json:"appId,omitempty"`
	MsgId         string                    `json:"msgId"`
	DelivStReqInd *bool                     `json:"delivStReqInd,omitempty"`
	Payload       *string                   `json:"payload,omitempty"`
	SegInd        *bool                     `json:"segInd,omitempty"`
	SegParams     *MessageSegmentParameters `json:"segParams,omitempty"`
}

N3gMessageDelivery N3G message delivery data

func NewN3gMessageDelivery

func NewN3gMessageDelivery(oriAddr Address, destAddr Address, msgId string) *N3gMessageDelivery

NewN3gMessageDelivery instantiates a new N3gMessageDelivery 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 NewN3gMessageDeliveryWithDefaults

func NewN3gMessageDeliveryWithDefaults() *N3gMessageDelivery

NewN3gMessageDeliveryWithDefaults instantiates a new N3gMessageDelivery 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 (*N3gMessageDelivery) GetAppId

func (o *N3gMessageDelivery) GetAppId() string

GetAppId returns the AppId field value if set, zero value otherwise.

func (*N3gMessageDelivery) GetAppIdOk

func (o *N3gMessageDelivery) GetAppIdOk() (*string, bool)

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

func (*N3gMessageDelivery) GetDelivStReqInd

func (o *N3gMessageDelivery) GetDelivStReqInd() bool

GetDelivStReqInd returns the DelivStReqInd field value if set, zero value otherwise.

func (*N3gMessageDelivery) GetDelivStReqIndOk

func (o *N3gMessageDelivery) GetDelivStReqIndOk() (*bool, bool)

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

func (*N3gMessageDelivery) GetDestAddr

func (o *N3gMessageDelivery) GetDestAddr() Address

GetDestAddr returns the DestAddr field value

func (*N3gMessageDelivery) GetDestAddrOk

func (o *N3gMessageDelivery) GetDestAddrOk() (*Address, bool)

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

func (*N3gMessageDelivery) GetMsgId

func (o *N3gMessageDelivery) GetMsgId() string

GetMsgId returns the MsgId field value

func (*N3gMessageDelivery) GetMsgIdOk

func (o *N3gMessageDelivery) GetMsgIdOk() (*string, bool)

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

func (*N3gMessageDelivery) GetOriAddr

func (o *N3gMessageDelivery) GetOriAddr() Address

GetOriAddr returns the OriAddr field value

func (*N3gMessageDelivery) GetOriAddrOk

func (o *N3gMessageDelivery) GetOriAddrOk() (*Address, bool)

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

func (*N3gMessageDelivery) GetPayload

func (o *N3gMessageDelivery) GetPayload() string

GetPayload returns the Payload field value if set, zero value otherwise.

func (*N3gMessageDelivery) GetPayloadOk

func (o *N3gMessageDelivery) GetPayloadOk() (*string, bool)

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

func (*N3gMessageDelivery) GetSegInd

func (o *N3gMessageDelivery) GetSegInd() bool

GetSegInd returns the SegInd field value if set, zero value otherwise.

func (*N3gMessageDelivery) GetSegIndOk

func (o *N3gMessageDelivery) GetSegIndOk() (*bool, bool)

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

func (*N3gMessageDelivery) GetSegParams

func (o *N3gMessageDelivery) GetSegParams() MessageSegmentParameters

GetSegParams returns the SegParams field value if set, zero value otherwise.

func (*N3gMessageDelivery) GetSegParamsOk

func (o *N3gMessageDelivery) GetSegParamsOk() (*MessageSegmentParameters, bool)

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

func (*N3gMessageDelivery) HasAppId

func (o *N3gMessageDelivery) HasAppId() bool

HasAppId returns a boolean if a field has been set.

func (*N3gMessageDelivery) HasDelivStReqInd

func (o *N3gMessageDelivery) HasDelivStReqInd() bool

HasDelivStReqInd returns a boolean if a field has been set.

func (*N3gMessageDelivery) HasPayload

func (o *N3gMessageDelivery) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*N3gMessageDelivery) HasSegInd

func (o *N3gMessageDelivery) HasSegInd() bool

HasSegInd returns a boolean if a field has been set.

func (*N3gMessageDelivery) HasSegParams

func (o *N3gMessageDelivery) HasSegParams() bool

HasSegParams returns a boolean if a field has been set.

func (N3gMessageDelivery) MarshalJSON

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

func (*N3gMessageDelivery) SetAppId

func (o *N3gMessageDelivery) SetAppId(v string)

SetAppId gets a reference to the given string and assigns it to the AppId field.

func (*N3gMessageDelivery) SetDelivStReqInd

func (o *N3gMessageDelivery) SetDelivStReqInd(v bool)

SetDelivStReqInd gets a reference to the given bool and assigns it to the DelivStReqInd field.

func (*N3gMessageDelivery) SetDestAddr

func (o *N3gMessageDelivery) SetDestAddr(v Address)

SetDestAddr sets field value

func (*N3gMessageDelivery) SetMsgId

func (o *N3gMessageDelivery) SetMsgId(v string)

SetMsgId sets field value

func (*N3gMessageDelivery) SetOriAddr

func (o *N3gMessageDelivery) SetOriAddr(v Address)

SetOriAddr sets field value

func (*N3gMessageDelivery) SetPayload

func (o *N3gMessageDelivery) SetPayload(v string)

SetPayload gets a reference to the given string and assigns it to the Payload field.

func (*N3gMessageDelivery) SetSegInd

func (o *N3gMessageDelivery) SetSegInd(v bool)

SetSegInd gets a reference to the given bool and assigns it to the SegInd field.

func (*N3gMessageDelivery) SetSegParams

func (o *N3gMessageDelivery) SetSegParams(v MessageSegmentParameters)

SetSegParams gets a reference to the given MessageSegmentParameters and assigns it to the SegParams field.

func (N3gMessageDelivery) ToMap

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

func (*N3gMessageDelivery) UnmarshalJSON

func (o *N3gMessageDelivery) UnmarshalJSON(bytes []byte) (err 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 NullableAddress

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

func NewNullableAddress

func NewNullableAddress(val *Address) *NullableAddress

func (NullableAddress) Get

func (v NullableAddress) Get() *Address

func (NullableAddress) IsSet

func (v NullableAddress) IsSet() bool

func (NullableAddress) MarshalJSON

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

func (*NullableAddress) Set

func (v *NullableAddress) Set(val *Address)

func (*NullableAddress) UnmarshalJSON

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

func (*NullableAddress) Unset

func (v *NullableAddress) Unset()

type NullableAddressType

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

func NewNullableAddressType

func NewNullableAddressType(val *AddressType) *NullableAddressType

func (NullableAddressType) Get

func (NullableAddressType) IsSet

func (v NullableAddressType) IsSet() bool

func (NullableAddressType) MarshalJSON

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

func (*NullableAddressType) Set

func (v *NullableAddressType) Set(val *AddressType)

func (*NullableAddressType) UnmarshalJSON

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

func (*NullableAddressType) Unset

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

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

func NewNullableDeliveryStatusReport

func NewNullableDeliveryStatusReport(val *DeliveryStatusReport) *NullableDeliveryStatusReport

func (NullableDeliveryStatusReport) Get

func (NullableDeliveryStatusReport) IsSet

func (NullableDeliveryStatusReport) MarshalJSON

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

func (*NullableDeliveryStatusReport) Set

func (*NullableDeliveryStatusReport) UnmarshalJSON

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

func (*NullableDeliveryStatusReport) Unset

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

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

func (NullableMessageSegmentParameters) Get

func (NullableMessageSegmentParameters) IsSet

func (NullableMessageSegmentParameters) MarshalJSON

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

func (*NullableMessageSegmentParameters) Set

func (*NullableMessageSegmentParameters) UnmarshalJSON

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

func (*NullableMessageSegmentParameters) Unset

type NullableN3gMessageDelivery

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

func NewNullableN3gMessageDelivery

func NewNullableN3gMessageDelivery(val *N3gMessageDelivery) *NullableN3gMessageDelivery

func (NullableN3gMessageDelivery) Get

func (NullableN3gMessageDelivery) IsSet

func (v NullableN3gMessageDelivery) IsSet() bool

func (NullableN3gMessageDelivery) MarshalJSON

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

func (*NullableN3gMessageDelivery) Set

func (*NullableN3gMessageDelivery) UnmarshalJSON

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

func (*NullableN3gMessageDelivery) Unset

func (v *NullableN3gMessageDelivery) Unset()

type NullableNFType

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

func NewNullableNFType

func NewNullableNFType(val *NFType) *NullableNFType

func (NullableNFType) Get

func (v NullableNFType) Get() *NFType

func (NullableNFType) IsSet

func (v NullableNFType) IsSet() bool

func (NullableNFType) MarshalJSON

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

func (*NullableNFType) Set

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

func (*NullableNFType) UnmarshalJSON

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

func (*NullableNFType) Unset

func (v *NullableNFType) Unset()

type NullablePlmnId

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

func NewNullablePlmnId

func NewNullablePlmnId(val *PlmnId) *NullablePlmnId

func (NullablePlmnId) Get

func (v NullablePlmnId) Get() *PlmnId

func (NullablePlmnId) IsSet

func (v NullablePlmnId) IsSet() bool

func (NullablePlmnId) MarshalJSON

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

func (*NullablePlmnId) Set

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

func (*NullablePlmnId) UnmarshalJSON

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

func (*NullablePlmnId) Unset

func (v *NullablePlmnId) Unset()

type NullablePlmnIdNid

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

func NewNullablePlmnIdNid

func NewNullablePlmnIdNid(val *PlmnIdNid) *NullablePlmnIdNid

func (NullablePlmnIdNid) Get

func (v NullablePlmnIdNid) Get() *PlmnIdNid

func (NullablePlmnIdNid) IsSet

func (v NullablePlmnIdNid) IsSet() bool

func (NullablePlmnIdNid) MarshalJSON

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

func (*NullablePlmnIdNid) Set

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

func (*NullablePlmnIdNid) UnmarshalJSON

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

func (*NullablePlmnIdNid) Unset

func (v *NullablePlmnIdNid) Unset()

type NullableProblemDetails

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

func NewNullableProblemDetails

func NewNullableProblemDetails(val *ProblemDetails) *NullableProblemDetails

func (NullableProblemDetails) Get

func (NullableProblemDetails) IsSet

func (v NullableProblemDetails) IsSet() bool

func (NullableProblemDetails) MarshalJSON

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

func (*NullableProblemDetails) Set

func (*NullableProblemDetails) UnmarshalJSON

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

func (*NullableProblemDetails) Unset

func (v *NullableProblemDetails) Unset()

type NullableReportDeliveryStatus

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

func NewNullableReportDeliveryStatus

func NewNullableReportDeliveryStatus(val *ReportDeliveryStatus) *NullableReportDeliveryStatus

func (NullableReportDeliveryStatus) Get

func (NullableReportDeliveryStatus) IsSet

func (NullableReportDeliveryStatus) MarshalJSON

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

func (*NullableReportDeliveryStatus) Set

func (*NullableReportDeliveryStatus) UnmarshalJSON

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

func (*NullableReportDeliveryStatus) Unset

func (v *NullableReportDeliveryStatus) Unset()

type NullableSnssai

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

func NewNullableSnssai

func NewNullableSnssai(val *Snssai) *NullableSnssai

func (NullableSnssai) Get

func (v NullableSnssai) Get() *Snssai

func (NullableSnssai) IsSet

func (v NullableSnssai) IsSet() bool

func (NullableSnssai) MarshalJSON

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

func (*NullableSnssai) Set

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

func (*NullableSnssai) UnmarshalJSON

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

func (*NullableSnssai) Unset

func (v *NullableSnssai) Unset()

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

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

func (*NullableString) Set

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

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

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

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

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

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type PlmnId

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

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

func NewPlmnId

func NewPlmnId(mcc string, mnc string) *PlmnId

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

func NewPlmnIdWithDefaults

func NewPlmnIdWithDefaults() *PlmnId

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

func (*PlmnId) GetMcc

func (o *PlmnId) GetMcc() string

GetMcc returns the Mcc field value

func (*PlmnId) GetMccOk

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

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

func (*PlmnId) GetMnc

func (o *PlmnId) GetMnc() string

GetMnc returns the Mnc field value

func (*PlmnId) GetMncOk

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

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

func (PlmnId) MarshalJSON

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

func (*PlmnId) SetMcc

func (o *PlmnId) SetMcc(v string)

SetMcc sets field value

func (*PlmnId) SetMnc

func (o *PlmnId) SetMnc(v string)

SetMnc sets field value

func (PlmnId) ToMap

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

func (*PlmnId) UnmarshalJSON

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

type PlmnIdNid

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

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

func NewPlmnIdNid

func NewPlmnIdNid(mcc string, mnc string) *PlmnIdNid

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

func NewPlmnIdNidWithDefaults

func NewPlmnIdNidWithDefaults() *PlmnIdNid

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

func (*PlmnIdNid) GetMcc

func (o *PlmnIdNid) GetMcc() string

GetMcc returns the Mcc field value

func (*PlmnIdNid) GetMccOk

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

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

func (*PlmnIdNid) GetMnc

func (o *PlmnIdNid) GetMnc() string

GetMnc returns the Mnc field value

func (*PlmnIdNid) GetMncOk

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

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

func (*PlmnIdNid) GetNid

func (o *PlmnIdNid) GetNid() string

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

func (*PlmnIdNid) GetNidOk

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

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

func (*PlmnIdNid) HasNid

func (o *PlmnIdNid) HasNid() bool

HasNid returns a boolean if a field has been set.

func (PlmnIdNid) MarshalJSON

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

func (*PlmnIdNid) SetMcc

func (o *PlmnIdNid) SetMcc(v string)

SetMcc sets field value

func (*PlmnIdNid) SetMnc

func (o *PlmnIdNid) SetMnc(v string)

SetMnc sets field value

func (*PlmnIdNid) SetNid

func (o *PlmnIdNid) SetNid(v string)

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

func (PlmnIdNid) ToMap

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

func (*PlmnIdNid) UnmarshalJSON

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

type ProblemDetails

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

ProblemDetails Provides additional information in an error response.

func NewProblemDetails

func NewProblemDetails() *ProblemDetails

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

func NewProblemDetailsWithDefaults

func NewProblemDetailsWithDefaults() *ProblemDetails

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

func (*ProblemDetails) GetAccessTokenError

func (o *ProblemDetails) GetAccessTokenError() AccessTokenErr

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

func (*ProblemDetails) GetAccessTokenErrorOk

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

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

func (*ProblemDetails) GetAccessTokenRequest

func (o *ProblemDetails) GetAccessTokenRequest() AccessTokenReq

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

func (*ProblemDetails) GetAccessTokenRequestOk

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

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

func (*ProblemDetails) GetCause

func (o *ProblemDetails) GetCause() string

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

func (*ProblemDetails) GetCauseOk

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

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

func (*ProblemDetails) GetDetail

func (o *ProblemDetails) GetDetail() string

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

func (*ProblemDetails) GetDetailOk

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

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

func (*ProblemDetails) GetInstance

func (o *ProblemDetails) GetInstance() string

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

func (*ProblemDetails) GetInstanceOk

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

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

func (*ProblemDetails) GetInvalidParams

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

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

func (*ProblemDetails) GetInvalidParamsOk

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

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

func (*ProblemDetails) GetNrfId

func (o *ProblemDetails) GetNrfId() string

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

func (*ProblemDetails) GetNrfIdOk

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

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

func (*ProblemDetails) GetStatus

func (o *ProblemDetails) GetStatus() int32

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

func (*ProblemDetails) GetStatusOk

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

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

func (*ProblemDetails) GetSupportedFeatures

func (o *ProblemDetails) GetSupportedFeatures() string

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

func (*ProblemDetails) GetSupportedFeaturesOk

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

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

func (*ProblemDetails) GetTitle

func (o *ProblemDetails) GetTitle() string

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

func (*ProblemDetails) GetTitleOk

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

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

func (*ProblemDetails) GetType

func (o *ProblemDetails) GetType() string

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

func (*ProblemDetails) GetTypeOk

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

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

func (*ProblemDetails) HasAccessTokenError

func (o *ProblemDetails) HasAccessTokenError() bool

HasAccessTokenError returns a boolean if a field has been set.

func (*ProblemDetails) HasAccessTokenRequest

func (o *ProblemDetails) HasAccessTokenRequest() bool

HasAccessTokenRequest returns a boolean if a field has been set.

func (*ProblemDetails) HasCause

func (o *ProblemDetails) HasCause() bool

HasCause returns a boolean if a field has been set.

func (*ProblemDetails) HasDetail

func (o *ProblemDetails) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*ProblemDetails) HasInstance

func (o *ProblemDetails) HasInstance() bool

HasInstance returns a boolean if a field has been set.

func (*ProblemDetails) HasInvalidParams

func (o *ProblemDetails) HasInvalidParams() bool

HasInvalidParams returns a boolean if a field has been set.

func (*ProblemDetails) HasNrfId

func (o *ProblemDetails) HasNrfId() bool

HasNrfId returns a boolean if a field has been set.

func (*ProblemDetails) HasStatus

func (o *ProblemDetails) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ProblemDetails) HasSupportedFeatures

func (o *ProblemDetails) HasSupportedFeatures() bool

HasSupportedFeatures returns a boolean if a field has been set.

func (*ProblemDetails) HasTitle

func (o *ProblemDetails) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ProblemDetails) HasType

func (o *ProblemDetails) HasType() bool

HasType returns a boolean if a field has been set.

func (ProblemDetails) MarshalJSON

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

func (*ProblemDetails) SetAccessTokenError

func (o *ProblemDetails) SetAccessTokenError(v AccessTokenErr)

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

func (*ProblemDetails) SetAccessTokenRequest

func (o *ProblemDetails) SetAccessTokenRequest(v AccessTokenReq)

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

func (*ProblemDetails) SetCause

func (o *ProblemDetails) SetCause(v string)

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

func (*ProblemDetails) SetDetail

func (o *ProblemDetails) SetDetail(v string)

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

func (*ProblemDetails) SetInstance

func (o *ProblemDetails) SetInstance(v string)

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

func (*ProblemDetails) SetInvalidParams

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

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

func (*ProblemDetails) SetNrfId

func (o *ProblemDetails) SetNrfId(v string)

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

func (*ProblemDetails) SetStatus

func (o *ProblemDetails) SetStatus(v int32)

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

func (*ProblemDetails) SetSupportedFeatures

func (o *ProblemDetails) SetSupportedFeatures(v string)

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

func (*ProblemDetails) SetTitle

func (o *ProblemDetails) SetTitle(v string)

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

func (*ProblemDetails) SetType

func (o *ProblemDetails) SetType(v string)

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

func (ProblemDetails) ToMap

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

type ReportDeliveryStatus

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

ReportDeliveryStatus Possible values are: - REPT_DELY_SUCCESS: Indicates that the report delivery is successful. - REPT_DELY_FAILED: Indicates that the report delivery is failed.

func (*ReportDeliveryStatus) MarshalJSON

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

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

func (*ReportDeliveryStatus) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type ServerConfiguration

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

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

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

URL formats template on a index using given variables

type ServerVariable

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

ServerVariable stores the information about a server variable

type Snssai

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

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

func NewSnssai

func NewSnssai(sst int32) *Snssai

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

func NewSnssaiWithDefaults

func NewSnssaiWithDefaults() *Snssai

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

func (*Snssai) GetSd

func (o *Snssai) GetSd() string

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

func (*Snssai) GetSdOk

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

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

func (*Snssai) GetSst

func (o *Snssai) GetSst() int32

GetSst returns the Sst field value

func (*Snssai) GetSstOk

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

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

func (*Snssai) HasSd

func (o *Snssai) HasSd() bool

HasSd returns a boolean if a field has been set.

func (Snssai) MarshalJSON

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

func (*Snssai) SetSd

func (o *Snssai) SetSd(v string)

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

func (*Snssai) SetSst

func (o *Snssai) SetSst(v int32)

SetSst sets field value

func (Snssai) ToMap

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

func (*Snssai) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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