代码拉取完成,页面将自动刷新
/*
Provisioning MnS
OAS 3.0.1 definition of the Provisioning MnS © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
API version: 17.6.0
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package OpenAPI_ProvMnS
import (
"encoding/json"
)
// checks if the RimRSReportConf type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &RimRSReportConf{}
// RimRSReportConf struct for RimRSReportConf
type RimRSReportConf struct {
ReportIndicator *string `json:"reportIndicator,omitempty"`
ReportInterval *int32 `json:"reportInterval,omitempty"`
NrofRIMRSReportInfo *int32 `json:"nrofRIMRSReportInfo,omitempty"`
MaxPropagationDelay *int32 `json:"maxPropagationDelay,omitempty"`
RimRSReportInfoList []RimRSReportInfo `json:"rimRSReportInfoList,omitempty"`
}
// NewRimRSReportConf instantiates a new RimRSReportConf 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 NewRimRSReportConf() *RimRSReportConf {
this := RimRSReportConf{}
return &this
}
// NewRimRSReportConfWithDefaults instantiates a new RimRSReportConf 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 NewRimRSReportConfWithDefaults() *RimRSReportConf {
this := RimRSReportConf{}
return &this
}
// GetReportIndicator returns the ReportIndicator field value if set, zero value otherwise.
func (o *RimRSReportConf) GetReportIndicator() string {
if o == nil || IsNil(o.ReportIndicator) {
var ret string
return ret
}
return *o.ReportIndicator
}
// GetReportIndicatorOk returns a tuple with the ReportIndicator field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RimRSReportConf) GetReportIndicatorOk() (*string, bool) {
if o == nil || IsNil(o.ReportIndicator) {
return nil, false
}
return o.ReportIndicator, true
}
// HasReportIndicator returns a boolean if a field has been set.
func (o *RimRSReportConf) HasReportIndicator() bool {
if o != nil && !IsNil(o.ReportIndicator) {
return true
}
return false
}
// SetReportIndicator gets a reference to the given string and assigns it to the ReportIndicator field.
func (o *RimRSReportConf) SetReportIndicator(v string) {
o.ReportIndicator = &v
}
// GetReportInterval returns the ReportInterval field value if set, zero value otherwise.
func (o *RimRSReportConf) GetReportInterval() int32 {
if o == nil || IsNil(o.ReportInterval) {
var ret int32
return ret
}
return *o.ReportInterval
}
// GetReportIntervalOk returns a tuple with the ReportInterval field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RimRSReportConf) GetReportIntervalOk() (*int32, bool) {
if o == nil || IsNil(o.ReportInterval) {
return nil, false
}
return o.ReportInterval, true
}
// HasReportInterval returns a boolean if a field has been set.
func (o *RimRSReportConf) HasReportInterval() bool {
if o != nil && !IsNil(o.ReportInterval) {
return true
}
return false
}
// SetReportInterval gets a reference to the given int32 and assigns it to the ReportInterval field.
func (o *RimRSReportConf) SetReportInterval(v int32) {
o.ReportInterval = &v
}
// GetNrofRIMRSReportInfo returns the NrofRIMRSReportInfo field value if set, zero value otherwise.
func (o *RimRSReportConf) GetNrofRIMRSReportInfo() int32 {
if o == nil || IsNil(o.NrofRIMRSReportInfo) {
var ret int32
return ret
}
return *o.NrofRIMRSReportInfo
}
// GetNrofRIMRSReportInfoOk returns a tuple with the NrofRIMRSReportInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RimRSReportConf) GetNrofRIMRSReportInfoOk() (*int32, bool) {
if o == nil || IsNil(o.NrofRIMRSReportInfo) {
return nil, false
}
return o.NrofRIMRSReportInfo, true
}
// HasNrofRIMRSReportInfo returns a boolean if a field has been set.
func (o *RimRSReportConf) HasNrofRIMRSReportInfo() bool {
if o != nil && !IsNil(o.NrofRIMRSReportInfo) {
return true
}
return false
}
// SetNrofRIMRSReportInfo gets a reference to the given int32 and assigns it to the NrofRIMRSReportInfo field.
func (o *RimRSReportConf) SetNrofRIMRSReportInfo(v int32) {
o.NrofRIMRSReportInfo = &v
}
// GetMaxPropagationDelay returns the MaxPropagationDelay field value if set, zero value otherwise.
func (o *RimRSReportConf) GetMaxPropagationDelay() int32 {
if o == nil || IsNil(o.MaxPropagationDelay) {
var ret int32
return ret
}
return *o.MaxPropagationDelay
}
// GetMaxPropagationDelayOk returns a tuple with the MaxPropagationDelay field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RimRSReportConf) GetMaxPropagationDelayOk() (*int32, bool) {
if o == nil || IsNil(o.MaxPropagationDelay) {
return nil, false
}
return o.MaxPropagationDelay, true
}
// HasMaxPropagationDelay returns a boolean if a field has been set.
func (o *RimRSReportConf) HasMaxPropagationDelay() bool {
if o != nil && !IsNil(o.MaxPropagationDelay) {
return true
}
return false
}
// SetMaxPropagationDelay gets a reference to the given int32 and assigns it to the MaxPropagationDelay field.
func (o *RimRSReportConf) SetMaxPropagationDelay(v int32) {
o.MaxPropagationDelay = &v
}
// GetRimRSReportInfoList returns the RimRSReportInfoList field value if set, zero value otherwise.
func (o *RimRSReportConf) GetRimRSReportInfoList() []RimRSReportInfo {
if o == nil || IsNil(o.RimRSReportInfoList) {
var ret []RimRSReportInfo
return ret
}
return o.RimRSReportInfoList
}
// GetRimRSReportInfoListOk returns a tuple with the RimRSReportInfoList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RimRSReportConf) GetRimRSReportInfoListOk() ([]RimRSReportInfo, bool) {
if o == nil || IsNil(o.RimRSReportInfoList) {
return nil, false
}
return o.RimRSReportInfoList, true
}
// HasRimRSReportInfoList returns a boolean if a field has been set.
func (o *RimRSReportConf) HasRimRSReportInfoList() bool {
if o != nil && !IsNil(o.RimRSReportInfoList) {
return true
}
return false
}
// SetRimRSReportInfoList gets a reference to the given []RimRSReportInfo and assigns it to the RimRSReportInfoList field.
func (o *RimRSReportConf) SetRimRSReportInfoList(v []RimRSReportInfo) {
o.RimRSReportInfoList = v
}
func (o RimRSReportConf) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o RimRSReportConf) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.ReportIndicator) {
toSerialize["reportIndicator"] = o.ReportIndicator
}
if !IsNil(o.ReportInterval) {
toSerialize["reportInterval"] = o.ReportInterval
}
if !IsNil(o.NrofRIMRSReportInfo) {
toSerialize["nrofRIMRSReportInfo"] = o.NrofRIMRSReportInfo
}
if !IsNil(o.MaxPropagationDelay) {
toSerialize["maxPropagationDelay"] = o.MaxPropagationDelay
}
if !IsNil(o.RimRSReportInfoList) {
toSerialize["rimRSReportInfoList"] = o.RimRSReportInfoList
}
return toSerialize, nil
}
type NullableRimRSReportConf struct {
value *RimRSReportConf
isSet bool
}
func (v NullableRimRSReportConf) Get() *RimRSReportConf {
return v.value
}
func (v *NullableRimRSReportConf) Set(val *RimRSReportConf) {
v.value = val
v.isSet = true
}
func (v NullableRimRSReportConf) IsSet() bool {
return v.isSet
}
func (v *NullableRimRSReportConf) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableRimRSReportConf(val *RimRSReportConf) *NullableRimRSReportConf {
return &NullableRimRSReportConf{value: val, isSet: true}
}
func (v NullableRimRSReportConf) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableRimRSReportConf) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。