1 Star 0 Fork 0

MrCoder/openapi

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
model_dnn_configuration.go 42.38 KB
Copy Edit Raw Blame History
MrCoder authored 2023-12-22 15:27 +08:00 . update
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337
/*
Nudr_DataRepository API OpenAPI file
Unified Data Repository Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
API version: 2.2.4
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package OpenAPI_Nudr_DR
import (
"encoding/json"
"fmt"
)
// checks if the DnnConfiguration type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &DnnConfiguration{}
// DnnConfiguration struct for DnnConfiguration
type DnnConfiguration struct {
PduSessionTypes PduSessionTypes `json:"pduSessionTypes"`
SscModes SscModes `json:"sscModes"`
IwkEpsInd *bool `json:"iwkEpsInd,omitempty"`
Var5gQosProfile *SubscribedDefaultQos `json:"5gQosProfile,omitempty"`
SessionAmbr *Ambr `json:"sessionAmbr,omitempty"`
Var3gppChargingCharacteristics *string `json:"3gppChargingCharacteristics,omitempty"`
StaticIpAddress []IpAddress `json:"staticIpAddress,omitempty"`
UpSecurity *UpSecurity `json:"upSecurity,omitempty"`
PduSessionContinuityInd *PduSessionContinuityInd `json:"pduSessionContinuityInd,omitempty"`
// Identity of the NEF
NiddNefId *string `json:"niddNefId,omitempty"`
NiddInfo *NiddInformation `json:"niddInfo,omitempty"`
RedundantSessionAllowed *bool `json:"redundantSessionAllowed,omitempty"`
AcsInfo *AcsInfo `json:"acsInfo,omitempty"`
Ipv4FrameRouteList []FrameRouteInfo `json:"ipv4FrameRouteList,omitempty"`
Ipv6FrameRouteList []FrameRouteInfo `json:"ipv6FrameRouteList,omitempty"`
AtsssAllowed *bool `json:"atsssAllowed,omitempty"`
SecondaryAuth *bool `json:"secondaryAuth,omitempty"`
UavSecondaryAuth *bool `json:"uavSecondaryAuth,omitempty"`
DnAaaIpAddressAllocation *bool `json:"dnAaaIpAddressAllocation,omitempty"`
DnAaaAddress NullableIpAddress `json:"dnAaaAddress,omitempty"`
AdditionalDnAaaAddresses []IpAddress `json:"additionalDnAaaAddresses,omitempty"`
// Fully Qualified Domain Name
DnAaaFqdn *string `json:"dnAaaFqdn,omitempty"`
IptvAccCtrlInfo *string `json:"iptvAccCtrlInfo,omitempty"`
Ipv4Index *IpIndex `json:"ipv4Index,omitempty"`
Ipv6Index *IpIndex `json:"ipv6Index,omitempty"`
EcsAddrConfigInfo NullableEcsAddrConfigInfo `json:"ecsAddrConfigInfo,omitempty"`
AdditionalEcsAddrConfigInfos []EcsAddrConfigInfo `json:"additionalEcsAddrConfigInfos,omitempty"`
SharedEcsAddrConfigInfo *string `json:"sharedEcsAddrConfigInfo,omitempty"`
AdditionalSharedEcsAddrConfigInfoIds []string `json:"additionalSharedEcsAddrConfigInfoIds,omitempty"`
EasDiscoveryAuthorized *bool `json:"easDiscoveryAuthorized,omitempty"`
OnboardingInd *bool `json:"onboardingInd,omitempty"`
AerialUeInd *AerialUeIndication `json:"aerialUeInd,omitempty"`
SubscribedMaxIpv6PrefixSize *int32 `json:"subscribedMaxIpv6PrefixSize,omitempty"`
}
type _DnnConfiguration DnnConfiguration
// NewDnnConfiguration instantiates a new DnnConfiguration 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 NewDnnConfiguration(pduSessionTypes PduSessionTypes, sscModes SscModes) *DnnConfiguration {
this := DnnConfiguration{}
this.PduSessionTypes = pduSessionTypes
this.SscModes = sscModes
var atsssAllowed bool = false
this.AtsssAllowed = &atsssAllowed
var uavSecondaryAuth bool = false
this.UavSecondaryAuth = &uavSecondaryAuth
var easDiscoveryAuthorized bool = false
this.EasDiscoveryAuthorized = &easDiscoveryAuthorized
var onboardingInd bool = false
this.OnboardingInd = &onboardingInd
return &this
}
// NewDnnConfigurationWithDefaults instantiates a new DnnConfiguration 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 NewDnnConfigurationWithDefaults() *DnnConfiguration {
this := DnnConfiguration{}
var atsssAllowed bool = false
this.AtsssAllowed = &atsssAllowed
var uavSecondaryAuth bool = false
this.UavSecondaryAuth = &uavSecondaryAuth
var easDiscoveryAuthorized bool = false
this.EasDiscoveryAuthorized = &easDiscoveryAuthorized
var onboardingInd bool = false
this.OnboardingInd = &onboardingInd
return &this
}
// GetPduSessionTypes returns the PduSessionTypes field value
func (o *DnnConfiguration) GetPduSessionTypes() PduSessionTypes {
if o == nil {
var ret PduSessionTypes
return ret
}
return o.PduSessionTypes
}
// GetPduSessionTypesOk returns a tuple with the PduSessionTypes field value
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetPduSessionTypesOk() (*PduSessionTypes, bool) {
if o == nil {
return nil, false
}
return &o.PduSessionTypes, true
}
// SetPduSessionTypes sets field value
func (o *DnnConfiguration) SetPduSessionTypes(v PduSessionTypes) {
o.PduSessionTypes = v
}
// GetSscModes returns the SscModes field value
func (o *DnnConfiguration) GetSscModes() SscModes {
if o == nil {
var ret SscModes
return ret
}
return o.SscModes
}
// GetSscModesOk returns a tuple with the SscModes field value
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetSscModesOk() (*SscModes, bool) {
if o == nil {
return nil, false
}
return &o.SscModes, true
}
// SetSscModes sets field value
func (o *DnnConfiguration) SetSscModes(v SscModes) {
o.SscModes = v
}
// GetIwkEpsInd returns the IwkEpsInd field value if set, zero value otherwise.
func (o *DnnConfiguration) GetIwkEpsInd() bool {
if o == nil || IsNil(o.IwkEpsInd) {
var ret bool
return ret
}
return *o.IwkEpsInd
}
// GetIwkEpsIndOk returns a tuple with the IwkEpsInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetIwkEpsIndOk() (*bool, bool) {
if o == nil || IsNil(o.IwkEpsInd) {
return nil, false
}
return o.IwkEpsInd, true
}
// HasIwkEpsInd returns a boolean if a field has been set.
func (o *DnnConfiguration) HasIwkEpsInd() bool {
if o != nil && !IsNil(o.IwkEpsInd) {
return true
}
return false
}
// SetIwkEpsInd gets a reference to the given bool and assigns it to the IwkEpsInd field.
func (o *DnnConfiguration) SetIwkEpsInd(v bool) {
o.IwkEpsInd = &v
}
// GetVar5gQosProfile returns the Var5gQosProfile field value if set, zero value otherwise.
func (o *DnnConfiguration) GetVar5gQosProfile() SubscribedDefaultQos {
if o == nil || IsNil(o.Var5gQosProfile) {
var ret SubscribedDefaultQos
return ret
}
return *o.Var5gQosProfile
}
// GetVar5gQosProfileOk returns a tuple with the Var5gQosProfile field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetVar5gQosProfileOk() (*SubscribedDefaultQos, bool) {
if o == nil || IsNil(o.Var5gQosProfile) {
return nil, false
}
return o.Var5gQosProfile, true
}
// HasVar5gQosProfile returns a boolean if a field has been set.
func (o *DnnConfiguration) HasVar5gQosProfile() bool {
if o != nil && !IsNil(o.Var5gQosProfile) {
return true
}
return false
}
// SetVar5gQosProfile gets a reference to the given SubscribedDefaultQos and assigns it to the Var5gQosProfile field.
func (o *DnnConfiguration) SetVar5gQosProfile(v SubscribedDefaultQos) {
o.Var5gQosProfile = &v
}
// GetSessionAmbr returns the SessionAmbr field value if set, zero value otherwise.
func (o *DnnConfiguration) GetSessionAmbr() Ambr {
if o == nil || IsNil(o.SessionAmbr) {
var ret Ambr
return ret
}
return *o.SessionAmbr
}
// GetSessionAmbrOk returns a tuple with the SessionAmbr field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetSessionAmbrOk() (*Ambr, bool) {
if o == nil || IsNil(o.SessionAmbr) {
return nil, false
}
return o.SessionAmbr, true
}
// HasSessionAmbr returns a boolean if a field has been set.
func (o *DnnConfiguration) HasSessionAmbr() bool {
if o != nil && !IsNil(o.SessionAmbr) {
return true
}
return false
}
// SetSessionAmbr gets a reference to the given Ambr and assigns it to the SessionAmbr field.
func (o *DnnConfiguration) SetSessionAmbr(v Ambr) {
o.SessionAmbr = &v
}
// GetVar3gppChargingCharacteristics returns the Var3gppChargingCharacteristics field value if set, zero value otherwise.
func (o *DnnConfiguration) GetVar3gppChargingCharacteristics() string {
if o == nil || IsNil(o.Var3gppChargingCharacteristics) {
var ret string
return ret
}
return *o.Var3gppChargingCharacteristics
}
// GetVar3gppChargingCharacteristicsOk returns a tuple with the Var3gppChargingCharacteristics field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetVar3gppChargingCharacteristicsOk() (*string, bool) {
if o == nil || IsNil(o.Var3gppChargingCharacteristics) {
return nil, false
}
return o.Var3gppChargingCharacteristics, true
}
// HasVar3gppChargingCharacteristics returns a boolean if a field has been set.
func (o *DnnConfiguration) HasVar3gppChargingCharacteristics() bool {
if o != nil && !IsNil(o.Var3gppChargingCharacteristics) {
return true
}
return false
}
// SetVar3gppChargingCharacteristics gets a reference to the given string and assigns it to the Var3gppChargingCharacteristics field.
func (o *DnnConfiguration) SetVar3gppChargingCharacteristics(v string) {
o.Var3gppChargingCharacteristics = &v
}
// GetStaticIpAddress returns the StaticIpAddress field value if set, zero value otherwise.
func (o *DnnConfiguration) GetStaticIpAddress() []IpAddress {
if o == nil || IsNil(o.StaticIpAddress) {
var ret []IpAddress
return ret
}
return o.StaticIpAddress
}
// GetStaticIpAddressOk returns a tuple with the StaticIpAddress field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetStaticIpAddressOk() ([]IpAddress, bool) {
if o == nil || IsNil(o.StaticIpAddress) {
return nil, false
}
return o.StaticIpAddress, true
}
// HasStaticIpAddress returns a boolean if a field has been set.
func (o *DnnConfiguration) HasStaticIpAddress() bool {
if o != nil && !IsNil(o.StaticIpAddress) {
return true
}
return false
}
// SetStaticIpAddress gets a reference to the given []IpAddress and assigns it to the StaticIpAddress field.
func (o *DnnConfiguration) SetStaticIpAddress(v []IpAddress) {
o.StaticIpAddress = v
}
// GetUpSecurity returns the UpSecurity field value if set, zero value otherwise.
func (o *DnnConfiguration) GetUpSecurity() UpSecurity {
if o == nil || IsNil(o.UpSecurity) {
var ret UpSecurity
return ret
}
return *o.UpSecurity
}
// GetUpSecurityOk returns a tuple with the UpSecurity field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetUpSecurityOk() (*UpSecurity, bool) {
if o == nil || IsNil(o.UpSecurity) {
return nil, false
}
return o.UpSecurity, true
}
// HasUpSecurity returns a boolean if a field has been set.
func (o *DnnConfiguration) HasUpSecurity() bool {
if o != nil && !IsNil(o.UpSecurity) {
return true
}
return false
}
// SetUpSecurity gets a reference to the given UpSecurity and assigns it to the UpSecurity field.
func (o *DnnConfiguration) SetUpSecurity(v UpSecurity) {
o.UpSecurity = &v
}
// GetPduSessionContinuityInd returns the PduSessionContinuityInd field value if set, zero value otherwise.
func (o *DnnConfiguration) GetPduSessionContinuityInd() PduSessionContinuityInd {
if o == nil || IsNil(o.PduSessionContinuityInd) {
var ret PduSessionContinuityInd
return ret
}
return *o.PduSessionContinuityInd
}
// GetPduSessionContinuityIndOk returns a tuple with the PduSessionContinuityInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetPduSessionContinuityIndOk() (*PduSessionContinuityInd, bool) {
if o == nil || IsNil(o.PduSessionContinuityInd) {
return nil, false
}
return o.PduSessionContinuityInd, true
}
// HasPduSessionContinuityInd returns a boolean if a field has been set.
func (o *DnnConfiguration) HasPduSessionContinuityInd() bool {
if o != nil && !IsNil(o.PduSessionContinuityInd) {
return true
}
return false
}
// SetPduSessionContinuityInd gets a reference to the given PduSessionContinuityInd and assigns it to the PduSessionContinuityInd field.
func (o *DnnConfiguration) SetPduSessionContinuityInd(v PduSessionContinuityInd) {
o.PduSessionContinuityInd = &v
}
// GetNiddNefId returns the NiddNefId field value if set, zero value otherwise.
func (o *DnnConfiguration) GetNiddNefId() string {
if o == nil || IsNil(o.NiddNefId) {
var ret string
return ret
}
return *o.NiddNefId
}
// GetNiddNefIdOk returns a tuple with the NiddNefId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetNiddNefIdOk() (*string, bool) {
if o == nil || IsNil(o.NiddNefId) {
return nil, false
}
return o.NiddNefId, true
}
// HasNiddNefId returns a boolean if a field has been set.
func (o *DnnConfiguration) HasNiddNefId() bool {
if o != nil && !IsNil(o.NiddNefId) {
return true
}
return false
}
// SetNiddNefId gets a reference to the given string and assigns it to the NiddNefId field.
func (o *DnnConfiguration) SetNiddNefId(v string) {
o.NiddNefId = &v
}
// GetNiddInfo returns the NiddInfo field value if set, zero value otherwise.
func (o *DnnConfiguration) GetNiddInfo() NiddInformation {
if o == nil || IsNil(o.NiddInfo) {
var ret NiddInformation
return ret
}
return *o.NiddInfo
}
// GetNiddInfoOk returns a tuple with the NiddInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetNiddInfoOk() (*NiddInformation, bool) {
if o == nil || IsNil(o.NiddInfo) {
return nil, false
}
return o.NiddInfo, true
}
// HasNiddInfo returns a boolean if a field has been set.
func (o *DnnConfiguration) HasNiddInfo() bool {
if o != nil && !IsNil(o.NiddInfo) {
return true
}
return false
}
// SetNiddInfo gets a reference to the given NiddInformation and assigns it to the NiddInfo field.
func (o *DnnConfiguration) SetNiddInfo(v NiddInformation) {
o.NiddInfo = &v
}
// GetRedundantSessionAllowed returns the RedundantSessionAllowed field value if set, zero value otherwise.
func (o *DnnConfiguration) GetRedundantSessionAllowed() bool {
if o == nil || IsNil(o.RedundantSessionAllowed) {
var ret bool
return ret
}
return *o.RedundantSessionAllowed
}
// GetRedundantSessionAllowedOk returns a tuple with the RedundantSessionAllowed field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetRedundantSessionAllowedOk() (*bool, bool) {
if o == nil || IsNil(o.RedundantSessionAllowed) {
return nil, false
}
return o.RedundantSessionAllowed, true
}
// HasRedundantSessionAllowed returns a boolean if a field has been set.
func (o *DnnConfiguration) HasRedundantSessionAllowed() bool {
if o != nil && !IsNil(o.RedundantSessionAllowed) {
return true
}
return false
}
// SetRedundantSessionAllowed gets a reference to the given bool and assigns it to the RedundantSessionAllowed field.
func (o *DnnConfiguration) SetRedundantSessionAllowed(v bool) {
o.RedundantSessionAllowed = &v
}
// GetAcsInfo returns the AcsInfo field value if set, zero value otherwise.
func (o *DnnConfiguration) GetAcsInfo() AcsInfo {
if o == nil || IsNil(o.AcsInfo) {
var ret AcsInfo
return ret
}
return *o.AcsInfo
}
// GetAcsInfoOk returns a tuple with the AcsInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetAcsInfoOk() (*AcsInfo, bool) {
if o == nil || IsNil(o.AcsInfo) {
return nil, false
}
return o.AcsInfo, true
}
// HasAcsInfo returns a boolean if a field has been set.
func (o *DnnConfiguration) HasAcsInfo() bool {
if o != nil && !IsNil(o.AcsInfo) {
return true
}
return false
}
// SetAcsInfo gets a reference to the given AcsInfo and assigns it to the AcsInfo field.
func (o *DnnConfiguration) SetAcsInfo(v AcsInfo) {
o.AcsInfo = &v
}
// GetIpv4FrameRouteList returns the Ipv4FrameRouteList field value if set, zero value otherwise.
func (o *DnnConfiguration) GetIpv4FrameRouteList() []FrameRouteInfo {
if o == nil || IsNil(o.Ipv4FrameRouteList) {
var ret []FrameRouteInfo
return ret
}
return o.Ipv4FrameRouteList
}
// GetIpv4FrameRouteListOk returns a tuple with the Ipv4FrameRouteList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetIpv4FrameRouteListOk() ([]FrameRouteInfo, bool) {
if o == nil || IsNil(o.Ipv4FrameRouteList) {
return nil, false
}
return o.Ipv4FrameRouteList, true
}
// HasIpv4FrameRouteList returns a boolean if a field has been set.
func (o *DnnConfiguration) HasIpv4FrameRouteList() bool {
if o != nil && !IsNil(o.Ipv4FrameRouteList) {
return true
}
return false
}
// SetIpv4FrameRouteList gets a reference to the given []FrameRouteInfo and assigns it to the Ipv4FrameRouteList field.
func (o *DnnConfiguration) SetIpv4FrameRouteList(v []FrameRouteInfo) {
o.Ipv4FrameRouteList = v
}
// GetIpv6FrameRouteList returns the Ipv6FrameRouteList field value if set, zero value otherwise.
func (o *DnnConfiguration) GetIpv6FrameRouteList() []FrameRouteInfo {
if o == nil || IsNil(o.Ipv6FrameRouteList) {
var ret []FrameRouteInfo
return ret
}
return o.Ipv6FrameRouteList
}
// GetIpv6FrameRouteListOk returns a tuple with the Ipv6FrameRouteList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetIpv6FrameRouteListOk() ([]FrameRouteInfo, bool) {
if o == nil || IsNil(o.Ipv6FrameRouteList) {
return nil, false
}
return o.Ipv6FrameRouteList, true
}
// HasIpv6FrameRouteList returns a boolean if a field has been set.
func (o *DnnConfiguration) HasIpv6FrameRouteList() bool {
if o != nil && !IsNil(o.Ipv6FrameRouteList) {
return true
}
return false
}
// SetIpv6FrameRouteList gets a reference to the given []FrameRouteInfo and assigns it to the Ipv6FrameRouteList field.
func (o *DnnConfiguration) SetIpv6FrameRouteList(v []FrameRouteInfo) {
o.Ipv6FrameRouteList = v
}
// GetAtsssAllowed returns the AtsssAllowed field value if set, zero value otherwise.
func (o *DnnConfiguration) GetAtsssAllowed() bool {
if o == nil || IsNil(o.AtsssAllowed) {
var ret bool
return ret
}
return *o.AtsssAllowed
}
// GetAtsssAllowedOk returns a tuple with the AtsssAllowed field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetAtsssAllowedOk() (*bool, bool) {
if o == nil || IsNil(o.AtsssAllowed) {
return nil, false
}
return o.AtsssAllowed, true
}
// HasAtsssAllowed returns a boolean if a field has been set.
func (o *DnnConfiguration) HasAtsssAllowed() bool {
if o != nil && !IsNil(o.AtsssAllowed) {
return true
}
return false
}
// SetAtsssAllowed gets a reference to the given bool and assigns it to the AtsssAllowed field.
func (o *DnnConfiguration) SetAtsssAllowed(v bool) {
o.AtsssAllowed = &v
}
// GetSecondaryAuth returns the SecondaryAuth field value if set, zero value otherwise.
func (o *DnnConfiguration) GetSecondaryAuth() bool {
if o == nil || IsNil(o.SecondaryAuth) {
var ret bool
return ret
}
return *o.SecondaryAuth
}
// GetSecondaryAuthOk returns a tuple with the SecondaryAuth field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetSecondaryAuthOk() (*bool, bool) {
if o == nil || IsNil(o.SecondaryAuth) {
return nil, false
}
return o.SecondaryAuth, true
}
// HasSecondaryAuth returns a boolean if a field has been set.
func (o *DnnConfiguration) HasSecondaryAuth() bool {
if o != nil && !IsNil(o.SecondaryAuth) {
return true
}
return false
}
// SetSecondaryAuth gets a reference to the given bool and assigns it to the SecondaryAuth field.
func (o *DnnConfiguration) SetSecondaryAuth(v bool) {
o.SecondaryAuth = &v
}
// GetUavSecondaryAuth returns the UavSecondaryAuth field value if set, zero value otherwise.
func (o *DnnConfiguration) GetUavSecondaryAuth() bool {
if o == nil || IsNil(o.UavSecondaryAuth) {
var ret bool
return ret
}
return *o.UavSecondaryAuth
}
// GetUavSecondaryAuthOk returns a tuple with the UavSecondaryAuth field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetUavSecondaryAuthOk() (*bool, bool) {
if o == nil || IsNil(o.UavSecondaryAuth) {
return nil, false
}
return o.UavSecondaryAuth, true
}
// HasUavSecondaryAuth returns a boolean if a field has been set.
func (o *DnnConfiguration) HasUavSecondaryAuth() bool {
if o != nil && !IsNil(o.UavSecondaryAuth) {
return true
}
return false
}
// SetUavSecondaryAuth gets a reference to the given bool and assigns it to the UavSecondaryAuth field.
func (o *DnnConfiguration) SetUavSecondaryAuth(v bool) {
o.UavSecondaryAuth = &v
}
// GetDnAaaIpAddressAllocation returns the DnAaaIpAddressAllocation field value if set, zero value otherwise.
func (o *DnnConfiguration) GetDnAaaIpAddressAllocation() bool {
if o == nil || IsNil(o.DnAaaIpAddressAllocation) {
var ret bool
return ret
}
return *o.DnAaaIpAddressAllocation
}
// GetDnAaaIpAddressAllocationOk returns a tuple with the DnAaaIpAddressAllocation field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetDnAaaIpAddressAllocationOk() (*bool, bool) {
if o == nil || IsNil(o.DnAaaIpAddressAllocation) {
return nil, false
}
return o.DnAaaIpAddressAllocation, true
}
// HasDnAaaIpAddressAllocation returns a boolean if a field has been set.
func (o *DnnConfiguration) HasDnAaaIpAddressAllocation() bool {
if o != nil && !IsNil(o.DnAaaIpAddressAllocation) {
return true
}
return false
}
// SetDnAaaIpAddressAllocation gets a reference to the given bool and assigns it to the DnAaaIpAddressAllocation field.
func (o *DnnConfiguration) SetDnAaaIpAddressAllocation(v bool) {
o.DnAaaIpAddressAllocation = &v
}
// GetDnAaaAddress returns the DnAaaAddress field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *DnnConfiguration) GetDnAaaAddress() IpAddress {
if o == nil || IsNil(o.DnAaaAddress.Get()) {
var ret IpAddress
return ret
}
return *o.DnAaaAddress.Get()
}
// GetDnAaaAddressOk returns a tuple with the DnAaaAddress field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *DnnConfiguration) GetDnAaaAddressOk() (*IpAddress, bool) {
if o == nil {
return nil, false
}
return o.DnAaaAddress.Get(), o.DnAaaAddress.IsSet()
}
// HasDnAaaAddress returns a boolean if a field has been set.
func (o *DnnConfiguration) HasDnAaaAddress() bool {
if o != nil && o.DnAaaAddress.IsSet() {
return true
}
return false
}
// SetDnAaaAddress gets a reference to the given NullableIpAddress and assigns it to the DnAaaAddress field.
func (o *DnnConfiguration) SetDnAaaAddress(v IpAddress) {
o.DnAaaAddress.Set(&v)
}
// SetDnAaaAddressNil sets the value for DnAaaAddress to be an explicit nil
func (o *DnnConfiguration) SetDnAaaAddressNil() {
o.DnAaaAddress.Set(nil)
}
// UnsetDnAaaAddress ensures that no value is present for DnAaaAddress, not even an explicit nil
func (o *DnnConfiguration) UnsetDnAaaAddress() {
o.DnAaaAddress.Unset()
}
// GetAdditionalDnAaaAddresses returns the AdditionalDnAaaAddresses field value if set, zero value otherwise.
func (o *DnnConfiguration) GetAdditionalDnAaaAddresses() []IpAddress {
if o == nil || IsNil(o.AdditionalDnAaaAddresses) {
var ret []IpAddress
return ret
}
return o.AdditionalDnAaaAddresses
}
// GetAdditionalDnAaaAddressesOk returns a tuple with the AdditionalDnAaaAddresses field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetAdditionalDnAaaAddressesOk() ([]IpAddress, bool) {
if o == nil || IsNil(o.AdditionalDnAaaAddresses) {
return nil, false
}
return o.AdditionalDnAaaAddresses, true
}
// HasAdditionalDnAaaAddresses returns a boolean if a field has been set.
func (o *DnnConfiguration) HasAdditionalDnAaaAddresses() bool {
if o != nil && !IsNil(o.AdditionalDnAaaAddresses) {
return true
}
return false
}
// SetAdditionalDnAaaAddresses gets a reference to the given []IpAddress and assigns it to the AdditionalDnAaaAddresses field.
func (o *DnnConfiguration) SetAdditionalDnAaaAddresses(v []IpAddress) {
o.AdditionalDnAaaAddresses = v
}
// GetDnAaaFqdn returns the DnAaaFqdn field value if set, zero value otherwise.
func (o *DnnConfiguration) GetDnAaaFqdn() string {
if o == nil || IsNil(o.DnAaaFqdn) {
var ret string
return ret
}
return *o.DnAaaFqdn
}
// GetDnAaaFqdnOk returns a tuple with the DnAaaFqdn field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetDnAaaFqdnOk() (*string, bool) {
if o == nil || IsNil(o.DnAaaFqdn) {
return nil, false
}
return o.DnAaaFqdn, true
}
// HasDnAaaFqdn returns a boolean if a field has been set.
func (o *DnnConfiguration) HasDnAaaFqdn() bool {
if o != nil && !IsNil(o.DnAaaFqdn) {
return true
}
return false
}
// SetDnAaaFqdn gets a reference to the given string and assigns it to the DnAaaFqdn field.
func (o *DnnConfiguration) SetDnAaaFqdn(v string) {
o.DnAaaFqdn = &v
}
// GetIptvAccCtrlInfo returns the IptvAccCtrlInfo field value if set, zero value otherwise.
func (o *DnnConfiguration) GetIptvAccCtrlInfo() string {
if o == nil || IsNil(o.IptvAccCtrlInfo) {
var ret string
return ret
}
return *o.IptvAccCtrlInfo
}
// GetIptvAccCtrlInfoOk returns a tuple with the IptvAccCtrlInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetIptvAccCtrlInfoOk() (*string, bool) {
if o == nil || IsNil(o.IptvAccCtrlInfo) {
return nil, false
}
return o.IptvAccCtrlInfo, true
}
// HasIptvAccCtrlInfo returns a boolean if a field has been set.
func (o *DnnConfiguration) HasIptvAccCtrlInfo() bool {
if o != nil && !IsNil(o.IptvAccCtrlInfo) {
return true
}
return false
}
// SetIptvAccCtrlInfo gets a reference to the given string and assigns it to the IptvAccCtrlInfo field.
func (o *DnnConfiguration) SetIptvAccCtrlInfo(v string) {
o.IptvAccCtrlInfo = &v
}
// GetIpv4Index returns the Ipv4Index field value if set, zero value otherwise.
func (o *DnnConfiguration) GetIpv4Index() IpIndex {
if o == nil || IsNil(o.Ipv4Index) {
var ret IpIndex
return ret
}
return *o.Ipv4Index
}
// GetIpv4IndexOk returns a tuple with the Ipv4Index field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetIpv4IndexOk() (*IpIndex, bool) {
if o == nil || IsNil(o.Ipv4Index) {
return nil, false
}
return o.Ipv4Index, true
}
// HasIpv4Index returns a boolean if a field has been set.
func (o *DnnConfiguration) HasIpv4Index() bool {
if o != nil && !IsNil(o.Ipv4Index) {
return true
}
return false
}
// SetIpv4Index gets a reference to the given IpIndex and assigns it to the Ipv4Index field.
func (o *DnnConfiguration) SetIpv4Index(v IpIndex) {
o.Ipv4Index = &v
}
// GetIpv6Index returns the Ipv6Index field value if set, zero value otherwise.
func (o *DnnConfiguration) GetIpv6Index() IpIndex {
if o == nil || IsNil(o.Ipv6Index) {
var ret IpIndex
return ret
}
return *o.Ipv6Index
}
// GetIpv6IndexOk returns a tuple with the Ipv6Index field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetIpv6IndexOk() (*IpIndex, bool) {
if o == nil || IsNil(o.Ipv6Index) {
return nil, false
}
return o.Ipv6Index, true
}
// HasIpv6Index returns a boolean if a field has been set.
func (o *DnnConfiguration) HasIpv6Index() bool {
if o != nil && !IsNil(o.Ipv6Index) {
return true
}
return false
}
// SetIpv6Index gets a reference to the given IpIndex and assigns it to the Ipv6Index field.
func (o *DnnConfiguration) SetIpv6Index(v IpIndex) {
o.Ipv6Index = &v
}
// GetEcsAddrConfigInfo returns the EcsAddrConfigInfo field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *DnnConfiguration) GetEcsAddrConfigInfo() EcsAddrConfigInfo {
if o == nil || IsNil(o.EcsAddrConfigInfo.Get()) {
var ret EcsAddrConfigInfo
return ret
}
return *o.EcsAddrConfigInfo.Get()
}
// GetEcsAddrConfigInfoOk returns a tuple with the EcsAddrConfigInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *DnnConfiguration) GetEcsAddrConfigInfoOk() (*EcsAddrConfigInfo, bool) {
if o == nil {
return nil, false
}
return o.EcsAddrConfigInfo.Get(), o.EcsAddrConfigInfo.IsSet()
}
// HasEcsAddrConfigInfo returns a boolean if a field has been set.
func (o *DnnConfiguration) HasEcsAddrConfigInfo() bool {
if o != nil && o.EcsAddrConfigInfo.IsSet() {
return true
}
return false
}
// SetEcsAddrConfigInfo gets a reference to the given NullableEcsAddrConfigInfo and assigns it to the EcsAddrConfigInfo field.
func (o *DnnConfiguration) SetEcsAddrConfigInfo(v EcsAddrConfigInfo) {
o.EcsAddrConfigInfo.Set(&v)
}
// SetEcsAddrConfigInfoNil sets the value for EcsAddrConfigInfo to be an explicit nil
func (o *DnnConfiguration) SetEcsAddrConfigInfoNil() {
o.EcsAddrConfigInfo.Set(nil)
}
// UnsetEcsAddrConfigInfo ensures that no value is present for EcsAddrConfigInfo, not even an explicit nil
func (o *DnnConfiguration) UnsetEcsAddrConfigInfo() {
o.EcsAddrConfigInfo.Unset()
}
// GetAdditionalEcsAddrConfigInfos returns the AdditionalEcsAddrConfigInfos field value if set, zero value otherwise.
func (o *DnnConfiguration) GetAdditionalEcsAddrConfigInfos() []EcsAddrConfigInfo {
if o == nil || IsNil(o.AdditionalEcsAddrConfigInfos) {
var ret []EcsAddrConfigInfo
return ret
}
return o.AdditionalEcsAddrConfigInfos
}
// GetAdditionalEcsAddrConfigInfosOk returns a tuple with the AdditionalEcsAddrConfigInfos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetAdditionalEcsAddrConfigInfosOk() ([]EcsAddrConfigInfo, bool) {
if o == nil || IsNil(o.AdditionalEcsAddrConfigInfos) {
return nil, false
}
return o.AdditionalEcsAddrConfigInfos, true
}
// HasAdditionalEcsAddrConfigInfos returns a boolean if a field has been set.
func (o *DnnConfiguration) HasAdditionalEcsAddrConfigInfos() bool {
if o != nil && !IsNil(o.AdditionalEcsAddrConfigInfos) {
return true
}
return false
}
// SetAdditionalEcsAddrConfigInfos gets a reference to the given []EcsAddrConfigInfo and assigns it to the AdditionalEcsAddrConfigInfos field.
func (o *DnnConfiguration) SetAdditionalEcsAddrConfigInfos(v []EcsAddrConfigInfo) {
o.AdditionalEcsAddrConfigInfos = v
}
// GetSharedEcsAddrConfigInfo returns the SharedEcsAddrConfigInfo field value if set, zero value otherwise.
func (o *DnnConfiguration) GetSharedEcsAddrConfigInfo() string {
if o == nil || IsNil(o.SharedEcsAddrConfigInfo) {
var ret string
return ret
}
return *o.SharedEcsAddrConfigInfo
}
// GetSharedEcsAddrConfigInfoOk returns a tuple with the SharedEcsAddrConfigInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetSharedEcsAddrConfigInfoOk() (*string, bool) {
if o == nil || IsNil(o.SharedEcsAddrConfigInfo) {
return nil, false
}
return o.SharedEcsAddrConfigInfo, true
}
// HasSharedEcsAddrConfigInfo returns a boolean if a field has been set.
func (o *DnnConfiguration) HasSharedEcsAddrConfigInfo() bool {
if o != nil && !IsNil(o.SharedEcsAddrConfigInfo) {
return true
}
return false
}
// SetSharedEcsAddrConfigInfo gets a reference to the given string and assigns it to the SharedEcsAddrConfigInfo field.
func (o *DnnConfiguration) SetSharedEcsAddrConfigInfo(v string) {
o.SharedEcsAddrConfigInfo = &v
}
// GetAdditionalSharedEcsAddrConfigInfoIds returns the AdditionalSharedEcsAddrConfigInfoIds field value if set, zero value otherwise.
func (o *DnnConfiguration) GetAdditionalSharedEcsAddrConfigInfoIds() []string {
if o == nil || IsNil(o.AdditionalSharedEcsAddrConfigInfoIds) {
var ret []string
return ret
}
return o.AdditionalSharedEcsAddrConfigInfoIds
}
// GetAdditionalSharedEcsAddrConfigInfoIdsOk returns a tuple with the AdditionalSharedEcsAddrConfigInfoIds field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetAdditionalSharedEcsAddrConfigInfoIdsOk() ([]string, bool) {
if o == nil || IsNil(o.AdditionalSharedEcsAddrConfigInfoIds) {
return nil, false
}
return o.AdditionalSharedEcsAddrConfigInfoIds, true
}
// HasAdditionalSharedEcsAddrConfigInfoIds returns a boolean if a field has been set.
func (o *DnnConfiguration) HasAdditionalSharedEcsAddrConfigInfoIds() bool {
if o != nil && !IsNil(o.AdditionalSharedEcsAddrConfigInfoIds) {
return true
}
return false
}
// SetAdditionalSharedEcsAddrConfigInfoIds gets a reference to the given []string and assigns it to the AdditionalSharedEcsAddrConfigInfoIds field.
func (o *DnnConfiguration) SetAdditionalSharedEcsAddrConfigInfoIds(v []string) {
o.AdditionalSharedEcsAddrConfigInfoIds = v
}
// GetEasDiscoveryAuthorized returns the EasDiscoveryAuthorized field value if set, zero value otherwise.
func (o *DnnConfiguration) GetEasDiscoveryAuthorized() bool {
if o == nil || IsNil(o.EasDiscoveryAuthorized) {
var ret bool
return ret
}
return *o.EasDiscoveryAuthorized
}
// GetEasDiscoveryAuthorizedOk returns a tuple with the EasDiscoveryAuthorized field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetEasDiscoveryAuthorizedOk() (*bool, bool) {
if o == nil || IsNil(o.EasDiscoveryAuthorized) {
return nil, false
}
return o.EasDiscoveryAuthorized, true
}
// HasEasDiscoveryAuthorized returns a boolean if a field has been set.
func (o *DnnConfiguration) HasEasDiscoveryAuthorized() bool {
if o != nil && !IsNil(o.EasDiscoveryAuthorized) {
return true
}
return false
}
// SetEasDiscoveryAuthorized gets a reference to the given bool and assigns it to the EasDiscoveryAuthorized field.
func (o *DnnConfiguration) SetEasDiscoveryAuthorized(v bool) {
o.EasDiscoveryAuthorized = &v
}
// GetOnboardingInd returns the OnboardingInd field value if set, zero value otherwise.
func (o *DnnConfiguration) GetOnboardingInd() bool {
if o == nil || IsNil(o.OnboardingInd) {
var ret bool
return ret
}
return *o.OnboardingInd
}
// GetOnboardingIndOk returns a tuple with the OnboardingInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetOnboardingIndOk() (*bool, bool) {
if o == nil || IsNil(o.OnboardingInd) {
return nil, false
}
return o.OnboardingInd, true
}
// HasOnboardingInd returns a boolean if a field has been set.
func (o *DnnConfiguration) HasOnboardingInd() bool {
if o != nil && !IsNil(o.OnboardingInd) {
return true
}
return false
}
// SetOnboardingInd gets a reference to the given bool and assigns it to the OnboardingInd field.
func (o *DnnConfiguration) SetOnboardingInd(v bool) {
o.OnboardingInd = &v
}
// GetAerialUeInd returns the AerialUeInd field value if set, zero value otherwise.
func (o *DnnConfiguration) GetAerialUeInd() AerialUeIndication {
if o == nil || IsNil(o.AerialUeInd) {
var ret AerialUeIndication
return ret
}
return *o.AerialUeInd
}
// GetAerialUeIndOk returns a tuple with the AerialUeInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetAerialUeIndOk() (*AerialUeIndication, bool) {
if o == nil || IsNil(o.AerialUeInd) {
return nil, false
}
return o.AerialUeInd, true
}
// HasAerialUeInd returns a boolean if a field has been set.
func (o *DnnConfiguration) HasAerialUeInd() bool {
if o != nil && !IsNil(o.AerialUeInd) {
return true
}
return false
}
// SetAerialUeInd gets a reference to the given AerialUeIndication and assigns it to the AerialUeInd field.
func (o *DnnConfiguration) SetAerialUeInd(v AerialUeIndication) {
o.AerialUeInd = &v
}
// GetSubscribedMaxIpv6PrefixSize returns the SubscribedMaxIpv6PrefixSize field value if set, zero value otherwise.
func (o *DnnConfiguration) GetSubscribedMaxIpv6PrefixSize() int32 {
if o == nil || IsNil(o.SubscribedMaxIpv6PrefixSize) {
var ret int32
return ret
}
return *o.SubscribedMaxIpv6PrefixSize
}
// GetSubscribedMaxIpv6PrefixSizeOk returns a tuple with the SubscribedMaxIpv6PrefixSize field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DnnConfiguration) GetSubscribedMaxIpv6PrefixSizeOk() (*int32, bool) {
if o == nil || IsNil(o.SubscribedMaxIpv6PrefixSize) {
return nil, false
}
return o.SubscribedMaxIpv6PrefixSize, true
}
// HasSubscribedMaxIpv6PrefixSize returns a boolean if a field has been set.
func (o *DnnConfiguration) HasSubscribedMaxIpv6PrefixSize() bool {
if o != nil && !IsNil(o.SubscribedMaxIpv6PrefixSize) {
return true
}
return false
}
// SetSubscribedMaxIpv6PrefixSize gets a reference to the given int32 and assigns it to the SubscribedMaxIpv6PrefixSize field.
func (o *DnnConfiguration) SetSubscribedMaxIpv6PrefixSize(v int32) {
o.SubscribedMaxIpv6PrefixSize = &v
}
func (o DnnConfiguration) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o DnnConfiguration) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["pduSessionTypes"] = o.PduSessionTypes
toSerialize["sscModes"] = o.SscModes
if !IsNil(o.IwkEpsInd) {
toSerialize["iwkEpsInd"] = o.IwkEpsInd
}
if !IsNil(o.Var5gQosProfile) {
toSerialize["5gQosProfile"] = o.Var5gQosProfile
}
if !IsNil(o.SessionAmbr) {
toSerialize["sessionAmbr"] = o.SessionAmbr
}
if !IsNil(o.Var3gppChargingCharacteristics) {
toSerialize["3gppChargingCharacteristics"] = o.Var3gppChargingCharacteristics
}
if !IsNil(o.StaticIpAddress) {
toSerialize["staticIpAddress"] = o.StaticIpAddress
}
if !IsNil(o.UpSecurity) {
toSerialize["upSecurity"] = o.UpSecurity
}
if !IsNil(o.PduSessionContinuityInd) {
toSerialize["pduSessionContinuityInd"] = o.PduSessionContinuityInd
}
if !IsNil(o.NiddNefId) {
toSerialize["niddNefId"] = o.NiddNefId
}
if !IsNil(o.NiddInfo) {
toSerialize["niddInfo"] = o.NiddInfo
}
if !IsNil(o.RedundantSessionAllowed) {
toSerialize["redundantSessionAllowed"] = o.RedundantSessionAllowed
}
if !IsNil(o.AcsInfo) {
toSerialize["acsInfo"] = o.AcsInfo
}
if !IsNil(o.Ipv4FrameRouteList) {
toSerialize["ipv4FrameRouteList"] = o.Ipv4FrameRouteList
}
if !IsNil(o.Ipv6FrameRouteList) {
toSerialize["ipv6FrameRouteList"] = o.Ipv6FrameRouteList
}
if !IsNil(o.AtsssAllowed) {
toSerialize["atsssAllowed"] = o.AtsssAllowed
}
if !IsNil(o.SecondaryAuth) {
toSerialize["secondaryAuth"] = o.SecondaryAuth
}
if !IsNil(o.UavSecondaryAuth) {
toSerialize["uavSecondaryAuth"] = o.UavSecondaryAuth
}
if !IsNil(o.DnAaaIpAddressAllocation) {
toSerialize["dnAaaIpAddressAllocation"] = o.DnAaaIpAddressAllocation
}
if o.DnAaaAddress.IsSet() {
toSerialize["dnAaaAddress"] = o.DnAaaAddress.Get()
}
if !IsNil(o.AdditionalDnAaaAddresses) {
toSerialize["additionalDnAaaAddresses"] = o.AdditionalDnAaaAddresses
}
if !IsNil(o.DnAaaFqdn) {
toSerialize["dnAaaFqdn"] = o.DnAaaFqdn
}
if !IsNil(o.IptvAccCtrlInfo) {
toSerialize["iptvAccCtrlInfo"] = o.IptvAccCtrlInfo
}
if !IsNil(o.Ipv4Index) {
toSerialize["ipv4Index"] = o.Ipv4Index
}
if !IsNil(o.Ipv6Index) {
toSerialize["ipv6Index"] = o.Ipv6Index
}
if o.EcsAddrConfigInfo.IsSet() {
toSerialize["ecsAddrConfigInfo"] = o.EcsAddrConfigInfo.Get()
}
if !IsNil(o.AdditionalEcsAddrConfigInfos) {
toSerialize["additionalEcsAddrConfigInfos"] = o.AdditionalEcsAddrConfigInfos
}
if !IsNil(o.SharedEcsAddrConfigInfo) {
toSerialize["sharedEcsAddrConfigInfo"] = o.SharedEcsAddrConfigInfo
}
if !IsNil(o.AdditionalSharedEcsAddrConfigInfoIds) {
toSerialize["additionalSharedEcsAddrConfigInfoIds"] = o.AdditionalSharedEcsAddrConfigInfoIds
}
if !IsNil(o.EasDiscoveryAuthorized) {
toSerialize["easDiscoveryAuthorized"] = o.EasDiscoveryAuthorized
}
if !IsNil(o.OnboardingInd) {
toSerialize["onboardingInd"] = o.OnboardingInd
}
if !IsNil(o.AerialUeInd) {
toSerialize["aerialUeInd"] = o.AerialUeInd
}
if !IsNil(o.SubscribedMaxIpv6PrefixSize) {
toSerialize["subscribedMaxIpv6PrefixSize"] = o.SubscribedMaxIpv6PrefixSize
}
return toSerialize, nil
}
func (o *DnnConfiguration) UnmarshalJSON(bytes []byte) (err error) {
// This validates that all required properties are included in the JSON object
// by unmarshalling the object into a generic map with string keys and checking
// that every required field exists as a key in the generic map.
requiredProperties := []string{
"pduSessionTypes",
"sscModes",
}
allProperties := make(map[string]interface{})
err = json.Unmarshal(bytes, &allProperties)
if err != nil {
return err
}
for _, requiredProperty := range requiredProperties {
if _, exists := allProperties[requiredProperty]; !exists {
return fmt.Errorf("no value given for required property %v", requiredProperty)
}
}
varDnnConfiguration := _DnnConfiguration{}
err = json.Unmarshal(bytes, &varDnnConfiguration)
if err != nil {
return err
}
*o = DnnConfiguration(varDnnConfiguration)
return err
}
type NullableDnnConfiguration struct {
value *DnnConfiguration
isSet bool
}
func (v NullableDnnConfiguration) Get() *DnnConfiguration {
return v.value
}
func (v *NullableDnnConfiguration) Set(val *DnnConfiguration) {
v.value = val
v.isSet = true
}
func (v NullableDnnConfiguration) IsSet() bool {
return v.isSet
}
func (v *NullableDnnConfiguration) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableDnnConfiguration(val *DnnConfiguration) *NullableDnnConfiguration {
return &NullableDnnConfiguration{value: val, isSet: true}
}
func (v NullableDnnConfiguration) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableDnnConfiguration) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/konglinglong/openapi.git
git@gitee.com:konglinglong/openapi.git
konglinglong
openapi
openapi
e403a3c726a4

Search