1 Star 0 Fork 0

MrCoder/openapi

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
model_monitoring_event_subscription.go 80.61 KB
一键复制 编辑 原始数据 按行查看 历史
MrCoder 提交于 2年前 . update
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460
/*
3gpp-monitoring-event
API for Monitoring Event. © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
API version: 1.2.2
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package OpenAPI_MonitoringEvent
import (
"encoding/json"
"fmt"
"time"
)
// checks if the MonitoringEventSubscription type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &MonitoringEventSubscription{}
// MonitoringEventSubscription Represents a subscription to event(s) monitoring.
type MonitoringEventSubscription struct {
// string formatted according to IETF RFC 3986 identifying a referenced resource.
Self *string `json:"self,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"`
// Identifies the MTC Service Provider and/or MTC Application.
MtcProviderId *string `json:"mtcProviderId,omitempty"`
// string containing a local identifier followed by \"@\" and a domain identifier. Both the local identifier and the domain identifier shall be encoded as strings that do not contain any \"@\" characters. See Clause 4.6.2 of 3GPP TS 23.682 for more information.
ExternalId *string `json:"externalId,omitempty"`
// string formatted according to clause 3.3 of 3GPP TS 23.003 that describes an MSISDN.
Msisdn *string `json:"msisdn,omitempty"`
// Indicates the added external Identifier(s) within the active group.
AddedExternalIds []string `json:"addedExternalIds,omitempty"`
// Indicates the added MSISDN(s) within the active group.
AddedMsisdns []string `json:"addedMsisdns,omitempty"`
// Indicates cancellation of the external Identifier(s) within the active group.
ExcludedExternalIds []string `json:"excludedExternalIds,omitempty"`
// Indicates cancellation of the MSISDN(s) within the active group.
ExcludedMsisdns []string `json:"excludedMsisdns,omitempty"`
// string containing a local identifier followed by \"@\" and a domain identifier. Both the local identifier and the domain identifier shall be encoded as strings that do not contain any \"@\" characters. See Clauses 4.6.2 and 4.6.3 of 3GPP TS 23.682 for more information.
ExternalGroupId *string `json:"externalGroupId,omitempty"`
AddExtGroupId []string `json:"addExtGroupId,omitempty"`
// string identifying a Ipv4 address formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166.
Ipv4Addr *string `json:"ipv4Addr,omitempty"`
// string identifying a Ipv6 address formatted according to clause 4 in IETF RFC 5952. The mixed Ipv4 Ipv6 notation according to clause 5 of IETF RFC 5952 shall not be used.
Ipv6Addr *string `json:"ipv6Addr,omitempty"`
// String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\").
Dnn *string `json:"dnn,omitempty"`
// string formatted according to IETF RFC 3986 identifying a referenced resource.
NotificationDestination string `json:"notificationDestination"`
// Set to true by the SCS/AS to request the SCEF to send a test notification as defined in clause 5.2.5.3. Set to false by the SCS/AS indicates not request SCEF to send a test notification, default false if omitted otherwise.
RequestTestNotification *bool `json:"requestTestNotification,omitempty"`
WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"`
MonitoringType MonitoringType `json:"monitoringType"`
// Identifies the maximum number of event reports to be generated by the HSS, MME/SGSN as specified in clause 5.6.0 of 3GPP TS 23.682.
MaximumNumberOfReports *int32 `json:"maximumNumberOfReports,omitempty"`
// string with format \"date-time\" as defined in OpenAPI.
MonitorExpireTime *time.Time `json:"monitorExpireTime,omitempty"`
// Unsigned integer identifying a period of time in units of seconds.
RepPeriod *int32 `json:"repPeriod,omitempty"`
// Unsigned integer identifying a period of time in units of seconds.
GroupReportGuardTime *int32 `json:"groupReportGuardTime,omitempty"`
// Unsigned integer identifying a period of time in units of seconds.
MaximumDetectionTime *int32 `json:"maximumDetectionTime,omitempty"`
ReachabilityType *ReachabilityType `json:"reachabilityType,omitempty"`
// Unsigned integer identifying a period of time in units of seconds.
MaximumLatency *int32 `json:"maximumLatency,omitempty"`
// Unsigned integer identifying a period of time in units of seconds.
MaximumResponseTime *int32 `json:"maximumResponseTime,omitempty"`
// If \"monitoringType\" is \"UE_REACHABILITY\", this parameter may be included to identify the number of packets that the serving gateway shall buffer in case that the UE is not reachable.
SuggestedNumberOfDlPackets *int32 `json:"suggestedNumberOfDlPackets,omitempty"`
// If \"monitoringType\" is set to \"UE_REACHABILITY\" or \"AVAILABILITY_AFTER_DDN_FAILURE\", this parameter may be included to indicate the notification of when a UE, for which PSM is enabled, transitions into idle mode. \"true\" indicates enabling of notification; \"false\" indicate no need to notify. Default value is \"false\" if omitted.
IdleStatusIndication *bool `json:"idleStatusIndication,omitempty"`
LocationType *LocationType `json:"locationType,omitempty"`
Accuracy *Accuracy `json:"accuracy,omitempty"`
// Unsigned integer identifying a period of time in units of seconds.
MinimumReportInterval *int32 `json:"minimumReportInterval,omitempty"`
// Unsigned integer identifying a period of time in units of seconds.
MaxRptExpireIntvl *int32 `json:"maxRptExpireIntvl,omitempty"`
// Unsigned integer identifying a period of time in units of seconds.
SamplingInterval *int32 `json:"samplingInterval,omitempty"`
// Indicates whether to request the location estimate for event reporting. If \"monitoringType\" is \"LOCATION_REPORTING\", this parameter may be included to indicate whether event reporting requires the location information. If set to true, the location estimation information shall be included in event reporting. Set to \"false\", indicates the location estimation information shall not be included in event reporting. Default \"false\" if omitted.
ReportingLocEstInd *bool `json:"reportingLocEstInd,omitempty"`
// Minimum straight line distance moved by a UE to trigger a motion event report.
LinearDistance *int32 `json:"linearDistance,omitempty"`
LocQoS *LocationQoS `json:"locQoS,omitempty"`
// Contains the service identity
SvcId *string `json:"svcId,omitempty"`
LdrType *LdrType `json:"ldrType,omitempty"`
VelocityRequested *VelocityRequested `json:"velocityRequested,omitempty"`
// Indicates value of the age of the location estimate.
MaxAgeOfLocEst *int32 `json:"maxAgeOfLocEst,omitempty"`
LocTimeWindow *TimeWindow `json:"locTimeWindow,omitempty"`
SupportedGADShapes []SupportedGADShapes `json:"supportedGADShapes,omitempty"`
// Contains the codeword
CodeWord *string `json:"codeWord,omitempty"`
AssociationType *AssociationType `json:"associationType,omitempty"`
// If \"monitoringType\" is \"ROAMING_STATUS\", this parameter may be included to indicate the notification of UE's Serving PLMN ID. Value \"true\" indicates enabling of notification; \"false\" indicates disabling of notification. Default value is \"false\" if omitted.
PlmnIndication *bool `json:"plmnIndication,omitempty"`
LocationArea *LocationArea `json:"locationArea,omitempty"`
LocationArea5G *LocationArea5G `json:"locationArea5G,omitempty"`
DddTraDescriptors []DddTrafficDescriptor `json:"dddTraDescriptors,omitempty"`
DddStati []DlDataDeliveryStatus `json:"dddStati,omitempty"`
ApiNames []string `json:"apiNames,omitempty"`
MonitoringEventReport *MonitoringEventReport `json:"monitoringEventReport,omitempty"`
Snssai *Snssai `json:"snssai,omitempty"`
TgtNsThreshold *SACInfo `json:"tgtNsThreshold,omitempty"`
NsRepFormat *SACRepFormat `json:"nsRepFormat,omitempty"`
AfServiceId *string `json:"afServiceId,omitempty"`
// Indicates whether an immediate reporting is requested or not. \"true\" indicate an immediate reporting is requested. \"false\" indicate an immediate reporting is not requested. Default value \"false\" if omitted.
ImmediateRep *bool `json:"immediateRep,omitempty"`
UavPolicy *UavPolicy `json:"uavPolicy,omitempty"`
// Set to true by the SCS/AS so that only UAV's with \"PDU session established for DNN(s) subject to aerial service\" are to be listed in the Event report. Set to false or default false if omitted otherwise.
SesEstInd *bool `json:"sesEstInd,omitempty"`
SubType *SubType `json:"subType,omitempty"`
AddnMonTypes []MonitoringType `json:"addnMonTypes,omitempty"`
AddnMonEventReports []MonitoringEventReport `json:"addnMonEventReports,omitempty"`
UeIpAddr NullableIpAddr `json:"ueIpAddr,omitempty"`
// String identifying a MAC address formatted in the hexadecimal notation according to clause 1.1 and clause 2.1 of RFC 7042.
UeMacAddr *string `json:"ueMacAddr,omitempty"`
// string providing an URI formatted according to IETF RFC 3986.
RevocationNotifUri *string `json:"revocationNotifUri,omitempty"`
}
type _MonitoringEventSubscription MonitoringEventSubscription
// NewMonitoringEventSubscription instantiates a new MonitoringEventSubscription 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 NewMonitoringEventSubscription(notificationDestination string, monitoringType MonitoringType) *MonitoringEventSubscription {
this := MonitoringEventSubscription{}
return &this
}
// NewMonitoringEventSubscriptionWithDefaults instantiates a new MonitoringEventSubscription 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 NewMonitoringEventSubscriptionWithDefaults() *MonitoringEventSubscription {
this := MonitoringEventSubscription{}
return &this
}
// GetSelf returns the Self field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetSelf() string {
if o == nil || IsNil(o.Self) {
var ret string
return ret
}
return *o.Self
}
// GetSelfOk returns a tuple with the Self field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetSelfOk() (*string, bool) {
if o == nil || IsNil(o.Self) {
return nil, false
}
return o.Self, true
}
// HasSelf returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasSelf() bool {
if o != nil && !IsNil(o.Self) {
return true
}
return false
}
// SetSelf gets a reference to the given string and assigns it to the Self field.
func (o *MonitoringEventSubscription) SetSelf(v string) {
o.Self = &v
}
// GetSupportedFeatures returns the SupportedFeatures field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) 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 *MonitoringEventSubscription) 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 *MonitoringEventSubscription) 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 *MonitoringEventSubscription) SetSupportedFeatures(v string) {
o.SupportedFeatures = &v
}
// GetMtcProviderId returns the MtcProviderId field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetMtcProviderId() string {
if o == nil || IsNil(o.MtcProviderId) {
var ret string
return ret
}
return *o.MtcProviderId
}
// GetMtcProviderIdOk returns a tuple with the MtcProviderId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetMtcProviderIdOk() (*string, bool) {
if o == nil || IsNil(o.MtcProviderId) {
return nil, false
}
return o.MtcProviderId, true
}
// HasMtcProviderId returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasMtcProviderId() bool {
if o != nil && !IsNil(o.MtcProviderId) {
return true
}
return false
}
// SetMtcProviderId gets a reference to the given string and assigns it to the MtcProviderId field.
func (o *MonitoringEventSubscription) SetMtcProviderId(v string) {
o.MtcProviderId = &v
}
// GetExternalId returns the ExternalId field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetExternalId() string {
if o == nil || IsNil(o.ExternalId) {
var ret string
return ret
}
return *o.ExternalId
}
// GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetExternalIdOk() (*string, bool) {
if o == nil || IsNil(o.ExternalId) {
return nil, false
}
return o.ExternalId, true
}
// HasExternalId returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasExternalId() bool {
if o != nil && !IsNil(o.ExternalId) {
return true
}
return false
}
// SetExternalId gets a reference to the given string and assigns it to the ExternalId field.
func (o *MonitoringEventSubscription) SetExternalId(v string) {
o.ExternalId = &v
}
// GetMsisdn returns the Msisdn field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetMsisdn() string {
if o == nil || IsNil(o.Msisdn) {
var ret string
return ret
}
return *o.Msisdn
}
// GetMsisdnOk returns a tuple with the Msisdn field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetMsisdnOk() (*string, bool) {
if o == nil || IsNil(o.Msisdn) {
return nil, false
}
return o.Msisdn, true
}
// HasMsisdn returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasMsisdn() bool {
if o != nil && !IsNil(o.Msisdn) {
return true
}
return false
}
// SetMsisdn gets a reference to the given string and assigns it to the Msisdn field.
func (o *MonitoringEventSubscription) SetMsisdn(v string) {
o.Msisdn = &v
}
// GetAddedExternalIds returns the AddedExternalIds field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetAddedExternalIds() []string {
if o == nil || IsNil(o.AddedExternalIds) {
var ret []string
return ret
}
return o.AddedExternalIds
}
// GetAddedExternalIdsOk returns a tuple with the AddedExternalIds field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetAddedExternalIdsOk() ([]string, bool) {
if o == nil || IsNil(o.AddedExternalIds) {
return nil, false
}
return o.AddedExternalIds, true
}
// HasAddedExternalIds returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasAddedExternalIds() bool {
if o != nil && !IsNil(o.AddedExternalIds) {
return true
}
return false
}
// SetAddedExternalIds gets a reference to the given []string and assigns it to the AddedExternalIds field.
func (o *MonitoringEventSubscription) SetAddedExternalIds(v []string) {
o.AddedExternalIds = v
}
// GetAddedMsisdns returns the AddedMsisdns field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetAddedMsisdns() []string {
if o == nil || IsNil(o.AddedMsisdns) {
var ret []string
return ret
}
return o.AddedMsisdns
}
// GetAddedMsisdnsOk returns a tuple with the AddedMsisdns field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetAddedMsisdnsOk() ([]string, bool) {
if o == nil || IsNil(o.AddedMsisdns) {
return nil, false
}
return o.AddedMsisdns, true
}
// HasAddedMsisdns returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasAddedMsisdns() bool {
if o != nil && !IsNil(o.AddedMsisdns) {
return true
}
return false
}
// SetAddedMsisdns gets a reference to the given []string and assigns it to the AddedMsisdns field.
func (o *MonitoringEventSubscription) SetAddedMsisdns(v []string) {
o.AddedMsisdns = v
}
// GetExcludedExternalIds returns the ExcludedExternalIds field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetExcludedExternalIds() []string {
if o == nil || IsNil(o.ExcludedExternalIds) {
var ret []string
return ret
}
return o.ExcludedExternalIds
}
// GetExcludedExternalIdsOk returns a tuple with the ExcludedExternalIds field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetExcludedExternalIdsOk() ([]string, bool) {
if o == nil || IsNil(o.ExcludedExternalIds) {
return nil, false
}
return o.ExcludedExternalIds, true
}
// HasExcludedExternalIds returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasExcludedExternalIds() bool {
if o != nil && !IsNil(o.ExcludedExternalIds) {
return true
}
return false
}
// SetExcludedExternalIds gets a reference to the given []string and assigns it to the ExcludedExternalIds field.
func (o *MonitoringEventSubscription) SetExcludedExternalIds(v []string) {
o.ExcludedExternalIds = v
}
// GetExcludedMsisdns returns the ExcludedMsisdns field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetExcludedMsisdns() []string {
if o == nil || IsNil(o.ExcludedMsisdns) {
var ret []string
return ret
}
return o.ExcludedMsisdns
}
// GetExcludedMsisdnsOk returns a tuple with the ExcludedMsisdns field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetExcludedMsisdnsOk() ([]string, bool) {
if o == nil || IsNil(o.ExcludedMsisdns) {
return nil, false
}
return o.ExcludedMsisdns, true
}
// HasExcludedMsisdns returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasExcludedMsisdns() bool {
if o != nil && !IsNil(o.ExcludedMsisdns) {
return true
}
return false
}
// SetExcludedMsisdns gets a reference to the given []string and assigns it to the ExcludedMsisdns field.
func (o *MonitoringEventSubscription) SetExcludedMsisdns(v []string) {
o.ExcludedMsisdns = v
}
// GetExternalGroupId returns the ExternalGroupId field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetExternalGroupId() string {
if o == nil || IsNil(o.ExternalGroupId) {
var ret string
return ret
}
return *o.ExternalGroupId
}
// GetExternalGroupIdOk returns a tuple with the ExternalGroupId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetExternalGroupIdOk() (*string, bool) {
if o == nil || IsNil(o.ExternalGroupId) {
return nil, false
}
return o.ExternalGroupId, true
}
// HasExternalGroupId returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasExternalGroupId() bool {
if o != nil && !IsNil(o.ExternalGroupId) {
return true
}
return false
}
// SetExternalGroupId gets a reference to the given string and assigns it to the ExternalGroupId field.
func (o *MonitoringEventSubscription) SetExternalGroupId(v string) {
o.ExternalGroupId = &v
}
// GetAddExtGroupId returns the AddExtGroupId field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetAddExtGroupId() []string {
if o == nil || IsNil(o.AddExtGroupId) {
var ret []string
return ret
}
return o.AddExtGroupId
}
// GetAddExtGroupIdOk returns a tuple with the AddExtGroupId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetAddExtGroupIdOk() ([]string, bool) {
if o == nil || IsNil(o.AddExtGroupId) {
return nil, false
}
return o.AddExtGroupId, true
}
// HasAddExtGroupId returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasAddExtGroupId() bool {
if o != nil && !IsNil(o.AddExtGroupId) {
return true
}
return false
}
// SetAddExtGroupId gets a reference to the given []string and assigns it to the AddExtGroupId field.
func (o *MonitoringEventSubscription) SetAddExtGroupId(v []string) {
o.AddExtGroupId = v
}
// GetIpv4Addr returns the Ipv4Addr field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetIpv4Addr() string {
if o == nil || IsNil(o.Ipv4Addr) {
var ret string
return ret
}
return *o.Ipv4Addr
}
// GetIpv4AddrOk returns a tuple with the Ipv4Addr field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetIpv4AddrOk() (*string, bool) {
if o == nil || IsNil(o.Ipv4Addr) {
return nil, false
}
return o.Ipv4Addr, true
}
// HasIpv4Addr returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasIpv4Addr() bool {
if o != nil && !IsNil(o.Ipv4Addr) {
return true
}
return false
}
// SetIpv4Addr gets a reference to the given string and assigns it to the Ipv4Addr field.
func (o *MonitoringEventSubscription) SetIpv4Addr(v string) {
o.Ipv4Addr = &v
}
// GetIpv6Addr returns the Ipv6Addr field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetIpv6Addr() string {
if o == nil || IsNil(o.Ipv6Addr) {
var ret string
return ret
}
return *o.Ipv6Addr
}
// GetIpv6AddrOk returns a tuple with the Ipv6Addr field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetIpv6AddrOk() (*string, bool) {
if o == nil || IsNil(o.Ipv6Addr) {
return nil, false
}
return o.Ipv6Addr, true
}
// HasIpv6Addr returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasIpv6Addr() bool {
if o != nil && !IsNil(o.Ipv6Addr) {
return true
}
return false
}
// SetIpv6Addr gets a reference to the given string and assigns it to the Ipv6Addr field.
func (o *MonitoringEventSubscription) SetIpv6Addr(v string) {
o.Ipv6Addr = &v
}
// GetDnn returns the Dnn field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetDnn() string {
if o == nil || IsNil(o.Dnn) {
var ret string
return ret
}
return *o.Dnn
}
// GetDnnOk returns a tuple with the Dnn field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetDnnOk() (*string, bool) {
if o == nil || IsNil(o.Dnn) {
return nil, false
}
return o.Dnn, true
}
// HasDnn returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasDnn() bool {
if o != nil && !IsNil(o.Dnn) {
return true
}
return false
}
// SetDnn gets a reference to the given string and assigns it to the Dnn field.
func (o *MonitoringEventSubscription) SetDnn(v string) {
o.Dnn = &v
}
// GetNotificationDestination returns the NotificationDestination field value
func (o *MonitoringEventSubscription) GetNotificationDestination() string {
if o == nil {
var ret string
return ret
}
return o.NotificationDestination
}
// GetNotificationDestinationOk returns a tuple with the NotificationDestination field value
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetNotificationDestinationOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.NotificationDestination, true
}
// SetNotificationDestination sets field value
func (o *MonitoringEventSubscription) SetNotificationDestination(v string) {
o.NotificationDestination = v
}
// GetRequestTestNotification returns the RequestTestNotification field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetRequestTestNotification() bool {
if o == nil || IsNil(o.RequestTestNotification) {
var ret bool
return ret
}
return *o.RequestTestNotification
}
// GetRequestTestNotificationOk returns a tuple with the RequestTestNotification field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetRequestTestNotificationOk() (*bool, bool) {
if o == nil || IsNil(o.RequestTestNotification) {
return nil, false
}
return o.RequestTestNotification, true
}
// HasRequestTestNotification returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasRequestTestNotification() bool {
if o != nil && !IsNil(o.RequestTestNotification) {
return true
}
return false
}
// SetRequestTestNotification gets a reference to the given bool and assigns it to the RequestTestNotification field.
func (o *MonitoringEventSubscription) SetRequestTestNotification(v bool) {
o.RequestTestNotification = &v
}
// GetWebsockNotifConfig returns the WebsockNotifConfig field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetWebsockNotifConfig() WebsockNotifConfig {
if o == nil || IsNil(o.WebsockNotifConfig) {
var ret WebsockNotifConfig
return ret
}
return *o.WebsockNotifConfig
}
// GetWebsockNotifConfigOk returns a tuple with the WebsockNotifConfig field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetWebsockNotifConfigOk() (*WebsockNotifConfig, bool) {
if o == nil || IsNil(o.WebsockNotifConfig) {
return nil, false
}
return o.WebsockNotifConfig, true
}
// HasWebsockNotifConfig returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasWebsockNotifConfig() bool {
if o != nil && !IsNil(o.WebsockNotifConfig) {
return true
}
return false
}
// SetWebsockNotifConfig gets a reference to the given WebsockNotifConfig and assigns it to the WebsockNotifConfig field.
func (o *MonitoringEventSubscription) SetWebsockNotifConfig(v WebsockNotifConfig) {
o.WebsockNotifConfig = &v
}
// GetMonitoringType returns the MonitoringType field value
func (o *MonitoringEventSubscription) GetMonitoringType() MonitoringType {
if o == nil {
var ret MonitoringType
return ret
}
return o.MonitoringType
}
// GetMonitoringTypeOk returns a tuple with the MonitoringType field value
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetMonitoringTypeOk() (*MonitoringType, bool) {
if o == nil {
return nil, false
}
return &o.MonitoringType, true
}
// SetMonitoringType sets field value
func (o *MonitoringEventSubscription) SetMonitoringType(v MonitoringType) {
o.MonitoringType = v
}
// GetMaximumNumberOfReports returns the MaximumNumberOfReports field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetMaximumNumberOfReports() int32 {
if o == nil || IsNil(o.MaximumNumberOfReports) {
var ret int32
return ret
}
return *o.MaximumNumberOfReports
}
// GetMaximumNumberOfReportsOk returns a tuple with the MaximumNumberOfReports field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetMaximumNumberOfReportsOk() (*int32, bool) {
if o == nil || IsNil(o.MaximumNumberOfReports) {
return nil, false
}
return o.MaximumNumberOfReports, true
}
// HasMaximumNumberOfReports returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasMaximumNumberOfReports() bool {
if o != nil && !IsNil(o.MaximumNumberOfReports) {
return true
}
return false
}
// SetMaximumNumberOfReports gets a reference to the given int32 and assigns it to the MaximumNumberOfReports field.
func (o *MonitoringEventSubscription) SetMaximumNumberOfReports(v int32) {
o.MaximumNumberOfReports = &v
}
// GetMonitorExpireTime returns the MonitorExpireTime field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetMonitorExpireTime() time.Time {
if o == nil || IsNil(o.MonitorExpireTime) {
var ret time.Time
return ret
}
return *o.MonitorExpireTime
}
// GetMonitorExpireTimeOk returns a tuple with the MonitorExpireTime field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetMonitorExpireTimeOk() (*time.Time, bool) {
if o == nil || IsNil(o.MonitorExpireTime) {
return nil, false
}
return o.MonitorExpireTime, true
}
// HasMonitorExpireTime returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasMonitorExpireTime() bool {
if o != nil && !IsNil(o.MonitorExpireTime) {
return true
}
return false
}
// SetMonitorExpireTime gets a reference to the given time.Time and assigns it to the MonitorExpireTime field.
func (o *MonitoringEventSubscription) SetMonitorExpireTime(v time.Time) {
o.MonitorExpireTime = &v
}
// GetRepPeriod returns the RepPeriod field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetRepPeriod() int32 {
if o == nil || IsNil(o.RepPeriod) {
var ret int32
return ret
}
return *o.RepPeriod
}
// GetRepPeriodOk returns a tuple with the RepPeriod field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetRepPeriodOk() (*int32, bool) {
if o == nil || IsNil(o.RepPeriod) {
return nil, false
}
return o.RepPeriod, true
}
// HasRepPeriod returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasRepPeriod() bool {
if o != nil && !IsNil(o.RepPeriod) {
return true
}
return false
}
// SetRepPeriod gets a reference to the given int32 and assigns it to the RepPeriod field.
func (o *MonitoringEventSubscription) SetRepPeriod(v int32) {
o.RepPeriod = &v
}
// GetGroupReportGuardTime returns the GroupReportGuardTime field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetGroupReportGuardTime() int32 {
if o == nil || IsNil(o.GroupReportGuardTime) {
var ret int32
return ret
}
return *o.GroupReportGuardTime
}
// GetGroupReportGuardTimeOk returns a tuple with the GroupReportGuardTime field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetGroupReportGuardTimeOk() (*int32, bool) {
if o == nil || IsNil(o.GroupReportGuardTime) {
return nil, false
}
return o.GroupReportGuardTime, true
}
// HasGroupReportGuardTime returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasGroupReportGuardTime() bool {
if o != nil && !IsNil(o.GroupReportGuardTime) {
return true
}
return false
}
// SetGroupReportGuardTime gets a reference to the given int32 and assigns it to the GroupReportGuardTime field.
func (o *MonitoringEventSubscription) SetGroupReportGuardTime(v int32) {
o.GroupReportGuardTime = &v
}
// GetMaximumDetectionTime returns the MaximumDetectionTime field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetMaximumDetectionTime() int32 {
if o == nil || IsNil(o.MaximumDetectionTime) {
var ret int32
return ret
}
return *o.MaximumDetectionTime
}
// GetMaximumDetectionTimeOk returns a tuple with the MaximumDetectionTime field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetMaximumDetectionTimeOk() (*int32, bool) {
if o == nil || IsNil(o.MaximumDetectionTime) {
return nil, false
}
return o.MaximumDetectionTime, true
}
// HasMaximumDetectionTime returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasMaximumDetectionTime() bool {
if o != nil && !IsNil(o.MaximumDetectionTime) {
return true
}
return false
}
// SetMaximumDetectionTime gets a reference to the given int32 and assigns it to the MaximumDetectionTime field.
func (o *MonitoringEventSubscription) SetMaximumDetectionTime(v int32) {
o.MaximumDetectionTime = &v
}
// GetReachabilityType returns the ReachabilityType field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetReachabilityType() ReachabilityType {
if o == nil || IsNil(o.ReachabilityType) {
var ret ReachabilityType
return ret
}
return *o.ReachabilityType
}
// GetReachabilityTypeOk returns a tuple with the ReachabilityType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetReachabilityTypeOk() (*ReachabilityType, bool) {
if o == nil || IsNil(o.ReachabilityType) {
return nil, false
}
return o.ReachabilityType, true
}
// HasReachabilityType returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasReachabilityType() bool {
if o != nil && !IsNil(o.ReachabilityType) {
return true
}
return false
}
// SetReachabilityType gets a reference to the given ReachabilityType and assigns it to the ReachabilityType field.
func (o *MonitoringEventSubscription) SetReachabilityType(v ReachabilityType) {
o.ReachabilityType = &v
}
// GetMaximumLatency returns the MaximumLatency field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetMaximumLatency() int32 {
if o == nil || IsNil(o.MaximumLatency) {
var ret int32
return ret
}
return *o.MaximumLatency
}
// GetMaximumLatencyOk returns a tuple with the MaximumLatency field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetMaximumLatencyOk() (*int32, bool) {
if o == nil || IsNil(o.MaximumLatency) {
return nil, false
}
return o.MaximumLatency, true
}
// HasMaximumLatency returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasMaximumLatency() bool {
if o != nil && !IsNil(o.MaximumLatency) {
return true
}
return false
}
// SetMaximumLatency gets a reference to the given int32 and assigns it to the MaximumLatency field.
func (o *MonitoringEventSubscription) SetMaximumLatency(v int32) {
o.MaximumLatency = &v
}
// GetMaximumResponseTime returns the MaximumResponseTime field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetMaximumResponseTime() int32 {
if o == nil || IsNil(o.MaximumResponseTime) {
var ret int32
return ret
}
return *o.MaximumResponseTime
}
// GetMaximumResponseTimeOk returns a tuple with the MaximumResponseTime field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetMaximumResponseTimeOk() (*int32, bool) {
if o == nil || IsNil(o.MaximumResponseTime) {
return nil, false
}
return o.MaximumResponseTime, true
}
// HasMaximumResponseTime returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasMaximumResponseTime() bool {
if o != nil && !IsNil(o.MaximumResponseTime) {
return true
}
return false
}
// SetMaximumResponseTime gets a reference to the given int32 and assigns it to the MaximumResponseTime field.
func (o *MonitoringEventSubscription) SetMaximumResponseTime(v int32) {
o.MaximumResponseTime = &v
}
// GetSuggestedNumberOfDlPackets returns the SuggestedNumberOfDlPackets field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetSuggestedNumberOfDlPackets() int32 {
if o == nil || IsNil(o.SuggestedNumberOfDlPackets) {
var ret int32
return ret
}
return *o.SuggestedNumberOfDlPackets
}
// GetSuggestedNumberOfDlPacketsOk returns a tuple with the SuggestedNumberOfDlPackets field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetSuggestedNumberOfDlPacketsOk() (*int32, bool) {
if o == nil || IsNil(o.SuggestedNumberOfDlPackets) {
return nil, false
}
return o.SuggestedNumberOfDlPackets, true
}
// HasSuggestedNumberOfDlPackets returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasSuggestedNumberOfDlPackets() bool {
if o != nil && !IsNil(o.SuggestedNumberOfDlPackets) {
return true
}
return false
}
// SetSuggestedNumberOfDlPackets gets a reference to the given int32 and assigns it to the SuggestedNumberOfDlPackets field.
func (o *MonitoringEventSubscription) SetSuggestedNumberOfDlPackets(v int32) {
o.SuggestedNumberOfDlPackets = &v
}
// GetIdleStatusIndication returns the IdleStatusIndication field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetIdleStatusIndication() bool {
if o == nil || IsNil(o.IdleStatusIndication) {
var ret bool
return ret
}
return *o.IdleStatusIndication
}
// GetIdleStatusIndicationOk returns a tuple with the IdleStatusIndication field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetIdleStatusIndicationOk() (*bool, bool) {
if o == nil || IsNil(o.IdleStatusIndication) {
return nil, false
}
return o.IdleStatusIndication, true
}
// HasIdleStatusIndication returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasIdleStatusIndication() bool {
if o != nil && !IsNil(o.IdleStatusIndication) {
return true
}
return false
}
// SetIdleStatusIndication gets a reference to the given bool and assigns it to the IdleStatusIndication field.
func (o *MonitoringEventSubscription) SetIdleStatusIndication(v bool) {
o.IdleStatusIndication = &v
}
// GetLocationType returns the LocationType field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetLocationType() LocationType {
if o == nil || IsNil(o.LocationType) {
var ret LocationType
return ret
}
return *o.LocationType
}
// GetLocationTypeOk returns a tuple with the LocationType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetLocationTypeOk() (*LocationType, bool) {
if o == nil || IsNil(o.LocationType) {
return nil, false
}
return o.LocationType, true
}
// HasLocationType returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasLocationType() bool {
if o != nil && !IsNil(o.LocationType) {
return true
}
return false
}
// SetLocationType gets a reference to the given LocationType and assigns it to the LocationType field.
func (o *MonitoringEventSubscription) SetLocationType(v LocationType) {
o.LocationType = &v
}
// GetAccuracy returns the Accuracy field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetAccuracy() Accuracy {
if o == nil || IsNil(o.Accuracy) {
var ret Accuracy
return ret
}
return *o.Accuracy
}
// GetAccuracyOk returns a tuple with the Accuracy field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetAccuracyOk() (*Accuracy, bool) {
if o == nil || IsNil(o.Accuracy) {
return nil, false
}
return o.Accuracy, true
}
// HasAccuracy returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasAccuracy() bool {
if o != nil && !IsNil(o.Accuracy) {
return true
}
return false
}
// SetAccuracy gets a reference to the given Accuracy and assigns it to the Accuracy field.
func (o *MonitoringEventSubscription) SetAccuracy(v Accuracy) {
o.Accuracy = &v
}
// GetMinimumReportInterval returns the MinimumReportInterval field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetMinimumReportInterval() int32 {
if o == nil || IsNil(o.MinimumReportInterval) {
var ret int32
return ret
}
return *o.MinimumReportInterval
}
// GetMinimumReportIntervalOk returns a tuple with the MinimumReportInterval field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetMinimumReportIntervalOk() (*int32, bool) {
if o == nil || IsNil(o.MinimumReportInterval) {
return nil, false
}
return o.MinimumReportInterval, true
}
// HasMinimumReportInterval returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasMinimumReportInterval() bool {
if o != nil && !IsNil(o.MinimumReportInterval) {
return true
}
return false
}
// SetMinimumReportInterval gets a reference to the given int32 and assigns it to the MinimumReportInterval field.
func (o *MonitoringEventSubscription) SetMinimumReportInterval(v int32) {
o.MinimumReportInterval = &v
}
// GetMaxRptExpireIntvl returns the MaxRptExpireIntvl field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetMaxRptExpireIntvl() int32 {
if o == nil || IsNil(o.MaxRptExpireIntvl) {
var ret int32
return ret
}
return *o.MaxRptExpireIntvl
}
// GetMaxRptExpireIntvlOk returns a tuple with the MaxRptExpireIntvl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetMaxRptExpireIntvlOk() (*int32, bool) {
if o == nil || IsNil(o.MaxRptExpireIntvl) {
return nil, false
}
return o.MaxRptExpireIntvl, true
}
// HasMaxRptExpireIntvl returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasMaxRptExpireIntvl() bool {
if o != nil && !IsNil(o.MaxRptExpireIntvl) {
return true
}
return false
}
// SetMaxRptExpireIntvl gets a reference to the given int32 and assigns it to the MaxRptExpireIntvl field.
func (o *MonitoringEventSubscription) SetMaxRptExpireIntvl(v int32) {
o.MaxRptExpireIntvl = &v
}
// GetSamplingInterval returns the SamplingInterval field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetSamplingInterval() int32 {
if o == nil || IsNil(o.SamplingInterval) {
var ret int32
return ret
}
return *o.SamplingInterval
}
// GetSamplingIntervalOk returns a tuple with the SamplingInterval field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetSamplingIntervalOk() (*int32, bool) {
if o == nil || IsNil(o.SamplingInterval) {
return nil, false
}
return o.SamplingInterval, true
}
// HasSamplingInterval returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasSamplingInterval() bool {
if o != nil && !IsNil(o.SamplingInterval) {
return true
}
return false
}
// SetSamplingInterval gets a reference to the given int32 and assigns it to the SamplingInterval field.
func (o *MonitoringEventSubscription) SetSamplingInterval(v int32) {
o.SamplingInterval = &v
}
// GetReportingLocEstInd returns the ReportingLocEstInd field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetReportingLocEstInd() bool {
if o == nil || IsNil(o.ReportingLocEstInd) {
var ret bool
return ret
}
return *o.ReportingLocEstInd
}
// GetReportingLocEstIndOk returns a tuple with the ReportingLocEstInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetReportingLocEstIndOk() (*bool, bool) {
if o == nil || IsNil(o.ReportingLocEstInd) {
return nil, false
}
return o.ReportingLocEstInd, true
}
// HasReportingLocEstInd returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasReportingLocEstInd() bool {
if o != nil && !IsNil(o.ReportingLocEstInd) {
return true
}
return false
}
// SetReportingLocEstInd gets a reference to the given bool and assigns it to the ReportingLocEstInd field.
func (o *MonitoringEventSubscription) SetReportingLocEstInd(v bool) {
o.ReportingLocEstInd = &v
}
// GetLinearDistance returns the LinearDistance field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetLinearDistance() int32 {
if o == nil || IsNil(o.LinearDistance) {
var ret int32
return ret
}
return *o.LinearDistance
}
// GetLinearDistanceOk returns a tuple with the LinearDistance field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetLinearDistanceOk() (*int32, bool) {
if o == nil || IsNil(o.LinearDistance) {
return nil, false
}
return o.LinearDistance, true
}
// HasLinearDistance returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasLinearDistance() bool {
if o != nil && !IsNil(o.LinearDistance) {
return true
}
return false
}
// SetLinearDistance gets a reference to the given int32 and assigns it to the LinearDistance field.
func (o *MonitoringEventSubscription) SetLinearDistance(v int32) {
o.LinearDistance = &v
}
// GetLocQoS returns the LocQoS field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetLocQoS() LocationQoS {
if o == nil || IsNil(o.LocQoS) {
var ret LocationQoS
return ret
}
return *o.LocQoS
}
// GetLocQoSOk returns a tuple with the LocQoS field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetLocQoSOk() (*LocationQoS, bool) {
if o == nil || IsNil(o.LocQoS) {
return nil, false
}
return o.LocQoS, true
}
// HasLocQoS returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasLocQoS() bool {
if o != nil && !IsNil(o.LocQoS) {
return true
}
return false
}
// SetLocQoS gets a reference to the given LocationQoS and assigns it to the LocQoS field.
func (o *MonitoringEventSubscription) SetLocQoS(v LocationQoS) {
o.LocQoS = &v
}
// GetSvcId returns the SvcId field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetSvcId() string {
if o == nil || IsNil(o.SvcId) {
var ret string
return ret
}
return *o.SvcId
}
// GetSvcIdOk returns a tuple with the SvcId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetSvcIdOk() (*string, bool) {
if o == nil || IsNil(o.SvcId) {
return nil, false
}
return o.SvcId, true
}
// HasSvcId returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasSvcId() bool {
if o != nil && !IsNil(o.SvcId) {
return true
}
return false
}
// SetSvcId gets a reference to the given string and assigns it to the SvcId field.
func (o *MonitoringEventSubscription) SetSvcId(v string) {
o.SvcId = &v
}
// GetLdrType returns the LdrType field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetLdrType() LdrType {
if o == nil || IsNil(o.LdrType) {
var ret LdrType
return ret
}
return *o.LdrType
}
// GetLdrTypeOk returns a tuple with the LdrType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetLdrTypeOk() (*LdrType, bool) {
if o == nil || IsNil(o.LdrType) {
return nil, false
}
return o.LdrType, true
}
// HasLdrType returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasLdrType() bool {
if o != nil && !IsNil(o.LdrType) {
return true
}
return false
}
// SetLdrType gets a reference to the given LdrType and assigns it to the LdrType field.
func (o *MonitoringEventSubscription) SetLdrType(v LdrType) {
o.LdrType = &v
}
// GetVelocityRequested returns the VelocityRequested field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetVelocityRequested() VelocityRequested {
if o == nil || IsNil(o.VelocityRequested) {
var ret VelocityRequested
return ret
}
return *o.VelocityRequested
}
// GetVelocityRequestedOk returns a tuple with the VelocityRequested field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetVelocityRequestedOk() (*VelocityRequested, bool) {
if o == nil || IsNil(o.VelocityRequested) {
return nil, false
}
return o.VelocityRequested, true
}
// HasVelocityRequested returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasVelocityRequested() bool {
if o != nil && !IsNil(o.VelocityRequested) {
return true
}
return false
}
// SetVelocityRequested gets a reference to the given VelocityRequested and assigns it to the VelocityRequested field.
func (o *MonitoringEventSubscription) SetVelocityRequested(v VelocityRequested) {
o.VelocityRequested = &v
}
// GetMaxAgeOfLocEst returns the MaxAgeOfLocEst field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetMaxAgeOfLocEst() int32 {
if o == nil || IsNil(o.MaxAgeOfLocEst) {
var ret int32
return ret
}
return *o.MaxAgeOfLocEst
}
// GetMaxAgeOfLocEstOk returns a tuple with the MaxAgeOfLocEst field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetMaxAgeOfLocEstOk() (*int32, bool) {
if o == nil || IsNil(o.MaxAgeOfLocEst) {
return nil, false
}
return o.MaxAgeOfLocEst, true
}
// HasMaxAgeOfLocEst returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasMaxAgeOfLocEst() bool {
if o != nil && !IsNil(o.MaxAgeOfLocEst) {
return true
}
return false
}
// SetMaxAgeOfLocEst gets a reference to the given int32 and assigns it to the MaxAgeOfLocEst field.
func (o *MonitoringEventSubscription) SetMaxAgeOfLocEst(v int32) {
o.MaxAgeOfLocEst = &v
}
// GetLocTimeWindow returns the LocTimeWindow field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetLocTimeWindow() TimeWindow {
if o == nil || IsNil(o.LocTimeWindow) {
var ret TimeWindow
return ret
}
return *o.LocTimeWindow
}
// GetLocTimeWindowOk returns a tuple with the LocTimeWindow field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetLocTimeWindowOk() (*TimeWindow, bool) {
if o == nil || IsNil(o.LocTimeWindow) {
return nil, false
}
return o.LocTimeWindow, true
}
// HasLocTimeWindow returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasLocTimeWindow() bool {
if o != nil && !IsNil(o.LocTimeWindow) {
return true
}
return false
}
// SetLocTimeWindow gets a reference to the given TimeWindow and assigns it to the LocTimeWindow field.
func (o *MonitoringEventSubscription) SetLocTimeWindow(v TimeWindow) {
o.LocTimeWindow = &v
}
// GetSupportedGADShapes returns the SupportedGADShapes field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetSupportedGADShapes() []SupportedGADShapes {
if o == nil || IsNil(o.SupportedGADShapes) {
var ret []SupportedGADShapes
return ret
}
return o.SupportedGADShapes
}
// GetSupportedGADShapesOk returns a tuple with the SupportedGADShapes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetSupportedGADShapesOk() ([]SupportedGADShapes, bool) {
if o == nil || IsNil(o.SupportedGADShapes) {
return nil, false
}
return o.SupportedGADShapes, true
}
// HasSupportedGADShapes returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasSupportedGADShapes() bool {
if o != nil && !IsNil(o.SupportedGADShapes) {
return true
}
return false
}
// SetSupportedGADShapes gets a reference to the given []SupportedGADShapes and assigns it to the SupportedGADShapes field.
func (o *MonitoringEventSubscription) SetSupportedGADShapes(v []SupportedGADShapes) {
o.SupportedGADShapes = v
}
// GetCodeWord returns the CodeWord field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetCodeWord() string {
if o == nil || IsNil(o.CodeWord) {
var ret string
return ret
}
return *o.CodeWord
}
// GetCodeWordOk returns a tuple with the CodeWord field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetCodeWordOk() (*string, bool) {
if o == nil || IsNil(o.CodeWord) {
return nil, false
}
return o.CodeWord, true
}
// HasCodeWord returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasCodeWord() bool {
if o != nil && !IsNil(o.CodeWord) {
return true
}
return false
}
// SetCodeWord gets a reference to the given string and assigns it to the CodeWord field.
func (o *MonitoringEventSubscription) SetCodeWord(v string) {
o.CodeWord = &v
}
// GetAssociationType returns the AssociationType field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetAssociationType() AssociationType {
if o == nil || IsNil(o.AssociationType) {
var ret AssociationType
return ret
}
return *o.AssociationType
}
// GetAssociationTypeOk returns a tuple with the AssociationType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetAssociationTypeOk() (*AssociationType, bool) {
if o == nil || IsNil(o.AssociationType) {
return nil, false
}
return o.AssociationType, true
}
// HasAssociationType returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasAssociationType() bool {
if o != nil && !IsNil(o.AssociationType) {
return true
}
return false
}
// SetAssociationType gets a reference to the given AssociationType and assigns it to the AssociationType field.
func (o *MonitoringEventSubscription) SetAssociationType(v AssociationType) {
o.AssociationType = &v
}
// GetPlmnIndication returns the PlmnIndication field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetPlmnIndication() bool {
if o == nil || IsNil(o.PlmnIndication) {
var ret bool
return ret
}
return *o.PlmnIndication
}
// GetPlmnIndicationOk returns a tuple with the PlmnIndication field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetPlmnIndicationOk() (*bool, bool) {
if o == nil || IsNil(o.PlmnIndication) {
return nil, false
}
return o.PlmnIndication, true
}
// HasPlmnIndication returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasPlmnIndication() bool {
if o != nil && !IsNil(o.PlmnIndication) {
return true
}
return false
}
// SetPlmnIndication gets a reference to the given bool and assigns it to the PlmnIndication field.
func (o *MonitoringEventSubscription) SetPlmnIndication(v bool) {
o.PlmnIndication = &v
}
// GetLocationArea returns the LocationArea field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetLocationArea() LocationArea {
if o == nil || IsNil(o.LocationArea) {
var ret LocationArea
return ret
}
return *o.LocationArea
}
// GetLocationAreaOk returns a tuple with the LocationArea field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetLocationAreaOk() (*LocationArea, bool) {
if o == nil || IsNil(o.LocationArea) {
return nil, false
}
return o.LocationArea, true
}
// HasLocationArea returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasLocationArea() bool {
if o != nil && !IsNil(o.LocationArea) {
return true
}
return false
}
// SetLocationArea gets a reference to the given LocationArea and assigns it to the LocationArea field.
func (o *MonitoringEventSubscription) SetLocationArea(v LocationArea) {
o.LocationArea = &v
}
// GetLocationArea5G returns the LocationArea5G field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetLocationArea5G() LocationArea5G {
if o == nil || IsNil(o.LocationArea5G) {
var ret LocationArea5G
return ret
}
return *o.LocationArea5G
}
// GetLocationArea5GOk returns a tuple with the LocationArea5G field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetLocationArea5GOk() (*LocationArea5G, bool) {
if o == nil || IsNil(o.LocationArea5G) {
return nil, false
}
return o.LocationArea5G, true
}
// HasLocationArea5G returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasLocationArea5G() bool {
if o != nil && !IsNil(o.LocationArea5G) {
return true
}
return false
}
// SetLocationArea5G gets a reference to the given LocationArea5G and assigns it to the LocationArea5G field.
func (o *MonitoringEventSubscription) SetLocationArea5G(v LocationArea5G) {
o.LocationArea5G = &v
}
// GetDddTraDescriptors returns the DddTraDescriptors field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetDddTraDescriptors() []DddTrafficDescriptor {
if o == nil || IsNil(o.DddTraDescriptors) {
var ret []DddTrafficDescriptor
return ret
}
return o.DddTraDescriptors
}
// GetDddTraDescriptorsOk returns a tuple with the DddTraDescriptors field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetDddTraDescriptorsOk() ([]DddTrafficDescriptor, bool) {
if o == nil || IsNil(o.DddTraDescriptors) {
return nil, false
}
return o.DddTraDescriptors, true
}
// HasDddTraDescriptors returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasDddTraDescriptors() bool {
if o != nil && !IsNil(o.DddTraDescriptors) {
return true
}
return false
}
// SetDddTraDescriptors gets a reference to the given []DddTrafficDescriptor and assigns it to the DddTraDescriptors field.
func (o *MonitoringEventSubscription) SetDddTraDescriptors(v []DddTrafficDescriptor) {
o.DddTraDescriptors = v
}
// GetDddStati returns the DddStati field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetDddStati() []DlDataDeliveryStatus {
if o == nil || IsNil(o.DddStati) {
var ret []DlDataDeliveryStatus
return ret
}
return o.DddStati
}
// GetDddStatiOk returns a tuple with the DddStati field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetDddStatiOk() ([]DlDataDeliveryStatus, bool) {
if o == nil || IsNil(o.DddStati) {
return nil, false
}
return o.DddStati, true
}
// HasDddStati returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasDddStati() bool {
if o != nil && !IsNil(o.DddStati) {
return true
}
return false
}
// SetDddStati gets a reference to the given []DlDataDeliveryStatus and assigns it to the DddStati field.
func (o *MonitoringEventSubscription) SetDddStati(v []DlDataDeliveryStatus) {
o.DddStati = v
}
// GetApiNames returns the ApiNames field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetApiNames() []string {
if o == nil || IsNil(o.ApiNames) {
var ret []string
return ret
}
return o.ApiNames
}
// GetApiNamesOk returns a tuple with the ApiNames field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetApiNamesOk() ([]string, bool) {
if o == nil || IsNil(o.ApiNames) {
return nil, false
}
return o.ApiNames, true
}
// HasApiNames returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasApiNames() bool {
if o != nil && !IsNil(o.ApiNames) {
return true
}
return false
}
// SetApiNames gets a reference to the given []string and assigns it to the ApiNames field.
func (o *MonitoringEventSubscription) SetApiNames(v []string) {
o.ApiNames = v
}
// GetMonitoringEventReport returns the MonitoringEventReport field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetMonitoringEventReport() MonitoringEventReport {
if o == nil || IsNil(o.MonitoringEventReport) {
var ret MonitoringEventReport
return ret
}
return *o.MonitoringEventReport
}
// GetMonitoringEventReportOk returns a tuple with the MonitoringEventReport field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetMonitoringEventReportOk() (*MonitoringEventReport, bool) {
if o == nil || IsNil(o.MonitoringEventReport) {
return nil, false
}
return o.MonitoringEventReport, true
}
// HasMonitoringEventReport returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasMonitoringEventReport() bool {
if o != nil && !IsNil(o.MonitoringEventReport) {
return true
}
return false
}
// SetMonitoringEventReport gets a reference to the given MonitoringEventReport and assigns it to the MonitoringEventReport field.
func (o *MonitoringEventSubscription) SetMonitoringEventReport(v MonitoringEventReport) {
o.MonitoringEventReport = &v
}
// GetSnssai returns the Snssai field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) 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 *MonitoringEventSubscription) 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 *MonitoringEventSubscription) 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 *MonitoringEventSubscription) SetSnssai(v Snssai) {
o.Snssai = &v
}
// GetTgtNsThreshold returns the TgtNsThreshold field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetTgtNsThreshold() SACInfo {
if o == nil || IsNil(o.TgtNsThreshold) {
var ret SACInfo
return ret
}
return *o.TgtNsThreshold
}
// GetTgtNsThresholdOk returns a tuple with the TgtNsThreshold field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetTgtNsThresholdOk() (*SACInfo, bool) {
if o == nil || IsNil(o.TgtNsThreshold) {
return nil, false
}
return o.TgtNsThreshold, true
}
// HasTgtNsThreshold returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasTgtNsThreshold() bool {
if o != nil && !IsNil(o.TgtNsThreshold) {
return true
}
return false
}
// SetTgtNsThreshold gets a reference to the given SACInfo and assigns it to the TgtNsThreshold field.
func (o *MonitoringEventSubscription) SetTgtNsThreshold(v SACInfo) {
o.TgtNsThreshold = &v
}
// GetNsRepFormat returns the NsRepFormat field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetNsRepFormat() SACRepFormat {
if o == nil || IsNil(o.NsRepFormat) {
var ret SACRepFormat
return ret
}
return *o.NsRepFormat
}
// GetNsRepFormatOk returns a tuple with the NsRepFormat field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetNsRepFormatOk() (*SACRepFormat, bool) {
if o == nil || IsNil(o.NsRepFormat) {
return nil, false
}
return o.NsRepFormat, true
}
// HasNsRepFormat returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasNsRepFormat() bool {
if o != nil && !IsNil(o.NsRepFormat) {
return true
}
return false
}
// SetNsRepFormat gets a reference to the given SACRepFormat and assigns it to the NsRepFormat field.
func (o *MonitoringEventSubscription) SetNsRepFormat(v SACRepFormat) {
o.NsRepFormat = &v
}
// GetAfServiceId returns the AfServiceId field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetAfServiceId() string {
if o == nil || IsNil(o.AfServiceId) {
var ret string
return ret
}
return *o.AfServiceId
}
// GetAfServiceIdOk returns a tuple with the AfServiceId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetAfServiceIdOk() (*string, bool) {
if o == nil || IsNil(o.AfServiceId) {
return nil, false
}
return o.AfServiceId, true
}
// HasAfServiceId returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasAfServiceId() bool {
if o != nil && !IsNil(o.AfServiceId) {
return true
}
return false
}
// SetAfServiceId gets a reference to the given string and assigns it to the AfServiceId field.
func (o *MonitoringEventSubscription) SetAfServiceId(v string) {
o.AfServiceId = &v
}
// GetImmediateRep returns the ImmediateRep field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetImmediateRep() bool {
if o == nil || IsNil(o.ImmediateRep) {
var ret bool
return ret
}
return *o.ImmediateRep
}
// GetImmediateRepOk returns a tuple with the ImmediateRep field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetImmediateRepOk() (*bool, bool) {
if o == nil || IsNil(o.ImmediateRep) {
return nil, false
}
return o.ImmediateRep, true
}
// HasImmediateRep returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasImmediateRep() bool {
if o != nil && !IsNil(o.ImmediateRep) {
return true
}
return false
}
// SetImmediateRep gets a reference to the given bool and assigns it to the ImmediateRep field.
func (o *MonitoringEventSubscription) SetImmediateRep(v bool) {
o.ImmediateRep = &v
}
// GetUavPolicy returns the UavPolicy field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetUavPolicy() UavPolicy {
if o == nil || IsNil(o.UavPolicy) {
var ret UavPolicy
return ret
}
return *o.UavPolicy
}
// GetUavPolicyOk returns a tuple with the UavPolicy field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetUavPolicyOk() (*UavPolicy, bool) {
if o == nil || IsNil(o.UavPolicy) {
return nil, false
}
return o.UavPolicy, true
}
// HasUavPolicy returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasUavPolicy() bool {
if o != nil && !IsNil(o.UavPolicy) {
return true
}
return false
}
// SetUavPolicy gets a reference to the given UavPolicy and assigns it to the UavPolicy field.
func (o *MonitoringEventSubscription) SetUavPolicy(v UavPolicy) {
o.UavPolicy = &v
}
// GetSesEstInd returns the SesEstInd field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetSesEstInd() bool {
if o == nil || IsNil(o.SesEstInd) {
var ret bool
return ret
}
return *o.SesEstInd
}
// GetSesEstIndOk returns a tuple with the SesEstInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetSesEstIndOk() (*bool, bool) {
if o == nil || IsNil(o.SesEstInd) {
return nil, false
}
return o.SesEstInd, true
}
// HasSesEstInd returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasSesEstInd() bool {
if o != nil && !IsNil(o.SesEstInd) {
return true
}
return false
}
// SetSesEstInd gets a reference to the given bool and assigns it to the SesEstInd field.
func (o *MonitoringEventSubscription) SetSesEstInd(v bool) {
o.SesEstInd = &v
}
// GetSubType returns the SubType field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetSubType() SubType {
if o == nil || IsNil(o.SubType) {
var ret SubType
return ret
}
return *o.SubType
}
// GetSubTypeOk returns a tuple with the SubType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetSubTypeOk() (*SubType, bool) {
if o == nil || IsNil(o.SubType) {
return nil, false
}
return o.SubType, true
}
// HasSubType returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasSubType() bool {
if o != nil && !IsNil(o.SubType) {
return true
}
return false
}
// SetSubType gets a reference to the given SubType and assigns it to the SubType field.
func (o *MonitoringEventSubscription) SetSubType(v SubType) {
o.SubType = &v
}
// GetAddnMonTypes returns the AddnMonTypes field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetAddnMonTypes() []MonitoringType {
if o == nil || IsNil(o.AddnMonTypes) {
var ret []MonitoringType
return ret
}
return o.AddnMonTypes
}
// GetAddnMonTypesOk returns a tuple with the AddnMonTypes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetAddnMonTypesOk() ([]MonitoringType, bool) {
if o == nil || IsNil(o.AddnMonTypes) {
return nil, false
}
return o.AddnMonTypes, true
}
// HasAddnMonTypes returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasAddnMonTypes() bool {
if o != nil && !IsNil(o.AddnMonTypes) {
return true
}
return false
}
// SetAddnMonTypes gets a reference to the given []MonitoringType and assigns it to the AddnMonTypes field.
func (o *MonitoringEventSubscription) SetAddnMonTypes(v []MonitoringType) {
o.AddnMonTypes = v
}
// GetAddnMonEventReports returns the AddnMonEventReports field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetAddnMonEventReports() []MonitoringEventReport {
if o == nil || IsNil(o.AddnMonEventReports) {
var ret []MonitoringEventReport
return ret
}
return o.AddnMonEventReports
}
// GetAddnMonEventReportsOk returns a tuple with the AddnMonEventReports field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetAddnMonEventReportsOk() ([]MonitoringEventReport, bool) {
if o == nil || IsNil(o.AddnMonEventReports) {
return nil, false
}
return o.AddnMonEventReports, true
}
// HasAddnMonEventReports returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasAddnMonEventReports() bool {
if o != nil && !IsNil(o.AddnMonEventReports) {
return true
}
return false
}
// SetAddnMonEventReports gets a reference to the given []MonitoringEventReport and assigns it to the AddnMonEventReports field.
func (o *MonitoringEventSubscription) SetAddnMonEventReports(v []MonitoringEventReport) {
o.AddnMonEventReports = v
}
// GetUeIpAddr returns the UeIpAddr field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *MonitoringEventSubscription) GetUeIpAddr() IpAddr {
if o == nil || IsNil(o.UeIpAddr.Get()) {
var ret IpAddr
return ret
}
return *o.UeIpAddr.Get()
}
// GetUeIpAddrOk returns a tuple with the UeIpAddr 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 *MonitoringEventSubscription) GetUeIpAddrOk() (*IpAddr, bool) {
if o == nil {
return nil, false
}
return o.UeIpAddr.Get(), o.UeIpAddr.IsSet()
}
// HasUeIpAddr returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasUeIpAddr() bool {
if o != nil && o.UeIpAddr.IsSet() {
return true
}
return false
}
// SetUeIpAddr gets a reference to the given NullableIpAddr and assigns it to the UeIpAddr field.
func (o *MonitoringEventSubscription) SetUeIpAddr(v IpAddr) {
o.UeIpAddr.Set(&v)
}
// SetUeIpAddrNil sets the value for UeIpAddr to be an explicit nil
func (o *MonitoringEventSubscription) SetUeIpAddrNil() {
o.UeIpAddr.Set(nil)
}
// UnsetUeIpAddr ensures that no value is present for UeIpAddr, not even an explicit nil
func (o *MonitoringEventSubscription) UnsetUeIpAddr() {
o.UeIpAddr.Unset()
}
// GetUeMacAddr returns the UeMacAddr field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetUeMacAddr() string {
if o == nil || IsNil(o.UeMacAddr) {
var ret string
return ret
}
return *o.UeMacAddr
}
// GetUeMacAddrOk returns a tuple with the UeMacAddr field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetUeMacAddrOk() (*string, bool) {
if o == nil || IsNil(o.UeMacAddr) {
return nil, false
}
return o.UeMacAddr, true
}
// HasUeMacAddr returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasUeMacAddr() bool {
if o != nil && !IsNil(o.UeMacAddr) {
return true
}
return false
}
// SetUeMacAddr gets a reference to the given string and assigns it to the UeMacAddr field.
func (o *MonitoringEventSubscription) SetUeMacAddr(v string) {
o.UeMacAddr = &v
}
// GetRevocationNotifUri returns the RevocationNotifUri field value if set, zero value otherwise.
func (o *MonitoringEventSubscription) GetRevocationNotifUri() string {
if o == nil || IsNil(o.RevocationNotifUri) {
var ret string
return ret
}
return *o.RevocationNotifUri
}
// GetRevocationNotifUriOk returns a tuple with the RevocationNotifUri field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonitoringEventSubscription) GetRevocationNotifUriOk() (*string, bool) {
if o == nil || IsNil(o.RevocationNotifUri) {
return nil, false
}
return o.RevocationNotifUri, true
}
// HasRevocationNotifUri returns a boolean if a field has been set.
func (o *MonitoringEventSubscription) HasRevocationNotifUri() bool {
if o != nil && !IsNil(o.RevocationNotifUri) {
return true
}
return false
}
// SetRevocationNotifUri gets a reference to the given string and assigns it to the RevocationNotifUri field.
func (o *MonitoringEventSubscription) SetRevocationNotifUri(v string) {
o.RevocationNotifUri = &v
}
func (o MonitoringEventSubscription) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o MonitoringEventSubscription) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.Self) {
toSerialize["self"] = o.Self
}
if !IsNil(o.SupportedFeatures) {
toSerialize["supportedFeatures"] = o.SupportedFeatures
}
if !IsNil(o.MtcProviderId) {
toSerialize["mtcProviderId"] = o.MtcProviderId
}
if !IsNil(o.ExternalId) {
toSerialize["externalId"] = o.ExternalId
}
if !IsNil(o.Msisdn) {
toSerialize["msisdn"] = o.Msisdn
}
if !IsNil(o.AddedExternalIds) {
toSerialize["addedExternalIds"] = o.AddedExternalIds
}
if !IsNil(o.AddedMsisdns) {
toSerialize["addedMsisdns"] = o.AddedMsisdns
}
if !IsNil(o.ExcludedExternalIds) {
toSerialize["excludedExternalIds"] = o.ExcludedExternalIds
}
if !IsNil(o.ExcludedMsisdns) {
toSerialize["excludedMsisdns"] = o.ExcludedMsisdns
}
if !IsNil(o.ExternalGroupId) {
toSerialize["externalGroupId"] = o.ExternalGroupId
}
if !IsNil(o.AddExtGroupId) {
toSerialize["addExtGroupId"] = o.AddExtGroupId
}
if !IsNil(o.Ipv4Addr) {
toSerialize["ipv4Addr"] = o.Ipv4Addr
}
if !IsNil(o.Ipv6Addr) {
toSerialize["ipv6Addr"] = o.Ipv6Addr
}
if !IsNil(o.Dnn) {
toSerialize["dnn"] = o.Dnn
}
toSerialize["notificationDestination"] = o.NotificationDestination
if !IsNil(o.RequestTestNotification) {
toSerialize["requestTestNotification"] = o.RequestTestNotification
}
if !IsNil(o.WebsockNotifConfig) {
toSerialize["websockNotifConfig"] = o.WebsockNotifConfig
}
toSerialize["monitoringType"] = o.MonitoringType
if !IsNil(o.MaximumNumberOfReports) {
toSerialize["maximumNumberOfReports"] = o.MaximumNumberOfReports
}
if !IsNil(o.MonitorExpireTime) {
toSerialize["monitorExpireTime"] = o.MonitorExpireTime
}
if !IsNil(o.RepPeriod) {
toSerialize["repPeriod"] = o.RepPeriod
}
if !IsNil(o.GroupReportGuardTime) {
toSerialize["groupReportGuardTime"] = o.GroupReportGuardTime
}
if !IsNil(o.MaximumDetectionTime) {
toSerialize["maximumDetectionTime"] = o.MaximumDetectionTime
}
if !IsNil(o.ReachabilityType) {
toSerialize["reachabilityType"] = o.ReachabilityType
}
if !IsNil(o.MaximumLatency) {
toSerialize["maximumLatency"] = o.MaximumLatency
}
if !IsNil(o.MaximumResponseTime) {
toSerialize["maximumResponseTime"] = o.MaximumResponseTime
}
if !IsNil(o.SuggestedNumberOfDlPackets) {
toSerialize["suggestedNumberOfDlPackets"] = o.SuggestedNumberOfDlPackets
}
if !IsNil(o.IdleStatusIndication) {
toSerialize["idleStatusIndication"] = o.IdleStatusIndication
}
if !IsNil(o.LocationType) {
toSerialize["locationType"] = o.LocationType
}
if !IsNil(o.Accuracy) {
toSerialize["accuracy"] = o.Accuracy
}
if !IsNil(o.MinimumReportInterval) {
toSerialize["minimumReportInterval"] = o.MinimumReportInterval
}
if !IsNil(o.MaxRptExpireIntvl) {
toSerialize["maxRptExpireIntvl"] = o.MaxRptExpireIntvl
}
if !IsNil(o.SamplingInterval) {
toSerialize["samplingInterval"] = o.SamplingInterval
}
if !IsNil(o.ReportingLocEstInd) {
toSerialize["reportingLocEstInd"] = o.ReportingLocEstInd
}
if !IsNil(o.LinearDistance) {
toSerialize["linearDistance"] = o.LinearDistance
}
if !IsNil(o.LocQoS) {
toSerialize["locQoS"] = o.LocQoS
}
if !IsNil(o.SvcId) {
toSerialize["svcId"] = o.SvcId
}
if !IsNil(o.LdrType) {
toSerialize["ldrType"] = o.LdrType
}
if !IsNil(o.VelocityRequested) {
toSerialize["velocityRequested"] = o.VelocityRequested
}
if !IsNil(o.MaxAgeOfLocEst) {
toSerialize["maxAgeOfLocEst"] = o.MaxAgeOfLocEst
}
if !IsNil(o.LocTimeWindow) {
toSerialize["locTimeWindow"] = o.LocTimeWindow
}
if !IsNil(o.SupportedGADShapes) {
toSerialize["supportedGADShapes"] = o.SupportedGADShapes
}
if !IsNil(o.CodeWord) {
toSerialize["codeWord"] = o.CodeWord
}
if !IsNil(o.AssociationType) {
toSerialize["associationType"] = o.AssociationType
}
if !IsNil(o.PlmnIndication) {
toSerialize["plmnIndication"] = o.PlmnIndication
}
if !IsNil(o.LocationArea) {
toSerialize["locationArea"] = o.LocationArea
}
if !IsNil(o.LocationArea5G) {
toSerialize["locationArea5G"] = o.LocationArea5G
}
if !IsNil(o.DddTraDescriptors) {
toSerialize["dddTraDescriptors"] = o.DddTraDescriptors
}
if !IsNil(o.DddStati) {
toSerialize["dddStati"] = o.DddStati
}
if !IsNil(o.ApiNames) {
toSerialize["apiNames"] = o.ApiNames
}
if !IsNil(o.MonitoringEventReport) {
toSerialize["monitoringEventReport"] = o.MonitoringEventReport
}
if !IsNil(o.Snssai) {
toSerialize["snssai"] = o.Snssai
}
if !IsNil(o.TgtNsThreshold) {
toSerialize["tgtNsThreshold"] = o.TgtNsThreshold
}
if !IsNil(o.NsRepFormat) {
toSerialize["nsRepFormat"] = o.NsRepFormat
}
if !IsNil(o.AfServiceId) {
toSerialize["afServiceId"] = o.AfServiceId
}
if !IsNil(o.ImmediateRep) {
toSerialize["immediateRep"] = o.ImmediateRep
}
if !IsNil(o.UavPolicy) {
toSerialize["uavPolicy"] = o.UavPolicy
}
if !IsNil(o.SesEstInd) {
toSerialize["sesEstInd"] = o.SesEstInd
}
if !IsNil(o.SubType) {
toSerialize["subType"] = o.SubType
}
if !IsNil(o.AddnMonTypes) {
toSerialize["addnMonTypes"] = o.AddnMonTypes
}
if !IsNil(o.AddnMonEventReports) {
toSerialize["addnMonEventReports"] = o.AddnMonEventReports
}
if o.UeIpAddr.IsSet() {
toSerialize["ueIpAddr"] = o.UeIpAddr.Get()
}
if !IsNil(o.UeMacAddr) {
toSerialize["ueMacAddr"] = o.UeMacAddr
}
if !IsNil(o.RevocationNotifUri) {
toSerialize["revocationNotifUri"] = o.RevocationNotifUri
}
return toSerialize, nil
}
func (o *MonitoringEventSubscription) 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{
"notificationDestination",
"monitoringType",
}
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)
}
}
varMonitoringEventSubscription := _MonitoringEventSubscription{}
err = json.Unmarshal(bytes, &varMonitoringEventSubscription)
if err != nil {
return err
}
*o = MonitoringEventSubscription(varMonitoringEventSubscription)
return err
}
type NullableMonitoringEventSubscription struct {
value *MonitoringEventSubscription
isSet bool
}
func (v NullableMonitoringEventSubscription) Get() *MonitoringEventSubscription {
return v.value
}
func (v *NullableMonitoringEventSubscription) Set(val *MonitoringEventSubscription) {
v.value = val
v.isSet = true
}
func (v NullableMonitoringEventSubscription) IsSet() bool {
return v.isSet
}
func (v *NullableMonitoringEventSubscription) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableMonitoringEventSubscription(val *MonitoringEventSubscription) *NullableMonitoringEventSubscription {
return &NullableMonitoringEventSubscription{value: val, isSet: true}
}
func (v NullableMonitoringEventSubscription) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableMonitoringEventSubscription) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/konglinglong/openapi.git
git@gitee.com:konglinglong/openapi.git
konglinglong
openapi
openapi
e403a3c726a4

搜索帮助