代码拉取完成,页面将自动刷新
/*
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"
)
// checks if the NetworkAreaInfo1 type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &NetworkAreaInfo1{}
// NetworkAreaInfo1 Describes a network area information in which the NF service consumer requests the number of UEs.
type NetworkAreaInfo1 struct {
// Contains a list of E-UTRA cell identities.
Ecgis []Ecgi1 `json:"ecgis,omitempty"`
// Contains a list of NR cell identities.
Ncgis []Ncgi1 `json:"ncgis,omitempty"`
// Contains a list of NG RAN nodes.
GRanNodeIds []GlobalRanNodeId1 `json:"gRanNodeIds,omitempty"`
// Contains a list of tracking area identities.
Tais []Tai1 `json:"tais,omitempty"`
}
// NewNetworkAreaInfo1 instantiates a new NetworkAreaInfo1 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 NewNetworkAreaInfo1() *NetworkAreaInfo1 {
this := NetworkAreaInfo1{}
return &this
}
// NewNetworkAreaInfo1WithDefaults instantiates a new NetworkAreaInfo1 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 NewNetworkAreaInfo1WithDefaults() *NetworkAreaInfo1 {
this := NetworkAreaInfo1{}
return &this
}
// GetEcgis returns the Ecgis field value if set, zero value otherwise.
func (o *NetworkAreaInfo1) GetEcgis() []Ecgi1 {
if o == nil || IsNil(o.Ecgis) {
var ret []Ecgi1
return ret
}
return o.Ecgis
}
// GetEcgisOk returns a tuple with the Ecgis field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NetworkAreaInfo1) GetEcgisOk() ([]Ecgi1, bool) {
if o == nil || IsNil(o.Ecgis) {
return nil, false
}
return o.Ecgis, true
}
// HasEcgis returns a boolean if a field has been set.
func (o *NetworkAreaInfo1) HasEcgis() bool {
if o != nil && !IsNil(o.Ecgis) {
return true
}
return false
}
// SetEcgis gets a reference to the given []Ecgi1 and assigns it to the Ecgis field.
func (o *NetworkAreaInfo1) SetEcgis(v []Ecgi1) {
o.Ecgis = v
}
// GetNcgis returns the Ncgis field value if set, zero value otherwise.
func (o *NetworkAreaInfo1) GetNcgis() []Ncgi1 {
if o == nil || IsNil(o.Ncgis) {
var ret []Ncgi1
return ret
}
return o.Ncgis
}
// GetNcgisOk returns a tuple with the Ncgis field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NetworkAreaInfo1) GetNcgisOk() ([]Ncgi1, bool) {
if o == nil || IsNil(o.Ncgis) {
return nil, false
}
return o.Ncgis, true
}
// HasNcgis returns a boolean if a field has been set.
func (o *NetworkAreaInfo1) HasNcgis() bool {
if o != nil && !IsNil(o.Ncgis) {
return true
}
return false
}
// SetNcgis gets a reference to the given []Ncgi1 and assigns it to the Ncgis field.
func (o *NetworkAreaInfo1) SetNcgis(v []Ncgi1) {
o.Ncgis = v
}
// GetGRanNodeIds returns the GRanNodeIds field value if set, zero value otherwise.
func (o *NetworkAreaInfo1) GetGRanNodeIds() []GlobalRanNodeId1 {
if o == nil || IsNil(o.GRanNodeIds) {
var ret []GlobalRanNodeId1
return ret
}
return o.GRanNodeIds
}
// GetGRanNodeIdsOk returns a tuple with the GRanNodeIds field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NetworkAreaInfo1) GetGRanNodeIdsOk() ([]GlobalRanNodeId1, bool) {
if o == nil || IsNil(o.GRanNodeIds) {
return nil, false
}
return o.GRanNodeIds, true
}
// HasGRanNodeIds returns a boolean if a field has been set.
func (o *NetworkAreaInfo1) HasGRanNodeIds() bool {
if o != nil && !IsNil(o.GRanNodeIds) {
return true
}
return false
}
// SetGRanNodeIds gets a reference to the given []GlobalRanNodeId1 and assigns it to the GRanNodeIds field.
func (o *NetworkAreaInfo1) SetGRanNodeIds(v []GlobalRanNodeId1) {
o.GRanNodeIds = v
}
// GetTais returns the Tais field value if set, zero value otherwise.
func (o *NetworkAreaInfo1) GetTais() []Tai1 {
if o == nil || IsNil(o.Tais) {
var ret []Tai1
return ret
}
return o.Tais
}
// GetTaisOk returns a tuple with the Tais field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NetworkAreaInfo1) GetTaisOk() ([]Tai1, bool) {
if o == nil || IsNil(o.Tais) {
return nil, false
}
return o.Tais, true
}
// HasTais returns a boolean if a field has been set.
func (o *NetworkAreaInfo1) HasTais() bool {
if o != nil && !IsNil(o.Tais) {
return true
}
return false
}
// SetTais gets a reference to the given []Tai1 and assigns it to the Tais field.
func (o *NetworkAreaInfo1) SetTais(v []Tai1) {
o.Tais = v
}
func (o NetworkAreaInfo1) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o NetworkAreaInfo1) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.Ecgis) {
toSerialize["ecgis"] = o.Ecgis
}
if !IsNil(o.Ncgis) {
toSerialize["ncgis"] = o.Ncgis
}
if !IsNil(o.GRanNodeIds) {
toSerialize["gRanNodeIds"] = o.GRanNodeIds
}
if !IsNil(o.Tais) {
toSerialize["tais"] = o.Tais
}
return toSerialize, nil
}
type NullableNetworkAreaInfo1 struct {
value *NetworkAreaInfo1
isSet bool
}
func (v NullableNetworkAreaInfo1) Get() *NetworkAreaInfo1 {
return v.value
}
func (v *NullableNetworkAreaInfo1) Set(val *NetworkAreaInfo1) {
v.value = val
v.isSet = true
}
func (v NullableNetworkAreaInfo1) IsSet() bool {
return v.isSet
}
func (v *NullableNetworkAreaInfo1) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableNetworkAreaInfo1(val *NetworkAreaInfo1) *NullableNetworkAreaInfo1 {
return &NullableNetworkAreaInfo1{value: val, isSet: true}
}
func (v NullableNetworkAreaInfo1) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableNetworkAreaInfo1) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。