代码拉取完成,页面将自动刷新
/*
Nhss_imsUECM
Nhss UE Context Management Service for IMS. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
API version: 1.1.1
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package OpenAPI_Nhss_imsUECM
import (
"encoding/json"
)
// checks if the ScscfCapabilityList type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &ScscfCapabilityList{}
// ScscfCapabilityList Information about mandatory and optional S-CSCF capabilities
type ScscfCapabilityList struct {
// A list of capabilities of the S-CSCF
MandatoryCapabilityList []int32 `json:"mandatoryCapabilityList,omitempty"`
// A list of capabilities of the S-CSCF
OptionalCapabilityList []int32 `json:"optionalCapabilityList,omitempty"`
}
// NewScscfCapabilityList instantiates a new ScscfCapabilityList 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 NewScscfCapabilityList() *ScscfCapabilityList {
this := ScscfCapabilityList{}
return &this
}
// NewScscfCapabilityListWithDefaults instantiates a new ScscfCapabilityList 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 NewScscfCapabilityListWithDefaults() *ScscfCapabilityList {
this := ScscfCapabilityList{}
return &this
}
// GetMandatoryCapabilityList returns the MandatoryCapabilityList field value if set, zero value otherwise.
func (o *ScscfCapabilityList) GetMandatoryCapabilityList() []int32 {
if o == nil || IsNil(o.MandatoryCapabilityList) {
var ret []int32
return ret
}
return o.MandatoryCapabilityList
}
// GetMandatoryCapabilityListOk returns a tuple with the MandatoryCapabilityList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ScscfCapabilityList) GetMandatoryCapabilityListOk() ([]int32, bool) {
if o == nil || IsNil(o.MandatoryCapabilityList) {
return nil, false
}
return o.MandatoryCapabilityList, true
}
// HasMandatoryCapabilityList returns a boolean if a field has been set.
func (o *ScscfCapabilityList) HasMandatoryCapabilityList() bool {
if o != nil && !IsNil(o.MandatoryCapabilityList) {
return true
}
return false
}
// SetMandatoryCapabilityList gets a reference to the given []int32 and assigns it to the MandatoryCapabilityList field.
func (o *ScscfCapabilityList) SetMandatoryCapabilityList(v []int32) {
o.MandatoryCapabilityList = v
}
// GetOptionalCapabilityList returns the OptionalCapabilityList field value if set, zero value otherwise.
func (o *ScscfCapabilityList) GetOptionalCapabilityList() []int32 {
if o == nil || IsNil(o.OptionalCapabilityList) {
var ret []int32
return ret
}
return o.OptionalCapabilityList
}
// GetOptionalCapabilityListOk returns a tuple with the OptionalCapabilityList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ScscfCapabilityList) GetOptionalCapabilityListOk() ([]int32, bool) {
if o == nil || IsNil(o.OptionalCapabilityList) {
return nil, false
}
return o.OptionalCapabilityList, true
}
// HasOptionalCapabilityList returns a boolean if a field has been set.
func (o *ScscfCapabilityList) HasOptionalCapabilityList() bool {
if o != nil && !IsNil(o.OptionalCapabilityList) {
return true
}
return false
}
// SetOptionalCapabilityList gets a reference to the given []int32 and assigns it to the OptionalCapabilityList field.
func (o *ScscfCapabilityList) SetOptionalCapabilityList(v []int32) {
o.OptionalCapabilityList = v
}
func (o ScscfCapabilityList) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o ScscfCapabilityList) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.MandatoryCapabilityList) {
toSerialize["mandatoryCapabilityList"] = o.MandatoryCapabilityList
}
if !IsNil(o.OptionalCapabilityList) {
toSerialize["optionalCapabilityList"] = o.OptionalCapabilityList
}
return toSerialize, nil
}
type NullableScscfCapabilityList struct {
value *ScscfCapabilityList
isSet bool
}
func (v NullableScscfCapabilityList) Get() *ScscfCapabilityList {
return v.value
}
func (v *NullableScscfCapabilityList) Set(val *ScscfCapabilityList) {
v.value = val
v.isSet = true
}
func (v NullableScscfCapabilityList) IsSet() bool {
return v.isSet
}
func (v *NullableScscfCapabilityList) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableScscfCapabilityList(val *ScscfCapabilityList) *NullableScscfCapabilityList {
return &NullableScscfCapabilityList{value: val, isSet: true}
}
func (v NullableScscfCapabilityList) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableScscfCapabilityList) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。