1 Star 0 Fork 0

MrCoder/openapi

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
R17
OpenAPI_5GLANParameterProvision
OpenAPI_ACSParameterProvision
OpenAPI_AEF_Security_API
OpenAPI_AKMA
OpenAPI_AMInfluence
OpenAPI_AMPolicyAuthorization
OpenAPI_ASTI
OpenAPI_AnalyticsExposure
OpenAPI_ApplyingBdtPolicy
OpenAPI_AsSessionWithQoS
OpenAPI_CAPIF_API_Invoker_Management_API
OpenAPI_CAPIF_API_Provider_Management_API
OpenAPI_CAPIF_Access_Control_Policy_API
OpenAPI_CAPIF_Auditing_API
OpenAPI_CAPIF_Discover_Service_API
OpenAPI_CAPIF_Events_API
OpenAPI_CAPIF_Logging_API_Invocation_API
OpenAPI_CAPIF_Publish_Service_API
OpenAPI_CAPIF_Routing_Info_API
OpenAPI_CAPIF_Security_API
OpenAPI_ChargeableParty
OpenAPI_CpProvisioning
OpenAPI_DataReporting
OpenAPI_DataReportingProvisioning
OpenAPI_DeviceTriggering
OpenAPI_EASDeployment
OpenAPI_ECRControl
OpenAPI_EcsAddressProvision
OpenAPI_Eecs_EESRegistration
OpenAPI_Eecs_ServiceProvisioning
OpenAPI_Eecs_TargetEESDiscovery
OpenAPI_Eees_ACREvents
OpenAPI_Eees_ACRManagementEvent
OpenAPI_Eees_ACRStatusUpdate
OpenAPI_Eees_AppClientInformation
OpenAPI_Eees_AppContextRelocation
OpenAPI_Eees_EASDiscovery
OpenAPI_Eees_EASRegistration
OpenAPI_Eees_EECContextRelocation
OpenAPI_Eees_EECRegistration
OpenAPI_Eees_EELManagedACR
OpenAPI_Eees_SessionWithQoS
OpenAPI_Eees_UEIdentifier
OpenAPI_Eees_UELocation
OpenAPI_FaultMnS
OpenAPI_FileDataReportingMnS
OpenAPI_GMDviaMBMSbyMB2
OpenAPI_GMDviaMBMSbyxMB
OpenAPI_IPTVConfiguration
OpenAPI_JOSEProtectedMessageForwarding
OpenAPI_LpiParameterProvision
OpenAPI_M1_ConsumptionReportingProvisioning
OpenAPI_M1_ContentHostingProvisioning
OpenAPI_M1_ContentPreparationTemplatesProvisioning
OpenAPI_M1_ContentProtocolsDiscovery
OpenAPI_M1_EdgeResourcesProvisioning
OpenAPI_M1_EventDataProcessingProvisioning
OpenAPI_M1_MetricsReportingProvisioning
OpenAPI_M1_PolicyTemplatesProvisioning
OpenAPI_M1_ProvisioningSessions
OpenAPI_M1_ServerCertificatesProvisioning
OpenAPI_M5_ConsumptionReporting
OpenAPI_M5_DynamicPolicies
OpenAPI_M5_MetricsReporting
OpenAPI_M5_NetworkAssistance
OpenAPI_M5_ServiceAccessInformation
OpenAPI_MBSSession
OpenAPI_MBSTMGI
OpenAPI_MBSUserDataIngestSession
OpenAPI_MBSUserService
OpenAPI_MSEventExposure
OpenAPI_MSGG_L3GDelivery
OpenAPI_MSGG_N3GDelivery
OpenAPI_MSGS_ASRegistration
OpenAPI_MSGS_MSGDelivery
OpenAPI_MoLcsNotify
OpenAPI_MonitoringEvent
.openapi-generator
api
.gitignore
.openapi-generator-ignore
.travis.yml
README.md
api_individual_monitoring_event_subscription.go
api_monitoring_event_subscriptions.go
client.go
configuration.go
git_push.sh
model_accuracy.go
model_accuracy_fulfilment_indicator.go
model_api_capability_info.go
model_applied_parameter_configuration.go
model_association_type.go
model_civic_address.go
model_config_result.go
model_consent_revoc_notif.go
model_consent_revoked.go
model_ddd_traffic_descriptor.go
model_dl_data_delivery_status.go
model_ecgi.go
model_ellipsoid_arc.go
model_failure_cause.go
model_gad_shape.go
model_geographic_area.go
model_geographical_coordinates.go
model_global_ran_node_id.go
model_gnb_id.go
model_horizontal_velocity.go
model_horizontal_velocity_with_uncertainty.go
model_horizontal_with_vertical_velocity.go
model_horizontal_with_vertical_velocity_and_uncertainty.go
model_idle_status_info.go
model_interface_indication.go
model_invalid_param.go
model_ip_addr.go
model_ipv6_addr.go
model_ipv6_prefix.go
model_lcs_qos_class.go
model_ldr_type.go
model_local2d_point_uncertainty_ellipse.go
model_local3d_point_uncertainty_ellipsoid.go
model_local_origin.go
model_location_area.go
model_location_area5_g.go
model_location_failure_cause.go
model_location_info.go
model_location_qo_s.go
model_location_type.go
model_minor_location_qo_s.go
model_monitoring_event_report.go
model_monitoring_event_reports.go
model_monitoring_event_subscription.go
model_monitoring_notification.go
model_monitoring_type.go
model_ncgi.go
model_network_area_info.go
model_patch_item.go
model_patch_operation.go
model_pdn_connection_information.go
model_pdn_connection_status.go
model_pdn_type.go
model_plmn_id.go
model_plmn_id_1.go
model_point.go
model_point_altitude.go
model_point_altitude_uncertainty.go
model_point_uncertainty_circle.go
model_point_uncertainty_ellipse.go
model_polygon.go
model_positioning_method.go
model_problem_details.go
model_reachability_type.go
model_relative_cartesian_location.go
model_response_time.go
model_result_reason.go
model_sac_event_status.go
model_sac_info.go
model_sac_rep_format.go
model_snssai.go
model_sub_type.go
model_supported_gad_shapes.go
model_tai.go
model_time_window.go
model_uav_policy.go
model_uc_purpose.go
model_ue_per_location_report.go
model_uncertainty_ellipse.go
model_uncertainty_ellipsoid.go
model_velocity_estimate.go
model_velocity_requested.go
model_vertical_direction.go
model_websock_notif_config.go
response.go
utils.go
OpenAPI_MsisdnLessMoSms
OpenAPI_N32_Handshake
OpenAPI_N5g_ddnmf_Discovery
OpenAPI_N5g_eir_EquipmentIdentityCheck
OpenAPI_NIDD
OpenAPI_NIDDConfigurationTrigger
OpenAPI_Naanf_AKMA
OpenAPI_Nadrf_DataManagement
OpenAPI_Naf_Authentication
OpenAPI_Naf_EventExposure
OpenAPI_Naf_ProSe
OpenAPI_Namf_Communication
OpenAPI_Namf_EventExposure
OpenAPI_Namf_Location
OpenAPI_Namf_MBSBroadcast
OpenAPI_Namf_MBSCommunication
OpenAPI_Namf_MT
OpenAPI_Nausf_SoRProtection
OpenAPI_Nausf_UEAuthentication
OpenAPI_Nausf_UPUProtection
OpenAPI_Nbsf_Management
OpenAPI_Nbsp_GBA
OpenAPI_Nchf_ConvergedCharging
OpenAPI_Nchf_OfflineOnlyCharging
OpenAPI_Nchf_SpendingLimitControl
OpenAPI_Ndcaf_DataReporting
OpenAPI_Ndcaf_DataReportingProvisioning
OpenAPI_Ndccf_ContextManagement
OpenAPI_Ndccf_DataManagement
OpenAPI_Neasdf_BaselineDNSPattern
OpenAPI_Neasdf_DNSContext
OpenAPI_Ngmlc_Location
OpenAPI_Nhss_EE
OpenAPI_Nhss_SDM
OpenAPI_Nhss_UEAU
OpenAPI_Nhss_UECM
OpenAPI_Nhss_gbaSDM
OpenAPI_Nhss_gbaUEAU
OpenAPI_Nhss_imsSDM
OpenAPI_Nhss_imsUEAU
OpenAPI_Nhss_imsUECM
OpenAPI_Nipsmgw_SMService
OpenAPI_Niwmsc_SMService
OpenAPI_Nlmf_Broadcast
OpenAPI_Nlmf_Location
OpenAPI_Nmbsf_MBSUserDataIngestSession
OpenAPI_Nmbsf_MBSUserService
OpenAPI_Nmbsmf_MBSSession
OpenAPI_Nmbsmf_TMGI
OpenAPI_Nmbstf_DistSession
OpenAPI_Nmfaf_3caDataManagement
OpenAPI_Nmfaf_3daDataManagement
OpenAPI_Nmnpf_NPStatus
OpenAPI_Nnef_Authentication
OpenAPI_Nnef_EASDeployment
OpenAPI_Nnef_EventExposure
OpenAPI_Nnef_PFDmanagement
OpenAPI_Nnef_SMContext
OpenAPI_Nnef_SMService
OpenAPI_Nnrf_NFDiscovery
OpenAPI_Nnrf_NFManagement
OpenAPI_Nnsacf_NSAC
OpenAPI_Nnsacf_SliceEventExposure
OpenAPI_Nnssaaf_AIW
OpenAPI_Nnssaaf_NSSAA
OpenAPI_Nnssf_NSSAIAvailability
OpenAPI_Nnssf_NSSelection
OpenAPI_Nnwdaf_AnalyticsInfo
OpenAPI_Nnwdaf_DataManagement
OpenAPI_Nnwdaf_EventsSubscription
OpenAPI_Nnwdaf_MLModelProvision
OpenAPI_NpConfiguration
OpenAPI_Npanf_ProseKey
OpenAPI_Npanf_ResolveRemoteUserId
OpenAPI_Npcf_AMPolicyAuthorization
OpenAPI_Npcf_AMPolicyControl
OpenAPI_Npcf_BDTPolicyControl
OpenAPI_Npcf_EventExposure
OpenAPI_Npcf_MBSPolicyAuthorization
OpenAPI_Npcf_MBSPolicyControl
OpenAPI_Npcf_PolicyAuthorization
OpenAPI_Npcf_SMPolicyControl
OpenAPI_Npcf_UEPolicyControl
OpenAPI_Npkmf_PKMFKeyRequest
OpenAPI_Npkmf_UserId
OpenAPI_Nrouter_SMService
OpenAPI_Nsmf_EventExposure
OpenAPI_Nsmf_NIDD
OpenAPI_Nsmf_PDUSession
OpenAPI_Nsmsf_SMService
OpenAPI_Nsoraf_SOR
OpenAPI_Nspaf_SecuredPacket
OpenAPI_Ntsctsf_ASTI
OpenAPI_Ntsctsf_QoSandTSCAssistance
OpenAPI_Ntsctsf_TimeSynchronization
OpenAPI_Nucmf_Provisioning
OpenAPI_Nucmf_UERCM
OpenAPI_Nudm_EE
OpenAPI_Nudm_MT
OpenAPI_Nudm_NIDDAU
OpenAPI_Nudm_PP
OpenAPI_Nudm_RSDS
OpenAPI_Nudm_SDM
OpenAPI_Nudm_SSAU
OpenAPI_Nudm_UEAU
OpenAPI_Nudm_UECM
OpenAPI_Nudm_UEID
OpenAPI_Nudr_DR
OpenAPI_Nudr_GroupIDmap
OpenAPI_Nudsf_DataRepository
OpenAPI_Nudsf_Timer
OpenAPI_Nupf_EventExposure
OpenAPI_PerfMeasJobCtrlMnS
OpenAPI_PerfMnS
OpenAPI_PfdManagement
OpenAPI_ProvMnS
OpenAPI_RacsParameterProvisioning
OpenAPI_ReportingNetworkStatus
OpenAPI_ResourceManagementOfBdt
OpenAPI_SS_Events
OpenAPI_SS_GroupManagement
OpenAPI_SS_KeyInfoRetrieval
OpenAPI_SS_LocationAreaInfoRetrieval
OpenAPI_SS_LocationReporting
OpenAPI_SS_NetworkResourceAdaptation
OpenAPI_SS_NetworkResourceMonitoring
OpenAPI_SS_NetworkSliceAdaptation
OpenAPI_SS_UserProfileRetrieval
OpenAPI_SeppTelescopicFqdnMapping
OpenAPI_ServiceParameter
OpenAPI_StreamingDataMnS
OpenAPI_TimeSyncExposure
OpenAPI_TrafficInfluence
OpenAPI_UAE_C2OperationModeManagement
OpenAPI_UAE_RealtimeUAVStatus
OpenAPI_UEId
OpenAPI_VAE_ApplicationRequirement
OpenAPI_VAE_DynamicGroup
OpenAPI_VAE_FileDistribution
OpenAPI_VAE_HDMapDynamicInfo
OpenAPI_VAE_MessageDelivery
OpenAPI_VAE_PC5ProvisioningRequirement
OpenAPI_VAE_ServiceContinuity
OpenAPI_VAE_SessionOrientedService
OpenAPI_VAE_V2VConfigRequirement
.gitignore
LICENSE
go.mod
go.sum
克隆/下载
model_failure_cause.go 9.43 KB
一键复制 编辑 原始数据 按行查看 历史
MrCoder 提交于 2年前 . update
/*
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"
)
// checks if the FailureCause type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &FailureCause{}
// FailureCause Represents the reason of communication failure.
type FailureCause struct {
// Identifies a non-transparent copy of the BSSGP cause code. Refer to 3GPP TS 29.128.
BssgpCause *int32 `json:"bssgpCause,omitempty"`
// Identify the type of the S1AP-Cause. Refer to 3GPP TS 29.128.
CauseType *int32 `json:"causeType,omitempty"`
// Identifies a non-transparent copy of the GMM cause code. Refer to 3GPP TS 29.128.
GmmCause *int32 `json:"gmmCause,omitempty"`
// Identifies a non-transparent copy of the RANAP cause code. Refer to 3GPP TS 29.128.
RanapCause *int32 `json:"ranapCause,omitempty"`
// Indicates RAN and/or NAS release cause code information, TWAN release cause code information or untrusted WLAN release cause code information. Refer to 3GPP TS 29.214.
RanNasCause *string `json:"ranNasCause,omitempty"`
// Identifies a non-transparent copy of the S1AP cause code. Refer to 3GPP TS 29.128.
S1ApCause *int32 `json:"s1ApCause,omitempty"`
// Identifies a non-transparent copy of the SM cause code. Refer to 3GPP TS 29.128.
SmCause *int32 `json:"smCause,omitempty"`
}
// NewFailureCause instantiates a new FailureCause 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 NewFailureCause() *FailureCause {
this := FailureCause{}
return &this
}
// NewFailureCauseWithDefaults instantiates a new FailureCause 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 NewFailureCauseWithDefaults() *FailureCause {
this := FailureCause{}
return &this
}
// GetBssgpCause returns the BssgpCause field value if set, zero value otherwise.
func (o *FailureCause) GetBssgpCause() int32 {
if o == nil || IsNil(o.BssgpCause) {
var ret int32
return ret
}
return *o.BssgpCause
}
// GetBssgpCauseOk returns a tuple with the BssgpCause field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *FailureCause) GetBssgpCauseOk() (*int32, bool) {
if o == nil || IsNil(o.BssgpCause) {
return nil, false
}
return o.BssgpCause, true
}
// HasBssgpCause returns a boolean if a field has been set.
func (o *FailureCause) HasBssgpCause() bool {
if o != nil && !IsNil(o.BssgpCause) {
return true
}
return false
}
// SetBssgpCause gets a reference to the given int32 and assigns it to the BssgpCause field.
func (o *FailureCause) SetBssgpCause(v int32) {
o.BssgpCause = &v
}
// GetCauseType returns the CauseType field value if set, zero value otherwise.
func (o *FailureCause) GetCauseType() int32 {
if o == nil || IsNil(o.CauseType) {
var ret int32
return ret
}
return *o.CauseType
}
// GetCauseTypeOk returns a tuple with the CauseType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *FailureCause) GetCauseTypeOk() (*int32, bool) {
if o == nil || IsNil(o.CauseType) {
return nil, false
}
return o.CauseType, true
}
// HasCauseType returns a boolean if a field has been set.
func (o *FailureCause) HasCauseType() bool {
if o != nil && !IsNil(o.CauseType) {
return true
}
return false
}
// SetCauseType gets a reference to the given int32 and assigns it to the CauseType field.
func (o *FailureCause) SetCauseType(v int32) {
o.CauseType = &v
}
// GetGmmCause returns the GmmCause field value if set, zero value otherwise.
func (o *FailureCause) GetGmmCause() int32 {
if o == nil || IsNil(o.GmmCause) {
var ret int32
return ret
}
return *o.GmmCause
}
// GetGmmCauseOk returns a tuple with the GmmCause field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *FailureCause) GetGmmCauseOk() (*int32, bool) {
if o == nil || IsNil(o.GmmCause) {
return nil, false
}
return o.GmmCause, true
}
// HasGmmCause returns a boolean if a field has been set.
func (o *FailureCause) HasGmmCause() bool {
if o != nil && !IsNil(o.GmmCause) {
return true
}
return false
}
// SetGmmCause gets a reference to the given int32 and assigns it to the GmmCause field.
func (o *FailureCause) SetGmmCause(v int32) {
o.GmmCause = &v
}
// GetRanapCause returns the RanapCause field value if set, zero value otherwise.
func (o *FailureCause) GetRanapCause() int32 {
if o == nil || IsNil(o.RanapCause) {
var ret int32
return ret
}
return *o.RanapCause
}
// GetRanapCauseOk returns a tuple with the RanapCause field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *FailureCause) GetRanapCauseOk() (*int32, bool) {
if o == nil || IsNil(o.RanapCause) {
return nil, false
}
return o.RanapCause, true
}
// HasRanapCause returns a boolean if a field has been set.
func (o *FailureCause) HasRanapCause() bool {
if o != nil && !IsNil(o.RanapCause) {
return true
}
return false
}
// SetRanapCause gets a reference to the given int32 and assigns it to the RanapCause field.
func (o *FailureCause) SetRanapCause(v int32) {
o.RanapCause = &v
}
// GetRanNasCause returns the RanNasCause field value if set, zero value otherwise.
func (o *FailureCause) GetRanNasCause() string {
if o == nil || IsNil(o.RanNasCause) {
var ret string
return ret
}
return *o.RanNasCause
}
// GetRanNasCauseOk returns a tuple with the RanNasCause field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *FailureCause) GetRanNasCauseOk() (*string, bool) {
if o == nil || IsNil(o.RanNasCause) {
return nil, false
}
return o.RanNasCause, true
}
// HasRanNasCause returns a boolean if a field has been set.
func (o *FailureCause) HasRanNasCause() bool {
if o != nil && !IsNil(o.RanNasCause) {
return true
}
return false
}
// SetRanNasCause gets a reference to the given string and assigns it to the RanNasCause field.
func (o *FailureCause) SetRanNasCause(v string) {
o.RanNasCause = &v
}
// GetS1ApCause returns the S1ApCause field value if set, zero value otherwise.
func (o *FailureCause) GetS1ApCause() int32 {
if o == nil || IsNil(o.S1ApCause) {
var ret int32
return ret
}
return *o.S1ApCause
}
// GetS1ApCauseOk returns a tuple with the S1ApCause field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *FailureCause) GetS1ApCauseOk() (*int32, bool) {
if o == nil || IsNil(o.S1ApCause) {
return nil, false
}
return o.S1ApCause, true
}
// HasS1ApCause returns a boolean if a field has been set.
func (o *FailureCause) HasS1ApCause() bool {
if o != nil && !IsNil(o.S1ApCause) {
return true
}
return false
}
// SetS1ApCause gets a reference to the given int32 and assigns it to the S1ApCause field.
func (o *FailureCause) SetS1ApCause(v int32) {
o.S1ApCause = &v
}
// GetSmCause returns the SmCause field value if set, zero value otherwise.
func (o *FailureCause) GetSmCause() int32 {
if o == nil || IsNil(o.SmCause) {
var ret int32
return ret
}
return *o.SmCause
}
// GetSmCauseOk returns a tuple with the SmCause field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *FailureCause) GetSmCauseOk() (*int32, bool) {
if o == nil || IsNil(o.SmCause) {
return nil, false
}
return o.SmCause, true
}
// HasSmCause returns a boolean if a field has been set.
func (o *FailureCause) HasSmCause() bool {
if o != nil && !IsNil(o.SmCause) {
return true
}
return false
}
// SetSmCause gets a reference to the given int32 and assigns it to the SmCause field.
func (o *FailureCause) SetSmCause(v int32) {
o.SmCause = &v
}
func (o FailureCause) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o FailureCause) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.BssgpCause) {
toSerialize["bssgpCause"] = o.BssgpCause
}
if !IsNil(o.CauseType) {
toSerialize["causeType"] = o.CauseType
}
if !IsNil(o.GmmCause) {
toSerialize["gmmCause"] = o.GmmCause
}
if !IsNil(o.RanapCause) {
toSerialize["ranapCause"] = o.RanapCause
}
if !IsNil(o.RanNasCause) {
toSerialize["ranNasCause"] = o.RanNasCause
}
if !IsNil(o.S1ApCause) {
toSerialize["s1ApCause"] = o.S1ApCause
}
if !IsNil(o.SmCause) {
toSerialize["smCause"] = o.SmCause
}
return toSerialize, nil
}
type NullableFailureCause struct {
value *FailureCause
isSet bool
}
func (v NullableFailureCause) Get() *FailureCause {
return v.value
}
func (v *NullableFailureCause) Set(val *FailureCause) {
v.value = val
v.isSet = true
}
func (v NullableFailureCause) IsSet() bool {
return v.isSet
}
func (v *NullableFailureCause) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableFailureCause(val *FailureCause) *NullableFailureCause {
return &NullableFailureCause{value: val, isSet: true}
}
func (v NullableFailureCause) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableFailureCause) 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

搜索帮助