Fetch the repository succeeded.
/*
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)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。