代码拉取完成,页面将自动刷新
/*
Nsmf_PDUSession
SMF PDU Session Service. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
API version: 1.2.4
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package OpenAPI_Nsmf_PDUSession
import (
"encoding/json"
"fmt"
"time"
)
// checks if the PduSessionCreatedData type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &PduSessionCreatedData{}
// PduSessionCreatedData Data within Create Response
type PduSessionCreatedData struct {
PduSessionType PduSessionType `json:"pduSessionType"`
SscMode string `json:"sscMode"`
HcnTunnelInfo *TunnelInfo `json:"hcnTunnelInfo,omitempty"`
CnTunnelInfo *TunnelInfo `json:"cnTunnelInfo,omitempty"`
AdditionalCnTunnelInfo *TunnelInfo `json:"additionalCnTunnelInfo,omitempty"`
SessionAmbr *Ambr `json:"sessionAmbr,omitempty"`
QosFlowsSetupList []QosFlowSetupItem `json:"qosFlowsSetupList,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.
HSmfInstanceId *string `json:"hSmfInstanceId,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.
SmfInstanceId *string `json:"smfInstanceId,omitempty"`
// Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network.
PduSessionId *int32 `json:"pduSessionId,omitempty"`
SNssai *Snssai `json:"sNssai,omitempty"`
AdditionalSnssai *Snssai `json:"additionalSnssai,omitempty"`
EnablePauseCharging *bool `json:"enablePauseCharging,omitempty"`
// String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166.
UeIpv4Address *string `json:"ueIpv4Address,omitempty"`
UeIpv6Prefix *Ipv6Prefix `json:"ueIpv6Prefix,omitempty"`
N1SmInfoToUe *RefToBinaryData `json:"n1SmInfoToUe,omitempty"`
EpsPdnCnxInfo *EpsPdnCnxInfo `json:"epsPdnCnxInfo,omitempty"`
EpsBearerInfo []EpsBearerInfo `json:"epsBearerInfo,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"`
MaxIntegrityProtectedDataRate *MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRate,omitempty"`
MaxIntegrityProtectedDataRateDl *MaxIntegrityProtectedDataRate `json:"maxIntegrityProtectedDataRateDl,omitempty"`
AlwaysOnGranted *bool `json:"alwaysOnGranted,omitempty"`
// String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be formatted as follows -External Identifier= \"extid-'extid', where 'extid' shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier.
Gpsi *string `json:"gpsi,omitempty"`
UpSecurity *UpSecurity `json:"upSecurity,omitempty"`
RoamingChargingProfile *RoamingChargingProfile `json:"roamingChargingProfile,omitempty"`
HSmfServiceInstanceId *string `json:"hSmfServiceInstanceId,omitempty"`
SmfServiceInstanceId *string `json:"smfServiceInstanceId,omitempty"`
// string with format 'date-time' as defined in OpenAPI.
RecoveryTime *time.Time `json:"recoveryTime,omitempty"`
DnaiList []string `json:"dnaiList,omitempty"`
Ipv6MultiHomingInd *bool `json:"ipv6MultiHomingInd,omitempty"`
MaAcceptedInd *bool `json:"maAcceptedInd,omitempty"`
HomeProvidedChargingId *string `json:"homeProvidedChargingId,omitempty"`
NefExtBufSupportInd *bool `json:"nefExtBufSupportInd,omitempty"`
SmallDataRateControlEnabled *bool `json:"smallDataRateControlEnabled,omitempty"`
UeIpv6InterfaceId *string `json:"ueIpv6InterfaceId,omitempty"`
// Represents information that identifies which IP pool or external server is used to allocate the IP address.
Ipv6Index *int32 `json:"ipv6Index,omitempty"`
DnAaaAddress NullableIpAddress `json:"dnAaaAddress,omitempty"`
RedundantPduSessionInfo *RedundantPduSessionInformation `json:"redundantPduSessionInfo,omitempty"`
NspuSupportInd *bool `json:"nspuSupportInd,omitempty"`
// String providing an URI formatted according to RFC 3986.
InterPlmnApiRoot *string `json:"interPlmnApiRoot,omitempty"`
// String providing an URI formatted according to RFC 3986.
IntraPlmnApiRoot *string `json:"intraPlmnApiRoot,omitempty"`
}
type _PduSessionCreatedData PduSessionCreatedData
// NewPduSessionCreatedData instantiates a new PduSessionCreatedData 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 NewPduSessionCreatedData(pduSessionType PduSessionType, sscMode string) *PduSessionCreatedData {
this := PduSessionCreatedData{}
return &this
}
// NewPduSessionCreatedDataWithDefaults instantiates a new PduSessionCreatedData 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 NewPduSessionCreatedDataWithDefaults() *PduSessionCreatedData {
this := PduSessionCreatedData{}
var enablePauseCharging bool = false
this.EnablePauseCharging = &enablePauseCharging
var alwaysOnGranted bool = false
this.AlwaysOnGranted = &alwaysOnGranted
var ipv6MultiHomingInd bool = false
this.Ipv6MultiHomingInd = &ipv6MultiHomingInd
var maAcceptedInd bool = false
this.MaAcceptedInd = &maAcceptedInd
var nefExtBufSupportInd bool = false
this.NefExtBufSupportInd = &nefExtBufSupportInd
var smallDataRateControlEnabled bool = false
this.SmallDataRateControlEnabled = &smallDataRateControlEnabled
return &this
}
// GetPduSessionType returns the PduSessionType field value
func (o *PduSessionCreatedData) GetPduSessionType() PduSessionType {
if o == nil {
var ret PduSessionType
return ret
}
return o.PduSessionType
}
// GetPduSessionTypeOk returns a tuple with the PduSessionType field value
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetPduSessionTypeOk() (*PduSessionType, bool) {
if o == nil {
return nil, false
}
return &o.PduSessionType, true
}
// SetPduSessionType sets field value
func (o *PduSessionCreatedData) SetPduSessionType(v PduSessionType) {
o.PduSessionType = v
}
// GetSscMode returns the SscMode field value
func (o *PduSessionCreatedData) GetSscMode() string {
if o == nil {
var ret string
return ret
}
return o.SscMode
}
// GetSscModeOk returns a tuple with the SscMode field value
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetSscModeOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.SscMode, true
}
// SetSscMode sets field value
func (o *PduSessionCreatedData) SetSscMode(v string) {
o.SscMode = v
}
// GetHcnTunnelInfo returns the HcnTunnelInfo field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetHcnTunnelInfo() TunnelInfo {
if o == nil || IsNil(o.HcnTunnelInfo) {
var ret TunnelInfo
return ret
}
return *o.HcnTunnelInfo
}
// GetHcnTunnelInfoOk returns a tuple with the HcnTunnelInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetHcnTunnelInfoOk() (*TunnelInfo, bool) {
if o == nil || IsNil(o.HcnTunnelInfo) {
return nil, false
}
return o.HcnTunnelInfo, true
}
// HasHcnTunnelInfo returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasHcnTunnelInfo() bool {
if o != nil && !IsNil(o.HcnTunnelInfo) {
return true
}
return false
}
// SetHcnTunnelInfo gets a reference to the given TunnelInfo and assigns it to the HcnTunnelInfo field.
func (o *PduSessionCreatedData) SetHcnTunnelInfo(v TunnelInfo) {
o.HcnTunnelInfo = &v
}
// GetCnTunnelInfo returns the CnTunnelInfo field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetCnTunnelInfo() TunnelInfo {
if o == nil || IsNil(o.CnTunnelInfo) {
var ret TunnelInfo
return ret
}
return *o.CnTunnelInfo
}
// GetCnTunnelInfoOk returns a tuple with the CnTunnelInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetCnTunnelInfoOk() (*TunnelInfo, bool) {
if o == nil || IsNil(o.CnTunnelInfo) {
return nil, false
}
return o.CnTunnelInfo, true
}
// HasCnTunnelInfo returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasCnTunnelInfo() bool {
if o != nil && !IsNil(o.CnTunnelInfo) {
return true
}
return false
}
// SetCnTunnelInfo gets a reference to the given TunnelInfo and assigns it to the CnTunnelInfo field.
func (o *PduSessionCreatedData) SetCnTunnelInfo(v TunnelInfo) {
o.CnTunnelInfo = &v
}
// GetAdditionalCnTunnelInfo returns the AdditionalCnTunnelInfo field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetAdditionalCnTunnelInfo() TunnelInfo {
if o == nil || IsNil(o.AdditionalCnTunnelInfo) {
var ret TunnelInfo
return ret
}
return *o.AdditionalCnTunnelInfo
}
// GetAdditionalCnTunnelInfoOk returns a tuple with the AdditionalCnTunnelInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetAdditionalCnTunnelInfoOk() (*TunnelInfo, bool) {
if o == nil || IsNil(o.AdditionalCnTunnelInfo) {
return nil, false
}
return o.AdditionalCnTunnelInfo, true
}
// HasAdditionalCnTunnelInfo returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasAdditionalCnTunnelInfo() bool {
if o != nil && !IsNil(o.AdditionalCnTunnelInfo) {
return true
}
return false
}
// SetAdditionalCnTunnelInfo gets a reference to the given TunnelInfo and assigns it to the AdditionalCnTunnelInfo field.
func (o *PduSessionCreatedData) SetAdditionalCnTunnelInfo(v TunnelInfo) {
o.AdditionalCnTunnelInfo = &v
}
// GetSessionAmbr returns the SessionAmbr field value if set, zero value otherwise.
func (o *PduSessionCreatedData) 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 *PduSessionCreatedData) 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 *PduSessionCreatedData) 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 *PduSessionCreatedData) SetSessionAmbr(v Ambr) {
o.SessionAmbr = &v
}
// GetQosFlowsSetupList returns the QosFlowsSetupList field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetQosFlowsSetupList() []QosFlowSetupItem {
if o == nil || IsNil(o.QosFlowsSetupList) {
var ret []QosFlowSetupItem
return ret
}
return o.QosFlowsSetupList
}
// GetQosFlowsSetupListOk returns a tuple with the QosFlowsSetupList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetQosFlowsSetupListOk() ([]QosFlowSetupItem, bool) {
if o == nil || IsNil(o.QosFlowsSetupList) {
return nil, false
}
return o.QosFlowsSetupList, true
}
// HasQosFlowsSetupList returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasQosFlowsSetupList() bool {
if o != nil && !IsNil(o.QosFlowsSetupList) {
return true
}
return false
}
// SetQosFlowsSetupList gets a reference to the given []QosFlowSetupItem and assigns it to the QosFlowsSetupList field.
func (o *PduSessionCreatedData) SetQosFlowsSetupList(v []QosFlowSetupItem) {
o.QosFlowsSetupList = v
}
// GetHSmfInstanceId returns the HSmfInstanceId field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetHSmfInstanceId() string {
if o == nil || IsNil(o.HSmfInstanceId) {
var ret string
return ret
}
return *o.HSmfInstanceId
}
// GetHSmfInstanceIdOk returns a tuple with the HSmfInstanceId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetHSmfInstanceIdOk() (*string, bool) {
if o == nil || IsNil(o.HSmfInstanceId) {
return nil, false
}
return o.HSmfInstanceId, true
}
// HasHSmfInstanceId returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasHSmfInstanceId() bool {
if o != nil && !IsNil(o.HSmfInstanceId) {
return true
}
return false
}
// SetHSmfInstanceId gets a reference to the given string and assigns it to the HSmfInstanceId field.
func (o *PduSessionCreatedData) SetHSmfInstanceId(v string) {
o.HSmfInstanceId = &v
}
// GetSmfInstanceId returns the SmfInstanceId field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetSmfInstanceId() string {
if o == nil || IsNil(o.SmfInstanceId) {
var ret string
return ret
}
return *o.SmfInstanceId
}
// GetSmfInstanceIdOk returns a tuple with the SmfInstanceId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetSmfInstanceIdOk() (*string, bool) {
if o == nil || IsNil(o.SmfInstanceId) {
return nil, false
}
return o.SmfInstanceId, true
}
// HasSmfInstanceId returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasSmfInstanceId() bool {
if o != nil && !IsNil(o.SmfInstanceId) {
return true
}
return false
}
// SetSmfInstanceId gets a reference to the given string and assigns it to the SmfInstanceId field.
func (o *PduSessionCreatedData) SetSmfInstanceId(v string) {
o.SmfInstanceId = &v
}
// GetPduSessionId returns the PduSessionId field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetPduSessionId() int32 {
if o == nil || IsNil(o.PduSessionId) {
var ret int32
return ret
}
return *o.PduSessionId
}
// GetPduSessionIdOk returns a tuple with the PduSessionId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetPduSessionIdOk() (*int32, bool) {
if o == nil || IsNil(o.PduSessionId) {
return nil, false
}
return o.PduSessionId, true
}
// HasPduSessionId returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasPduSessionId() bool {
if o != nil && !IsNil(o.PduSessionId) {
return true
}
return false
}
// SetPduSessionId gets a reference to the given int32 and assigns it to the PduSessionId field.
func (o *PduSessionCreatedData) SetPduSessionId(v int32) {
o.PduSessionId = &v
}
// GetSNssai returns the SNssai field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetSNssai() Snssai {
if o == nil || IsNil(o.SNssai) {
var ret Snssai
return ret
}
return *o.SNssai
}
// GetSNssaiOk returns a tuple with the SNssai field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetSNssaiOk() (*Snssai, bool) {
if o == nil || IsNil(o.SNssai) {
return nil, false
}
return o.SNssai, true
}
// HasSNssai returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasSNssai() bool {
if o != nil && !IsNil(o.SNssai) {
return true
}
return false
}
// SetSNssai gets a reference to the given Snssai and assigns it to the SNssai field.
func (o *PduSessionCreatedData) SetSNssai(v Snssai) {
o.SNssai = &v
}
// GetAdditionalSnssai returns the AdditionalSnssai field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetAdditionalSnssai() Snssai {
if o == nil || IsNil(o.AdditionalSnssai) {
var ret Snssai
return ret
}
return *o.AdditionalSnssai
}
// GetAdditionalSnssaiOk returns a tuple with the AdditionalSnssai field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetAdditionalSnssaiOk() (*Snssai, bool) {
if o == nil || IsNil(o.AdditionalSnssai) {
return nil, false
}
return o.AdditionalSnssai, true
}
// HasAdditionalSnssai returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasAdditionalSnssai() bool {
if o != nil && !IsNil(o.AdditionalSnssai) {
return true
}
return false
}
// SetAdditionalSnssai gets a reference to the given Snssai and assigns it to the AdditionalSnssai field.
func (o *PduSessionCreatedData) SetAdditionalSnssai(v Snssai) {
o.AdditionalSnssai = &v
}
// GetEnablePauseCharging returns the EnablePauseCharging field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetEnablePauseCharging() bool {
if o == nil || IsNil(o.EnablePauseCharging) {
var ret bool
return ret
}
return *o.EnablePauseCharging
}
// GetEnablePauseChargingOk returns a tuple with the EnablePauseCharging field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetEnablePauseChargingOk() (*bool, bool) {
if o == nil || IsNil(o.EnablePauseCharging) {
return nil, false
}
return o.EnablePauseCharging, true
}
// HasEnablePauseCharging returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasEnablePauseCharging() bool {
if o != nil && !IsNil(o.EnablePauseCharging) {
return true
}
return false
}
// SetEnablePauseCharging gets a reference to the given bool and assigns it to the EnablePauseCharging field.
func (o *PduSessionCreatedData) SetEnablePauseCharging(v bool) {
o.EnablePauseCharging = &v
}
// GetUeIpv4Address returns the UeIpv4Address field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetUeIpv4Address() string {
if o == nil || IsNil(o.UeIpv4Address) {
var ret string
return ret
}
return *o.UeIpv4Address
}
// GetUeIpv4AddressOk returns a tuple with the UeIpv4Address field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetUeIpv4AddressOk() (*string, bool) {
if o == nil || IsNil(o.UeIpv4Address) {
return nil, false
}
return o.UeIpv4Address, true
}
// HasUeIpv4Address returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasUeIpv4Address() bool {
if o != nil && !IsNil(o.UeIpv4Address) {
return true
}
return false
}
// SetUeIpv4Address gets a reference to the given string and assigns it to the UeIpv4Address field.
func (o *PduSessionCreatedData) SetUeIpv4Address(v string) {
o.UeIpv4Address = &v
}
// GetUeIpv6Prefix returns the UeIpv6Prefix field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetUeIpv6Prefix() Ipv6Prefix {
if o == nil || IsNil(o.UeIpv6Prefix) {
var ret Ipv6Prefix
return ret
}
return *o.UeIpv6Prefix
}
// GetUeIpv6PrefixOk returns a tuple with the UeIpv6Prefix field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetUeIpv6PrefixOk() (*Ipv6Prefix, bool) {
if o == nil || IsNil(o.UeIpv6Prefix) {
return nil, false
}
return o.UeIpv6Prefix, true
}
// HasUeIpv6Prefix returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasUeIpv6Prefix() bool {
if o != nil && !IsNil(o.UeIpv6Prefix) {
return true
}
return false
}
// SetUeIpv6Prefix gets a reference to the given Ipv6Prefix and assigns it to the UeIpv6Prefix field.
func (o *PduSessionCreatedData) SetUeIpv6Prefix(v Ipv6Prefix) {
o.UeIpv6Prefix = &v
}
// GetN1SmInfoToUe returns the N1SmInfoToUe field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetN1SmInfoToUe() RefToBinaryData {
if o == nil || IsNil(o.N1SmInfoToUe) {
var ret RefToBinaryData
return ret
}
return *o.N1SmInfoToUe
}
// GetN1SmInfoToUeOk returns a tuple with the N1SmInfoToUe field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetN1SmInfoToUeOk() (*RefToBinaryData, bool) {
if o == nil || IsNil(o.N1SmInfoToUe) {
return nil, false
}
return o.N1SmInfoToUe, true
}
// HasN1SmInfoToUe returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasN1SmInfoToUe() bool {
if o != nil && !IsNil(o.N1SmInfoToUe) {
return true
}
return false
}
// SetN1SmInfoToUe gets a reference to the given RefToBinaryData and assigns it to the N1SmInfoToUe field.
func (o *PduSessionCreatedData) SetN1SmInfoToUe(v RefToBinaryData) {
o.N1SmInfoToUe = &v
}
// GetEpsPdnCnxInfo returns the EpsPdnCnxInfo field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetEpsPdnCnxInfo() EpsPdnCnxInfo {
if o == nil || IsNil(o.EpsPdnCnxInfo) {
var ret EpsPdnCnxInfo
return ret
}
return *o.EpsPdnCnxInfo
}
// GetEpsPdnCnxInfoOk returns a tuple with the EpsPdnCnxInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetEpsPdnCnxInfoOk() (*EpsPdnCnxInfo, bool) {
if o == nil || IsNil(o.EpsPdnCnxInfo) {
return nil, false
}
return o.EpsPdnCnxInfo, true
}
// HasEpsPdnCnxInfo returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasEpsPdnCnxInfo() bool {
if o != nil && !IsNil(o.EpsPdnCnxInfo) {
return true
}
return false
}
// SetEpsPdnCnxInfo gets a reference to the given EpsPdnCnxInfo and assigns it to the EpsPdnCnxInfo field.
func (o *PduSessionCreatedData) SetEpsPdnCnxInfo(v EpsPdnCnxInfo) {
o.EpsPdnCnxInfo = &v
}
// GetEpsBearerInfo returns the EpsBearerInfo field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetEpsBearerInfo() []EpsBearerInfo {
if o == nil || IsNil(o.EpsBearerInfo) {
var ret []EpsBearerInfo
return ret
}
return o.EpsBearerInfo
}
// GetEpsBearerInfoOk returns a tuple with the EpsBearerInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetEpsBearerInfoOk() ([]EpsBearerInfo, bool) {
if o == nil || IsNil(o.EpsBearerInfo) {
return nil, false
}
return o.EpsBearerInfo, true
}
// HasEpsBearerInfo returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasEpsBearerInfo() bool {
if o != nil && !IsNil(o.EpsBearerInfo) {
return true
}
return false
}
// SetEpsBearerInfo gets a reference to the given []EpsBearerInfo and assigns it to the EpsBearerInfo field.
func (o *PduSessionCreatedData) SetEpsBearerInfo(v []EpsBearerInfo) {
o.EpsBearerInfo = v
}
// GetSupportedFeatures returns the SupportedFeatures field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetSupportedFeatures() string {
if o == nil || IsNil(o.SupportedFeatures) {
var ret string
return ret
}
return *o.SupportedFeatures
}
// 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 (o *PduSessionCreatedData) GetSupportedFeaturesOk() (*string, bool) {
if o == nil || IsNil(o.SupportedFeatures) {
return nil, false
}
return o.SupportedFeatures, true
}
// HasSupportedFeatures returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasSupportedFeatures() bool {
if o != nil && !IsNil(o.SupportedFeatures) {
return true
}
return false
}
// SetSupportedFeatures gets a reference to the given string and assigns it to the SupportedFeatures field.
func (o *PduSessionCreatedData) SetSupportedFeatures(v string) {
o.SupportedFeatures = &v
}
// GetMaxIntegrityProtectedDataRate returns the MaxIntegrityProtectedDataRate field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetMaxIntegrityProtectedDataRate() MaxIntegrityProtectedDataRate {
if o == nil || IsNil(o.MaxIntegrityProtectedDataRate) {
var ret MaxIntegrityProtectedDataRate
return ret
}
return *o.MaxIntegrityProtectedDataRate
}
// GetMaxIntegrityProtectedDataRateOk returns a tuple with the MaxIntegrityProtectedDataRate field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetMaxIntegrityProtectedDataRateOk() (*MaxIntegrityProtectedDataRate, bool) {
if o == nil || IsNil(o.MaxIntegrityProtectedDataRate) {
return nil, false
}
return o.MaxIntegrityProtectedDataRate, true
}
// HasMaxIntegrityProtectedDataRate returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasMaxIntegrityProtectedDataRate() bool {
if o != nil && !IsNil(o.MaxIntegrityProtectedDataRate) {
return true
}
return false
}
// SetMaxIntegrityProtectedDataRate gets a reference to the given MaxIntegrityProtectedDataRate and assigns it to the MaxIntegrityProtectedDataRate field.
func (o *PduSessionCreatedData) SetMaxIntegrityProtectedDataRate(v MaxIntegrityProtectedDataRate) {
o.MaxIntegrityProtectedDataRate = &v
}
// GetMaxIntegrityProtectedDataRateDl returns the MaxIntegrityProtectedDataRateDl field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetMaxIntegrityProtectedDataRateDl() MaxIntegrityProtectedDataRate {
if o == nil || IsNil(o.MaxIntegrityProtectedDataRateDl) {
var ret MaxIntegrityProtectedDataRate
return ret
}
return *o.MaxIntegrityProtectedDataRateDl
}
// GetMaxIntegrityProtectedDataRateDlOk returns a tuple with the MaxIntegrityProtectedDataRateDl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetMaxIntegrityProtectedDataRateDlOk() (*MaxIntegrityProtectedDataRate, bool) {
if o == nil || IsNil(o.MaxIntegrityProtectedDataRateDl) {
return nil, false
}
return o.MaxIntegrityProtectedDataRateDl, true
}
// HasMaxIntegrityProtectedDataRateDl returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasMaxIntegrityProtectedDataRateDl() bool {
if o != nil && !IsNil(o.MaxIntegrityProtectedDataRateDl) {
return true
}
return false
}
// SetMaxIntegrityProtectedDataRateDl gets a reference to the given MaxIntegrityProtectedDataRate and assigns it to the MaxIntegrityProtectedDataRateDl field.
func (o *PduSessionCreatedData) SetMaxIntegrityProtectedDataRateDl(v MaxIntegrityProtectedDataRate) {
o.MaxIntegrityProtectedDataRateDl = &v
}
// GetAlwaysOnGranted returns the AlwaysOnGranted field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetAlwaysOnGranted() bool {
if o == nil || IsNil(o.AlwaysOnGranted) {
var ret bool
return ret
}
return *o.AlwaysOnGranted
}
// GetAlwaysOnGrantedOk returns a tuple with the AlwaysOnGranted field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetAlwaysOnGrantedOk() (*bool, bool) {
if o == nil || IsNil(o.AlwaysOnGranted) {
return nil, false
}
return o.AlwaysOnGranted, true
}
// HasAlwaysOnGranted returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasAlwaysOnGranted() bool {
if o != nil && !IsNil(o.AlwaysOnGranted) {
return true
}
return false
}
// SetAlwaysOnGranted gets a reference to the given bool and assigns it to the AlwaysOnGranted field.
func (o *PduSessionCreatedData) SetAlwaysOnGranted(v bool) {
o.AlwaysOnGranted = &v
}
// GetGpsi returns the Gpsi field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetGpsi() string {
if o == nil || IsNil(o.Gpsi) {
var ret string
return ret
}
return *o.Gpsi
}
// GetGpsiOk returns a tuple with the Gpsi field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetGpsiOk() (*string, bool) {
if o == nil || IsNil(o.Gpsi) {
return nil, false
}
return o.Gpsi, true
}
// HasGpsi returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasGpsi() bool {
if o != nil && !IsNil(o.Gpsi) {
return true
}
return false
}
// SetGpsi gets a reference to the given string and assigns it to the Gpsi field.
func (o *PduSessionCreatedData) SetGpsi(v string) {
o.Gpsi = &v
}
// GetUpSecurity returns the UpSecurity field value if set, zero value otherwise.
func (o *PduSessionCreatedData) 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 *PduSessionCreatedData) 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 *PduSessionCreatedData) 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 *PduSessionCreatedData) SetUpSecurity(v UpSecurity) {
o.UpSecurity = &v
}
// GetRoamingChargingProfile returns the RoamingChargingProfile field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetRoamingChargingProfile() RoamingChargingProfile {
if o == nil || IsNil(o.RoamingChargingProfile) {
var ret RoamingChargingProfile
return ret
}
return *o.RoamingChargingProfile
}
// GetRoamingChargingProfileOk returns a tuple with the RoamingChargingProfile field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetRoamingChargingProfileOk() (*RoamingChargingProfile, bool) {
if o == nil || IsNil(o.RoamingChargingProfile) {
return nil, false
}
return o.RoamingChargingProfile, true
}
// HasRoamingChargingProfile returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasRoamingChargingProfile() bool {
if o != nil && !IsNil(o.RoamingChargingProfile) {
return true
}
return false
}
// SetRoamingChargingProfile gets a reference to the given RoamingChargingProfile and assigns it to the RoamingChargingProfile field.
func (o *PduSessionCreatedData) SetRoamingChargingProfile(v RoamingChargingProfile) {
o.RoamingChargingProfile = &v
}
// GetHSmfServiceInstanceId returns the HSmfServiceInstanceId field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetHSmfServiceInstanceId() string {
if o == nil || IsNil(o.HSmfServiceInstanceId) {
var ret string
return ret
}
return *o.HSmfServiceInstanceId
}
// GetHSmfServiceInstanceIdOk returns a tuple with the HSmfServiceInstanceId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetHSmfServiceInstanceIdOk() (*string, bool) {
if o == nil || IsNil(o.HSmfServiceInstanceId) {
return nil, false
}
return o.HSmfServiceInstanceId, true
}
// HasHSmfServiceInstanceId returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasHSmfServiceInstanceId() bool {
if o != nil && !IsNil(o.HSmfServiceInstanceId) {
return true
}
return false
}
// SetHSmfServiceInstanceId gets a reference to the given string and assigns it to the HSmfServiceInstanceId field.
func (o *PduSessionCreatedData) SetHSmfServiceInstanceId(v string) {
o.HSmfServiceInstanceId = &v
}
// GetSmfServiceInstanceId returns the SmfServiceInstanceId field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetSmfServiceInstanceId() string {
if o == nil || IsNil(o.SmfServiceInstanceId) {
var ret string
return ret
}
return *o.SmfServiceInstanceId
}
// GetSmfServiceInstanceIdOk returns a tuple with the SmfServiceInstanceId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetSmfServiceInstanceIdOk() (*string, bool) {
if o == nil || IsNil(o.SmfServiceInstanceId) {
return nil, false
}
return o.SmfServiceInstanceId, true
}
// HasSmfServiceInstanceId returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasSmfServiceInstanceId() bool {
if o != nil && !IsNil(o.SmfServiceInstanceId) {
return true
}
return false
}
// SetSmfServiceInstanceId gets a reference to the given string and assigns it to the SmfServiceInstanceId field.
func (o *PduSessionCreatedData) SetSmfServiceInstanceId(v string) {
o.SmfServiceInstanceId = &v
}
// GetRecoveryTime returns the RecoveryTime field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetRecoveryTime() time.Time {
if o == nil || IsNil(o.RecoveryTime) {
var ret time.Time
return ret
}
return *o.RecoveryTime
}
// GetRecoveryTimeOk returns a tuple with the RecoveryTime field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetRecoveryTimeOk() (*time.Time, bool) {
if o == nil || IsNil(o.RecoveryTime) {
return nil, false
}
return o.RecoveryTime, true
}
// HasRecoveryTime returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasRecoveryTime() bool {
if o != nil && !IsNil(o.RecoveryTime) {
return true
}
return false
}
// SetRecoveryTime gets a reference to the given time.Time and assigns it to the RecoveryTime field.
func (o *PduSessionCreatedData) SetRecoveryTime(v time.Time) {
o.RecoveryTime = &v
}
// GetDnaiList returns the DnaiList field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetDnaiList() []string {
if o == nil || IsNil(o.DnaiList) {
var ret []string
return ret
}
return o.DnaiList
}
// GetDnaiListOk returns a tuple with the DnaiList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetDnaiListOk() ([]string, bool) {
if o == nil || IsNil(o.DnaiList) {
return nil, false
}
return o.DnaiList, true
}
// HasDnaiList returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasDnaiList() bool {
if o != nil && !IsNil(o.DnaiList) {
return true
}
return false
}
// SetDnaiList gets a reference to the given []string and assigns it to the DnaiList field.
func (o *PduSessionCreatedData) SetDnaiList(v []string) {
o.DnaiList = v
}
// GetIpv6MultiHomingInd returns the Ipv6MultiHomingInd field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetIpv6MultiHomingInd() bool {
if o == nil || IsNil(o.Ipv6MultiHomingInd) {
var ret bool
return ret
}
return *o.Ipv6MultiHomingInd
}
// GetIpv6MultiHomingIndOk returns a tuple with the Ipv6MultiHomingInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetIpv6MultiHomingIndOk() (*bool, bool) {
if o == nil || IsNil(o.Ipv6MultiHomingInd) {
return nil, false
}
return o.Ipv6MultiHomingInd, true
}
// HasIpv6MultiHomingInd returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasIpv6MultiHomingInd() bool {
if o != nil && !IsNil(o.Ipv6MultiHomingInd) {
return true
}
return false
}
// SetIpv6MultiHomingInd gets a reference to the given bool and assigns it to the Ipv6MultiHomingInd field.
func (o *PduSessionCreatedData) SetIpv6MultiHomingInd(v bool) {
o.Ipv6MultiHomingInd = &v
}
// GetMaAcceptedInd returns the MaAcceptedInd field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetMaAcceptedInd() bool {
if o == nil || IsNil(o.MaAcceptedInd) {
var ret bool
return ret
}
return *o.MaAcceptedInd
}
// GetMaAcceptedIndOk returns a tuple with the MaAcceptedInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetMaAcceptedIndOk() (*bool, bool) {
if o == nil || IsNil(o.MaAcceptedInd) {
return nil, false
}
return o.MaAcceptedInd, true
}
// HasMaAcceptedInd returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasMaAcceptedInd() bool {
if o != nil && !IsNil(o.MaAcceptedInd) {
return true
}
return false
}
// SetMaAcceptedInd gets a reference to the given bool and assigns it to the MaAcceptedInd field.
func (o *PduSessionCreatedData) SetMaAcceptedInd(v bool) {
o.MaAcceptedInd = &v
}
// GetHomeProvidedChargingId returns the HomeProvidedChargingId field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetHomeProvidedChargingId() string {
if o == nil || IsNil(o.HomeProvidedChargingId) {
var ret string
return ret
}
return *o.HomeProvidedChargingId
}
// GetHomeProvidedChargingIdOk returns a tuple with the HomeProvidedChargingId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetHomeProvidedChargingIdOk() (*string, bool) {
if o == nil || IsNil(o.HomeProvidedChargingId) {
return nil, false
}
return o.HomeProvidedChargingId, true
}
// HasHomeProvidedChargingId returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasHomeProvidedChargingId() bool {
if o != nil && !IsNil(o.HomeProvidedChargingId) {
return true
}
return false
}
// SetHomeProvidedChargingId gets a reference to the given string and assigns it to the HomeProvidedChargingId field.
func (o *PduSessionCreatedData) SetHomeProvidedChargingId(v string) {
o.HomeProvidedChargingId = &v
}
// GetNefExtBufSupportInd returns the NefExtBufSupportInd field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetNefExtBufSupportInd() bool {
if o == nil || IsNil(o.NefExtBufSupportInd) {
var ret bool
return ret
}
return *o.NefExtBufSupportInd
}
// GetNefExtBufSupportIndOk returns a tuple with the NefExtBufSupportInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetNefExtBufSupportIndOk() (*bool, bool) {
if o == nil || IsNil(o.NefExtBufSupportInd) {
return nil, false
}
return o.NefExtBufSupportInd, true
}
// HasNefExtBufSupportInd returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasNefExtBufSupportInd() bool {
if o != nil && !IsNil(o.NefExtBufSupportInd) {
return true
}
return false
}
// SetNefExtBufSupportInd gets a reference to the given bool and assigns it to the NefExtBufSupportInd field.
func (o *PduSessionCreatedData) SetNefExtBufSupportInd(v bool) {
o.NefExtBufSupportInd = &v
}
// GetSmallDataRateControlEnabled returns the SmallDataRateControlEnabled field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetSmallDataRateControlEnabled() bool {
if o == nil || IsNil(o.SmallDataRateControlEnabled) {
var ret bool
return ret
}
return *o.SmallDataRateControlEnabled
}
// GetSmallDataRateControlEnabledOk returns a tuple with the SmallDataRateControlEnabled field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetSmallDataRateControlEnabledOk() (*bool, bool) {
if o == nil || IsNil(o.SmallDataRateControlEnabled) {
return nil, false
}
return o.SmallDataRateControlEnabled, true
}
// HasSmallDataRateControlEnabled returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasSmallDataRateControlEnabled() bool {
if o != nil && !IsNil(o.SmallDataRateControlEnabled) {
return true
}
return false
}
// SetSmallDataRateControlEnabled gets a reference to the given bool and assigns it to the SmallDataRateControlEnabled field.
func (o *PduSessionCreatedData) SetSmallDataRateControlEnabled(v bool) {
o.SmallDataRateControlEnabled = &v
}
// GetUeIpv6InterfaceId returns the UeIpv6InterfaceId field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetUeIpv6InterfaceId() string {
if o == nil || IsNil(o.UeIpv6InterfaceId) {
var ret string
return ret
}
return *o.UeIpv6InterfaceId
}
// GetUeIpv6InterfaceIdOk returns a tuple with the UeIpv6InterfaceId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetUeIpv6InterfaceIdOk() (*string, bool) {
if o == nil || IsNil(o.UeIpv6InterfaceId) {
return nil, false
}
return o.UeIpv6InterfaceId, true
}
// HasUeIpv6InterfaceId returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasUeIpv6InterfaceId() bool {
if o != nil && !IsNil(o.UeIpv6InterfaceId) {
return true
}
return false
}
// SetUeIpv6InterfaceId gets a reference to the given string and assigns it to the UeIpv6InterfaceId field.
func (o *PduSessionCreatedData) SetUeIpv6InterfaceId(v string) {
o.UeIpv6InterfaceId = &v
}
// GetIpv6Index returns the Ipv6Index field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetIpv6Index() int32 {
if o == nil || IsNil(o.Ipv6Index) {
var ret int32
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 *PduSessionCreatedData) GetIpv6IndexOk() (*int32, 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 *PduSessionCreatedData) HasIpv6Index() bool {
if o != nil && !IsNil(o.Ipv6Index) {
return true
}
return false
}
// SetIpv6Index gets a reference to the given int32 and assigns it to the Ipv6Index field.
func (o *PduSessionCreatedData) SetIpv6Index(v int32) {
o.Ipv6Index = &v
}
// GetDnAaaAddress returns the DnAaaAddress field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *PduSessionCreatedData) 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 *PduSessionCreatedData) 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 *PduSessionCreatedData) 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 *PduSessionCreatedData) SetDnAaaAddress(v IpAddress) {
o.DnAaaAddress.Set(&v)
}
// SetDnAaaAddressNil sets the value for DnAaaAddress to be an explicit nil
func (o *PduSessionCreatedData) SetDnAaaAddressNil() {
o.DnAaaAddress.Set(nil)
}
// UnsetDnAaaAddress ensures that no value is present for DnAaaAddress, not even an explicit nil
func (o *PduSessionCreatedData) UnsetDnAaaAddress() {
o.DnAaaAddress.Unset()
}
// GetRedundantPduSessionInfo returns the RedundantPduSessionInfo field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetRedundantPduSessionInfo() RedundantPduSessionInformation {
if o == nil || IsNil(o.RedundantPduSessionInfo) {
var ret RedundantPduSessionInformation
return ret
}
return *o.RedundantPduSessionInfo
}
// GetRedundantPduSessionInfoOk returns a tuple with the RedundantPduSessionInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetRedundantPduSessionInfoOk() (*RedundantPduSessionInformation, bool) {
if o == nil || IsNil(o.RedundantPduSessionInfo) {
return nil, false
}
return o.RedundantPduSessionInfo, true
}
// HasRedundantPduSessionInfo returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasRedundantPduSessionInfo() bool {
if o != nil && !IsNil(o.RedundantPduSessionInfo) {
return true
}
return false
}
// SetRedundantPduSessionInfo gets a reference to the given RedundantPduSessionInformation and assigns it to the RedundantPduSessionInfo field.
func (o *PduSessionCreatedData) SetRedundantPduSessionInfo(v RedundantPduSessionInformation) {
o.RedundantPduSessionInfo = &v
}
// GetNspuSupportInd returns the NspuSupportInd field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetNspuSupportInd() bool {
if o == nil || IsNil(o.NspuSupportInd) {
var ret bool
return ret
}
return *o.NspuSupportInd
}
// GetNspuSupportIndOk returns a tuple with the NspuSupportInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetNspuSupportIndOk() (*bool, bool) {
if o == nil || IsNil(o.NspuSupportInd) {
return nil, false
}
return o.NspuSupportInd, true
}
// HasNspuSupportInd returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasNspuSupportInd() bool {
if o != nil && !IsNil(o.NspuSupportInd) {
return true
}
return false
}
// SetNspuSupportInd gets a reference to the given bool and assigns it to the NspuSupportInd field.
func (o *PduSessionCreatedData) SetNspuSupportInd(v bool) {
o.NspuSupportInd = &v
}
// GetInterPlmnApiRoot returns the InterPlmnApiRoot field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetInterPlmnApiRoot() string {
if o == nil || IsNil(o.InterPlmnApiRoot) {
var ret string
return ret
}
return *o.InterPlmnApiRoot
}
// GetInterPlmnApiRootOk returns a tuple with the InterPlmnApiRoot field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetInterPlmnApiRootOk() (*string, bool) {
if o == nil || IsNil(o.InterPlmnApiRoot) {
return nil, false
}
return o.InterPlmnApiRoot, true
}
// HasInterPlmnApiRoot returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasInterPlmnApiRoot() bool {
if o != nil && !IsNil(o.InterPlmnApiRoot) {
return true
}
return false
}
// SetInterPlmnApiRoot gets a reference to the given string and assigns it to the InterPlmnApiRoot field.
func (o *PduSessionCreatedData) SetInterPlmnApiRoot(v string) {
o.InterPlmnApiRoot = &v
}
// GetIntraPlmnApiRoot returns the IntraPlmnApiRoot field value if set, zero value otherwise.
func (o *PduSessionCreatedData) GetIntraPlmnApiRoot() string {
if o == nil || IsNil(o.IntraPlmnApiRoot) {
var ret string
return ret
}
return *o.IntraPlmnApiRoot
}
// GetIntraPlmnApiRootOk returns a tuple with the IntraPlmnApiRoot field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionCreatedData) GetIntraPlmnApiRootOk() (*string, bool) {
if o == nil || IsNil(o.IntraPlmnApiRoot) {
return nil, false
}
return o.IntraPlmnApiRoot, true
}
// HasIntraPlmnApiRoot returns a boolean if a field has been set.
func (o *PduSessionCreatedData) HasIntraPlmnApiRoot() bool {
if o != nil && !IsNil(o.IntraPlmnApiRoot) {
return true
}
return false
}
// SetIntraPlmnApiRoot gets a reference to the given string and assigns it to the IntraPlmnApiRoot field.
func (o *PduSessionCreatedData) SetIntraPlmnApiRoot(v string) {
o.IntraPlmnApiRoot = &v
}
func (o PduSessionCreatedData) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o PduSessionCreatedData) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["pduSessionType"] = o.PduSessionType
toSerialize["sscMode"] = o.SscMode
if !IsNil(o.HcnTunnelInfo) {
toSerialize["hcnTunnelInfo"] = o.HcnTunnelInfo
}
if !IsNil(o.CnTunnelInfo) {
toSerialize["cnTunnelInfo"] = o.CnTunnelInfo
}
if !IsNil(o.AdditionalCnTunnelInfo) {
toSerialize["additionalCnTunnelInfo"] = o.AdditionalCnTunnelInfo
}
if !IsNil(o.SessionAmbr) {
toSerialize["sessionAmbr"] = o.SessionAmbr
}
if !IsNil(o.QosFlowsSetupList) {
toSerialize["qosFlowsSetupList"] = o.QosFlowsSetupList
}
if !IsNil(o.HSmfInstanceId) {
toSerialize["hSmfInstanceId"] = o.HSmfInstanceId
}
if !IsNil(o.SmfInstanceId) {
toSerialize["smfInstanceId"] = o.SmfInstanceId
}
if !IsNil(o.PduSessionId) {
toSerialize["pduSessionId"] = o.PduSessionId
}
if !IsNil(o.SNssai) {
toSerialize["sNssai"] = o.SNssai
}
if !IsNil(o.AdditionalSnssai) {
toSerialize["additionalSnssai"] = o.AdditionalSnssai
}
if !IsNil(o.EnablePauseCharging) {
toSerialize["enablePauseCharging"] = o.EnablePauseCharging
}
if !IsNil(o.UeIpv4Address) {
toSerialize["ueIpv4Address"] = o.UeIpv4Address
}
if !IsNil(o.UeIpv6Prefix) {
toSerialize["ueIpv6Prefix"] = o.UeIpv6Prefix
}
if !IsNil(o.N1SmInfoToUe) {
toSerialize["n1SmInfoToUe"] = o.N1SmInfoToUe
}
if !IsNil(o.EpsPdnCnxInfo) {
toSerialize["epsPdnCnxInfo"] = o.EpsPdnCnxInfo
}
if !IsNil(o.EpsBearerInfo) {
toSerialize["epsBearerInfo"] = o.EpsBearerInfo
}
if !IsNil(o.SupportedFeatures) {
toSerialize["supportedFeatures"] = o.SupportedFeatures
}
if !IsNil(o.MaxIntegrityProtectedDataRate) {
toSerialize["maxIntegrityProtectedDataRate"] = o.MaxIntegrityProtectedDataRate
}
if !IsNil(o.MaxIntegrityProtectedDataRateDl) {
toSerialize["maxIntegrityProtectedDataRateDl"] = o.MaxIntegrityProtectedDataRateDl
}
if !IsNil(o.AlwaysOnGranted) {
toSerialize["alwaysOnGranted"] = o.AlwaysOnGranted
}
if !IsNil(o.Gpsi) {
toSerialize["gpsi"] = o.Gpsi
}
if !IsNil(o.UpSecurity) {
toSerialize["upSecurity"] = o.UpSecurity
}
if !IsNil(o.RoamingChargingProfile) {
toSerialize["roamingChargingProfile"] = o.RoamingChargingProfile
}
if !IsNil(o.HSmfServiceInstanceId) {
toSerialize["hSmfServiceInstanceId"] = o.HSmfServiceInstanceId
}
if !IsNil(o.SmfServiceInstanceId) {
toSerialize["smfServiceInstanceId"] = o.SmfServiceInstanceId
}
if !IsNil(o.RecoveryTime) {
toSerialize["recoveryTime"] = o.RecoveryTime
}
if !IsNil(o.DnaiList) {
toSerialize["dnaiList"] = o.DnaiList
}
if !IsNil(o.Ipv6MultiHomingInd) {
toSerialize["ipv6MultiHomingInd"] = o.Ipv6MultiHomingInd
}
if !IsNil(o.MaAcceptedInd) {
toSerialize["maAcceptedInd"] = o.MaAcceptedInd
}
if !IsNil(o.HomeProvidedChargingId) {
toSerialize["homeProvidedChargingId"] = o.HomeProvidedChargingId
}
if !IsNil(o.NefExtBufSupportInd) {
toSerialize["nefExtBufSupportInd"] = o.NefExtBufSupportInd
}
if !IsNil(o.SmallDataRateControlEnabled) {
toSerialize["smallDataRateControlEnabled"] = o.SmallDataRateControlEnabled
}
if !IsNil(o.UeIpv6InterfaceId) {
toSerialize["ueIpv6InterfaceId"] = o.UeIpv6InterfaceId
}
if !IsNil(o.Ipv6Index) {
toSerialize["ipv6Index"] = o.Ipv6Index
}
if o.DnAaaAddress.IsSet() {
toSerialize["dnAaaAddress"] = o.DnAaaAddress.Get()
}
if !IsNil(o.RedundantPduSessionInfo) {
toSerialize["redundantPduSessionInfo"] = o.RedundantPduSessionInfo
}
if !IsNil(o.NspuSupportInd) {
toSerialize["nspuSupportInd"] = o.NspuSupportInd
}
if !IsNil(o.InterPlmnApiRoot) {
toSerialize["interPlmnApiRoot"] = o.InterPlmnApiRoot
}
if !IsNil(o.IntraPlmnApiRoot) {
toSerialize["intraPlmnApiRoot"] = o.IntraPlmnApiRoot
}
return toSerialize, nil
}
func (o *PduSessionCreatedData) 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{
"pduSessionType",
"sscMode",
}
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)
}
}
varPduSessionCreatedData := _PduSessionCreatedData{}
err = json.Unmarshal(bytes, &varPduSessionCreatedData)
if err != nil {
return err
}
*o = PduSessionCreatedData(varPduSessionCreatedData)
return err
}
type NullablePduSessionCreatedData struct {
value *PduSessionCreatedData
isSet bool
}
func (v NullablePduSessionCreatedData) Get() *PduSessionCreatedData {
return v.value
}
func (v *NullablePduSessionCreatedData) Set(val *PduSessionCreatedData) {
v.value = val
v.isSet = true
}
func (v NullablePduSessionCreatedData) IsSet() bool {
return v.isSet
}
func (v *NullablePduSessionCreatedData) Unset() {
v.value = nil
v.isSet = false
}
func NewNullablePduSessionCreatedData(val *PduSessionCreatedData) *NullablePduSessionCreatedData {
return &NullablePduSessionCreatedData{value: val, isSet: true}
}
func (v NullablePduSessionCreatedData) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullablePduSessionCreatedData) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。