// Copyright © 2023 Cisco Systems, Inc. and its affiliates.
// All rights reserved.
//
// Licensed under the Mozilla Public License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     https://mozilla.org/MPL/2.0/
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// SPDX-License-Identifier: MPL-2.0

// Code generated by "gen/generator.go"; DO NOT EDIT.

package provider

// Section below is generated&owned by "gen/generator.go". //template:begin imports
import (
	"context"
	"fmt"
	"reflect"
	"regexp"
	"strconv"
	"strings"

	"github.com/CiscoDevNet/terraform-provider-iosxe/internal/provider/helpers"
	"github.com/hashicorp/terraform-plugin-framework/types"
	"github.com/tidwall/gjson"
	"github.com/tidwall/sjson"
)

// End of section. //template:end imports

// Section below is generated&owned by "gen/generator.go". //template:begin types
type SNMPServer struct {
	Device                                        types.String                `tfsdk:"device"`
	Id                                            types.String                `tfsdk:"id"`
	DeleteMode                                    types.String                `tfsdk:"delete_mode"`
	ChassisId                                     types.String                `tfsdk:"chassis_id"`
	Contact                                       types.String                `tfsdk:"contact"`
	IfindexPersist                                types.Bool                  `tfsdk:"ifindex_persist"`
	Location                                      types.String                `tfsdk:"location"`
	Packetsize                                    types.Int64                 `tfsdk:"packetsize"`
	QueueLength                                   types.Int64                 `tfsdk:"queue_length"`
	EnableLoggingGetop                            types.Bool                  `tfsdk:"enable_logging_getop"`
	EnableLoggingSetop                            types.Bool                  `tfsdk:"enable_logging_setop"`
	EnableInforms                                 types.Bool                  `tfsdk:"enable_informs"`
	EnableTraps                                   types.Bool                  `tfsdk:"enable_traps"`
	EnableTrapsSnmpAuthentication                 types.Bool                  `tfsdk:"enable_traps_snmp_authentication"`
	EnableTrapsSnmpColdstart                      types.Bool                  `tfsdk:"enable_traps_snmp_coldstart"`
	EnableTrapsSnmpLinkdown                       types.Bool                  `tfsdk:"enable_traps_snmp_linkdown"`
	EnableTrapsSnmpLinkup                         types.Bool                  `tfsdk:"enable_traps_snmp_linkup"`
	EnableTrapsSnmpWarmstart                      types.Bool                  `tfsdk:"enable_traps_snmp_warmstart"`
	Hosts                                         []SNMPServerHosts           `tfsdk:"hosts"`
	VrfHosts                                      []SNMPServerVrfHosts        `tfsdk:"vrf_hosts"`
	SystemShutdown                                types.Bool                  `tfsdk:"system_shutdown"`
	EnableTrapsFlowmon                            types.Bool                  `tfsdk:"enable_traps_flowmon"`
	EnableTrapsEntityPerfThroughputNotif          types.Bool                  `tfsdk:"enable_traps_entity_perf_throughput_notif"`
	EnableTrapsCallHomeMessageSendFail            types.Bool                  `tfsdk:"enable_traps_call_home_message_send_fail"`
	EnableTrapsCallHomeServerFail                 types.Bool                  `tfsdk:"enable_traps_call_home_server_fail"`
	EnableTrapsTty                                types.Bool                  `tfsdk:"enable_traps_tty"`
	EnableTrapsOspfv3ConfigStateChange            types.Bool                  `tfsdk:"enable_traps_ospfv3_config_state_change"`
	EnableTrapsOspfv3ConfigErrors                 types.Bool                  `tfsdk:"enable_traps_ospfv3_config_errors"`
	EnableTrapsOspfConfigRetransmit               types.Bool                  `tfsdk:"enable_traps_ospf_config_retransmit"`
	EnableTrapsOspfConfigLsa                      types.Bool                  `tfsdk:"enable_traps_ospf_config_lsa"`
	EnableTrapsOspfNssaTransChange                types.Bool                  `tfsdk:"enable_traps_ospf_nssa_trans_change"`
	EnableTrapsOspfShamlinkInterface              types.Bool                  `tfsdk:"enable_traps_ospf_shamlink_interface"`
	EnableTrapsOspfShamlinkNeighbor               types.Bool                  `tfsdk:"enable_traps_ospf_shamlink_neighbor"`
	EnableTrapsOspfErrorsEnable                   types.Bool                  `tfsdk:"enable_traps_ospf_errors_enable"`
	EnableTrapsOspfRetransmitEnable               types.Bool                  `tfsdk:"enable_traps_ospf_retransmit_enable"`
	EnableTrapsOspfLsaEnable                      types.Bool                  `tfsdk:"enable_traps_ospf_lsa_enable"`
	EnableTrapsEigrp                              types.Bool                  `tfsdk:"enable_traps_eigrp"`
	EnableTrapsAuthFrameworkSecViolation          types.Bool                  `tfsdk:"enable_traps_auth_framework_sec_violation"`
	EnableTrapsRep                                types.Bool                  `tfsdk:"enable_traps_rep"`
	EnableTrapsVtp                                types.Bool                  `tfsdk:"enable_traps_vtp"`
	EnableTrapsVlancreate                         types.Bool                  `tfsdk:"enable_traps_vlancreate"`
	EnableTrapsVlandelete                         types.Bool                  `tfsdk:"enable_traps_vlandelete"`
	EnableTrapsPortSecurity                       types.Bool                  `tfsdk:"enable_traps_port_security"`
	EnableTrapsLicense                            types.Bool                  `tfsdk:"enable_traps_license"`
	EnableTrapsSmartLicense                       types.Bool                  `tfsdk:"enable_traps_smart_license"`
	EnableTrapsCpuThreshold                       types.Bool                  `tfsdk:"enable_traps_cpu_threshold"`
	EnableTrapsMemoryBufferpeak                   types.Bool                  `tfsdk:"enable_traps_memory_bufferpeak"`
	EnableTrapsStackwise                          types.Bool                  `tfsdk:"enable_traps_stackwise"`
	EnableTrapsUdldLinkFailRpt                    types.Bool                  `tfsdk:"enable_traps_udld_link_fail_rpt"`
	EnableTrapsUdldStatusChange                   types.Bool                  `tfsdk:"enable_traps_udld_status_change"`
	EnableTrapsFruCtrl                            types.Bool                  `tfsdk:"enable_traps_fru_ctrl"`
	EnableTrapsFlashInsertion                     types.Bool                  `tfsdk:"enable_traps_flash_insertion"`
	EnableTrapsFlashRemoval                       types.Bool                  `tfsdk:"enable_traps_flash_removal"`
	EnableTrapsFlashLowspace                      types.Bool                  `tfsdk:"enable_traps_flash_lowspace"`
	EnableTrapsEnergywise                         types.Bool                  `tfsdk:"enable_traps_energywise"`
	EnableTrapsPowerEthernetGroup                 types.String                `tfsdk:"enable_traps_power_ethernet_group"`
	EnableTrapsPowerEthernetPolice                types.Bool                  `tfsdk:"enable_traps_power_ethernet_police"`
	EnableTrapsEntity                             types.Bool                  `tfsdk:"enable_traps_entity"`
	EnableTrapsPwVc                               types.Bool                  `tfsdk:"enable_traps_pw_vc"`
	EnableTrapsEnvmon                             types.Bool                  `tfsdk:"enable_traps_envmon"`
	EnableTrapsCefResourceFailure                 types.Bool                  `tfsdk:"enable_traps_cef_resource_failure"`
	EnableTrapsCefPeerStateChange                 types.Bool                  `tfsdk:"enable_traps_cef_peer_state_change"`
	EnableTrapsCefPeerFibStateChange              types.Bool                  `tfsdk:"enable_traps_cef_peer_fib_state_change"`
	EnableTrapsCefInconsistency                   types.Bool                  `tfsdk:"enable_traps_cef_inconsistency"`
	EnableTrapsIsis                               types.Bool                  `tfsdk:"enable_traps_isis"`
	EnableTrapsIpsla                              types.Bool                  `tfsdk:"enable_traps_ipsla"`
	EnableTrapsEntityDiagBootUpFail               types.Bool                  `tfsdk:"enable_traps_entity_diag_boot_up_fail"`
	EnableTrapsEntityDiagHmTestRecover            types.Bool                  `tfsdk:"enable_traps_entity_diag_hm_test_recover"`
	EnableTrapsEntityDiagHmThreshReached          types.Bool                  `tfsdk:"enable_traps_entity_diag_hm_thresh_reached"`
	EnableTrapsEntityDiagScheduledTestFail        types.Bool                  `tfsdk:"enable_traps_entity_diag_scheduled_test_fail"`
	EnableTrapsBfd                                types.Bool                  `tfsdk:"enable_traps_bfd"`
	EnableTrapsIkePolicyAdd                       types.Bool                  `tfsdk:"enable_traps_ike_policy_add"`
	EnableTrapsIkePolicyDelete                    types.Bool                  `tfsdk:"enable_traps_ike_policy_delete"`
	EnableTrapsIkeTunnelStart                     types.Bool                  `tfsdk:"enable_traps_ike_tunnel_start"`
	EnableTrapsIkeTunnelStop                      types.Bool                  `tfsdk:"enable_traps_ike_tunnel_stop"`
	EnableTrapsIpsecCryptomapAdd                  types.Bool                  `tfsdk:"enable_traps_ipsec_cryptomap_add"`
	EnableTrapsIpsecCryptomapAttach               types.Bool                  `tfsdk:"enable_traps_ipsec_cryptomap_attach"`
	EnableTrapsIpsecCryptomapDelete               types.Bool                  `tfsdk:"enable_traps_ipsec_cryptomap_delete"`
	EnableTrapsIpsecCryptomapDetach               types.Bool                  `tfsdk:"enable_traps_ipsec_cryptomap_detach"`
	EnableTrapsIpsecTunnelStart                   types.Bool                  `tfsdk:"enable_traps_ipsec_tunnel_start"`
	EnableTrapsIpsecTunnelStop                    types.Bool                  `tfsdk:"enable_traps_ipsec_tunnel_stop"`
	EnableTrapsIpsecTooManySas                    types.Bool                  `tfsdk:"enable_traps_ipsec_too_many_sas"`
	EnableTrapsConfigCopy                         types.Bool                  `tfsdk:"enable_traps_config_copy"`
	EnableTrapsConfig                             types.Bool                  `tfsdk:"enable_traps_config"`
	EnableTrapsConfigCtid                         types.Bool                  `tfsdk:"enable_traps_config_ctid"`
	EnableTrapsDhcp                               types.Bool                  `tfsdk:"enable_traps_dhcp"`
	EnableTrapsEventManager                       types.Bool                  `tfsdk:"enable_traps_event_manager"`
	EnableTrapsHsrp                               types.Bool                  `tfsdk:"enable_traps_hsrp"`
	EnableTrapsIpmulticast                        types.Bool                  `tfsdk:"enable_traps_ipmulticast"`
	EnableTrapsMsdp                               types.Bool                  `tfsdk:"enable_traps_msdp"`
	EnableTrapsOspfConfigStateChange              types.Bool                  `tfsdk:"enable_traps_ospf_config_state_change"`
	EnableTrapsOspfConfigErrors                   types.Bool                  `tfsdk:"enable_traps_ospf_config_errors"`
	EnableTrapsPimInvalidPimMessage               types.Bool                  `tfsdk:"enable_traps_pim_invalid_pim_message"`
	EnableTrapsPimNeighborChange                  types.Bool                  `tfsdk:"enable_traps_pim_neighbor_change"`
	EnableTrapsPimRpMappingChange                 types.Bool                  `tfsdk:"enable_traps_pim_rp_mapping_change"`
	EnableTrapsBridgeNewroot                      types.Bool                  `tfsdk:"enable_traps_bridge_newroot"`
	EnableTrapsBridgeTopologychange               types.Bool                  `tfsdk:"enable_traps_bridge_topologychange"`
	EnableTrapsStpxInconsistency                  types.Bool                  `tfsdk:"enable_traps_stpx_inconsistency"`
	EnableTrapsStpxRootInconsistency              types.Bool                  `tfsdk:"enable_traps_stpx_root_inconsistency"`
	EnableTrapsStpxLoopInconsistency              types.Bool                  `tfsdk:"enable_traps_stpx_loop_inconsistency"`
	EnableTrapsSyslog                             types.Bool                  `tfsdk:"enable_traps_syslog"`
	EnableTrapsBgpCbgp2                           types.Bool                  `tfsdk:"enable_traps_bgp_cbgp2"`
	EnableTrapsNhrpNhs                            types.Bool                  `tfsdk:"enable_traps_nhrp_nhs"`
	EnableTrapsNhrpNhc                            types.Bool                  `tfsdk:"enable_traps_nhrp_nhc"`
	EnableTrapsNhrpNhp                            types.Bool                  `tfsdk:"enable_traps_nhrp_nhp"`
	EnableTrapsNhrpQuotaExceeded                  types.Bool                  `tfsdk:"enable_traps_nhrp_quota_exceeded"`
	EnableTrapsMplsTrafficEng                     types.Bool                  `tfsdk:"enable_traps_mpls_traffic_eng"`
	EnableTrapsMpls                               types.Bool                  `tfsdk:"enable_traps_mpls"`
	EnableTrapsMplsVpn                            types.Bool                  `tfsdk:"enable_traps_mpls_vpn"`
	EnableTrapsMplsRfc                            types.Bool                  `tfsdk:"enable_traps_mpls_rfc"`
	EnableTrapsMplsRfcLdp                         types.Bool                  `tfsdk:"enable_traps_mpls_rfc_ldp"`
	EnableTrapsMplsLdp                            types.Bool                  `tfsdk:"enable_traps_mpls_ldp"`
	EnableTrapsFastRerouteProtected               types.Bool                  `tfsdk:"enable_traps_fast_reroute_protected"`
	EnableTrapsLocalAuth                          types.Bool                  `tfsdk:"enable_traps_local_auth"`
	EnableTrapsVlanMembership                     types.Bool                  `tfsdk:"enable_traps_vlan_membership"`
	EnableTrapsErrdisable                         types.Bool                  `tfsdk:"enable_traps_errdisable"`
	EnableTrapsRf                                 types.Bool                  `tfsdk:"enable_traps_rf"`
	EnableTrapsTransceiverAll                     types.Bool                  `tfsdk:"enable_traps_transceiver_all"`
	EnableTrapsBulkstatCollection                 types.Bool                  `tfsdk:"enable_traps_bulkstat_collection"`
	EnableTrapsBulkstatTransfer                   types.Bool                  `tfsdk:"enable_traps_bulkstat_transfer"`
	EnableTrapsMacNotificationChange              types.Bool                  `tfsdk:"enable_traps_mac_notification_change"`
	EnableTrapsMacNotificationMove                types.Bool                  `tfsdk:"enable_traps_mac_notification_move"`
	EnableTrapsMacNotificationThreshold           types.Bool                  `tfsdk:"enable_traps_mac_notification_threshold"`
	EnableTrapsVrfmibVrfUp                        types.Bool                  `tfsdk:"enable_traps_vrfmib_vrf_up"`
	EnableTrapsVrfmibVrfDown                      types.Bool                  `tfsdk:"enable_traps_vrfmib_vrf_down"`
	EnableTrapsVrfmibVnetTrunkUp                  types.Bool                  `tfsdk:"enable_traps_vrfmib_vnet_trunk_up"`
	EnableTrapsVrfmibVnetTrunkDown                types.Bool                  `tfsdk:"enable_traps_vrfmib_vnet_trunk_down"`
	EnableTrapsMvpn                               types.Bool                  `tfsdk:"enable_traps_mvpn"`
	EnableTrapsLisp                               types.Bool                  `tfsdk:"enable_traps_lisp"`
	EnableTrapsAaaServer                          types.Bool                  `tfsdk:"enable_traps_aaa_server"`
	EnableTrapsVdsl2line                          types.Bool                  `tfsdk:"enable_traps_vdsl2line"`
	EnableTrapsAdslline                           types.Bool                  `tfsdk:"enable_traps_adslline"`
	EnableTrapsPki                                types.Bool                  `tfsdk:"enable_traps_pki"`
	EnableTrapsAlarmType                          types.String                `tfsdk:"enable_traps_alarm_type"`
	EnableTrapsCasa                               types.Bool                  `tfsdk:"enable_traps_casa"`
	EnableTrapsCnpd                               types.Bool                  `tfsdk:"enable_traps_cnpd"`
	EnableTrapsDial                               types.Bool                  `tfsdk:"enable_traps_dial"`
	EnableTrapsDlsw                               types.Bool                  `tfsdk:"enable_traps_dlsw"`
	EnableTrapsDs1                                types.Bool                  `tfsdk:"enable_traps_ds1"`
	EnableTrapsDspCardStatus                      types.Bool                  `tfsdk:"enable_traps_dsp_card_status"`
	EnableTrapsDspOperState                       types.Bool                  `tfsdk:"enable_traps_dsp_oper_state"`
	EnableTrapsEntitySensor                       types.Bool                  `tfsdk:"enable_traps_entity_sensor"`
	EnableTrapsEntityState                        types.Bool                  `tfsdk:"enable_traps_entity_state"`
	EnableTrapsEntityQfpMemResThresh              types.Bool                  `tfsdk:"enable_traps_entity_qfp_mem_res_thresh"`
	EnableTrapsEntityQfpThroughputNotif           types.Bool                  `tfsdk:"enable_traps_entity_qfp_throughput_notif"`
	EnableTrapsEtherOam                           types.Bool                  `tfsdk:"enable_traps_ether_oam"`
	EnableTrapsEthernetCfmAlarm                   types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_alarm"`
	EnableTrapsEthernetCfmCcConfig                types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_cc_config"`
	EnableTrapsEthernetCfmCcCrossConnect          types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_cc_cross_connect"`
	EnableTrapsEthernetCfmCcLoop                  types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_cc_loop"`
	EnableTrapsEthernetCfmCcMepDown               types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_cc_mep_down"`
	EnableTrapsEthernetCfmCcMepUp                 types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_cc_mep_up"`
	EnableTrapsEthernetCfmCrosscheckMepMissing    types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_crosscheck_mep_missing"`
	EnableTrapsEthernetCfmCrosscheckMepUnknown    types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_crosscheck_mep_unknown"`
	EnableTrapsEthernetCfmCrosscheckServiceUp     types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_crosscheck_service_up"`
	EnableTrapsEthernetEvcCreate                  types.Bool                  `tfsdk:"enable_traps_ethernet_evc_create"`
	EnableTrapsEthernetEvcDelete                  types.Bool                  `tfsdk:"enable_traps_ethernet_evc_delete"`
	EnableTrapsEthernetEvcStatus                  types.Bool                  `tfsdk:"enable_traps_ethernet_evc_status"`
	EnableTrapsFirewallServerstatus               types.Bool                  `tfsdk:"enable_traps_firewall_serverstatus"`
	EnableTrapsFrameRelayConfigOnly               types.Bool                  `tfsdk:"enable_traps_frame_relay_config_only"`
	EnableTrapsFrameRelayConfigSubifConfigs       types.Bool                  `tfsdk:"enable_traps_frame_relay_config_subif_configs"`
	EnableTrapsFrameRelaySubifCount               types.Int64                 `tfsdk:"enable_traps_frame_relay_subif_count"`
	EnableTrapsFrameRelaySubifInterval            types.Int64                 `tfsdk:"enable_traps_frame_relay_subif_interval"`
	EnableTrapsFrameRelayConfigBundleMismatch     types.Bool                  `tfsdk:"enable_traps_frame_relay_config_bundle_mismatch"`
	EnableTrapsFrameRelayMultilinkBundleMismatch  types.Bool                  `tfsdk:"enable_traps_frame_relay_multilink_bundle_mismatch"`
	EnableTrapsIpLocalPool                        types.Bool                  `tfsdk:"enable_traps_ip_local_pool"`
	EnableTrapsIsdnCallInformation                types.Bool                  `tfsdk:"enable_traps_isdn_call_information"`
	EnableTrapsIsdnChanNotAvail                   types.Bool                  `tfsdk:"enable_traps_isdn_chan_not_avail"`
	EnableTrapsIsdnIetf                           types.Bool                  `tfsdk:"enable_traps_isdn_ietf"`
	EnableTrapsIsdnLayer2                         types.Bool                  `tfsdk:"enable_traps_isdn_layer2"`
	EnableTrapsL2tunSession                       types.Bool                  `tfsdk:"enable_traps_l2tun_session"`
	EnableTrapsL2tunTunnel                        types.Bool                  `tfsdk:"enable_traps_l2tun_tunnel"`
	EnableTrapsL2tunPseudowireStatus              types.Bool                  `tfsdk:"enable_traps_l2tun_pseudowire_status"`
	EnableTrapsPimstdmibNeighborLoss              types.Bool                  `tfsdk:"enable_traps_pimstdmib_neighbor_loss"`
	EnableTrapsPimstdmibInvalidRegister           types.Bool                  `tfsdk:"enable_traps_pimstdmib_invalid_register"`
	EnableTrapsPimstdmibInvalidJoinPrune          types.Bool                  `tfsdk:"enable_traps_pimstdmib_invalid_join_prune"`
	EnableTrapsPimstdmibRpMappingChange           types.Bool                  `tfsdk:"enable_traps_pimstdmib_rp_mapping_change"`
	EnableTrapsPimstdmibInterfaceElection         types.Bool                  `tfsdk:"enable_traps_pimstdmib_interface_election"`
	EnableTrapsPfr                                types.Bool                  `tfsdk:"enable_traps_pfr"`
	EnableTrapsPppoe                              types.Bool                  `tfsdk:"enable_traps_pppoe"`
	EnableTrapsResourcePolicy                     types.Bool                  `tfsdk:"enable_traps_resource_policy"`
	EnableTrapsRsvp                               types.Bool                  `tfsdk:"enable_traps_rsvp"`
	EnableTrapsVrrp                               types.Bool                  `tfsdk:"enable_traps_vrrp"`
	EnableTrapsSonet                              types.Bool                  `tfsdk:"enable_traps_sonet"`
	EnableTrapsSrp                                types.Bool                  `tfsdk:"enable_traps_srp"`
	EnableTrapsVoice                              types.Bool                  `tfsdk:"enable_traps_voice"`
	EnableTrapsBgp                                types.Bool                  `tfsdk:"enable_traps_bgp"`
	EnableTrapsCbgp2                              types.Bool                  `tfsdk:"enable_traps_cbgp2"`
	EnableTrapsOspfv3Errors                       types.Bool                  `tfsdk:"enable_traps_ospfv3_errors"`
	EnableTrapsOspfv3StateChange                  types.Bool                  `tfsdk:"enable_traps_ospfv3_state_change"`
	SourceInterfaceInformsGigabitEthernet         types.String                `tfsdk:"source_interface_informs_gigabit_ethernet"`
	SourceInterfaceInformsTenGigabitEthernet      types.String                `tfsdk:"source_interface_informs_ten_gigabit_ethernet"`
	SourceInterfaceInformsFortyGigabitEthernet    types.String                `tfsdk:"source_interface_informs_forty_gigabit_ethernet"`
	SourceInterfaceInformsHundredGigE             types.String                `tfsdk:"source_interface_informs_hundred_gig_e"`
	SourceInterfaceInformsLoopback                types.Int64                 `tfsdk:"source_interface_informs_loopback"`
	SourceInterfaceInformsPortChannel             types.Int64                 `tfsdk:"source_interface_informs_port_channel"`
	SourceInterfaceInformsPortChannelSubinterface types.String                `tfsdk:"source_interface_informs_port_channel_subinterface"`
	SourceInterfaceInformsVlan                    types.Int64                 `tfsdk:"source_interface_informs_vlan"`
	SourceInterfaceTrapsGigabitEthernet           types.String                `tfsdk:"source_interface_traps_gigabit_ethernet"`
	SourceInterfaceTrapsTenGigabitEthernet        types.String                `tfsdk:"source_interface_traps_ten_gigabit_ethernet"`
	SourceInterfaceTrapsFortyGigabitEthernet      types.String                `tfsdk:"source_interface_traps_forty_gigabit_ethernet"`
	SourceInterfaceTrapsHundredGigE               types.String                `tfsdk:"source_interface_traps_hundred_gig_e"`
	SourceInterfaceTrapsLoopback                  types.Int64                 `tfsdk:"source_interface_traps_loopback"`
	SourceInterfaceTrapsPortChannel               types.Int64                 `tfsdk:"source_interface_traps_port_channel"`
	SourceInterfaceTrapsPortChannelSubinterface   types.String                `tfsdk:"source_interface_traps_port_channel_subinterface"`
	SourceInterfaceTrapsVlan                      types.Int64                 `tfsdk:"source_interface_traps_vlan"`
	TrapSourceGigabitEthernet                     types.String                `tfsdk:"trap_source_gigabit_ethernet"`
	TrapSourceTenGigabitEthernet                  types.String                `tfsdk:"trap_source_ten_gigabit_ethernet"`
	TrapSourceFortyGigabitEthernet                types.String                `tfsdk:"trap_source_forty_gigabit_ethernet"`
	TrapSourceHundredGigE                         types.String                `tfsdk:"trap_source_hundred_gig_e"`
	TrapSourceLoopback                            types.Int64                 `tfsdk:"trap_source_loopback"`
	TrapSourcePortChannel                         types.Int64                 `tfsdk:"trap_source_port_channel"`
	TrapSourcePortChannelSubinterface             types.String                `tfsdk:"trap_source_port_channel_subinterface"`
	TrapSourceVlan                                types.Int64                 `tfsdk:"trap_source_vlan"`
	SnmpCommunities                               []SNMPServerSnmpCommunities `tfsdk:"snmp_communities"`
	Contexts                                      []SNMPServerContexts        `tfsdk:"contexts"`
	Views                                         []SNMPServerViews           `tfsdk:"views"`
	Groups                                        []SNMPServerGroups          `tfsdk:"groups"`
	Users                                         []SNMPServerUsers           `tfsdk:"users"`
}

type SNMPServerData struct {
	Device                                        types.String                `tfsdk:"device"`
	Id                                            types.String                `tfsdk:"id"`
	ChassisId                                     types.String                `tfsdk:"chassis_id"`
	Contact                                       types.String                `tfsdk:"contact"`
	IfindexPersist                                types.Bool                  `tfsdk:"ifindex_persist"`
	Location                                      types.String                `tfsdk:"location"`
	Packetsize                                    types.Int64                 `tfsdk:"packetsize"`
	QueueLength                                   types.Int64                 `tfsdk:"queue_length"`
	EnableLoggingGetop                            types.Bool                  `tfsdk:"enable_logging_getop"`
	EnableLoggingSetop                            types.Bool                  `tfsdk:"enable_logging_setop"`
	EnableInforms                                 types.Bool                  `tfsdk:"enable_informs"`
	EnableTraps                                   types.Bool                  `tfsdk:"enable_traps"`
	EnableTrapsSnmpAuthentication                 types.Bool                  `tfsdk:"enable_traps_snmp_authentication"`
	EnableTrapsSnmpColdstart                      types.Bool                  `tfsdk:"enable_traps_snmp_coldstart"`
	EnableTrapsSnmpLinkdown                       types.Bool                  `tfsdk:"enable_traps_snmp_linkdown"`
	EnableTrapsSnmpLinkup                         types.Bool                  `tfsdk:"enable_traps_snmp_linkup"`
	EnableTrapsSnmpWarmstart                      types.Bool                  `tfsdk:"enable_traps_snmp_warmstart"`
	Hosts                                         []SNMPServerHosts           `tfsdk:"hosts"`
	VrfHosts                                      []SNMPServerVrfHosts        `tfsdk:"vrf_hosts"`
	SystemShutdown                                types.Bool                  `tfsdk:"system_shutdown"`
	EnableTrapsFlowmon                            types.Bool                  `tfsdk:"enable_traps_flowmon"`
	EnableTrapsEntityPerfThroughputNotif          types.Bool                  `tfsdk:"enable_traps_entity_perf_throughput_notif"`
	EnableTrapsCallHomeMessageSendFail            types.Bool                  `tfsdk:"enable_traps_call_home_message_send_fail"`
	EnableTrapsCallHomeServerFail                 types.Bool                  `tfsdk:"enable_traps_call_home_server_fail"`
	EnableTrapsTty                                types.Bool                  `tfsdk:"enable_traps_tty"`
	EnableTrapsOspfv3ConfigStateChange            types.Bool                  `tfsdk:"enable_traps_ospfv3_config_state_change"`
	EnableTrapsOspfv3ConfigErrors                 types.Bool                  `tfsdk:"enable_traps_ospfv3_config_errors"`
	EnableTrapsOspfConfigRetransmit               types.Bool                  `tfsdk:"enable_traps_ospf_config_retransmit"`
	EnableTrapsOspfConfigLsa                      types.Bool                  `tfsdk:"enable_traps_ospf_config_lsa"`
	EnableTrapsOspfNssaTransChange                types.Bool                  `tfsdk:"enable_traps_ospf_nssa_trans_change"`
	EnableTrapsOspfShamlinkInterface              types.Bool                  `tfsdk:"enable_traps_ospf_shamlink_interface"`
	EnableTrapsOspfShamlinkNeighbor               types.Bool                  `tfsdk:"enable_traps_ospf_shamlink_neighbor"`
	EnableTrapsOspfErrorsEnable                   types.Bool                  `tfsdk:"enable_traps_ospf_errors_enable"`
	EnableTrapsOspfRetransmitEnable               types.Bool                  `tfsdk:"enable_traps_ospf_retransmit_enable"`
	EnableTrapsOspfLsaEnable                      types.Bool                  `tfsdk:"enable_traps_ospf_lsa_enable"`
	EnableTrapsEigrp                              types.Bool                  `tfsdk:"enable_traps_eigrp"`
	EnableTrapsAuthFrameworkSecViolation          types.Bool                  `tfsdk:"enable_traps_auth_framework_sec_violation"`
	EnableTrapsRep                                types.Bool                  `tfsdk:"enable_traps_rep"`
	EnableTrapsVtp                                types.Bool                  `tfsdk:"enable_traps_vtp"`
	EnableTrapsVlancreate                         types.Bool                  `tfsdk:"enable_traps_vlancreate"`
	EnableTrapsVlandelete                         types.Bool                  `tfsdk:"enable_traps_vlandelete"`
	EnableTrapsPortSecurity                       types.Bool                  `tfsdk:"enable_traps_port_security"`
	EnableTrapsLicense                            types.Bool                  `tfsdk:"enable_traps_license"`
	EnableTrapsSmartLicense                       types.Bool                  `tfsdk:"enable_traps_smart_license"`
	EnableTrapsCpuThreshold                       types.Bool                  `tfsdk:"enable_traps_cpu_threshold"`
	EnableTrapsMemoryBufferpeak                   types.Bool                  `tfsdk:"enable_traps_memory_bufferpeak"`
	EnableTrapsStackwise                          types.Bool                  `tfsdk:"enable_traps_stackwise"`
	EnableTrapsUdldLinkFailRpt                    types.Bool                  `tfsdk:"enable_traps_udld_link_fail_rpt"`
	EnableTrapsUdldStatusChange                   types.Bool                  `tfsdk:"enable_traps_udld_status_change"`
	EnableTrapsFruCtrl                            types.Bool                  `tfsdk:"enable_traps_fru_ctrl"`
	EnableTrapsFlashInsertion                     types.Bool                  `tfsdk:"enable_traps_flash_insertion"`
	EnableTrapsFlashRemoval                       types.Bool                  `tfsdk:"enable_traps_flash_removal"`
	EnableTrapsFlashLowspace                      types.Bool                  `tfsdk:"enable_traps_flash_lowspace"`
	EnableTrapsEnergywise                         types.Bool                  `tfsdk:"enable_traps_energywise"`
	EnableTrapsPowerEthernetGroup                 types.String                `tfsdk:"enable_traps_power_ethernet_group"`
	EnableTrapsPowerEthernetPolice                types.Bool                  `tfsdk:"enable_traps_power_ethernet_police"`
	EnableTrapsEntity                             types.Bool                  `tfsdk:"enable_traps_entity"`
	EnableTrapsPwVc                               types.Bool                  `tfsdk:"enable_traps_pw_vc"`
	EnableTrapsEnvmon                             types.Bool                  `tfsdk:"enable_traps_envmon"`
	EnableTrapsCefResourceFailure                 types.Bool                  `tfsdk:"enable_traps_cef_resource_failure"`
	EnableTrapsCefPeerStateChange                 types.Bool                  `tfsdk:"enable_traps_cef_peer_state_change"`
	EnableTrapsCefPeerFibStateChange              types.Bool                  `tfsdk:"enable_traps_cef_peer_fib_state_change"`
	EnableTrapsCefInconsistency                   types.Bool                  `tfsdk:"enable_traps_cef_inconsistency"`
	EnableTrapsIsis                               types.Bool                  `tfsdk:"enable_traps_isis"`
	EnableTrapsIpsla                              types.Bool                  `tfsdk:"enable_traps_ipsla"`
	EnableTrapsEntityDiagBootUpFail               types.Bool                  `tfsdk:"enable_traps_entity_diag_boot_up_fail"`
	EnableTrapsEntityDiagHmTestRecover            types.Bool                  `tfsdk:"enable_traps_entity_diag_hm_test_recover"`
	EnableTrapsEntityDiagHmThreshReached          types.Bool                  `tfsdk:"enable_traps_entity_diag_hm_thresh_reached"`
	EnableTrapsEntityDiagScheduledTestFail        types.Bool                  `tfsdk:"enable_traps_entity_diag_scheduled_test_fail"`
	EnableTrapsBfd                                types.Bool                  `tfsdk:"enable_traps_bfd"`
	EnableTrapsIkePolicyAdd                       types.Bool                  `tfsdk:"enable_traps_ike_policy_add"`
	EnableTrapsIkePolicyDelete                    types.Bool                  `tfsdk:"enable_traps_ike_policy_delete"`
	EnableTrapsIkeTunnelStart                     types.Bool                  `tfsdk:"enable_traps_ike_tunnel_start"`
	EnableTrapsIkeTunnelStop                      types.Bool                  `tfsdk:"enable_traps_ike_tunnel_stop"`
	EnableTrapsIpsecCryptomapAdd                  types.Bool                  `tfsdk:"enable_traps_ipsec_cryptomap_add"`
	EnableTrapsIpsecCryptomapAttach               types.Bool                  `tfsdk:"enable_traps_ipsec_cryptomap_attach"`
	EnableTrapsIpsecCryptomapDelete               types.Bool                  `tfsdk:"enable_traps_ipsec_cryptomap_delete"`
	EnableTrapsIpsecCryptomapDetach               types.Bool                  `tfsdk:"enable_traps_ipsec_cryptomap_detach"`
	EnableTrapsIpsecTunnelStart                   types.Bool                  `tfsdk:"enable_traps_ipsec_tunnel_start"`
	EnableTrapsIpsecTunnelStop                    types.Bool                  `tfsdk:"enable_traps_ipsec_tunnel_stop"`
	EnableTrapsIpsecTooManySas                    types.Bool                  `tfsdk:"enable_traps_ipsec_too_many_sas"`
	EnableTrapsConfigCopy                         types.Bool                  `tfsdk:"enable_traps_config_copy"`
	EnableTrapsConfig                             types.Bool                  `tfsdk:"enable_traps_config"`
	EnableTrapsConfigCtid                         types.Bool                  `tfsdk:"enable_traps_config_ctid"`
	EnableTrapsDhcp                               types.Bool                  `tfsdk:"enable_traps_dhcp"`
	EnableTrapsEventManager                       types.Bool                  `tfsdk:"enable_traps_event_manager"`
	EnableTrapsHsrp                               types.Bool                  `tfsdk:"enable_traps_hsrp"`
	EnableTrapsIpmulticast                        types.Bool                  `tfsdk:"enable_traps_ipmulticast"`
	EnableTrapsMsdp                               types.Bool                  `tfsdk:"enable_traps_msdp"`
	EnableTrapsOspfConfigStateChange              types.Bool                  `tfsdk:"enable_traps_ospf_config_state_change"`
	EnableTrapsOspfConfigErrors                   types.Bool                  `tfsdk:"enable_traps_ospf_config_errors"`
	EnableTrapsPimInvalidPimMessage               types.Bool                  `tfsdk:"enable_traps_pim_invalid_pim_message"`
	EnableTrapsPimNeighborChange                  types.Bool                  `tfsdk:"enable_traps_pim_neighbor_change"`
	EnableTrapsPimRpMappingChange                 types.Bool                  `tfsdk:"enable_traps_pim_rp_mapping_change"`
	EnableTrapsBridgeNewroot                      types.Bool                  `tfsdk:"enable_traps_bridge_newroot"`
	EnableTrapsBridgeTopologychange               types.Bool                  `tfsdk:"enable_traps_bridge_topologychange"`
	EnableTrapsStpxInconsistency                  types.Bool                  `tfsdk:"enable_traps_stpx_inconsistency"`
	EnableTrapsStpxRootInconsistency              types.Bool                  `tfsdk:"enable_traps_stpx_root_inconsistency"`
	EnableTrapsStpxLoopInconsistency              types.Bool                  `tfsdk:"enable_traps_stpx_loop_inconsistency"`
	EnableTrapsSyslog                             types.Bool                  `tfsdk:"enable_traps_syslog"`
	EnableTrapsBgpCbgp2                           types.Bool                  `tfsdk:"enable_traps_bgp_cbgp2"`
	EnableTrapsNhrpNhs                            types.Bool                  `tfsdk:"enable_traps_nhrp_nhs"`
	EnableTrapsNhrpNhc                            types.Bool                  `tfsdk:"enable_traps_nhrp_nhc"`
	EnableTrapsNhrpNhp                            types.Bool                  `tfsdk:"enable_traps_nhrp_nhp"`
	EnableTrapsNhrpQuotaExceeded                  types.Bool                  `tfsdk:"enable_traps_nhrp_quota_exceeded"`
	EnableTrapsMplsTrafficEng                     types.Bool                  `tfsdk:"enable_traps_mpls_traffic_eng"`
	EnableTrapsMpls                               types.Bool                  `tfsdk:"enable_traps_mpls"`
	EnableTrapsMplsVpn                            types.Bool                  `tfsdk:"enable_traps_mpls_vpn"`
	EnableTrapsMplsRfc                            types.Bool                  `tfsdk:"enable_traps_mpls_rfc"`
	EnableTrapsMplsRfcLdp                         types.Bool                  `tfsdk:"enable_traps_mpls_rfc_ldp"`
	EnableTrapsMplsLdp                            types.Bool                  `tfsdk:"enable_traps_mpls_ldp"`
	EnableTrapsFastRerouteProtected               types.Bool                  `tfsdk:"enable_traps_fast_reroute_protected"`
	EnableTrapsLocalAuth                          types.Bool                  `tfsdk:"enable_traps_local_auth"`
	EnableTrapsVlanMembership                     types.Bool                  `tfsdk:"enable_traps_vlan_membership"`
	EnableTrapsErrdisable                         types.Bool                  `tfsdk:"enable_traps_errdisable"`
	EnableTrapsRf                                 types.Bool                  `tfsdk:"enable_traps_rf"`
	EnableTrapsTransceiverAll                     types.Bool                  `tfsdk:"enable_traps_transceiver_all"`
	EnableTrapsBulkstatCollection                 types.Bool                  `tfsdk:"enable_traps_bulkstat_collection"`
	EnableTrapsBulkstatTransfer                   types.Bool                  `tfsdk:"enable_traps_bulkstat_transfer"`
	EnableTrapsMacNotificationChange              types.Bool                  `tfsdk:"enable_traps_mac_notification_change"`
	EnableTrapsMacNotificationMove                types.Bool                  `tfsdk:"enable_traps_mac_notification_move"`
	EnableTrapsMacNotificationThreshold           types.Bool                  `tfsdk:"enable_traps_mac_notification_threshold"`
	EnableTrapsVrfmibVrfUp                        types.Bool                  `tfsdk:"enable_traps_vrfmib_vrf_up"`
	EnableTrapsVrfmibVrfDown                      types.Bool                  `tfsdk:"enable_traps_vrfmib_vrf_down"`
	EnableTrapsVrfmibVnetTrunkUp                  types.Bool                  `tfsdk:"enable_traps_vrfmib_vnet_trunk_up"`
	EnableTrapsVrfmibVnetTrunkDown                types.Bool                  `tfsdk:"enable_traps_vrfmib_vnet_trunk_down"`
	EnableTrapsMvpn                               types.Bool                  `tfsdk:"enable_traps_mvpn"`
	EnableTrapsLisp                               types.Bool                  `tfsdk:"enable_traps_lisp"`
	EnableTrapsAaaServer                          types.Bool                  `tfsdk:"enable_traps_aaa_server"`
	EnableTrapsVdsl2line                          types.Bool                  `tfsdk:"enable_traps_vdsl2line"`
	EnableTrapsAdslline                           types.Bool                  `tfsdk:"enable_traps_adslline"`
	EnableTrapsPki                                types.Bool                  `tfsdk:"enable_traps_pki"`
	EnableTrapsAlarmType                          types.String                `tfsdk:"enable_traps_alarm_type"`
	EnableTrapsCasa                               types.Bool                  `tfsdk:"enable_traps_casa"`
	EnableTrapsCnpd                               types.Bool                  `tfsdk:"enable_traps_cnpd"`
	EnableTrapsDial                               types.Bool                  `tfsdk:"enable_traps_dial"`
	EnableTrapsDlsw                               types.Bool                  `tfsdk:"enable_traps_dlsw"`
	EnableTrapsDs1                                types.Bool                  `tfsdk:"enable_traps_ds1"`
	EnableTrapsDspCardStatus                      types.Bool                  `tfsdk:"enable_traps_dsp_card_status"`
	EnableTrapsDspOperState                       types.Bool                  `tfsdk:"enable_traps_dsp_oper_state"`
	EnableTrapsEntitySensor                       types.Bool                  `tfsdk:"enable_traps_entity_sensor"`
	EnableTrapsEntityState                        types.Bool                  `tfsdk:"enable_traps_entity_state"`
	EnableTrapsEntityQfpMemResThresh              types.Bool                  `tfsdk:"enable_traps_entity_qfp_mem_res_thresh"`
	EnableTrapsEntityQfpThroughputNotif           types.Bool                  `tfsdk:"enable_traps_entity_qfp_throughput_notif"`
	EnableTrapsEtherOam                           types.Bool                  `tfsdk:"enable_traps_ether_oam"`
	EnableTrapsEthernetCfmAlarm                   types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_alarm"`
	EnableTrapsEthernetCfmCcConfig                types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_cc_config"`
	EnableTrapsEthernetCfmCcCrossConnect          types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_cc_cross_connect"`
	EnableTrapsEthernetCfmCcLoop                  types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_cc_loop"`
	EnableTrapsEthernetCfmCcMepDown               types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_cc_mep_down"`
	EnableTrapsEthernetCfmCcMepUp                 types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_cc_mep_up"`
	EnableTrapsEthernetCfmCrosscheckMepMissing    types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_crosscheck_mep_missing"`
	EnableTrapsEthernetCfmCrosscheckMepUnknown    types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_crosscheck_mep_unknown"`
	EnableTrapsEthernetCfmCrosscheckServiceUp     types.Bool                  `tfsdk:"enable_traps_ethernet_cfm_crosscheck_service_up"`
	EnableTrapsEthernetEvcCreate                  types.Bool                  `tfsdk:"enable_traps_ethernet_evc_create"`
	EnableTrapsEthernetEvcDelete                  types.Bool                  `tfsdk:"enable_traps_ethernet_evc_delete"`
	EnableTrapsEthernetEvcStatus                  types.Bool                  `tfsdk:"enable_traps_ethernet_evc_status"`
	EnableTrapsFirewallServerstatus               types.Bool                  `tfsdk:"enable_traps_firewall_serverstatus"`
	EnableTrapsFrameRelayConfigOnly               types.Bool                  `tfsdk:"enable_traps_frame_relay_config_only"`
	EnableTrapsFrameRelayConfigSubifConfigs       types.Bool                  `tfsdk:"enable_traps_frame_relay_config_subif_configs"`
	EnableTrapsFrameRelaySubifCount               types.Int64                 `tfsdk:"enable_traps_frame_relay_subif_count"`
	EnableTrapsFrameRelaySubifInterval            types.Int64                 `tfsdk:"enable_traps_frame_relay_subif_interval"`
	EnableTrapsFrameRelayConfigBundleMismatch     types.Bool                  `tfsdk:"enable_traps_frame_relay_config_bundle_mismatch"`
	EnableTrapsFrameRelayMultilinkBundleMismatch  types.Bool                  `tfsdk:"enable_traps_frame_relay_multilink_bundle_mismatch"`
	EnableTrapsIpLocalPool                        types.Bool                  `tfsdk:"enable_traps_ip_local_pool"`
	EnableTrapsIsdnCallInformation                types.Bool                  `tfsdk:"enable_traps_isdn_call_information"`
	EnableTrapsIsdnChanNotAvail                   types.Bool                  `tfsdk:"enable_traps_isdn_chan_not_avail"`
	EnableTrapsIsdnIetf                           types.Bool                  `tfsdk:"enable_traps_isdn_ietf"`
	EnableTrapsIsdnLayer2                         types.Bool                  `tfsdk:"enable_traps_isdn_layer2"`
	EnableTrapsL2tunSession                       types.Bool                  `tfsdk:"enable_traps_l2tun_session"`
	EnableTrapsL2tunTunnel                        types.Bool                  `tfsdk:"enable_traps_l2tun_tunnel"`
	EnableTrapsL2tunPseudowireStatus              types.Bool                  `tfsdk:"enable_traps_l2tun_pseudowire_status"`
	EnableTrapsPimstdmibNeighborLoss              types.Bool                  `tfsdk:"enable_traps_pimstdmib_neighbor_loss"`
	EnableTrapsPimstdmibInvalidRegister           types.Bool                  `tfsdk:"enable_traps_pimstdmib_invalid_register"`
	EnableTrapsPimstdmibInvalidJoinPrune          types.Bool                  `tfsdk:"enable_traps_pimstdmib_invalid_join_prune"`
	EnableTrapsPimstdmibRpMappingChange           types.Bool                  `tfsdk:"enable_traps_pimstdmib_rp_mapping_change"`
	EnableTrapsPimstdmibInterfaceElection         types.Bool                  `tfsdk:"enable_traps_pimstdmib_interface_election"`
	EnableTrapsPfr                                types.Bool                  `tfsdk:"enable_traps_pfr"`
	EnableTrapsPppoe                              types.Bool                  `tfsdk:"enable_traps_pppoe"`
	EnableTrapsResourcePolicy                     types.Bool                  `tfsdk:"enable_traps_resource_policy"`
	EnableTrapsRsvp                               types.Bool                  `tfsdk:"enable_traps_rsvp"`
	EnableTrapsVrrp                               types.Bool                  `tfsdk:"enable_traps_vrrp"`
	EnableTrapsSonet                              types.Bool                  `tfsdk:"enable_traps_sonet"`
	EnableTrapsSrp                                types.Bool                  `tfsdk:"enable_traps_srp"`
	EnableTrapsVoice                              types.Bool                  `tfsdk:"enable_traps_voice"`
	EnableTrapsBgp                                types.Bool                  `tfsdk:"enable_traps_bgp"`
	EnableTrapsCbgp2                              types.Bool                  `tfsdk:"enable_traps_cbgp2"`
	EnableTrapsOspfv3Errors                       types.Bool                  `tfsdk:"enable_traps_ospfv3_errors"`
	EnableTrapsOspfv3StateChange                  types.Bool                  `tfsdk:"enable_traps_ospfv3_state_change"`
	SourceInterfaceInformsGigabitEthernet         types.String                `tfsdk:"source_interface_informs_gigabit_ethernet"`
	SourceInterfaceInformsTenGigabitEthernet      types.String                `tfsdk:"source_interface_informs_ten_gigabit_ethernet"`
	SourceInterfaceInformsFortyGigabitEthernet    types.String                `tfsdk:"source_interface_informs_forty_gigabit_ethernet"`
	SourceInterfaceInformsHundredGigE             types.String                `tfsdk:"source_interface_informs_hundred_gig_e"`
	SourceInterfaceInformsLoopback                types.Int64                 `tfsdk:"source_interface_informs_loopback"`
	SourceInterfaceInformsPortChannel             types.Int64                 `tfsdk:"source_interface_informs_port_channel"`
	SourceInterfaceInformsPortChannelSubinterface types.String                `tfsdk:"source_interface_informs_port_channel_subinterface"`
	SourceInterfaceInformsVlan                    types.Int64                 `tfsdk:"source_interface_informs_vlan"`
	SourceInterfaceTrapsGigabitEthernet           types.String                `tfsdk:"source_interface_traps_gigabit_ethernet"`
	SourceInterfaceTrapsTenGigabitEthernet        types.String                `tfsdk:"source_interface_traps_ten_gigabit_ethernet"`
	SourceInterfaceTrapsFortyGigabitEthernet      types.String                `tfsdk:"source_interface_traps_forty_gigabit_ethernet"`
	SourceInterfaceTrapsHundredGigE               types.String                `tfsdk:"source_interface_traps_hundred_gig_e"`
	SourceInterfaceTrapsLoopback                  types.Int64                 `tfsdk:"source_interface_traps_loopback"`
	SourceInterfaceTrapsPortChannel               types.Int64                 `tfsdk:"source_interface_traps_port_channel"`
	SourceInterfaceTrapsPortChannelSubinterface   types.String                `tfsdk:"source_interface_traps_port_channel_subinterface"`
	SourceInterfaceTrapsVlan                      types.Int64                 `tfsdk:"source_interface_traps_vlan"`
	TrapSourceGigabitEthernet                     types.String                `tfsdk:"trap_source_gigabit_ethernet"`
	TrapSourceTenGigabitEthernet                  types.String                `tfsdk:"trap_source_ten_gigabit_ethernet"`
	TrapSourceFortyGigabitEthernet                types.String                `tfsdk:"trap_source_forty_gigabit_ethernet"`
	TrapSourceHundredGigE                         types.String                `tfsdk:"trap_source_hundred_gig_e"`
	TrapSourceLoopback                            types.Int64                 `tfsdk:"trap_source_loopback"`
	TrapSourcePortChannel                         types.Int64                 `tfsdk:"trap_source_port_channel"`
	TrapSourcePortChannelSubinterface             types.String                `tfsdk:"trap_source_port_channel_subinterface"`
	TrapSourceVlan                                types.Int64                 `tfsdk:"trap_source_vlan"`
	SnmpCommunities                               []SNMPServerSnmpCommunities `tfsdk:"snmp_communities"`
	Contexts                                      []SNMPServerContexts        `tfsdk:"contexts"`
	Views                                         []SNMPServerViews           `tfsdk:"views"`
	Groups                                        []SNMPServerGroups          `tfsdk:"groups"`
	Users                                         []SNMPServerUsers           `tfsdk:"users"`
}
type SNMPServerHosts struct {
	IpAddress       types.String `tfsdk:"ip_address"`
	CommunityOrUser types.String `tfsdk:"community_or_user"`
	Version         types.String `tfsdk:"version"`
	Encryption      types.String `tfsdk:"encryption"`
	SecurityLevel   types.String `tfsdk:"security_level"`
}
type SNMPServerVrfHosts struct {
	IpAddress       types.String `tfsdk:"ip_address"`
	Vrf             types.String `tfsdk:"vrf"`
	CommunityOrUser types.String `tfsdk:"community_or_user"`
	Version         types.String `tfsdk:"version"`
	Encryption      types.String `tfsdk:"encryption"`
	SecurityLevel   types.String `tfsdk:"security_level"`
}
type SNMPServerSnmpCommunities struct {
	Name           types.String `tfsdk:"name"`
	View           types.String `tfsdk:"view"`
	Permission     types.String `tfsdk:"permission"`
	Ipv6           types.String `tfsdk:"ipv6"`
	AccessListName types.String `tfsdk:"access_list_name"`
}
type SNMPServerContexts struct {
	Name types.String `tfsdk:"name"`
}
type SNMPServerViews struct {
	Name   types.String `tfsdk:"name"`
	Mib    types.String `tfsdk:"mib"`
	IncExl types.String `tfsdk:"inc_exl"`
}
type SNMPServerGroups struct {
	Name       types.String                 `tfsdk:"name"`
	V3Security []SNMPServerGroupsV3Security `tfsdk:"v3_security"`
}
type SNMPServerUsers struct {
	Username                        types.String `tfsdk:"username"`
	Grpname                         types.String `tfsdk:"grpname"`
	V3AuthAlgorithm                 types.String `tfsdk:"v3_auth_algorithm"`
	V3AuthPassword                  types.String `tfsdk:"v3_auth_password"`
	V3AuthPrivAesAlgorithm          types.String `tfsdk:"v3_auth_priv_aes_algorithm"`
	V3AuthPrivAesPassword           types.String `tfsdk:"v3_auth_priv_aes_password"`
	V3AuthPrivAesAccessIpv6Acl      types.String `tfsdk:"v3_auth_priv_aes_access_ipv6_acl"`
	V3AuthPrivAesAccessStandardAcl  types.Int64  `tfsdk:"v3_auth_priv_aes_access_standard_acl"`
	V3AuthPrivAesAccessAclName      types.String `tfsdk:"v3_auth_priv_aes_access_acl_name"`
	V3AuthPrivDesPassword           types.String `tfsdk:"v3_auth_priv_des_password"`
	V3AuthPrivDesAccessIpv6Acl      types.String `tfsdk:"v3_auth_priv_des_access_ipv6_acl"`
	V3AuthPrivDesAccessStandardAcl  types.Int64  `tfsdk:"v3_auth_priv_des_access_standard_acl"`
	V3AuthPrivDesAccessAclName      types.String `tfsdk:"v3_auth_priv_des_access_acl_name"`
	V3AuthPrivDes3Password          types.String `tfsdk:"v3_auth_priv_des3_password"`
	V3AuthPrivDes3AccessIpv6Acl     types.String `tfsdk:"v3_auth_priv_des3_access_ipv6_acl"`
	V3AuthPrivDes3AccessStandardAcl types.Int64  `tfsdk:"v3_auth_priv_des3_access_standard_acl"`
	V3AuthPrivDes3AccessAclName     types.String `tfsdk:"v3_auth_priv_des3_access_acl_name"`
	V3AuthAccessIpv6Acl             types.String `tfsdk:"v3_auth_access_ipv6_acl"`
	V3AuthAccessStandardAcl         types.Int64  `tfsdk:"v3_auth_access_standard_acl"`
	V3AuthAccessAclName             types.String `tfsdk:"v3_auth_access_acl_name"`
}
type SNMPServerGroupsV3Security struct {
	SecurityLevel     types.String `tfsdk:"security_level"`
	ContextNode       types.String `tfsdk:"context_node"`
	MatchNode         types.String `tfsdk:"match_node"`
	ReadNode          types.String `tfsdk:"read_node"`
	WriteNode         types.String `tfsdk:"write_node"`
	NotifyNode        types.String `tfsdk:"notify_node"`
	AccessIpv6Acl     types.String `tfsdk:"access_ipv6_acl"`
	AccessStandardAcl types.Int64  `tfsdk:"access_standard_acl"`
	AccessAclName     types.String `tfsdk:"access_acl_name"`
}

// End of section. //template:end types

// Section below is generated&owned by "gen/generator.go". //template:begin getPath

func (data SNMPServer) getPath() string {
	return "Cisco-IOS-XE-native:native/snmp-server"
}

func (data SNMPServerData) getPath() string {
	return "Cisco-IOS-XE-native:native/snmp-server"
}

// if last path element has a key -> remove it
func (data SNMPServer) getPathShort() string {
	path := data.getPath()
	re := regexp.MustCompile(`(.*)=[^\/]*$`)
	matches := re.FindStringSubmatch(path)
	if len(matches) <= 1 {
		return path
	}
	return matches[1]
}

// End of section. //template:end getPath

// Section below is generated&owned by "gen/generator.go". //template:begin toBody

func (data SNMPServer) toBody(ctx context.Context) string {
	body := `{"` + helpers.LastElement(data.getPath()) + `":{}}`
	if !data.ChassisId.IsNull() && !data.ChassisId.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:chassis-id", data.ChassisId.ValueString())
	}
	if !data.Contact.IsNull() && !data.Contact.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:contact", data.Contact.ValueString())
	}
	if !data.IfindexPersist.IsNull() && !data.IfindexPersist.IsUnknown() {
		if data.IfindexPersist.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:ifindex.persist", map[string]string{})
		}
	}
	if !data.Location.IsNull() && !data.Location.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:location", data.Location.ValueString())
	}
	if !data.Packetsize.IsNull() && !data.Packetsize.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:packetsize", strconv.FormatInt(data.Packetsize.ValueInt64(), 10))
	}
	if !data.QueueLength.IsNull() && !data.QueueLength.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:queue-length", strconv.FormatInt(data.QueueLength.ValueInt64(), 10))
	}
	if !data.EnableLoggingGetop.IsNull() && !data.EnableLoggingGetop.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.logging.getop", data.EnableLoggingGetop.ValueBool())
	}
	if !data.EnableLoggingSetop.IsNull() && !data.EnableLoggingSetop.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.logging.setop", data.EnableLoggingSetop.ValueBool())
	}
	if !data.EnableInforms.IsNull() && !data.EnableInforms.IsUnknown() {
		if data.EnableInforms.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.informs", map[string]string{})
		}
	}
	if !data.EnableTraps.IsNull() && !data.EnableTraps.IsUnknown() {
		if data.EnableTraps.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps", map[string]string{})
		}
	}
	if !data.EnableTrapsSnmpAuthentication.IsNull() && !data.EnableTrapsSnmpAuthentication.IsUnknown() {
		if data.EnableTrapsSnmpAuthentication.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.authentication", map[string]string{})
		}
	}
	if !data.EnableTrapsSnmpColdstart.IsNull() && !data.EnableTrapsSnmpColdstart.IsUnknown() {
		if data.EnableTrapsSnmpColdstart.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.coldstart", map[string]string{})
		}
	}
	if !data.EnableTrapsSnmpLinkdown.IsNull() && !data.EnableTrapsSnmpLinkdown.IsUnknown() {
		if data.EnableTrapsSnmpLinkdown.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.linkdown", map[string]string{})
		}
	}
	if !data.EnableTrapsSnmpLinkup.IsNull() && !data.EnableTrapsSnmpLinkup.IsUnknown() {
		if data.EnableTrapsSnmpLinkup.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.linkup", map[string]string{})
		}
	}
	if !data.EnableTrapsSnmpWarmstart.IsNull() && !data.EnableTrapsSnmpWarmstart.IsUnknown() {
		if data.EnableTrapsSnmpWarmstart.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.warmstart", map[string]string{})
		}
	}
	if !data.SystemShutdown.IsNull() && !data.SystemShutdown.IsUnknown() {
		if data.SystemShutdown.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:system-shutdown", map[string]string{})
		}
	}
	if !data.EnableTrapsFlowmon.IsNull() && !data.EnableTrapsFlowmon.IsUnknown() {
		if data.EnableTrapsFlowmon.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.flowmon", map[string]string{})
		}
	}
	if !data.EnableTrapsEntityPerfThroughputNotif.IsNull() && !data.EnableTrapsEntityPerfThroughputNotif.IsUnknown() {
		if data.EnableTrapsEntityPerfThroughputNotif.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-perf.throughput-notif", map[string]string{})
		}
	}
	if !data.EnableTrapsCallHomeMessageSendFail.IsNull() && !data.EnableTrapsCallHomeMessageSendFail.IsUnknown() {
		if data.EnableTrapsCallHomeMessageSendFail.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.call-home.message-send-fail", map[string]string{})
		}
	}
	if !data.EnableTrapsCallHomeServerFail.IsNull() && !data.EnableTrapsCallHomeServerFail.IsUnknown() {
		if data.EnableTrapsCallHomeServerFail.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.call-home.server-fail", map[string]string{})
		}
	}
	if !data.EnableTrapsTty.IsNull() && !data.EnableTrapsTty.IsUnknown() {
		if data.EnableTrapsTty.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.tty", map[string]string{})
		}
	}
	if !data.EnableTrapsOspfv3ConfigStateChange.IsNull() && !data.EnableTrapsOspfv3ConfigStateChange.IsUnknown() {
		if data.EnableTrapsOspfv3ConfigStateChange.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospfv3:ospfv3-config.state-change.enable", map[string]string{})
		}
	}
	if !data.EnableTrapsOspfv3ConfigErrors.IsNull() && !data.EnableTrapsOspfv3ConfigErrors.IsUnknown() {
		if data.EnableTrapsOspfv3ConfigErrors.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospfv3:ospfv3-config.errors.enable", map[string]string{})
		}
	}
	if !data.EnableTrapsOspfConfigRetransmit.IsNull() && !data.EnableTrapsOspfConfigRetransmit.IsUnknown() {
		if data.EnableTrapsOspfConfigRetransmit.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.retransmit.enable", map[string]string{})
		}
	}
	if !data.EnableTrapsOspfConfigLsa.IsNull() && !data.EnableTrapsOspfConfigLsa.IsUnknown() {
		if data.EnableTrapsOspfConfigLsa.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.lsa.enable", map[string]string{})
		}
	}
	if !data.EnableTrapsOspfNssaTransChange.IsNull() && !data.EnableTrapsOspfNssaTransChange.IsUnknown() {
		if data.EnableTrapsOspfNssaTransChange.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.state-change.nssa-trans-change", map[string]string{})
		}
	}
	if !data.EnableTrapsOspfShamlinkInterface.IsNull() && !data.EnableTrapsOspfShamlinkInterface.IsUnknown() {
		if data.EnableTrapsOspfShamlinkInterface.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.state-change.shamlink.interface", map[string]string{})
		}
	}
	if !data.EnableTrapsOspfShamlinkNeighbor.IsNull() && !data.EnableTrapsOspfShamlinkNeighbor.IsUnknown() {
		if data.EnableTrapsOspfShamlinkNeighbor.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.state-change.shamlink.neighbor", map[string]string{})
		}
	}
	if !data.EnableTrapsOspfErrorsEnable.IsNull() && !data.EnableTrapsOspfErrorsEnable.IsUnknown() {
		if data.EnableTrapsOspfErrorsEnable.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.errors.enable", map[string]string{})
		}
	}
	if !data.EnableTrapsOspfRetransmitEnable.IsNull() && !data.EnableTrapsOspfRetransmitEnable.IsUnknown() {
		if data.EnableTrapsOspfRetransmitEnable.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.retransmit.enable", map[string]string{})
		}
	}
	if !data.EnableTrapsOspfLsaEnable.IsNull() && !data.EnableTrapsOspfLsaEnable.IsUnknown() {
		if data.EnableTrapsOspfLsaEnable.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.lsa.enable", map[string]string{})
		}
	}
	if !data.EnableTrapsEigrp.IsNull() && !data.EnableTrapsEigrp.IsUnknown() {
		if data.EnableTrapsEigrp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.eigrp", map[string]string{})
		}
	}
	if !data.EnableTrapsAuthFrameworkSecViolation.IsNull() && !data.EnableTrapsAuthFrameworkSecViolation.IsUnknown() {
		if data.EnableTrapsAuthFrameworkSecViolation.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.auth-framework.sec-violation", map[string]string{})
		}
	}
	if !data.EnableTrapsRep.IsNull() && !data.EnableTrapsRep.IsUnknown() {
		if data.EnableTrapsRep.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.rep", map[string]string{})
		}
	}
	if !data.EnableTrapsVtp.IsNull() && !data.EnableTrapsVtp.IsUnknown() {
		if data.EnableTrapsVtp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.vtp", map[string]string{})
		}
	}
	if !data.EnableTrapsVlancreate.IsNull() && !data.EnableTrapsVlancreate.IsUnknown() {
		if data.EnableTrapsVlancreate.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.vlancreate", map[string]string{})
		}
	}
	if !data.EnableTrapsVlandelete.IsNull() && !data.EnableTrapsVlandelete.IsUnknown() {
		if data.EnableTrapsVlandelete.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.vlandelete", map[string]string{})
		}
	}
	if !data.EnableTrapsPortSecurity.IsNull() && !data.EnableTrapsPortSecurity.IsUnknown() {
		if data.EnableTrapsPortSecurity.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.port-security", map[string]string{})
		}
	}
	if !data.EnableTrapsLicense.IsNull() && !data.EnableTrapsLicense.IsUnknown() {
		if data.EnableTrapsLicense.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.license", map[string]string{})
		}
	}
	if !data.EnableTrapsSmartLicense.IsNull() && !data.EnableTrapsSmartLicense.IsUnknown() {
		if data.EnableTrapsSmartLicense.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.smart-licenseing.smart-license", map[string]string{})
		}
	}
	if !data.EnableTrapsCpuThreshold.IsNull() && !data.EnableTrapsCpuThreshold.IsUnknown() {
		if data.EnableTrapsCpuThreshold.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.cpu.threshold", map[string]string{})
		}
	}
	if !data.EnableTrapsMemoryBufferpeak.IsNull() && !data.EnableTrapsMemoryBufferpeak.IsUnknown() {
		if data.EnableTrapsMemoryBufferpeak.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.memory.bufferpeak", map[string]string{})
		}
	}
	if !data.EnableTrapsStackwise.IsNull() && !data.EnableTrapsStackwise.IsUnknown() {
		if data.EnableTrapsStackwise.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.stackwise", map[string]string{})
		}
	}
	if !data.EnableTrapsUdldLinkFailRpt.IsNull() && !data.EnableTrapsUdldLinkFailRpt.IsUnknown() {
		if data.EnableTrapsUdldLinkFailRpt.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.udld.link-fail-rpt", map[string]string{})
		}
	}
	if !data.EnableTrapsUdldStatusChange.IsNull() && !data.EnableTrapsUdldStatusChange.IsUnknown() {
		if data.EnableTrapsUdldStatusChange.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.udld.status-change", map[string]string{})
		}
	}
	if !data.EnableTrapsFruCtrl.IsNull() && !data.EnableTrapsFruCtrl.IsUnknown() {
		if data.EnableTrapsFruCtrl.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.fru-ctrl", map[string]string{})
		}
	}
	if !data.EnableTrapsFlashInsertion.IsNull() && !data.EnableTrapsFlashInsertion.IsUnknown() {
		if data.EnableTrapsFlashInsertion.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.flash.insertion", map[string]string{})
		}
	}
	if !data.EnableTrapsFlashRemoval.IsNull() && !data.EnableTrapsFlashRemoval.IsUnknown() {
		if data.EnableTrapsFlashRemoval.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.flash.removal", map[string]string{})
		}
	}
	if !data.EnableTrapsFlashLowspace.IsNull() && !data.EnableTrapsFlashLowspace.IsUnknown() {
		if data.EnableTrapsFlashLowspace.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.flash.lowspace", map[string]string{})
		}
	}
	if !data.EnableTrapsEnergywise.IsNull() && !data.EnableTrapsEnergywise.IsUnknown() {
		if data.EnableTrapsEnergywise.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.energywise", map[string]string{})
		}
	}
	if !data.EnableTrapsPowerEthernetGroup.IsNull() && !data.EnableTrapsPowerEthernetGroup.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.power-ethernet.group", data.EnableTrapsPowerEthernetGroup.ValueString())
	}
	if !data.EnableTrapsPowerEthernetPolice.IsNull() && !data.EnableTrapsPowerEthernetPolice.IsUnknown() {
		if data.EnableTrapsPowerEthernetPolice.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.power-ethernet.police", map[string]string{})
		}
	}
	if !data.EnableTrapsEntity.IsNull() && !data.EnableTrapsEntity.IsUnknown() {
		if data.EnableTrapsEntity.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity", map[string]string{})
		}
	}
	if !data.EnableTrapsPwVc.IsNull() && !data.EnableTrapsPwVc.IsUnknown() {
		if data.EnableTrapsPwVc.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.pw.vc", map[string]string{})
		}
	}
	if !data.EnableTrapsEnvmon.IsNull() && !data.EnableTrapsEnvmon.IsUnknown() {
		if data.EnableTrapsEnvmon.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.envmon", map[string]string{})
		}
	}
	if !data.EnableTrapsCefResourceFailure.IsNull() && !data.EnableTrapsCefResourceFailure.IsUnknown() {
		if data.EnableTrapsCefResourceFailure.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.cef.resource-failure", map[string]string{})
		}
	}
	if !data.EnableTrapsCefPeerStateChange.IsNull() && !data.EnableTrapsCefPeerStateChange.IsUnknown() {
		if data.EnableTrapsCefPeerStateChange.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.cef.peer-state-change", map[string]string{})
		}
	}
	if !data.EnableTrapsCefPeerFibStateChange.IsNull() && !data.EnableTrapsCefPeerFibStateChange.IsUnknown() {
		if data.EnableTrapsCefPeerFibStateChange.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.cef.peer-fib-state-change", map[string]string{})
		}
	}
	if !data.EnableTrapsCefInconsistency.IsNull() && !data.EnableTrapsCefInconsistency.IsUnknown() {
		if data.EnableTrapsCefInconsistency.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.cef.inconsistency", map[string]string{})
		}
	}
	if !data.EnableTrapsIsis.IsNull() && !data.EnableTrapsIsis.IsUnknown() {
		if data.EnableTrapsIsis.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.isis", map[string]string{})
		}
	}
	if !data.EnableTrapsIpsla.IsNull() && !data.EnableTrapsIpsla.IsUnknown() {
		if data.EnableTrapsIpsla.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsla", map[string]string{})
		}
	}
	if !data.EnableTrapsEntityDiagBootUpFail.IsNull() && !data.EnableTrapsEntityDiagBootUpFail.IsUnknown() {
		if data.EnableTrapsEntityDiagBootUpFail.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-diag.boot-up-fail", map[string]string{})
		}
	}
	if !data.EnableTrapsEntityDiagHmTestRecover.IsNull() && !data.EnableTrapsEntityDiagHmTestRecover.IsUnknown() {
		if data.EnableTrapsEntityDiagHmTestRecover.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-diag.hm-test-recover", map[string]string{})
		}
	}
	if !data.EnableTrapsEntityDiagHmThreshReached.IsNull() && !data.EnableTrapsEntityDiagHmThreshReached.IsUnknown() {
		if data.EnableTrapsEntityDiagHmThreshReached.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-diag.hm-thresh-reached", map[string]string{})
		}
	}
	if !data.EnableTrapsEntityDiagScheduledTestFail.IsNull() && !data.EnableTrapsEntityDiagScheduledTestFail.IsUnknown() {
		if data.EnableTrapsEntityDiagScheduledTestFail.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-diag.scheduled-test-fail", map[string]string{})
		}
	}
	if !data.EnableTrapsBfd.IsNull() && !data.EnableTrapsBfd.IsUnknown() {
		if data.EnableTrapsBfd.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.bfd", map[string]string{})
		}
	}
	if !data.EnableTrapsIkePolicyAdd.IsNull() && !data.EnableTrapsIkePolicyAdd.IsUnknown() {
		if data.EnableTrapsIkePolicyAdd.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ike.policy.add", map[string]string{})
		}
	}
	if !data.EnableTrapsIkePolicyDelete.IsNull() && !data.EnableTrapsIkePolicyDelete.IsUnknown() {
		if data.EnableTrapsIkePolicyDelete.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ike.policy.delete", map[string]string{})
		}
	}
	if !data.EnableTrapsIkeTunnelStart.IsNull() && !data.EnableTrapsIkeTunnelStart.IsUnknown() {
		if data.EnableTrapsIkeTunnelStart.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ike.tunnel.start", map[string]string{})
		}
	}
	if !data.EnableTrapsIkeTunnelStop.IsNull() && !data.EnableTrapsIkeTunnelStop.IsUnknown() {
		if data.EnableTrapsIkeTunnelStop.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ike.tunnel.stop", map[string]string{})
		}
	}
	if !data.EnableTrapsIpsecCryptomapAdd.IsNull() && !data.EnableTrapsIpsecCryptomapAdd.IsUnknown() {
		if data.EnableTrapsIpsecCryptomapAdd.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.cryptomap.add", map[string]string{})
		}
	}
	if !data.EnableTrapsIpsecCryptomapAttach.IsNull() && !data.EnableTrapsIpsecCryptomapAttach.IsUnknown() {
		if data.EnableTrapsIpsecCryptomapAttach.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.cryptomap.attach", map[string]string{})
		}
	}
	if !data.EnableTrapsIpsecCryptomapDelete.IsNull() && !data.EnableTrapsIpsecCryptomapDelete.IsUnknown() {
		if data.EnableTrapsIpsecCryptomapDelete.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.cryptomap.delete", map[string]string{})
		}
	}
	if !data.EnableTrapsIpsecCryptomapDetach.IsNull() && !data.EnableTrapsIpsecCryptomapDetach.IsUnknown() {
		if data.EnableTrapsIpsecCryptomapDetach.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.cryptomap.detach", map[string]string{})
		}
	}
	if !data.EnableTrapsIpsecTunnelStart.IsNull() && !data.EnableTrapsIpsecTunnelStart.IsUnknown() {
		if data.EnableTrapsIpsecTunnelStart.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.tunnel.start", map[string]string{})
		}
	}
	if !data.EnableTrapsIpsecTunnelStop.IsNull() && !data.EnableTrapsIpsecTunnelStop.IsUnknown() {
		if data.EnableTrapsIpsecTunnelStop.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.tunnel.stop", map[string]string{})
		}
	}
	if !data.EnableTrapsIpsecTooManySas.IsNull() && !data.EnableTrapsIpsecTooManySas.IsUnknown() {
		if data.EnableTrapsIpsecTooManySas.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.too-many-sas", map[string]string{})
		}
	}
	if !data.EnableTrapsConfigCopy.IsNull() && !data.EnableTrapsConfigCopy.IsUnknown() {
		if data.EnableTrapsConfigCopy.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.config-copy", map[string]string{})
		}
	}
	if !data.EnableTrapsConfig.IsNull() && !data.EnableTrapsConfig.IsUnknown() {
		if data.EnableTrapsConfig.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.config", map[string]string{})
		}
	}
	if !data.EnableTrapsConfigCtid.IsNull() && !data.EnableTrapsConfigCtid.IsUnknown() {
		if data.EnableTrapsConfigCtid.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.config-ctid", map[string]string{})
		}
	}
	if !data.EnableTrapsDhcp.IsNull() && !data.EnableTrapsDhcp.IsUnknown() {
		if data.EnableTrapsDhcp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.dhcp", map[string]string{})
		}
	}
	if !data.EnableTrapsEventManager.IsNull() && !data.EnableTrapsEventManager.IsUnknown() {
		if data.EnableTrapsEventManager.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.event-manager", map[string]string{})
		}
	}
	if !data.EnableTrapsHsrp.IsNull() && !data.EnableTrapsHsrp.IsUnknown() {
		if data.EnableTrapsHsrp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.hsrp", map[string]string{})
		}
	}
	if !data.EnableTrapsIpmulticast.IsNull() && !data.EnableTrapsIpmulticast.IsUnknown() {
		if data.EnableTrapsIpmulticast.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipmulticast", map[string]string{})
		}
	}
	if !data.EnableTrapsMsdp.IsNull() && !data.EnableTrapsMsdp.IsUnknown() {
		if data.EnableTrapsMsdp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.msdp", map[string]string{})
		}
	}
	if !data.EnableTrapsOspfConfigStateChange.IsNull() && !data.EnableTrapsOspfConfigStateChange.IsUnknown() {
		if data.EnableTrapsOspfConfigStateChange.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.state-change.enable", map[string]string{})
		}
	}
	if !data.EnableTrapsOspfConfigErrors.IsNull() && !data.EnableTrapsOspfConfigErrors.IsUnknown() {
		if data.EnableTrapsOspfConfigErrors.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.errors.enable", map[string]string{})
		}
	}
	if !data.EnableTrapsPimInvalidPimMessage.IsNull() && !data.EnableTrapsPimInvalidPimMessage.IsUnknown() {
		if data.EnableTrapsPimInvalidPimMessage.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.pim.invalid-pim-message", map[string]string{})
		}
	}
	if !data.EnableTrapsPimNeighborChange.IsNull() && !data.EnableTrapsPimNeighborChange.IsUnknown() {
		if data.EnableTrapsPimNeighborChange.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.pim.neighbor-change", map[string]string{})
		}
	}
	if !data.EnableTrapsPimRpMappingChange.IsNull() && !data.EnableTrapsPimRpMappingChange.IsUnknown() {
		if data.EnableTrapsPimRpMappingChange.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.pim.rp-mapping-change", map[string]string{})
		}
	}
	if !data.EnableTrapsBridgeNewroot.IsNull() && !data.EnableTrapsBridgeNewroot.IsUnknown() {
		if data.EnableTrapsBridgeNewroot.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.bridge.newroot", map[string]string{})
		}
	}
	if !data.EnableTrapsBridgeTopologychange.IsNull() && !data.EnableTrapsBridgeTopologychange.IsUnknown() {
		if data.EnableTrapsBridgeTopologychange.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.bridge.topologychange", map[string]string{})
		}
	}
	if !data.EnableTrapsStpxInconsistency.IsNull() && !data.EnableTrapsStpxInconsistency.IsUnknown() {
		if data.EnableTrapsStpxInconsistency.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.stpx.inconsistency", map[string]string{})
		}
	}
	if !data.EnableTrapsStpxRootInconsistency.IsNull() && !data.EnableTrapsStpxRootInconsistency.IsUnknown() {
		if data.EnableTrapsStpxRootInconsistency.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.stpx.root-inconsistency", map[string]string{})
		}
	}
	if !data.EnableTrapsStpxLoopInconsistency.IsNull() && !data.EnableTrapsStpxLoopInconsistency.IsUnknown() {
		if data.EnableTrapsStpxLoopInconsistency.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.stpx.loop-inconsistency", map[string]string{})
		}
	}
	if !data.EnableTrapsSyslog.IsNull() && !data.EnableTrapsSyslog.IsUnknown() {
		if data.EnableTrapsSyslog.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.syslog", map[string]string{})
		}
	}
	if !data.EnableTrapsBgpCbgp2.IsNull() && !data.EnableTrapsBgpCbgp2.IsUnknown() {
		if data.EnableTrapsBgpCbgp2.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-bgp:bgp.cbgp2", map[string]string{})
		}
	}
	if !data.EnableTrapsNhrpNhs.IsNull() && !data.EnableTrapsNhrpNhs.IsUnknown() {
		if data.EnableTrapsNhrpNhs.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.nhrp.nhs", map[string]string{})
		}
	}
	if !data.EnableTrapsNhrpNhc.IsNull() && !data.EnableTrapsNhrpNhc.IsUnknown() {
		if data.EnableTrapsNhrpNhc.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.nhrp.nhc", map[string]string{})
		}
	}
	if !data.EnableTrapsNhrpNhp.IsNull() && !data.EnableTrapsNhrpNhp.IsUnknown() {
		if data.EnableTrapsNhrpNhp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.nhrp.nhp", map[string]string{})
		}
	}
	if !data.EnableTrapsNhrpQuotaExceeded.IsNull() && !data.EnableTrapsNhrpQuotaExceeded.IsUnknown() {
		if data.EnableTrapsNhrpQuotaExceeded.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.nhrp.quota-exceeded", map[string]string{})
		}
	}
	if !data.EnableTrapsMplsTrafficEng.IsNull() && !data.EnableTrapsMplsTrafficEng.IsUnknown() {
		if data.EnableTrapsMplsTrafficEng.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.traffic-eng", map[string]string{})
		}
	}
	if !data.EnableTrapsMpls.IsNull() && !data.EnableTrapsMpls.IsUnknown() {
		if data.EnableTrapsMpls.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls", map[string]string{})
		}
	}
	if !data.EnableTrapsMplsVpn.IsNull() && !data.EnableTrapsMplsVpn.IsUnknown() {
		if data.EnableTrapsMplsVpn.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.vpn", map[string]string{})
		}
	}
	if !data.EnableTrapsMplsRfc.IsNull() && !data.EnableTrapsMplsRfc.IsUnknown() {
		if data.EnableTrapsMplsRfc.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.rfc", map[string]string{})
		}
	}
	if !data.EnableTrapsMplsRfcLdp.IsNull() && !data.EnableTrapsMplsRfcLdp.IsUnknown() {
		if data.EnableTrapsMplsRfcLdp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.rfc.ldp", map[string]string{})
		}
	}
	if !data.EnableTrapsMplsLdp.IsNull() && !data.EnableTrapsMplsLdp.IsUnknown() {
		if data.EnableTrapsMplsLdp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.ldp", map[string]string{})
		}
	}
	if !data.EnableTrapsFastRerouteProtected.IsNull() && !data.EnableTrapsFastRerouteProtected.IsUnknown() {
		if data.EnableTrapsFastRerouteProtected.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.fast-reroute.protected", map[string]string{})
		}
	}
	if !data.EnableTrapsLocalAuth.IsNull() && !data.EnableTrapsLocalAuth.IsUnknown() {
		if data.EnableTrapsLocalAuth.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.local-auth", map[string]string{})
		}
	}
	if !data.EnableTrapsVlanMembership.IsNull() && !data.EnableTrapsVlanMembership.IsUnknown() {
		if data.EnableTrapsVlanMembership.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.vlan-membership", map[string]string{})
		}
	}
	if !data.EnableTrapsErrdisable.IsNull() && !data.EnableTrapsErrdisable.IsUnknown() {
		if data.EnableTrapsErrdisable.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.errdisable", map[string]string{})
		}
	}
	if !data.EnableTrapsRf.IsNull() && !data.EnableTrapsRf.IsUnknown() {
		if data.EnableTrapsRf.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.rf", map[string]string{})
		}
	}
	if !data.EnableTrapsTransceiverAll.IsNull() && !data.EnableTrapsTransceiverAll.IsUnknown() {
		if data.EnableTrapsTransceiverAll.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.transceiver.all", map[string]string{})
		}
	}
	if !data.EnableTrapsBulkstatCollection.IsNull() && !data.EnableTrapsBulkstatCollection.IsUnknown() {
		if data.EnableTrapsBulkstatCollection.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.bulkstat.collection", map[string]string{})
		}
	}
	if !data.EnableTrapsBulkstatTransfer.IsNull() && !data.EnableTrapsBulkstatTransfer.IsUnknown() {
		if data.EnableTrapsBulkstatTransfer.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.bulkstat.transfer", map[string]string{})
		}
	}
	if !data.EnableTrapsMacNotificationChange.IsNull() && !data.EnableTrapsMacNotificationChange.IsUnknown() {
		if data.EnableTrapsMacNotificationChange.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.mac-notification.change", map[string]string{})
		}
	}
	if !data.EnableTrapsMacNotificationMove.IsNull() && !data.EnableTrapsMacNotificationMove.IsUnknown() {
		if data.EnableTrapsMacNotificationMove.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.mac-notification.move", map[string]string{})
		}
	}
	if !data.EnableTrapsMacNotificationThreshold.IsNull() && !data.EnableTrapsMacNotificationThreshold.IsUnknown() {
		if data.EnableTrapsMacNotificationThreshold.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.mac-notification.threshold", map[string]string{})
		}
	}
	if !data.EnableTrapsVrfmibVrfUp.IsNull() && !data.EnableTrapsVrfmibVrfUp.IsUnknown() {
		if data.EnableTrapsVrfmibVrfUp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrfmib.vrf-up", map[string]string{})
		}
	}
	if !data.EnableTrapsVrfmibVrfDown.IsNull() && !data.EnableTrapsVrfmibVrfDown.IsUnknown() {
		if data.EnableTrapsVrfmibVrfDown.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrfmib.vrf-down", map[string]string{})
		}
	}
	if !data.EnableTrapsVrfmibVnetTrunkUp.IsNull() && !data.EnableTrapsVrfmibVnetTrunkUp.IsUnknown() {
		if data.EnableTrapsVrfmibVnetTrunkUp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrfmib.vnet-trunk-up", map[string]string{})
		}
	}
	if !data.EnableTrapsVrfmibVnetTrunkDown.IsNull() && !data.EnableTrapsVrfmibVnetTrunkDown.IsUnknown() {
		if data.EnableTrapsVrfmibVnetTrunkDown.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrfmib.vnet-trunk-down", map[string]string{})
		}
	}
	if !data.EnableTrapsMvpn.IsNull() && !data.EnableTrapsMvpn.IsUnknown() {
		if data.EnableTrapsMvpn.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.mvpn", map[string]string{})
		}
	}
	if !data.EnableTrapsLisp.IsNull() && !data.EnableTrapsLisp.IsUnknown() {
		if data.EnableTrapsLisp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.lisp", map[string]string{})
		}
	}
	if !data.EnableTrapsAaaServer.IsNull() && !data.EnableTrapsAaaServer.IsUnknown() {
		if data.EnableTrapsAaaServer.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.aaa_server", map[string]string{})
		}
	}
	if !data.EnableTrapsVdsl2line.IsNull() && !data.EnableTrapsVdsl2line.IsUnknown() {
		if data.EnableTrapsVdsl2line.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.vdsl2line", map[string]string{})
		}
	}
	if !data.EnableTrapsAdslline.IsNull() && !data.EnableTrapsAdslline.IsUnknown() {
		if data.EnableTrapsAdslline.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.adslline", map[string]string{})
		}
	}
	if !data.EnableTrapsPki.IsNull() && !data.EnableTrapsPki.IsUnknown() {
		if data.EnableTrapsPki.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.pki", map[string]string{})
		}
	}
	if !data.EnableTrapsAlarmType.IsNull() && !data.EnableTrapsAlarmType.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.alarms.alarm-type", data.EnableTrapsAlarmType.ValueString())
	}
	if !data.EnableTrapsCasa.IsNull() && !data.EnableTrapsCasa.IsUnknown() {
		if data.EnableTrapsCasa.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.casa", map[string]string{})
		}
	}
	if !data.EnableTrapsCnpd.IsNull() && !data.EnableTrapsCnpd.IsUnknown() {
		if data.EnableTrapsCnpd.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.cnpd", map[string]string{})
		}
	}
	if !data.EnableTrapsDial.IsNull() && !data.EnableTrapsDial.IsUnknown() {
		if data.EnableTrapsDial.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.dial", map[string]string{})
		}
	}
	if !data.EnableTrapsDlsw.IsNull() && !data.EnableTrapsDlsw.IsUnknown() {
		if data.EnableTrapsDlsw.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.dlsw", map[string]string{})
		}
	}
	if !data.EnableTrapsDs1.IsNull() && !data.EnableTrapsDs1.IsUnknown() {
		if data.EnableTrapsDs1.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ds1", map[string]string{})
		}
	}
	if !data.EnableTrapsDspCardStatus.IsNull() && !data.EnableTrapsDspCardStatus.IsUnknown() {
		if data.EnableTrapsDspCardStatus.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.dsp.card-status", map[string]string{})
		}
	}
	if !data.EnableTrapsDspOperState.IsNull() && !data.EnableTrapsDspOperState.IsUnknown() {
		if data.EnableTrapsDspOperState.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.dsp.oper-state", map[string]string{})
		}
	}
	if !data.EnableTrapsEntitySensor.IsNull() && !data.EnableTrapsEntitySensor.IsUnknown() {
		if data.EnableTrapsEntitySensor.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-sensor", map[string]string{})
		}
	}
	if !data.EnableTrapsEntityState.IsNull() && !data.EnableTrapsEntityState.IsUnknown() {
		if data.EnableTrapsEntityState.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-state", map[string]string{})
		}
	}
	if !data.EnableTrapsEntityQfpMemResThresh.IsNull() && !data.EnableTrapsEntityQfpMemResThresh.IsUnknown() {
		if data.EnableTrapsEntityQfpMemResThresh.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-qfp.mem-res-thresh", map[string]string{})
		}
	}
	if !data.EnableTrapsEntityQfpThroughputNotif.IsNull() && !data.EnableTrapsEntityQfpThroughputNotif.IsUnknown() {
		if data.EnableTrapsEntityQfpThroughputNotif.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-qfp.throughput-notif", map[string]string{})
		}
	}
	if !data.EnableTrapsEtherOam.IsNull() && !data.EnableTrapsEtherOam.IsUnknown() {
		if data.EnableTrapsEtherOam.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ether-oam", map[string]string{})
		}
	}
	if !data.EnableTrapsEthernetCfmAlarm.IsNull() && !data.EnableTrapsEthernetCfmAlarm.IsUnknown() {
		if data.EnableTrapsEthernetCfmAlarm.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.alarm", map[string]string{})
		}
	}
	if !data.EnableTrapsEthernetCfmCcConfig.IsNull() && !data.EnableTrapsEthernetCfmCcConfig.IsUnknown() {
		if data.EnableTrapsEthernetCfmCcConfig.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.config", map[string]string{})
		}
	}
	if !data.EnableTrapsEthernetCfmCcCrossConnect.IsNull() && !data.EnableTrapsEthernetCfmCcCrossConnect.IsUnknown() {
		if data.EnableTrapsEthernetCfmCcCrossConnect.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.cross-connect", map[string]string{})
		}
	}
	if !data.EnableTrapsEthernetCfmCcLoop.IsNull() && !data.EnableTrapsEthernetCfmCcLoop.IsUnknown() {
		if data.EnableTrapsEthernetCfmCcLoop.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.loop", map[string]string{})
		}
	}
	if !data.EnableTrapsEthernetCfmCcMepDown.IsNull() && !data.EnableTrapsEthernetCfmCcMepDown.IsUnknown() {
		if data.EnableTrapsEthernetCfmCcMepDown.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.mep-down", map[string]string{})
		}
	}
	if !data.EnableTrapsEthernetCfmCcMepUp.IsNull() && !data.EnableTrapsEthernetCfmCcMepUp.IsUnknown() {
		if data.EnableTrapsEthernetCfmCcMepUp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.mep-up", map[string]string{})
		}
	}
	if !data.EnableTrapsEthernetCfmCrosscheckMepMissing.IsNull() && !data.EnableTrapsEthernetCfmCrosscheckMepMissing.IsUnknown() {
		if data.EnableTrapsEthernetCfmCrosscheckMepMissing.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.crosscheck.mep-missing", map[string]string{})
		}
	}
	if !data.EnableTrapsEthernetCfmCrosscheckMepUnknown.IsNull() && !data.EnableTrapsEthernetCfmCrosscheckMepUnknown.IsUnknown() {
		if data.EnableTrapsEthernetCfmCrosscheckMepUnknown.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.crosscheck.mep-unknown", map[string]string{})
		}
	}
	if !data.EnableTrapsEthernetCfmCrosscheckServiceUp.IsNull() && !data.EnableTrapsEthernetCfmCrosscheckServiceUp.IsUnknown() {
		if data.EnableTrapsEthernetCfmCrosscheckServiceUp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.crosscheck.service-up", map[string]string{})
		}
	}
	if !data.EnableTrapsEthernetEvcCreate.IsNull() && !data.EnableTrapsEthernetEvcCreate.IsUnknown() {
		if data.EnableTrapsEthernetEvcCreate.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.evc.create", map[string]string{})
		}
	}
	if !data.EnableTrapsEthernetEvcDelete.IsNull() && !data.EnableTrapsEthernetEvcDelete.IsUnknown() {
		if data.EnableTrapsEthernetEvcDelete.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.evc.delete", map[string]string{})
		}
	}
	if !data.EnableTrapsEthernetEvcStatus.IsNull() && !data.EnableTrapsEthernetEvcStatus.IsUnknown() {
		if data.EnableTrapsEthernetEvcStatus.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.evc.status", map[string]string{})
		}
	}
	if !data.EnableTrapsFirewallServerstatus.IsNull() && !data.EnableTrapsFirewallServerstatus.IsUnknown() {
		if data.EnableTrapsFirewallServerstatus.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.firewall.serverstatus", map[string]string{})
		}
	}
	if !data.EnableTrapsFrameRelayConfigOnly.IsNull() && !data.EnableTrapsFrameRelayConfigOnly.IsUnknown() {
		if data.EnableTrapsFrameRelayConfigOnly.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay-config.only-frame-relay.frame-relay", map[string]string{})
		}
	}
	if !data.EnableTrapsFrameRelayConfigSubifConfigs.IsNull() && !data.EnableTrapsFrameRelayConfigSubifConfigs.IsUnknown() {
		if data.EnableTrapsFrameRelayConfigSubifConfigs.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay-config.frame-relay-options.frame-relay.subif-configs.subif", map[string]string{})
		}
	}
	if !data.EnableTrapsFrameRelaySubifCount.IsNull() && !data.EnableTrapsFrameRelaySubifCount.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay.subif.count", strconv.FormatInt(data.EnableTrapsFrameRelaySubifCount.ValueInt64(), 10))
	}
	if !data.EnableTrapsFrameRelaySubifInterval.IsNull() && !data.EnableTrapsFrameRelaySubifInterval.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay.subif.interval", strconv.FormatInt(data.EnableTrapsFrameRelaySubifInterval.ValueInt64(), 10))
	}
	if !data.EnableTrapsFrameRelayConfigBundleMismatch.IsNull() && !data.EnableTrapsFrameRelayConfigBundleMismatch.IsUnknown() {
		if data.EnableTrapsFrameRelayConfigBundleMismatch.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay-config.frame-relay-options.frame-relay.multilink.bundle-mismatch", map[string]string{})
		}
	}
	if !data.EnableTrapsFrameRelayMultilinkBundleMismatch.IsNull() && !data.EnableTrapsFrameRelayMultilinkBundleMismatch.IsUnknown() {
		if data.EnableTrapsFrameRelayMultilinkBundleMismatch.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay.multilink.bundle-mismatch", map[string]string{})
		}
	}
	if !data.EnableTrapsIpLocalPool.IsNull() && !data.EnableTrapsIpLocalPool.IsUnknown() {
		if data.EnableTrapsIpLocalPool.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ip.local.pool", map[string]string{})
		}
	}
	if !data.EnableTrapsIsdnCallInformation.IsNull() && !data.EnableTrapsIsdnCallInformation.IsUnknown() {
		if data.EnableTrapsIsdnCallInformation.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.isdn.call-information", map[string]string{})
		}
	}
	if !data.EnableTrapsIsdnChanNotAvail.IsNull() && !data.EnableTrapsIsdnChanNotAvail.IsUnknown() {
		if data.EnableTrapsIsdnChanNotAvail.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.isdn.chan-not-avail", map[string]string{})
		}
	}
	if !data.EnableTrapsIsdnIetf.IsNull() && !data.EnableTrapsIsdnIetf.IsUnknown() {
		if data.EnableTrapsIsdnIetf.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.isdn.ietf", map[string]string{})
		}
	}
	if !data.EnableTrapsIsdnLayer2.IsNull() && !data.EnableTrapsIsdnLayer2.IsUnknown() {
		if data.EnableTrapsIsdnLayer2.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.isdn.layer2", map[string]string{})
		}
	}
	if !data.EnableTrapsL2tunSession.IsNull() && !data.EnableTrapsL2tunSession.IsUnknown() {
		if data.EnableTrapsL2tunSession.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.l2tun.session", map[string]string{})
		}
	}
	if !data.EnableTrapsL2tunTunnel.IsNull() && !data.EnableTrapsL2tunTunnel.IsUnknown() {
		if data.EnableTrapsL2tunTunnel.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.l2tun.tunnel", map[string]string{})
		}
	}
	if !data.EnableTrapsL2tunPseudowireStatus.IsNull() && !data.EnableTrapsL2tunPseudowireStatus.IsUnknown() {
		if data.EnableTrapsL2tunPseudowireStatus.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.l2tun.pseudowire.status", map[string]string{})
		}
	}
	if !data.EnableTrapsPimstdmibNeighborLoss.IsNull() && !data.EnableTrapsPimstdmibNeighborLoss.IsUnknown() {
		if data.EnableTrapsPimstdmibNeighborLoss.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.neighbor-loss", map[string]string{})
		}
	}
	if !data.EnableTrapsPimstdmibInvalidRegister.IsNull() && !data.EnableTrapsPimstdmibInvalidRegister.IsUnknown() {
		if data.EnableTrapsPimstdmibInvalidRegister.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.invalid-register", map[string]string{})
		}
	}
	if !data.EnableTrapsPimstdmibInvalidJoinPrune.IsNull() && !data.EnableTrapsPimstdmibInvalidJoinPrune.IsUnknown() {
		if data.EnableTrapsPimstdmibInvalidJoinPrune.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.invalid-join-prune", map[string]string{})
		}
	}
	if !data.EnableTrapsPimstdmibRpMappingChange.IsNull() && !data.EnableTrapsPimstdmibRpMappingChange.IsUnknown() {
		if data.EnableTrapsPimstdmibRpMappingChange.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.rp-mapping-change", map[string]string{})
		}
	}
	if !data.EnableTrapsPimstdmibInterfaceElection.IsNull() && !data.EnableTrapsPimstdmibInterfaceElection.IsUnknown() {
		if data.EnableTrapsPimstdmibInterfaceElection.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.interface-election", map[string]string{})
		}
	}
	if !data.EnableTrapsPfr.IsNull() && !data.EnableTrapsPfr.IsUnknown() {
		if data.EnableTrapsPfr.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.pfr", map[string]string{})
		}
	}
	if !data.EnableTrapsPppoe.IsNull() && !data.EnableTrapsPppoe.IsUnknown() {
		if data.EnableTrapsPppoe.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.pppoe", map[string]string{})
		}
	}
	if !data.EnableTrapsResourcePolicy.IsNull() && !data.EnableTrapsResourcePolicy.IsUnknown() {
		if data.EnableTrapsResourcePolicy.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.resource-policy", map[string]string{})
		}
	}
	if !data.EnableTrapsRsvp.IsNull() && !data.EnableTrapsRsvp.IsUnknown() {
		if data.EnableTrapsRsvp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.rsvp", map[string]string{})
		}
	}
	if !data.EnableTrapsVrrp.IsNull() && !data.EnableTrapsVrrp.IsUnknown() {
		if data.EnableTrapsVrrp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrrp", map[string]string{})
		}
	}
	if !data.EnableTrapsSonet.IsNull() && !data.EnableTrapsSonet.IsUnknown() {
		if data.EnableTrapsSonet.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.sonet", map[string]string{})
		}
	}
	if !data.EnableTrapsSrp.IsNull() && !data.EnableTrapsSrp.IsUnknown() {
		if data.EnableTrapsSrp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.srp", map[string]string{})
		}
	}
	if !data.EnableTrapsVoice.IsNull() && !data.EnableTrapsVoice.IsUnknown() {
		if data.EnableTrapsVoice.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.voice", map[string]string{})
		}
	}
	if !data.EnableTrapsBgp.IsNull() && !data.EnableTrapsBgp.IsUnknown() {
		if data.EnableTrapsBgp.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.bgp", map[string]string{})
		}
	}
	if !data.EnableTrapsCbgp2.IsNull() && !data.EnableTrapsCbgp2.IsUnknown() {
		if data.EnableTrapsCbgp2.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.bgp-traps.cbgp2", map[string]string{})
		}
	}
	if !data.EnableTrapsOspfv3Errors.IsNull() && !data.EnableTrapsOspfv3Errors.IsUnknown() {
		if data.EnableTrapsOspfv3Errors.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ospfv3.errors", map[string]string{})
		}
	}
	if !data.EnableTrapsOspfv3StateChange.IsNull() && !data.EnableTrapsOspfv3StateChange.IsUnknown() {
		if data.EnableTrapsOspfv3StateChange.ValueBool() {
			body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:enable.enable-choice.traps.ospfv3.state-change", map[string]string{})
		}
	}
	if !data.SourceInterfaceInformsGigabitEthernet.IsNull() && !data.SourceInterfaceInformsGigabitEthernet.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:source-interface.informs.GigabitEthernet", data.SourceInterfaceInformsGigabitEthernet.ValueString())
	}
	if !data.SourceInterfaceInformsTenGigabitEthernet.IsNull() && !data.SourceInterfaceInformsTenGigabitEthernet.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:source-interface.informs.TenGigabitEthernet", data.SourceInterfaceInformsTenGigabitEthernet.ValueString())
	}
	if !data.SourceInterfaceInformsFortyGigabitEthernet.IsNull() && !data.SourceInterfaceInformsFortyGigabitEthernet.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:source-interface.informs.FortyGigabitEthernet", data.SourceInterfaceInformsFortyGigabitEthernet.ValueString())
	}
	if !data.SourceInterfaceInformsHundredGigE.IsNull() && !data.SourceInterfaceInformsHundredGigE.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:source-interface.informs.HundredGigE", data.SourceInterfaceInformsHundredGigE.ValueString())
	}
	if !data.SourceInterfaceInformsLoopback.IsNull() && !data.SourceInterfaceInformsLoopback.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:source-interface.informs.Loopback", strconv.FormatInt(data.SourceInterfaceInformsLoopback.ValueInt64(), 10))
	}
	if !data.SourceInterfaceInformsPortChannel.IsNull() && !data.SourceInterfaceInformsPortChannel.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:source-interface.informs.Port-channel", strconv.FormatInt(data.SourceInterfaceInformsPortChannel.ValueInt64(), 10))
	}
	if !data.SourceInterfaceInformsPortChannelSubinterface.IsNull() && !data.SourceInterfaceInformsPortChannelSubinterface.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:source-interface.informs.Port-channel-subinterface.Port-channel", data.SourceInterfaceInformsPortChannelSubinterface.ValueString())
	}
	if !data.SourceInterfaceInformsVlan.IsNull() && !data.SourceInterfaceInformsVlan.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:source-interface.informs.Vlan", strconv.FormatInt(data.SourceInterfaceInformsVlan.ValueInt64(), 10))
	}
	if !data.SourceInterfaceTrapsGigabitEthernet.IsNull() && !data.SourceInterfaceTrapsGigabitEthernet.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:source-interface.traps.GigabitEthernet", data.SourceInterfaceTrapsGigabitEthernet.ValueString())
	}
	if !data.SourceInterfaceTrapsTenGigabitEthernet.IsNull() && !data.SourceInterfaceTrapsTenGigabitEthernet.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:source-interface.traps.TenGigabitEthernet", data.SourceInterfaceTrapsTenGigabitEthernet.ValueString())
	}
	if !data.SourceInterfaceTrapsFortyGigabitEthernet.IsNull() && !data.SourceInterfaceTrapsFortyGigabitEthernet.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:source-interface.traps.FortyGigabitEthernet", data.SourceInterfaceTrapsFortyGigabitEthernet.ValueString())
	}
	if !data.SourceInterfaceTrapsHundredGigE.IsNull() && !data.SourceInterfaceTrapsHundredGigE.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:source-interface.traps.HundredGigE", data.SourceInterfaceTrapsHundredGigE.ValueString())
	}
	if !data.SourceInterfaceTrapsLoopback.IsNull() && !data.SourceInterfaceTrapsLoopback.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:source-interface.traps.Loopback", strconv.FormatInt(data.SourceInterfaceTrapsLoopback.ValueInt64(), 10))
	}
	if !data.SourceInterfaceTrapsPortChannel.IsNull() && !data.SourceInterfaceTrapsPortChannel.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:source-interface.traps.Port-channel", strconv.FormatInt(data.SourceInterfaceTrapsPortChannel.ValueInt64(), 10))
	}
	if !data.SourceInterfaceTrapsPortChannelSubinterface.IsNull() && !data.SourceInterfaceTrapsPortChannelSubinterface.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:source-interface.traps.Port-channel-subinterface.Port-channel", data.SourceInterfaceTrapsPortChannelSubinterface.ValueString())
	}
	if !data.SourceInterfaceTrapsVlan.IsNull() && !data.SourceInterfaceTrapsVlan.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:source-interface.traps.Vlan", strconv.FormatInt(data.SourceInterfaceTrapsVlan.ValueInt64(), 10))
	}
	if !data.TrapSourceGigabitEthernet.IsNull() && !data.TrapSourceGigabitEthernet.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:trap-source.GigabitEthernet", data.TrapSourceGigabitEthernet.ValueString())
	}
	if !data.TrapSourceTenGigabitEthernet.IsNull() && !data.TrapSourceTenGigabitEthernet.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:trap-source.TenGigabitEthernet", data.TrapSourceTenGigabitEthernet.ValueString())
	}
	if !data.TrapSourceFortyGigabitEthernet.IsNull() && !data.TrapSourceFortyGigabitEthernet.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:trap-source.FortyGigabitEthernet", data.TrapSourceFortyGigabitEthernet.ValueString())
	}
	if !data.TrapSourceHundredGigE.IsNull() && !data.TrapSourceHundredGigE.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:trap-source.HundredGigE", data.TrapSourceHundredGigE.ValueString())
	}
	if !data.TrapSourceLoopback.IsNull() && !data.TrapSourceLoopback.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:trap-source.Loopback", strconv.FormatInt(data.TrapSourceLoopback.ValueInt64(), 10))
	}
	if !data.TrapSourcePortChannel.IsNull() && !data.TrapSourcePortChannel.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:trap-source.Port-channel", strconv.FormatInt(data.TrapSourcePortChannel.ValueInt64(), 10))
	}
	if !data.TrapSourcePortChannelSubinterface.IsNull() && !data.TrapSourcePortChannelSubinterface.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:trap-source.Port-channel-subinterface.Port-channel", data.TrapSourcePortChannelSubinterface.ValueString())
	}
	if !data.TrapSourceVlan.IsNull() && !data.TrapSourceVlan.IsUnknown() {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:trap-source.Vlan", strconv.FormatInt(data.TrapSourceVlan.ValueInt64(), 10))
	}
	if len(data.Hosts) > 0 {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:host-config.ip-community", []interface{}{})
		for index, item := range data.Hosts {
			if !item.IpAddress.IsNull() && !item.IpAddress.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:host-config.ip-community"+"."+strconv.Itoa(index)+"."+"ip-address", item.IpAddress.ValueString())
			}
			if !item.CommunityOrUser.IsNull() && !item.CommunityOrUser.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:host-config.ip-community"+"."+strconv.Itoa(index)+"."+"community-or-user", item.CommunityOrUser.ValueString())
			}
			if !item.Version.IsNull() && !item.Version.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:host-config.ip-community"+"."+strconv.Itoa(index)+"."+"version", item.Version.ValueString())
			}
			if !item.Encryption.IsNull() && !item.Encryption.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:host-config.ip-community"+"."+strconv.Itoa(index)+"."+"encryption", item.Encryption.ValueString())
			}
			if !item.SecurityLevel.IsNull() && !item.SecurityLevel.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:host-config.ip-community"+"."+strconv.Itoa(index)+"."+"security-level", item.SecurityLevel.ValueString())
			}
		}
	}
	if len(data.VrfHosts) > 0 {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:host-config.ip-vrf-community", []interface{}{})
		for index, item := range data.VrfHosts {
			if !item.IpAddress.IsNull() && !item.IpAddress.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:host-config.ip-vrf-community"+"."+strconv.Itoa(index)+"."+"ip-address", item.IpAddress.ValueString())
			}
			if !item.Vrf.IsNull() && !item.Vrf.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:host-config.ip-vrf-community"+"."+strconv.Itoa(index)+"."+"vrf", item.Vrf.ValueString())
			}
			if !item.CommunityOrUser.IsNull() && !item.CommunityOrUser.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:host-config.ip-vrf-community"+"."+strconv.Itoa(index)+"."+"community-or-user", item.CommunityOrUser.ValueString())
			}
			if !item.Version.IsNull() && !item.Version.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:host-config.ip-vrf-community"+"."+strconv.Itoa(index)+"."+"version", item.Version.ValueString())
			}
			if !item.Encryption.IsNull() && !item.Encryption.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:host-config.ip-vrf-community"+"."+strconv.Itoa(index)+"."+"encryption", item.Encryption.ValueString())
			}
			if !item.SecurityLevel.IsNull() && !item.SecurityLevel.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:host-config.ip-vrf-community"+"."+strconv.Itoa(index)+"."+"security-level", item.SecurityLevel.ValueString())
			}
		}
	}
	if len(data.SnmpCommunities) > 0 {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:community-config", []interface{}{})
		for index, item := range data.SnmpCommunities {
			if !item.Name.IsNull() && !item.Name.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:community-config"+"."+strconv.Itoa(index)+"."+"name", item.Name.ValueString())
			}
			if !item.View.IsNull() && !item.View.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:community-config"+"."+strconv.Itoa(index)+"."+"view", item.View.ValueString())
			}
			if !item.Permission.IsNull() && !item.Permission.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:community-config"+"."+strconv.Itoa(index)+"."+"permission", item.Permission.ValueString())
			}
			if !item.Ipv6.IsNull() && !item.Ipv6.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:community-config"+"."+strconv.Itoa(index)+"."+"ipv6", item.Ipv6.ValueString())
			}
			if !item.AccessListName.IsNull() && !item.AccessListName.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:community-config"+"."+strconv.Itoa(index)+"."+"access-list-name", item.AccessListName.ValueString())
			}
		}
	}
	if len(data.Contexts) > 0 {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:context", []interface{}{})
		for index, item := range data.Contexts {
			if !item.Name.IsNull() && !item.Name.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:context"+"."+strconv.Itoa(index)+"."+"name", item.Name.ValueString())
			}
		}
	}
	if len(data.Views) > 0 {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:view", []interface{}{})
		for index, item := range data.Views {
			if !item.Name.IsNull() && !item.Name.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:view"+"."+strconv.Itoa(index)+"."+"name", item.Name.ValueString())
			}
			if !item.Mib.IsNull() && !item.Mib.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:view"+"."+strconv.Itoa(index)+"."+"mib", item.Mib.ValueString())
			}
			if !item.IncExl.IsNull() && !item.IncExl.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:view"+"."+strconv.Itoa(index)+"."+"inc-exl", item.IncExl.ValueString())
			}
		}
	}
	if len(data.Groups) > 0 {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:group", []interface{}{})
		for index, item := range data.Groups {
			if !item.Name.IsNull() && !item.Name.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:group"+"."+strconv.Itoa(index)+"."+"id", item.Name.ValueString())
			}
			if len(item.V3Security) > 0 {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:group"+"."+strconv.Itoa(index)+"."+"v3.security-level-list", []interface{}{})
				for cindex, citem := range item.V3Security {
					if !citem.SecurityLevel.IsNull() && !citem.SecurityLevel.IsUnknown() {
						body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:group"+"."+strconv.Itoa(index)+"."+"v3.security-level-list"+"."+strconv.Itoa(cindex)+"."+"security-level", citem.SecurityLevel.ValueString())
					}
					if !citem.ContextNode.IsNull() && !citem.ContextNode.IsUnknown() {
						body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:group"+"."+strconv.Itoa(index)+"."+"v3.security-level-list"+"."+strconv.Itoa(cindex)+"."+"context-node", citem.ContextNode.ValueString())
					}
					if !citem.MatchNode.IsNull() && !citem.MatchNode.IsUnknown() {
						body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:group"+"."+strconv.Itoa(index)+"."+"v3.security-level-list"+"."+strconv.Itoa(cindex)+"."+"match-node", citem.MatchNode.ValueString())
					}
					if !citem.ReadNode.IsNull() && !citem.ReadNode.IsUnknown() {
						body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:group"+"."+strconv.Itoa(index)+"."+"v3.security-level-list"+"."+strconv.Itoa(cindex)+"."+"read-node", citem.ReadNode.ValueString())
					}
					if !citem.WriteNode.IsNull() && !citem.WriteNode.IsUnknown() {
						body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:group"+"."+strconv.Itoa(index)+"."+"v3.security-level-list"+"."+strconv.Itoa(cindex)+"."+"write-node", citem.WriteNode.ValueString())
					}
					if !citem.NotifyNode.IsNull() && !citem.NotifyNode.IsUnknown() {
						body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:group"+"."+strconv.Itoa(index)+"."+"v3.security-level-list"+"."+strconv.Itoa(cindex)+"."+"notify-node", citem.NotifyNode.ValueString())
					}
					if !citem.AccessIpv6Acl.IsNull() && !citem.AccessIpv6Acl.IsUnknown() {
						body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:group"+"."+strconv.Itoa(index)+"."+"v3.security-level-list"+"."+strconv.Itoa(cindex)+"."+"access-config.ipv6-acl", citem.AccessIpv6Acl.ValueString())
					}
					if !citem.AccessStandardAcl.IsNull() && !citem.AccessStandardAcl.IsUnknown() {
						body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:group"+"."+strconv.Itoa(index)+"."+"v3.security-level-list"+"."+strconv.Itoa(cindex)+"."+"access-config.standard-acl", strconv.FormatInt(citem.AccessStandardAcl.ValueInt64(), 10))
					}
					if !citem.AccessAclName.IsNull() && !citem.AccessAclName.IsUnknown() {
						body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:group"+"."+strconv.Itoa(index)+"."+"v3.security-level-list"+"."+strconv.Itoa(cindex)+"."+"access-config.acl-name", citem.AccessAclName.ValueString())
					}
				}
			}
		}
	}
	if len(data.Users) > 0 {
		body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names", []interface{}{})
		for index, item := range data.Users {
			if !item.Username.IsNull() && !item.Username.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"username", item.Username.ValueString())
			}
			if !item.Grpname.IsNull() && !item.Grpname.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"grpname", item.Grpname.ValueString())
			}
			if !item.V3AuthAlgorithm.IsNull() && !item.V3AuthAlgorithm.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.algorithm", item.V3AuthAlgorithm.ValueString())
			}
			if !item.V3AuthPassword.IsNull() && !item.V3AuthPassword.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.password", item.V3AuthPassword.ValueString())
			}
			if !item.V3AuthPrivAesAlgorithm.IsNull() && !item.V3AuthPrivAesAlgorithm.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.priv-config.aes.algorithm", item.V3AuthPrivAesAlgorithm.ValueString())
			}
			if !item.V3AuthPrivAesPassword.IsNull() && !item.V3AuthPrivAesPassword.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.priv-config.aes.password", item.V3AuthPrivAesPassword.ValueString())
			}
			if !item.V3AuthPrivAesAccessIpv6Acl.IsNull() && !item.V3AuthPrivAesAccessIpv6Acl.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.priv-config.aes.access-config.ipv6-acl", item.V3AuthPrivAesAccessIpv6Acl.ValueString())
			}
			if !item.V3AuthPrivAesAccessStandardAcl.IsNull() && !item.V3AuthPrivAesAccessStandardAcl.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.priv-config.aes.access-config.standard-acl", strconv.FormatInt(item.V3AuthPrivAesAccessStandardAcl.ValueInt64(), 10))
			}
			if !item.V3AuthPrivAesAccessAclName.IsNull() && !item.V3AuthPrivAesAccessAclName.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.priv-config.aes.access-config.acl-name", item.V3AuthPrivAesAccessAclName.ValueString())
			}
			if !item.V3AuthPrivDesPassword.IsNull() && !item.V3AuthPrivDesPassword.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.priv-config.des.password", item.V3AuthPrivDesPassword.ValueString())
			}
			if !item.V3AuthPrivDesAccessIpv6Acl.IsNull() && !item.V3AuthPrivDesAccessIpv6Acl.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.priv-config.des.access-config.ipv6-acl", item.V3AuthPrivDesAccessIpv6Acl.ValueString())
			}
			if !item.V3AuthPrivDesAccessStandardAcl.IsNull() && !item.V3AuthPrivDesAccessStandardAcl.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.priv-config.des.access-config.standard-acl", strconv.FormatInt(item.V3AuthPrivDesAccessStandardAcl.ValueInt64(), 10))
			}
			if !item.V3AuthPrivDesAccessAclName.IsNull() && !item.V3AuthPrivDesAccessAclName.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.priv-config.des.access-config.acl-name", item.V3AuthPrivDesAccessAclName.ValueString())
			}
			if !item.V3AuthPrivDes3Password.IsNull() && !item.V3AuthPrivDes3Password.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.priv-config.des3.password", item.V3AuthPrivDes3Password.ValueString())
			}
			if !item.V3AuthPrivDes3AccessIpv6Acl.IsNull() && !item.V3AuthPrivDes3AccessIpv6Acl.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.priv-config.des3.access-config.ipv6-acl", item.V3AuthPrivDes3AccessIpv6Acl.ValueString())
			}
			if !item.V3AuthPrivDes3AccessStandardAcl.IsNull() && !item.V3AuthPrivDes3AccessStandardAcl.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.priv-config.des3.access-config.standard-acl", strconv.FormatInt(item.V3AuthPrivDes3AccessStandardAcl.ValueInt64(), 10))
			}
			if !item.V3AuthPrivDes3AccessAclName.IsNull() && !item.V3AuthPrivDes3AccessAclName.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.priv-config.des3.access-config.acl-name", item.V3AuthPrivDes3AccessAclName.ValueString())
			}
			if !item.V3AuthAccessIpv6Acl.IsNull() && !item.V3AuthAccessIpv6Acl.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.access-config.ipv6-acl", item.V3AuthAccessIpv6Acl.ValueString())
			}
			if !item.V3AuthAccessStandardAcl.IsNull() && !item.V3AuthAccessStandardAcl.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.access-config.standard-acl", strconv.FormatInt(item.V3AuthAccessStandardAcl.ValueInt64(), 10))
			}
			if !item.V3AuthAccessAclName.IsNull() && !item.V3AuthAccessAclName.IsUnknown() {
				body, _ = sjson.Set(body, helpers.LastElement(data.getPath())+"."+"Cisco-IOS-XE-snmp:user.names"+"."+strconv.Itoa(index)+"."+"v3.auth-config.access-config.acl-name", item.V3AuthAccessAclName.ValueString())
			}
		}
	}
	return body
}

// End of section. //template:end toBody

// Section below is generated&owned by "gen/generator.go". //template:begin updateFromBody

func (data *SNMPServer) updateFromBody(ctx context.Context, res gjson.Result) {
	prefix := helpers.LastElement(data.getPath()) + "."
	if res.Get(helpers.LastElement(data.getPath())).IsArray() {
		prefix += "0."
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:chassis-id"); value.Exists() && !data.ChassisId.IsNull() {
		data.ChassisId = types.StringValue(value.String())
	} else {
		data.ChassisId = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:contact"); value.Exists() && !data.Contact.IsNull() {
		data.Contact = types.StringValue(value.String())
	} else {
		data.Contact = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:ifindex.persist"); !data.IfindexPersist.IsNull() {
		if value.Exists() {
			data.IfindexPersist = types.BoolValue(true)
		} else {
			data.IfindexPersist = types.BoolValue(false)
		}
	} else {
		data.IfindexPersist = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:location"); value.Exists() && !data.Location.IsNull() {
		data.Location = types.StringValue(value.String())
	} else {
		data.Location = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:packetsize"); value.Exists() && !data.Packetsize.IsNull() {
		data.Packetsize = types.Int64Value(value.Int())
	} else {
		data.Packetsize = types.Int64Null()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:queue-length"); value.Exists() && !data.QueueLength.IsNull() {
		data.QueueLength = types.Int64Value(value.Int())
	} else {
		data.QueueLength = types.Int64Null()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.logging.getop"); !data.EnableLoggingGetop.IsNull() {
		if value.Exists() {
			data.EnableLoggingGetop = types.BoolValue(value.Bool())
		}
	} else {
		data.EnableLoggingGetop = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.logging.setop"); !data.EnableLoggingSetop.IsNull() {
		if value.Exists() {
			data.EnableLoggingSetop = types.BoolValue(value.Bool())
		}
	} else {
		data.EnableLoggingSetop = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.informs"); !data.EnableInforms.IsNull() {
		if value.Exists() {
			data.EnableInforms = types.BoolValue(true)
		} else {
			data.EnableInforms = types.BoolValue(false)
		}
	} else {
		data.EnableInforms = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps"); !data.EnableTraps.IsNull() {
		if value.Exists() {
			data.EnableTraps = types.BoolValue(true)
		} else {
			data.EnableTraps = types.BoolValue(false)
		}
	} else {
		data.EnableTraps = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.authentication"); !data.EnableTrapsSnmpAuthentication.IsNull() {
		if value.Exists() {
			data.EnableTrapsSnmpAuthentication = types.BoolValue(true)
		} else {
			data.EnableTrapsSnmpAuthentication = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsSnmpAuthentication = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.coldstart"); !data.EnableTrapsSnmpColdstart.IsNull() {
		if value.Exists() {
			data.EnableTrapsSnmpColdstart = types.BoolValue(true)
		} else {
			data.EnableTrapsSnmpColdstart = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsSnmpColdstart = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.linkdown"); !data.EnableTrapsSnmpLinkdown.IsNull() {
		if value.Exists() {
			data.EnableTrapsSnmpLinkdown = types.BoolValue(true)
		} else {
			data.EnableTrapsSnmpLinkdown = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsSnmpLinkdown = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.linkup"); !data.EnableTrapsSnmpLinkup.IsNull() {
		if value.Exists() {
			data.EnableTrapsSnmpLinkup = types.BoolValue(true)
		} else {
			data.EnableTrapsSnmpLinkup = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsSnmpLinkup = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.warmstart"); !data.EnableTrapsSnmpWarmstart.IsNull() {
		if value.Exists() {
			data.EnableTrapsSnmpWarmstart = types.BoolValue(true)
		} else {
			data.EnableTrapsSnmpWarmstart = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsSnmpWarmstart = types.BoolNull()
	}
	for i := range data.Hosts {
		keys := [...]string{"ip-address"}
		keyValues := [...]string{data.Hosts[i].IpAddress.ValueString()}

		var r gjson.Result
		res.Get(prefix + "Cisco-IOS-XE-snmp:host-config.ip-community").ForEach(
			func(_, v gjson.Result) bool {
				found := false
				for ik := range keys {
					if v.Get(keys[ik]).String() == keyValues[ik] {
						found = true
						continue
					}
					found = false
					break
				}
				if found {
					r = v
					return false
				}
				return true
			},
		)
		if value := r.Get("ip-address"); value.Exists() && !data.Hosts[i].IpAddress.IsNull() {
			data.Hosts[i].IpAddress = types.StringValue(value.String())
		} else {
			data.Hosts[i].IpAddress = types.StringNull()
		}
		if value := r.Get("version"); value.Exists() && !data.Hosts[i].Version.IsNull() {
			data.Hosts[i].Version = types.StringValue(value.String())
		} else {
			data.Hosts[i].Version = types.StringNull()
		}
		if value := r.Get("encryption"); value.Exists() && !data.Hosts[i].Encryption.IsNull() {
			data.Hosts[i].Encryption = types.StringValue(value.String())
		} else {
			data.Hosts[i].Encryption = types.StringNull()
		}
		if value := r.Get("security-level"); value.Exists() && !data.Hosts[i].SecurityLevel.IsNull() {
			data.Hosts[i].SecurityLevel = types.StringValue(value.String())
		} else {
			data.Hosts[i].SecurityLevel = types.StringNull()
		}
	}
	for i := range data.VrfHosts {
		keys := [...]string{"ip-address", "vrf"}
		keyValues := [...]string{data.VrfHosts[i].IpAddress.ValueString(), data.VrfHosts[i].Vrf.ValueString()}

		var r gjson.Result
		res.Get(prefix + "Cisco-IOS-XE-snmp:host-config.ip-vrf-community").ForEach(
			func(_, v gjson.Result) bool {
				found := false
				for ik := range keys {
					if v.Get(keys[ik]).String() == keyValues[ik] {
						found = true
						continue
					}
					found = false
					break
				}
				if found {
					r = v
					return false
				}
				return true
			},
		)
		if value := r.Get("ip-address"); value.Exists() && !data.VrfHosts[i].IpAddress.IsNull() {
			data.VrfHosts[i].IpAddress = types.StringValue(value.String())
		} else {
			data.VrfHosts[i].IpAddress = types.StringNull()
		}
		if value := r.Get("vrf"); value.Exists() && !data.VrfHosts[i].Vrf.IsNull() {
			data.VrfHosts[i].Vrf = types.StringValue(value.String())
		} else {
			data.VrfHosts[i].Vrf = types.StringNull()
		}
		if value := r.Get("version"); value.Exists() && !data.VrfHosts[i].Version.IsNull() {
			data.VrfHosts[i].Version = types.StringValue(value.String())
		} else {
			data.VrfHosts[i].Version = types.StringNull()
		}
		if value := r.Get("encryption"); value.Exists() && !data.VrfHosts[i].Encryption.IsNull() {
			data.VrfHosts[i].Encryption = types.StringValue(value.String())
		} else {
			data.VrfHosts[i].Encryption = types.StringNull()
		}
		if value := r.Get("security-level"); value.Exists() && !data.VrfHosts[i].SecurityLevel.IsNull() {
			data.VrfHosts[i].SecurityLevel = types.StringValue(value.String())
		} else {
			data.VrfHosts[i].SecurityLevel = types.StringNull()
		}
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:system-shutdown"); !data.SystemShutdown.IsNull() {
		if value.Exists() {
			data.SystemShutdown = types.BoolValue(true)
		} else {
			data.SystemShutdown = types.BoolValue(false)
		}
	} else {
		data.SystemShutdown = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.flowmon"); !data.EnableTrapsFlowmon.IsNull() {
		if value.Exists() {
			data.EnableTrapsFlowmon = types.BoolValue(true)
		} else {
			data.EnableTrapsFlowmon = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsFlowmon = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-perf.throughput-notif"); !data.EnableTrapsEntityPerfThroughputNotif.IsNull() {
		if value.Exists() {
			data.EnableTrapsEntityPerfThroughputNotif = types.BoolValue(true)
		} else {
			data.EnableTrapsEntityPerfThroughputNotif = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEntityPerfThroughputNotif = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.call-home.message-send-fail"); !data.EnableTrapsCallHomeMessageSendFail.IsNull() {
		if value.Exists() {
			data.EnableTrapsCallHomeMessageSendFail = types.BoolValue(true)
		} else {
			data.EnableTrapsCallHomeMessageSendFail = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsCallHomeMessageSendFail = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.call-home.server-fail"); !data.EnableTrapsCallHomeServerFail.IsNull() {
		if value.Exists() {
			data.EnableTrapsCallHomeServerFail = types.BoolValue(true)
		} else {
			data.EnableTrapsCallHomeServerFail = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsCallHomeServerFail = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.tty"); !data.EnableTrapsTty.IsNull() {
		if value.Exists() {
			data.EnableTrapsTty = types.BoolValue(true)
		} else {
			data.EnableTrapsTty = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsTty = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospfv3:ospfv3-config.state-change.enable"); !data.EnableTrapsOspfv3ConfigStateChange.IsNull() {
		if value.Exists() {
			data.EnableTrapsOspfv3ConfigStateChange = types.BoolValue(true)
		} else {
			data.EnableTrapsOspfv3ConfigStateChange = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsOspfv3ConfigStateChange = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospfv3:ospfv3-config.errors.enable"); !data.EnableTrapsOspfv3ConfigErrors.IsNull() {
		if value.Exists() {
			data.EnableTrapsOspfv3ConfigErrors = types.BoolValue(true)
		} else {
			data.EnableTrapsOspfv3ConfigErrors = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsOspfv3ConfigErrors = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.retransmit.enable"); !data.EnableTrapsOspfConfigRetransmit.IsNull() {
		if value.Exists() {
			data.EnableTrapsOspfConfigRetransmit = types.BoolValue(true)
		} else {
			data.EnableTrapsOspfConfigRetransmit = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsOspfConfigRetransmit = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.lsa.enable"); !data.EnableTrapsOspfConfigLsa.IsNull() {
		if value.Exists() {
			data.EnableTrapsOspfConfigLsa = types.BoolValue(true)
		} else {
			data.EnableTrapsOspfConfigLsa = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsOspfConfigLsa = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.state-change.nssa-trans-change"); !data.EnableTrapsOspfNssaTransChange.IsNull() {
		if value.Exists() {
			data.EnableTrapsOspfNssaTransChange = types.BoolValue(true)
		} else {
			data.EnableTrapsOspfNssaTransChange = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsOspfNssaTransChange = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.state-change.shamlink.interface"); !data.EnableTrapsOspfShamlinkInterface.IsNull() {
		if value.Exists() {
			data.EnableTrapsOspfShamlinkInterface = types.BoolValue(true)
		} else {
			data.EnableTrapsOspfShamlinkInterface = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsOspfShamlinkInterface = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.state-change.shamlink.neighbor"); !data.EnableTrapsOspfShamlinkNeighbor.IsNull() {
		if value.Exists() {
			data.EnableTrapsOspfShamlinkNeighbor = types.BoolValue(true)
		} else {
			data.EnableTrapsOspfShamlinkNeighbor = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsOspfShamlinkNeighbor = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.errors.enable"); !data.EnableTrapsOspfErrorsEnable.IsNull() {
		if value.Exists() {
			data.EnableTrapsOspfErrorsEnable = types.BoolValue(true)
		} else {
			data.EnableTrapsOspfErrorsEnable = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsOspfErrorsEnable = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.retransmit.enable"); !data.EnableTrapsOspfRetransmitEnable.IsNull() {
		if value.Exists() {
			data.EnableTrapsOspfRetransmitEnable = types.BoolValue(true)
		} else {
			data.EnableTrapsOspfRetransmitEnable = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsOspfRetransmitEnable = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.lsa.enable"); !data.EnableTrapsOspfLsaEnable.IsNull() {
		if value.Exists() {
			data.EnableTrapsOspfLsaEnable = types.BoolValue(true)
		} else {
			data.EnableTrapsOspfLsaEnable = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsOspfLsaEnable = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.eigrp"); !data.EnableTrapsEigrp.IsNull() {
		if value.Exists() {
			data.EnableTrapsEigrp = types.BoolValue(true)
		} else {
			data.EnableTrapsEigrp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEigrp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.auth-framework.sec-violation"); !data.EnableTrapsAuthFrameworkSecViolation.IsNull() {
		if value.Exists() {
			data.EnableTrapsAuthFrameworkSecViolation = types.BoolValue(true)
		} else {
			data.EnableTrapsAuthFrameworkSecViolation = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsAuthFrameworkSecViolation = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.rep"); !data.EnableTrapsRep.IsNull() {
		if value.Exists() {
			data.EnableTrapsRep = types.BoolValue(true)
		} else {
			data.EnableTrapsRep = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsRep = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vtp"); !data.EnableTrapsVtp.IsNull() {
		if value.Exists() {
			data.EnableTrapsVtp = types.BoolValue(true)
		} else {
			data.EnableTrapsVtp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsVtp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vlancreate"); !data.EnableTrapsVlancreate.IsNull() {
		if value.Exists() {
			data.EnableTrapsVlancreate = types.BoolValue(true)
		} else {
			data.EnableTrapsVlancreate = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsVlancreate = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vlandelete"); !data.EnableTrapsVlandelete.IsNull() {
		if value.Exists() {
			data.EnableTrapsVlandelete = types.BoolValue(true)
		} else {
			data.EnableTrapsVlandelete = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsVlandelete = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.port-security"); !data.EnableTrapsPortSecurity.IsNull() {
		if value.Exists() {
			data.EnableTrapsPortSecurity = types.BoolValue(true)
		} else {
			data.EnableTrapsPortSecurity = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsPortSecurity = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.license"); !data.EnableTrapsLicense.IsNull() {
		if value.Exists() {
			data.EnableTrapsLicense = types.BoolValue(true)
		} else {
			data.EnableTrapsLicense = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsLicense = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.smart-licenseing.smart-license"); !data.EnableTrapsSmartLicense.IsNull() {
		if value.Exists() {
			data.EnableTrapsSmartLicense = types.BoolValue(true)
		} else {
			data.EnableTrapsSmartLicense = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsSmartLicense = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cpu.threshold"); !data.EnableTrapsCpuThreshold.IsNull() {
		if value.Exists() {
			data.EnableTrapsCpuThreshold = types.BoolValue(true)
		} else {
			data.EnableTrapsCpuThreshold = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsCpuThreshold = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.memory.bufferpeak"); !data.EnableTrapsMemoryBufferpeak.IsNull() {
		if value.Exists() {
			data.EnableTrapsMemoryBufferpeak = types.BoolValue(true)
		} else {
			data.EnableTrapsMemoryBufferpeak = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsMemoryBufferpeak = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.stackwise"); !data.EnableTrapsStackwise.IsNull() {
		if value.Exists() {
			data.EnableTrapsStackwise = types.BoolValue(true)
		} else {
			data.EnableTrapsStackwise = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsStackwise = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.udld.link-fail-rpt"); !data.EnableTrapsUdldLinkFailRpt.IsNull() {
		if value.Exists() {
			data.EnableTrapsUdldLinkFailRpt = types.BoolValue(true)
		} else {
			data.EnableTrapsUdldLinkFailRpt = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsUdldLinkFailRpt = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.udld.status-change"); !data.EnableTrapsUdldStatusChange.IsNull() {
		if value.Exists() {
			data.EnableTrapsUdldStatusChange = types.BoolValue(true)
		} else {
			data.EnableTrapsUdldStatusChange = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsUdldStatusChange = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.fru-ctrl"); !data.EnableTrapsFruCtrl.IsNull() {
		if value.Exists() {
			data.EnableTrapsFruCtrl = types.BoolValue(true)
		} else {
			data.EnableTrapsFruCtrl = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsFruCtrl = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.flash.insertion"); !data.EnableTrapsFlashInsertion.IsNull() {
		if value.Exists() {
			data.EnableTrapsFlashInsertion = types.BoolValue(true)
		} else {
			data.EnableTrapsFlashInsertion = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsFlashInsertion = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.flash.removal"); !data.EnableTrapsFlashRemoval.IsNull() {
		if value.Exists() {
			data.EnableTrapsFlashRemoval = types.BoolValue(true)
		} else {
			data.EnableTrapsFlashRemoval = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsFlashRemoval = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.flash.lowspace"); !data.EnableTrapsFlashLowspace.IsNull() {
		if value.Exists() {
			data.EnableTrapsFlashLowspace = types.BoolValue(true)
		} else {
			data.EnableTrapsFlashLowspace = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsFlashLowspace = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.energywise"); !data.EnableTrapsEnergywise.IsNull() {
		if value.Exists() {
			data.EnableTrapsEnergywise = types.BoolValue(true)
		} else {
			data.EnableTrapsEnergywise = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEnergywise = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.power-ethernet.group"); value.Exists() && !data.EnableTrapsPowerEthernetGroup.IsNull() {
		data.EnableTrapsPowerEthernetGroup = types.StringValue(value.String())
	} else {
		data.EnableTrapsPowerEthernetGroup = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.power-ethernet.police"); !data.EnableTrapsPowerEthernetPolice.IsNull() {
		if value.Exists() {
			data.EnableTrapsPowerEthernetPolice = types.BoolValue(true)
		} else {
			data.EnableTrapsPowerEthernetPolice = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsPowerEthernetPolice = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity"); !data.EnableTrapsEntity.IsNull() {
		if value.Exists() {
			data.EnableTrapsEntity = types.BoolValue(true)
		} else {
			data.EnableTrapsEntity = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEntity = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pw.vc"); !data.EnableTrapsPwVc.IsNull() {
		if value.Exists() {
			data.EnableTrapsPwVc = types.BoolValue(true)
		} else {
			data.EnableTrapsPwVc = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsPwVc = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.envmon"); !data.EnableTrapsEnvmon.IsNull() {
		if value.Exists() {
			data.EnableTrapsEnvmon = types.BoolValue(true)
		} else {
			data.EnableTrapsEnvmon = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEnvmon = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cef.resource-failure"); !data.EnableTrapsCefResourceFailure.IsNull() {
		if value.Exists() {
			data.EnableTrapsCefResourceFailure = types.BoolValue(true)
		} else {
			data.EnableTrapsCefResourceFailure = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsCefResourceFailure = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cef.peer-state-change"); !data.EnableTrapsCefPeerStateChange.IsNull() {
		if value.Exists() {
			data.EnableTrapsCefPeerStateChange = types.BoolValue(true)
		} else {
			data.EnableTrapsCefPeerStateChange = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsCefPeerStateChange = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cef.peer-fib-state-change"); !data.EnableTrapsCefPeerFibStateChange.IsNull() {
		if value.Exists() {
			data.EnableTrapsCefPeerFibStateChange = types.BoolValue(true)
		} else {
			data.EnableTrapsCefPeerFibStateChange = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsCefPeerFibStateChange = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cef.inconsistency"); !data.EnableTrapsCefInconsistency.IsNull() {
		if value.Exists() {
			data.EnableTrapsCefInconsistency = types.BoolValue(true)
		} else {
			data.EnableTrapsCefInconsistency = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsCefInconsistency = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.isis"); !data.EnableTrapsIsis.IsNull() {
		if value.Exists() {
			data.EnableTrapsIsis = types.BoolValue(true)
		} else {
			data.EnableTrapsIsis = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIsis = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsla"); !data.EnableTrapsIpsla.IsNull() {
		if value.Exists() {
			data.EnableTrapsIpsla = types.BoolValue(true)
		} else {
			data.EnableTrapsIpsla = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIpsla = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-diag.boot-up-fail"); !data.EnableTrapsEntityDiagBootUpFail.IsNull() {
		if value.Exists() {
			data.EnableTrapsEntityDiagBootUpFail = types.BoolValue(true)
		} else {
			data.EnableTrapsEntityDiagBootUpFail = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEntityDiagBootUpFail = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-diag.hm-test-recover"); !data.EnableTrapsEntityDiagHmTestRecover.IsNull() {
		if value.Exists() {
			data.EnableTrapsEntityDiagHmTestRecover = types.BoolValue(true)
		} else {
			data.EnableTrapsEntityDiagHmTestRecover = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEntityDiagHmTestRecover = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-diag.hm-thresh-reached"); !data.EnableTrapsEntityDiagHmThreshReached.IsNull() {
		if value.Exists() {
			data.EnableTrapsEntityDiagHmThreshReached = types.BoolValue(true)
		} else {
			data.EnableTrapsEntityDiagHmThreshReached = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEntityDiagHmThreshReached = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-diag.scheduled-test-fail"); !data.EnableTrapsEntityDiagScheduledTestFail.IsNull() {
		if value.Exists() {
			data.EnableTrapsEntityDiagScheduledTestFail = types.BoolValue(true)
		} else {
			data.EnableTrapsEntityDiagScheduledTestFail = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEntityDiagScheduledTestFail = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bfd"); !data.EnableTrapsBfd.IsNull() {
		if value.Exists() {
			data.EnableTrapsBfd = types.BoolValue(true)
		} else {
			data.EnableTrapsBfd = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsBfd = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ike.policy.add"); !data.EnableTrapsIkePolicyAdd.IsNull() {
		if value.Exists() {
			data.EnableTrapsIkePolicyAdd = types.BoolValue(true)
		} else {
			data.EnableTrapsIkePolicyAdd = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIkePolicyAdd = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ike.policy.delete"); !data.EnableTrapsIkePolicyDelete.IsNull() {
		if value.Exists() {
			data.EnableTrapsIkePolicyDelete = types.BoolValue(true)
		} else {
			data.EnableTrapsIkePolicyDelete = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIkePolicyDelete = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ike.tunnel.start"); !data.EnableTrapsIkeTunnelStart.IsNull() {
		if value.Exists() {
			data.EnableTrapsIkeTunnelStart = types.BoolValue(true)
		} else {
			data.EnableTrapsIkeTunnelStart = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIkeTunnelStart = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ike.tunnel.stop"); !data.EnableTrapsIkeTunnelStop.IsNull() {
		if value.Exists() {
			data.EnableTrapsIkeTunnelStop = types.BoolValue(true)
		} else {
			data.EnableTrapsIkeTunnelStop = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIkeTunnelStop = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.cryptomap.add"); !data.EnableTrapsIpsecCryptomapAdd.IsNull() {
		if value.Exists() {
			data.EnableTrapsIpsecCryptomapAdd = types.BoolValue(true)
		} else {
			data.EnableTrapsIpsecCryptomapAdd = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIpsecCryptomapAdd = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.cryptomap.attach"); !data.EnableTrapsIpsecCryptomapAttach.IsNull() {
		if value.Exists() {
			data.EnableTrapsIpsecCryptomapAttach = types.BoolValue(true)
		} else {
			data.EnableTrapsIpsecCryptomapAttach = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIpsecCryptomapAttach = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.cryptomap.delete"); !data.EnableTrapsIpsecCryptomapDelete.IsNull() {
		if value.Exists() {
			data.EnableTrapsIpsecCryptomapDelete = types.BoolValue(true)
		} else {
			data.EnableTrapsIpsecCryptomapDelete = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIpsecCryptomapDelete = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.cryptomap.detach"); !data.EnableTrapsIpsecCryptomapDetach.IsNull() {
		if value.Exists() {
			data.EnableTrapsIpsecCryptomapDetach = types.BoolValue(true)
		} else {
			data.EnableTrapsIpsecCryptomapDetach = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIpsecCryptomapDetach = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.tunnel.start"); !data.EnableTrapsIpsecTunnelStart.IsNull() {
		if value.Exists() {
			data.EnableTrapsIpsecTunnelStart = types.BoolValue(true)
		} else {
			data.EnableTrapsIpsecTunnelStart = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIpsecTunnelStart = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.tunnel.stop"); !data.EnableTrapsIpsecTunnelStop.IsNull() {
		if value.Exists() {
			data.EnableTrapsIpsecTunnelStop = types.BoolValue(true)
		} else {
			data.EnableTrapsIpsecTunnelStop = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIpsecTunnelStop = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.too-many-sas"); !data.EnableTrapsIpsecTooManySas.IsNull() {
		if value.Exists() {
			data.EnableTrapsIpsecTooManySas = types.BoolValue(true)
		} else {
			data.EnableTrapsIpsecTooManySas = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIpsecTooManySas = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.config-copy"); !data.EnableTrapsConfigCopy.IsNull() {
		if value.Exists() {
			data.EnableTrapsConfigCopy = types.BoolValue(true)
		} else {
			data.EnableTrapsConfigCopy = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsConfigCopy = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.config"); !data.EnableTrapsConfig.IsNull() {
		if value.Exists() {
			data.EnableTrapsConfig = types.BoolValue(true)
		} else {
			data.EnableTrapsConfig = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsConfig = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.config-ctid"); !data.EnableTrapsConfigCtid.IsNull() {
		if value.Exists() {
			data.EnableTrapsConfigCtid = types.BoolValue(true)
		} else {
			data.EnableTrapsConfigCtid = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsConfigCtid = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.dhcp"); !data.EnableTrapsDhcp.IsNull() {
		if value.Exists() {
			data.EnableTrapsDhcp = types.BoolValue(true)
		} else {
			data.EnableTrapsDhcp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsDhcp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.event-manager"); !data.EnableTrapsEventManager.IsNull() {
		if value.Exists() {
			data.EnableTrapsEventManager = types.BoolValue(true)
		} else {
			data.EnableTrapsEventManager = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEventManager = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.hsrp"); !data.EnableTrapsHsrp.IsNull() {
		if value.Exists() {
			data.EnableTrapsHsrp = types.BoolValue(true)
		} else {
			data.EnableTrapsHsrp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsHsrp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipmulticast"); !data.EnableTrapsIpmulticast.IsNull() {
		if value.Exists() {
			data.EnableTrapsIpmulticast = types.BoolValue(true)
		} else {
			data.EnableTrapsIpmulticast = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIpmulticast = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.msdp"); !data.EnableTrapsMsdp.IsNull() {
		if value.Exists() {
			data.EnableTrapsMsdp = types.BoolValue(true)
		} else {
			data.EnableTrapsMsdp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsMsdp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.state-change.enable"); !data.EnableTrapsOspfConfigStateChange.IsNull() {
		if value.Exists() {
			data.EnableTrapsOspfConfigStateChange = types.BoolValue(true)
		} else {
			data.EnableTrapsOspfConfigStateChange = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsOspfConfigStateChange = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.errors.enable"); !data.EnableTrapsOspfConfigErrors.IsNull() {
		if value.Exists() {
			data.EnableTrapsOspfConfigErrors = types.BoolValue(true)
		} else {
			data.EnableTrapsOspfConfigErrors = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsOspfConfigErrors = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pim.invalid-pim-message"); !data.EnableTrapsPimInvalidPimMessage.IsNull() {
		if value.Exists() {
			data.EnableTrapsPimInvalidPimMessage = types.BoolValue(true)
		} else {
			data.EnableTrapsPimInvalidPimMessage = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsPimInvalidPimMessage = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pim.neighbor-change"); !data.EnableTrapsPimNeighborChange.IsNull() {
		if value.Exists() {
			data.EnableTrapsPimNeighborChange = types.BoolValue(true)
		} else {
			data.EnableTrapsPimNeighborChange = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsPimNeighborChange = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pim.rp-mapping-change"); !data.EnableTrapsPimRpMappingChange.IsNull() {
		if value.Exists() {
			data.EnableTrapsPimRpMappingChange = types.BoolValue(true)
		} else {
			data.EnableTrapsPimRpMappingChange = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsPimRpMappingChange = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bridge.newroot"); !data.EnableTrapsBridgeNewroot.IsNull() {
		if value.Exists() {
			data.EnableTrapsBridgeNewroot = types.BoolValue(true)
		} else {
			data.EnableTrapsBridgeNewroot = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsBridgeNewroot = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bridge.topologychange"); !data.EnableTrapsBridgeTopologychange.IsNull() {
		if value.Exists() {
			data.EnableTrapsBridgeTopologychange = types.BoolValue(true)
		} else {
			data.EnableTrapsBridgeTopologychange = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsBridgeTopologychange = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.stpx.inconsistency"); !data.EnableTrapsStpxInconsistency.IsNull() {
		if value.Exists() {
			data.EnableTrapsStpxInconsistency = types.BoolValue(true)
		} else {
			data.EnableTrapsStpxInconsistency = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsStpxInconsistency = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.stpx.root-inconsistency"); !data.EnableTrapsStpxRootInconsistency.IsNull() {
		if value.Exists() {
			data.EnableTrapsStpxRootInconsistency = types.BoolValue(true)
		} else {
			data.EnableTrapsStpxRootInconsistency = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsStpxRootInconsistency = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.stpx.loop-inconsistency"); !data.EnableTrapsStpxLoopInconsistency.IsNull() {
		if value.Exists() {
			data.EnableTrapsStpxLoopInconsistency = types.BoolValue(true)
		} else {
			data.EnableTrapsStpxLoopInconsistency = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsStpxLoopInconsistency = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.syslog"); !data.EnableTrapsSyslog.IsNull() {
		if value.Exists() {
			data.EnableTrapsSyslog = types.BoolValue(true)
		} else {
			data.EnableTrapsSyslog = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsSyslog = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-bgp:bgp.cbgp2"); !data.EnableTrapsBgpCbgp2.IsNull() {
		if value.Exists() {
			data.EnableTrapsBgpCbgp2 = types.BoolValue(true)
		} else {
			data.EnableTrapsBgpCbgp2 = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsBgpCbgp2 = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.nhrp.nhs"); !data.EnableTrapsNhrpNhs.IsNull() {
		if value.Exists() {
			data.EnableTrapsNhrpNhs = types.BoolValue(true)
		} else {
			data.EnableTrapsNhrpNhs = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsNhrpNhs = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.nhrp.nhc"); !data.EnableTrapsNhrpNhc.IsNull() {
		if value.Exists() {
			data.EnableTrapsNhrpNhc = types.BoolValue(true)
		} else {
			data.EnableTrapsNhrpNhc = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsNhrpNhc = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.nhrp.nhp"); !data.EnableTrapsNhrpNhp.IsNull() {
		if value.Exists() {
			data.EnableTrapsNhrpNhp = types.BoolValue(true)
		} else {
			data.EnableTrapsNhrpNhp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsNhrpNhp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.nhrp.quota-exceeded"); !data.EnableTrapsNhrpQuotaExceeded.IsNull() {
		if value.Exists() {
			data.EnableTrapsNhrpQuotaExceeded = types.BoolValue(true)
		} else {
			data.EnableTrapsNhrpQuotaExceeded = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsNhrpQuotaExceeded = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.traffic-eng"); !data.EnableTrapsMplsTrafficEng.IsNull() {
		if value.Exists() {
			data.EnableTrapsMplsTrafficEng = types.BoolValue(true)
		} else {
			data.EnableTrapsMplsTrafficEng = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsMplsTrafficEng = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls"); !data.EnableTrapsMpls.IsNull() {
		if value.Exists() {
			data.EnableTrapsMpls = types.BoolValue(true)
		} else {
			data.EnableTrapsMpls = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsMpls = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.vpn"); !data.EnableTrapsMplsVpn.IsNull() {
		if value.Exists() {
			data.EnableTrapsMplsVpn = types.BoolValue(true)
		} else {
			data.EnableTrapsMplsVpn = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsMplsVpn = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.rfc"); !data.EnableTrapsMplsRfc.IsNull() {
		if value.Exists() {
			data.EnableTrapsMplsRfc = types.BoolValue(true)
		} else {
			data.EnableTrapsMplsRfc = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsMplsRfc = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.rfc.ldp"); !data.EnableTrapsMplsRfcLdp.IsNull() {
		if value.Exists() {
			data.EnableTrapsMplsRfcLdp = types.BoolValue(true)
		} else {
			data.EnableTrapsMplsRfcLdp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsMplsRfcLdp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.ldp"); !data.EnableTrapsMplsLdp.IsNull() {
		if value.Exists() {
			data.EnableTrapsMplsLdp = types.BoolValue(true)
		} else {
			data.EnableTrapsMplsLdp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsMplsLdp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.fast-reroute.protected"); !data.EnableTrapsFastRerouteProtected.IsNull() {
		if value.Exists() {
			data.EnableTrapsFastRerouteProtected = types.BoolValue(true)
		} else {
			data.EnableTrapsFastRerouteProtected = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsFastRerouteProtected = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.local-auth"); !data.EnableTrapsLocalAuth.IsNull() {
		if value.Exists() {
			data.EnableTrapsLocalAuth = types.BoolValue(true)
		} else {
			data.EnableTrapsLocalAuth = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsLocalAuth = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vlan-membership"); !data.EnableTrapsVlanMembership.IsNull() {
		if value.Exists() {
			data.EnableTrapsVlanMembership = types.BoolValue(true)
		} else {
			data.EnableTrapsVlanMembership = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsVlanMembership = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.errdisable"); !data.EnableTrapsErrdisable.IsNull() {
		if value.Exists() {
			data.EnableTrapsErrdisable = types.BoolValue(true)
		} else {
			data.EnableTrapsErrdisable = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsErrdisable = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.rf"); !data.EnableTrapsRf.IsNull() {
		if value.Exists() {
			data.EnableTrapsRf = types.BoolValue(true)
		} else {
			data.EnableTrapsRf = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsRf = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.transceiver.all"); !data.EnableTrapsTransceiverAll.IsNull() {
		if value.Exists() {
			data.EnableTrapsTransceiverAll = types.BoolValue(true)
		} else {
			data.EnableTrapsTransceiverAll = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsTransceiverAll = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bulkstat.collection"); !data.EnableTrapsBulkstatCollection.IsNull() {
		if value.Exists() {
			data.EnableTrapsBulkstatCollection = types.BoolValue(true)
		} else {
			data.EnableTrapsBulkstatCollection = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsBulkstatCollection = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bulkstat.transfer"); !data.EnableTrapsBulkstatTransfer.IsNull() {
		if value.Exists() {
			data.EnableTrapsBulkstatTransfer = types.BoolValue(true)
		} else {
			data.EnableTrapsBulkstatTransfer = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsBulkstatTransfer = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mac-notification.change"); !data.EnableTrapsMacNotificationChange.IsNull() {
		if value.Exists() {
			data.EnableTrapsMacNotificationChange = types.BoolValue(true)
		} else {
			data.EnableTrapsMacNotificationChange = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsMacNotificationChange = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mac-notification.move"); !data.EnableTrapsMacNotificationMove.IsNull() {
		if value.Exists() {
			data.EnableTrapsMacNotificationMove = types.BoolValue(true)
		} else {
			data.EnableTrapsMacNotificationMove = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsMacNotificationMove = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mac-notification.threshold"); !data.EnableTrapsMacNotificationThreshold.IsNull() {
		if value.Exists() {
			data.EnableTrapsMacNotificationThreshold = types.BoolValue(true)
		} else {
			data.EnableTrapsMacNotificationThreshold = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsMacNotificationThreshold = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrfmib.vrf-up"); !data.EnableTrapsVrfmibVrfUp.IsNull() {
		if value.Exists() {
			data.EnableTrapsVrfmibVrfUp = types.BoolValue(true)
		} else {
			data.EnableTrapsVrfmibVrfUp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsVrfmibVrfUp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrfmib.vrf-down"); !data.EnableTrapsVrfmibVrfDown.IsNull() {
		if value.Exists() {
			data.EnableTrapsVrfmibVrfDown = types.BoolValue(true)
		} else {
			data.EnableTrapsVrfmibVrfDown = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsVrfmibVrfDown = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrfmib.vnet-trunk-up"); !data.EnableTrapsVrfmibVnetTrunkUp.IsNull() {
		if value.Exists() {
			data.EnableTrapsVrfmibVnetTrunkUp = types.BoolValue(true)
		} else {
			data.EnableTrapsVrfmibVnetTrunkUp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsVrfmibVnetTrunkUp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrfmib.vnet-trunk-down"); !data.EnableTrapsVrfmibVnetTrunkDown.IsNull() {
		if value.Exists() {
			data.EnableTrapsVrfmibVnetTrunkDown = types.BoolValue(true)
		} else {
			data.EnableTrapsVrfmibVnetTrunkDown = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsVrfmibVnetTrunkDown = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mvpn"); !data.EnableTrapsMvpn.IsNull() {
		if value.Exists() {
			data.EnableTrapsMvpn = types.BoolValue(true)
		} else {
			data.EnableTrapsMvpn = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsMvpn = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.lisp"); !data.EnableTrapsLisp.IsNull() {
		if value.Exists() {
			data.EnableTrapsLisp = types.BoolValue(true)
		} else {
			data.EnableTrapsLisp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsLisp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.aaa_server"); !data.EnableTrapsAaaServer.IsNull() {
		if value.Exists() {
			data.EnableTrapsAaaServer = types.BoolValue(true)
		} else {
			data.EnableTrapsAaaServer = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsAaaServer = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vdsl2line"); !data.EnableTrapsVdsl2line.IsNull() {
		if value.Exists() {
			data.EnableTrapsVdsl2line = types.BoolValue(true)
		} else {
			data.EnableTrapsVdsl2line = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsVdsl2line = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.adslline"); !data.EnableTrapsAdslline.IsNull() {
		if value.Exists() {
			data.EnableTrapsAdslline = types.BoolValue(true)
		} else {
			data.EnableTrapsAdslline = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsAdslline = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pki"); !data.EnableTrapsPki.IsNull() {
		if value.Exists() {
			data.EnableTrapsPki = types.BoolValue(true)
		} else {
			data.EnableTrapsPki = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsPki = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.alarms.alarm-type"); value.Exists() && !data.EnableTrapsAlarmType.IsNull() {
		data.EnableTrapsAlarmType = types.StringValue(value.String())
	} else {
		data.EnableTrapsAlarmType = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.casa"); !data.EnableTrapsCasa.IsNull() {
		if value.Exists() {
			data.EnableTrapsCasa = types.BoolValue(true)
		} else {
			data.EnableTrapsCasa = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsCasa = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cnpd"); !data.EnableTrapsCnpd.IsNull() {
		if value.Exists() {
			data.EnableTrapsCnpd = types.BoolValue(true)
		} else {
			data.EnableTrapsCnpd = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsCnpd = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.dial"); !data.EnableTrapsDial.IsNull() {
		if value.Exists() {
			data.EnableTrapsDial = types.BoolValue(true)
		} else {
			data.EnableTrapsDial = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsDial = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.dlsw"); !data.EnableTrapsDlsw.IsNull() {
		if value.Exists() {
			data.EnableTrapsDlsw = types.BoolValue(true)
		} else {
			data.EnableTrapsDlsw = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsDlsw = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ds1"); !data.EnableTrapsDs1.IsNull() {
		if value.Exists() {
			data.EnableTrapsDs1 = types.BoolValue(true)
		} else {
			data.EnableTrapsDs1 = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsDs1 = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.dsp.card-status"); !data.EnableTrapsDspCardStatus.IsNull() {
		if value.Exists() {
			data.EnableTrapsDspCardStatus = types.BoolValue(true)
		} else {
			data.EnableTrapsDspCardStatus = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsDspCardStatus = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.dsp.oper-state"); !data.EnableTrapsDspOperState.IsNull() {
		if value.Exists() {
			data.EnableTrapsDspOperState = types.BoolValue(true)
		} else {
			data.EnableTrapsDspOperState = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsDspOperState = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-sensor"); !data.EnableTrapsEntitySensor.IsNull() {
		if value.Exists() {
			data.EnableTrapsEntitySensor = types.BoolValue(true)
		} else {
			data.EnableTrapsEntitySensor = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEntitySensor = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-state"); !data.EnableTrapsEntityState.IsNull() {
		if value.Exists() {
			data.EnableTrapsEntityState = types.BoolValue(true)
		} else {
			data.EnableTrapsEntityState = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEntityState = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-qfp.mem-res-thresh"); !data.EnableTrapsEntityQfpMemResThresh.IsNull() {
		if value.Exists() {
			data.EnableTrapsEntityQfpMemResThresh = types.BoolValue(true)
		} else {
			data.EnableTrapsEntityQfpMemResThresh = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEntityQfpMemResThresh = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-qfp.throughput-notif"); !data.EnableTrapsEntityQfpThroughputNotif.IsNull() {
		if value.Exists() {
			data.EnableTrapsEntityQfpThroughputNotif = types.BoolValue(true)
		} else {
			data.EnableTrapsEntityQfpThroughputNotif = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEntityQfpThroughputNotif = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ether-oam"); !data.EnableTrapsEtherOam.IsNull() {
		if value.Exists() {
			data.EnableTrapsEtherOam = types.BoolValue(true)
		} else {
			data.EnableTrapsEtherOam = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEtherOam = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.alarm"); !data.EnableTrapsEthernetCfmAlarm.IsNull() {
		if value.Exists() {
			data.EnableTrapsEthernetCfmAlarm = types.BoolValue(true)
		} else {
			data.EnableTrapsEthernetCfmAlarm = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEthernetCfmAlarm = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.config"); !data.EnableTrapsEthernetCfmCcConfig.IsNull() {
		if value.Exists() {
			data.EnableTrapsEthernetCfmCcConfig = types.BoolValue(true)
		} else {
			data.EnableTrapsEthernetCfmCcConfig = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEthernetCfmCcConfig = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.cross-connect"); !data.EnableTrapsEthernetCfmCcCrossConnect.IsNull() {
		if value.Exists() {
			data.EnableTrapsEthernetCfmCcCrossConnect = types.BoolValue(true)
		} else {
			data.EnableTrapsEthernetCfmCcCrossConnect = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEthernetCfmCcCrossConnect = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.loop"); !data.EnableTrapsEthernetCfmCcLoop.IsNull() {
		if value.Exists() {
			data.EnableTrapsEthernetCfmCcLoop = types.BoolValue(true)
		} else {
			data.EnableTrapsEthernetCfmCcLoop = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEthernetCfmCcLoop = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.mep-down"); !data.EnableTrapsEthernetCfmCcMepDown.IsNull() {
		if value.Exists() {
			data.EnableTrapsEthernetCfmCcMepDown = types.BoolValue(true)
		} else {
			data.EnableTrapsEthernetCfmCcMepDown = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEthernetCfmCcMepDown = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.mep-up"); !data.EnableTrapsEthernetCfmCcMepUp.IsNull() {
		if value.Exists() {
			data.EnableTrapsEthernetCfmCcMepUp = types.BoolValue(true)
		} else {
			data.EnableTrapsEthernetCfmCcMepUp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEthernetCfmCcMepUp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.crosscheck.mep-missing"); !data.EnableTrapsEthernetCfmCrosscheckMepMissing.IsNull() {
		if value.Exists() {
			data.EnableTrapsEthernetCfmCrosscheckMepMissing = types.BoolValue(true)
		} else {
			data.EnableTrapsEthernetCfmCrosscheckMepMissing = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEthernetCfmCrosscheckMepMissing = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.crosscheck.mep-unknown"); !data.EnableTrapsEthernetCfmCrosscheckMepUnknown.IsNull() {
		if value.Exists() {
			data.EnableTrapsEthernetCfmCrosscheckMepUnknown = types.BoolValue(true)
		} else {
			data.EnableTrapsEthernetCfmCrosscheckMepUnknown = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEthernetCfmCrosscheckMepUnknown = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.crosscheck.service-up"); !data.EnableTrapsEthernetCfmCrosscheckServiceUp.IsNull() {
		if value.Exists() {
			data.EnableTrapsEthernetCfmCrosscheckServiceUp = types.BoolValue(true)
		} else {
			data.EnableTrapsEthernetCfmCrosscheckServiceUp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEthernetCfmCrosscheckServiceUp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.evc.create"); !data.EnableTrapsEthernetEvcCreate.IsNull() {
		if value.Exists() {
			data.EnableTrapsEthernetEvcCreate = types.BoolValue(true)
		} else {
			data.EnableTrapsEthernetEvcCreate = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEthernetEvcCreate = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.evc.delete"); !data.EnableTrapsEthernetEvcDelete.IsNull() {
		if value.Exists() {
			data.EnableTrapsEthernetEvcDelete = types.BoolValue(true)
		} else {
			data.EnableTrapsEthernetEvcDelete = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEthernetEvcDelete = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.evc.status"); !data.EnableTrapsEthernetEvcStatus.IsNull() {
		if value.Exists() {
			data.EnableTrapsEthernetEvcStatus = types.BoolValue(true)
		} else {
			data.EnableTrapsEthernetEvcStatus = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsEthernetEvcStatus = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.firewall.serverstatus"); !data.EnableTrapsFirewallServerstatus.IsNull() {
		if value.Exists() {
			data.EnableTrapsFirewallServerstatus = types.BoolValue(true)
		} else {
			data.EnableTrapsFirewallServerstatus = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsFirewallServerstatus = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay-config.only-frame-relay.frame-relay"); !data.EnableTrapsFrameRelayConfigOnly.IsNull() {
		if value.Exists() {
			data.EnableTrapsFrameRelayConfigOnly = types.BoolValue(true)
		} else {
			data.EnableTrapsFrameRelayConfigOnly = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsFrameRelayConfigOnly = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay-config.frame-relay-options.frame-relay.subif-configs.subif"); !data.EnableTrapsFrameRelayConfigSubifConfigs.IsNull() {
		if value.Exists() {
			data.EnableTrapsFrameRelayConfigSubifConfigs = types.BoolValue(true)
		} else {
			data.EnableTrapsFrameRelayConfigSubifConfigs = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsFrameRelayConfigSubifConfigs = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay.subif.count"); value.Exists() && !data.EnableTrapsFrameRelaySubifCount.IsNull() {
		data.EnableTrapsFrameRelaySubifCount = types.Int64Value(value.Int())
	} else {
		data.EnableTrapsFrameRelaySubifCount = types.Int64Null()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay.subif.interval"); value.Exists() && !data.EnableTrapsFrameRelaySubifInterval.IsNull() {
		data.EnableTrapsFrameRelaySubifInterval = types.Int64Value(value.Int())
	} else {
		data.EnableTrapsFrameRelaySubifInterval = types.Int64Null()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay-config.frame-relay-options.frame-relay.multilink.bundle-mismatch"); !data.EnableTrapsFrameRelayConfigBundleMismatch.IsNull() {
		if value.Exists() {
			data.EnableTrapsFrameRelayConfigBundleMismatch = types.BoolValue(true)
		} else {
			data.EnableTrapsFrameRelayConfigBundleMismatch = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsFrameRelayConfigBundleMismatch = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay.multilink.bundle-mismatch"); !data.EnableTrapsFrameRelayMultilinkBundleMismatch.IsNull() {
		if value.Exists() {
			data.EnableTrapsFrameRelayMultilinkBundleMismatch = types.BoolValue(true)
		} else {
			data.EnableTrapsFrameRelayMultilinkBundleMismatch = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsFrameRelayMultilinkBundleMismatch = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ip.local.pool"); !data.EnableTrapsIpLocalPool.IsNull() {
		if value.Exists() {
			data.EnableTrapsIpLocalPool = types.BoolValue(true)
		} else {
			data.EnableTrapsIpLocalPool = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIpLocalPool = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.isdn.call-information"); !data.EnableTrapsIsdnCallInformation.IsNull() {
		if value.Exists() {
			data.EnableTrapsIsdnCallInformation = types.BoolValue(true)
		} else {
			data.EnableTrapsIsdnCallInformation = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIsdnCallInformation = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.isdn.chan-not-avail"); !data.EnableTrapsIsdnChanNotAvail.IsNull() {
		if value.Exists() {
			data.EnableTrapsIsdnChanNotAvail = types.BoolValue(true)
		} else {
			data.EnableTrapsIsdnChanNotAvail = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIsdnChanNotAvail = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.isdn.ietf"); !data.EnableTrapsIsdnIetf.IsNull() {
		if value.Exists() {
			data.EnableTrapsIsdnIetf = types.BoolValue(true)
		} else {
			data.EnableTrapsIsdnIetf = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIsdnIetf = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.isdn.layer2"); !data.EnableTrapsIsdnLayer2.IsNull() {
		if value.Exists() {
			data.EnableTrapsIsdnLayer2 = types.BoolValue(true)
		} else {
			data.EnableTrapsIsdnLayer2 = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsIsdnLayer2 = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.l2tun.session"); !data.EnableTrapsL2tunSession.IsNull() {
		if value.Exists() {
			data.EnableTrapsL2tunSession = types.BoolValue(true)
		} else {
			data.EnableTrapsL2tunSession = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsL2tunSession = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.l2tun.tunnel"); !data.EnableTrapsL2tunTunnel.IsNull() {
		if value.Exists() {
			data.EnableTrapsL2tunTunnel = types.BoolValue(true)
		} else {
			data.EnableTrapsL2tunTunnel = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsL2tunTunnel = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.l2tun.pseudowire.status"); !data.EnableTrapsL2tunPseudowireStatus.IsNull() {
		if value.Exists() {
			data.EnableTrapsL2tunPseudowireStatus = types.BoolValue(true)
		} else {
			data.EnableTrapsL2tunPseudowireStatus = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsL2tunPseudowireStatus = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.neighbor-loss"); !data.EnableTrapsPimstdmibNeighborLoss.IsNull() {
		if value.Exists() {
			data.EnableTrapsPimstdmibNeighborLoss = types.BoolValue(true)
		} else {
			data.EnableTrapsPimstdmibNeighborLoss = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsPimstdmibNeighborLoss = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.invalid-register"); !data.EnableTrapsPimstdmibInvalidRegister.IsNull() {
		if value.Exists() {
			data.EnableTrapsPimstdmibInvalidRegister = types.BoolValue(true)
		} else {
			data.EnableTrapsPimstdmibInvalidRegister = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsPimstdmibInvalidRegister = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.invalid-join-prune"); !data.EnableTrapsPimstdmibInvalidJoinPrune.IsNull() {
		if value.Exists() {
			data.EnableTrapsPimstdmibInvalidJoinPrune = types.BoolValue(true)
		} else {
			data.EnableTrapsPimstdmibInvalidJoinPrune = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsPimstdmibInvalidJoinPrune = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.rp-mapping-change"); !data.EnableTrapsPimstdmibRpMappingChange.IsNull() {
		if value.Exists() {
			data.EnableTrapsPimstdmibRpMappingChange = types.BoolValue(true)
		} else {
			data.EnableTrapsPimstdmibRpMappingChange = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsPimstdmibRpMappingChange = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.interface-election"); !data.EnableTrapsPimstdmibInterfaceElection.IsNull() {
		if value.Exists() {
			data.EnableTrapsPimstdmibInterfaceElection = types.BoolValue(true)
		} else {
			data.EnableTrapsPimstdmibInterfaceElection = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsPimstdmibInterfaceElection = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pfr"); !data.EnableTrapsPfr.IsNull() {
		if value.Exists() {
			data.EnableTrapsPfr = types.BoolValue(true)
		} else {
			data.EnableTrapsPfr = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsPfr = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pppoe"); !data.EnableTrapsPppoe.IsNull() {
		if value.Exists() {
			data.EnableTrapsPppoe = types.BoolValue(true)
		} else {
			data.EnableTrapsPppoe = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsPppoe = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.resource-policy"); !data.EnableTrapsResourcePolicy.IsNull() {
		if value.Exists() {
			data.EnableTrapsResourcePolicy = types.BoolValue(true)
		} else {
			data.EnableTrapsResourcePolicy = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsResourcePolicy = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.rsvp"); !data.EnableTrapsRsvp.IsNull() {
		if value.Exists() {
			data.EnableTrapsRsvp = types.BoolValue(true)
		} else {
			data.EnableTrapsRsvp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsRsvp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrrp"); !data.EnableTrapsVrrp.IsNull() {
		if value.Exists() {
			data.EnableTrapsVrrp = types.BoolValue(true)
		} else {
			data.EnableTrapsVrrp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsVrrp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.sonet"); !data.EnableTrapsSonet.IsNull() {
		if value.Exists() {
			data.EnableTrapsSonet = types.BoolValue(true)
		} else {
			data.EnableTrapsSonet = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsSonet = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.srp"); !data.EnableTrapsSrp.IsNull() {
		if value.Exists() {
			data.EnableTrapsSrp = types.BoolValue(true)
		} else {
			data.EnableTrapsSrp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsSrp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.voice"); !data.EnableTrapsVoice.IsNull() {
		if value.Exists() {
			data.EnableTrapsVoice = types.BoolValue(true)
		} else {
			data.EnableTrapsVoice = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsVoice = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bgp"); !data.EnableTrapsBgp.IsNull() {
		if value.Exists() {
			data.EnableTrapsBgp = types.BoolValue(true)
		} else {
			data.EnableTrapsBgp = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsBgp = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bgp-traps.cbgp2"); !data.EnableTrapsCbgp2.IsNull() {
		if value.Exists() {
			data.EnableTrapsCbgp2 = types.BoolValue(true)
		} else {
			data.EnableTrapsCbgp2 = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsCbgp2 = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ospfv3.errors"); !data.EnableTrapsOspfv3Errors.IsNull() {
		if value.Exists() {
			data.EnableTrapsOspfv3Errors = types.BoolValue(true)
		} else {
			data.EnableTrapsOspfv3Errors = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsOspfv3Errors = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ospfv3.state-change"); !data.EnableTrapsOspfv3StateChange.IsNull() {
		if value.Exists() {
			data.EnableTrapsOspfv3StateChange = types.BoolValue(true)
		} else {
			data.EnableTrapsOspfv3StateChange = types.BoolValue(false)
		}
	} else {
		data.EnableTrapsOspfv3StateChange = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.GigabitEthernet"); value.Exists() && !data.SourceInterfaceInformsGigabitEthernet.IsNull() {
		data.SourceInterfaceInformsGigabitEthernet = types.StringValue(value.String())
	} else {
		data.SourceInterfaceInformsGigabitEthernet = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.TenGigabitEthernet"); value.Exists() && !data.SourceInterfaceInformsTenGigabitEthernet.IsNull() {
		data.SourceInterfaceInformsTenGigabitEthernet = types.StringValue(value.String())
	} else {
		data.SourceInterfaceInformsTenGigabitEthernet = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.FortyGigabitEthernet"); value.Exists() && !data.SourceInterfaceInformsFortyGigabitEthernet.IsNull() {
		data.SourceInterfaceInformsFortyGigabitEthernet = types.StringValue(value.String())
	} else {
		data.SourceInterfaceInformsFortyGigabitEthernet = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.HundredGigE"); value.Exists() && !data.SourceInterfaceInformsHundredGigE.IsNull() {
		data.SourceInterfaceInformsHundredGigE = types.StringValue(value.String())
	} else {
		data.SourceInterfaceInformsHundredGigE = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.Loopback"); value.Exists() && !data.SourceInterfaceInformsLoopback.IsNull() {
		data.SourceInterfaceInformsLoopback = types.Int64Value(value.Int())
	} else {
		data.SourceInterfaceInformsLoopback = types.Int64Null()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.Port-channel"); value.Exists() && !data.SourceInterfaceInformsPortChannel.IsNull() {
		data.SourceInterfaceInformsPortChannel = types.Int64Value(value.Int())
	} else {
		data.SourceInterfaceInformsPortChannel = types.Int64Null()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.Port-channel-subinterface.Port-channel"); value.Exists() && !data.SourceInterfaceInformsPortChannelSubinterface.IsNull() {
		data.SourceInterfaceInformsPortChannelSubinterface = types.StringValue(value.String())
	} else {
		data.SourceInterfaceInformsPortChannelSubinterface = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.Vlan"); value.Exists() && !data.SourceInterfaceInformsVlan.IsNull() {
		data.SourceInterfaceInformsVlan = types.Int64Value(value.Int())
	} else {
		data.SourceInterfaceInformsVlan = types.Int64Null()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.GigabitEthernet"); value.Exists() && !data.SourceInterfaceTrapsGigabitEthernet.IsNull() {
		data.SourceInterfaceTrapsGigabitEthernet = types.StringValue(value.String())
	} else {
		data.SourceInterfaceTrapsGigabitEthernet = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.TenGigabitEthernet"); value.Exists() && !data.SourceInterfaceTrapsTenGigabitEthernet.IsNull() {
		data.SourceInterfaceTrapsTenGigabitEthernet = types.StringValue(value.String())
	} else {
		data.SourceInterfaceTrapsTenGigabitEthernet = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.FortyGigabitEthernet"); value.Exists() && !data.SourceInterfaceTrapsFortyGigabitEthernet.IsNull() {
		data.SourceInterfaceTrapsFortyGigabitEthernet = types.StringValue(value.String())
	} else {
		data.SourceInterfaceTrapsFortyGigabitEthernet = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.HundredGigE"); value.Exists() && !data.SourceInterfaceTrapsHundredGigE.IsNull() {
		data.SourceInterfaceTrapsHundredGigE = types.StringValue(value.String())
	} else {
		data.SourceInterfaceTrapsHundredGigE = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.Loopback"); value.Exists() && !data.SourceInterfaceTrapsLoopback.IsNull() {
		data.SourceInterfaceTrapsLoopback = types.Int64Value(value.Int())
	} else {
		data.SourceInterfaceTrapsLoopback = types.Int64Null()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.Port-channel"); value.Exists() && !data.SourceInterfaceTrapsPortChannel.IsNull() {
		data.SourceInterfaceTrapsPortChannel = types.Int64Value(value.Int())
	} else {
		data.SourceInterfaceTrapsPortChannel = types.Int64Null()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.Port-channel-subinterface.Port-channel"); value.Exists() && !data.SourceInterfaceTrapsPortChannelSubinterface.IsNull() {
		data.SourceInterfaceTrapsPortChannelSubinterface = types.StringValue(value.String())
	} else {
		data.SourceInterfaceTrapsPortChannelSubinterface = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.Vlan"); value.Exists() && !data.SourceInterfaceTrapsVlan.IsNull() {
		data.SourceInterfaceTrapsVlan = types.Int64Value(value.Int())
	} else {
		data.SourceInterfaceTrapsVlan = types.Int64Null()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.GigabitEthernet"); value.Exists() && !data.TrapSourceGigabitEthernet.IsNull() {
		data.TrapSourceGigabitEthernet = types.StringValue(value.String())
	} else {
		data.TrapSourceGigabitEthernet = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.TenGigabitEthernet"); value.Exists() && !data.TrapSourceTenGigabitEthernet.IsNull() {
		data.TrapSourceTenGigabitEthernet = types.StringValue(value.String())
	} else {
		data.TrapSourceTenGigabitEthernet = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.FortyGigabitEthernet"); value.Exists() && !data.TrapSourceFortyGigabitEthernet.IsNull() {
		data.TrapSourceFortyGigabitEthernet = types.StringValue(value.String())
	} else {
		data.TrapSourceFortyGigabitEthernet = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.HundredGigE"); value.Exists() && !data.TrapSourceHundredGigE.IsNull() {
		data.TrapSourceHundredGigE = types.StringValue(value.String())
	} else {
		data.TrapSourceHundredGigE = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.Loopback"); value.Exists() && !data.TrapSourceLoopback.IsNull() {
		data.TrapSourceLoopback = types.Int64Value(value.Int())
	} else {
		data.TrapSourceLoopback = types.Int64Null()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.Port-channel"); value.Exists() && !data.TrapSourcePortChannel.IsNull() {
		data.TrapSourcePortChannel = types.Int64Value(value.Int())
	} else {
		data.TrapSourcePortChannel = types.Int64Null()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.Port-channel-subinterface.Port-channel"); value.Exists() && !data.TrapSourcePortChannelSubinterface.IsNull() {
		data.TrapSourcePortChannelSubinterface = types.StringValue(value.String())
	} else {
		data.TrapSourcePortChannelSubinterface = types.StringNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.Vlan"); value.Exists() && !data.TrapSourceVlan.IsNull() {
		data.TrapSourceVlan = types.Int64Value(value.Int())
	} else {
		data.TrapSourceVlan = types.Int64Null()
	}
	for i := range data.SnmpCommunities {
		keys := [...]string{"name"}
		keyValues := [...]string{data.SnmpCommunities[i].Name.ValueString()}

		var r gjson.Result
		res.Get(prefix + "Cisco-IOS-XE-snmp:community-config").ForEach(
			func(_, v gjson.Result) bool {
				found := false
				for ik := range keys {
					if v.Get(keys[ik]).String() == keyValues[ik] {
						found = true
						continue
					}
					found = false
					break
				}
				if found {
					r = v
					return false
				}
				return true
			},
		)
		if value := r.Get("view"); value.Exists() && !data.SnmpCommunities[i].View.IsNull() {
			data.SnmpCommunities[i].View = types.StringValue(value.String())
		} else {
			data.SnmpCommunities[i].View = types.StringNull()
		}
		if value := r.Get("permission"); value.Exists() && !data.SnmpCommunities[i].Permission.IsNull() {
			data.SnmpCommunities[i].Permission = types.StringValue(value.String())
		} else {
			data.SnmpCommunities[i].Permission = types.StringNull()
		}
		if value := r.Get("ipv6"); value.Exists() && !data.SnmpCommunities[i].Ipv6.IsNull() {
			data.SnmpCommunities[i].Ipv6 = types.StringValue(value.String())
		} else {
			data.SnmpCommunities[i].Ipv6 = types.StringNull()
		}
		if value := r.Get("access-list-name"); value.Exists() && !data.SnmpCommunities[i].AccessListName.IsNull() {
			data.SnmpCommunities[i].AccessListName = types.StringValue(value.String())
		} else {
			data.SnmpCommunities[i].AccessListName = types.StringNull()
		}
	}
	for i := range data.Contexts {
		keys := [...]string{"name"}
		keyValues := [...]string{data.Contexts[i].Name.ValueString()}

		var r gjson.Result
		res.Get(prefix + "Cisco-IOS-XE-snmp:context").ForEach(
			func(_, v gjson.Result) bool {
				found := false
				for ik := range keys {
					if v.Get(keys[ik]).String() == keyValues[ik] {
						found = true
						continue
					}
					found = false
					break
				}
				if found {
					r = v
					return false
				}
				return true
			},
		)
		if value := r.Get("name"); value.Exists() && !data.Contexts[i].Name.IsNull() {
			data.Contexts[i].Name = types.StringValue(value.String())
		} else {
			data.Contexts[i].Name = types.StringNull()
		}
	}
	for i := range data.Views {
		keys := [...]string{"name", "mib"}
		keyValues := [...]string{data.Views[i].Name.ValueString(), data.Views[i].Mib.ValueString()}

		var r gjson.Result
		res.Get(prefix + "Cisco-IOS-XE-snmp:view").ForEach(
			func(_, v gjson.Result) bool {
				found := false
				for ik := range keys {
					if v.Get(keys[ik]).String() == keyValues[ik] {
						found = true
						continue
					}
					found = false
					break
				}
				if found {
					r = v
					return false
				}
				return true
			},
		)
		if value := r.Get("name"); value.Exists() && !data.Views[i].Name.IsNull() {
			data.Views[i].Name = types.StringValue(value.String())
		} else {
			data.Views[i].Name = types.StringNull()
		}
		if value := r.Get("mib"); value.Exists() && !data.Views[i].Mib.IsNull() {
			data.Views[i].Mib = types.StringValue(value.String())
		} else {
			data.Views[i].Mib = types.StringNull()
		}
		if value := r.Get("inc-exl"); value.Exists() && !data.Views[i].IncExl.IsNull() {
			data.Views[i].IncExl = types.StringValue(value.String())
		} else {
			data.Views[i].IncExl = types.StringNull()
		}
	}
	for i := range data.Groups {
		keys := [...]string{"id"}
		keyValues := [...]string{data.Groups[i].Name.ValueString()}

		var r gjson.Result
		res.Get(prefix + "Cisco-IOS-XE-snmp:group").ForEach(
			func(_, v gjson.Result) bool {
				found := false
				for ik := range keys {
					if v.Get(keys[ik]).String() == keyValues[ik] {
						found = true
						continue
					}
					found = false
					break
				}
				if found {
					r = v
					return false
				}
				return true
			},
		)
		if value := r.Get("id"); value.Exists() && !data.Groups[i].Name.IsNull() {
			data.Groups[i].Name = types.StringValue(value.String())
		} else {
			data.Groups[i].Name = types.StringNull()
		}
		for ci := range data.Groups[i].V3Security {
			keys := [...]string{"security-level"}
			keyValues := [...]string{data.Groups[i].V3Security[ci].SecurityLevel.ValueString()}

			var cr gjson.Result
			r.Get("v3.security-level-list").ForEach(
				func(_, v gjson.Result) bool {
					found := false
					for ik := range keys {
						if v.Get(keys[ik]).String() == keyValues[ik] {
							found = true
							continue
						}
						found = false
						break
					}
					if found {
						cr = v
						return false
					}
					return true
				},
			)
			if value := cr.Get("security-level"); value.Exists() && !data.Groups[i].V3Security[ci].SecurityLevel.IsNull() {
				data.Groups[i].V3Security[ci].SecurityLevel = types.StringValue(value.String())
			} else {
				data.Groups[i].V3Security[ci].SecurityLevel = types.StringNull()
			}
			if value := cr.Get("context-node"); value.Exists() && !data.Groups[i].V3Security[ci].ContextNode.IsNull() {
				data.Groups[i].V3Security[ci].ContextNode = types.StringValue(value.String())
			} else {
				data.Groups[i].V3Security[ci].ContextNode = types.StringNull()
			}
			if value := cr.Get("match-node"); value.Exists() && !data.Groups[i].V3Security[ci].MatchNode.IsNull() {
				data.Groups[i].V3Security[ci].MatchNode = types.StringValue(value.String())
			} else {
				data.Groups[i].V3Security[ci].MatchNode = types.StringNull()
			}
			if value := cr.Get("read-node"); value.Exists() && !data.Groups[i].V3Security[ci].ReadNode.IsNull() {
				data.Groups[i].V3Security[ci].ReadNode = types.StringValue(value.String())
			} else {
				data.Groups[i].V3Security[ci].ReadNode = types.StringNull()
			}
			if value := cr.Get("write-node"); value.Exists() && !data.Groups[i].V3Security[ci].WriteNode.IsNull() {
				data.Groups[i].V3Security[ci].WriteNode = types.StringValue(value.String())
			} else {
				data.Groups[i].V3Security[ci].WriteNode = types.StringNull()
			}
			if value := cr.Get("notify-node"); value.Exists() && !data.Groups[i].V3Security[ci].NotifyNode.IsNull() {
				data.Groups[i].V3Security[ci].NotifyNode = types.StringValue(value.String())
			} else {
				data.Groups[i].V3Security[ci].NotifyNode = types.StringNull()
			}
			if value := cr.Get("access-config.ipv6-acl"); value.Exists() && !data.Groups[i].V3Security[ci].AccessIpv6Acl.IsNull() {
				data.Groups[i].V3Security[ci].AccessIpv6Acl = types.StringValue(value.String())
			} else {
				data.Groups[i].V3Security[ci].AccessIpv6Acl = types.StringNull()
			}
			if value := cr.Get("access-config.standard-acl"); value.Exists() && !data.Groups[i].V3Security[ci].AccessStandardAcl.IsNull() {
				data.Groups[i].V3Security[ci].AccessStandardAcl = types.Int64Value(value.Int())
			} else {
				data.Groups[i].V3Security[ci].AccessStandardAcl = types.Int64Null()
			}
			if value := cr.Get("access-config.acl-name"); value.Exists() && !data.Groups[i].V3Security[ci].AccessAclName.IsNull() {
				data.Groups[i].V3Security[ci].AccessAclName = types.StringValue(value.String())
			} else {
				data.Groups[i].V3Security[ci].AccessAclName = types.StringNull()
			}
		}
	}
	for i := range data.Users {
		keys := [...]string{"username", "grpname"}
		keyValues := [...]string{data.Users[i].Username.ValueString(), data.Users[i].Grpname.ValueString()}

		var r gjson.Result
		res.Get(prefix + "Cisco-IOS-XE-snmp:user.names").ForEach(
			func(_, v gjson.Result) bool {
				found := false
				for ik := range keys {
					if v.Get(keys[ik]).String() == keyValues[ik] {
						found = true
						continue
					}
					found = false
					break
				}
				if found {
					r = v
					return false
				}
				return true
			},
		)
		if value := r.Get("username"); value.Exists() && !data.Users[i].Username.IsNull() {
			data.Users[i].Username = types.StringValue(value.String())
		} else {
			data.Users[i].Username = types.StringNull()
		}
		if value := r.Get("grpname"); value.Exists() && !data.Users[i].Grpname.IsNull() {
			data.Users[i].Grpname = types.StringValue(value.String())
		} else {
			data.Users[i].Grpname = types.StringNull()
		}
		if value := r.Get("v3.auth-config.algorithm"); value.Exists() && !data.Users[i].V3AuthAlgorithm.IsNull() {
			data.Users[i].V3AuthAlgorithm = types.StringValue(value.String())
		} else {
			data.Users[i].V3AuthAlgorithm = types.StringNull()
		}
		if value := r.Get("v3.auth-config.priv-config.aes.algorithm"); value.Exists() && !data.Users[i].V3AuthPrivAesAlgorithm.IsNull() {
			data.Users[i].V3AuthPrivAesAlgorithm = types.StringValue(value.String())
		} else {
			data.Users[i].V3AuthPrivAesAlgorithm = types.StringNull()
		}
		if value := r.Get("v3.auth-config.priv-config.aes.access-config.ipv6-acl"); value.Exists() && !data.Users[i].V3AuthPrivAesAccessIpv6Acl.IsNull() {
			data.Users[i].V3AuthPrivAesAccessIpv6Acl = types.StringValue(value.String())
		} else {
			data.Users[i].V3AuthPrivAesAccessIpv6Acl = types.StringNull()
		}
		if value := r.Get("v3.auth-config.priv-config.aes.access-config.standard-acl"); value.Exists() && !data.Users[i].V3AuthPrivAesAccessStandardAcl.IsNull() {
			data.Users[i].V3AuthPrivAesAccessStandardAcl = types.Int64Value(value.Int())
		} else {
			data.Users[i].V3AuthPrivAesAccessStandardAcl = types.Int64Null()
		}
		if value := r.Get("v3.auth-config.priv-config.aes.access-config.acl-name"); value.Exists() && !data.Users[i].V3AuthPrivAesAccessAclName.IsNull() {
			data.Users[i].V3AuthPrivAesAccessAclName = types.StringValue(value.String())
		} else {
			data.Users[i].V3AuthPrivAesAccessAclName = types.StringNull()
		}
		if value := r.Get("v3.auth-config.priv-config.des.access-config.ipv6-acl"); value.Exists() && !data.Users[i].V3AuthPrivDesAccessIpv6Acl.IsNull() {
			data.Users[i].V3AuthPrivDesAccessIpv6Acl = types.StringValue(value.String())
		} else {
			data.Users[i].V3AuthPrivDesAccessIpv6Acl = types.StringNull()
		}
		if value := r.Get("v3.auth-config.priv-config.des.access-config.standard-acl"); value.Exists() && !data.Users[i].V3AuthPrivDesAccessStandardAcl.IsNull() {
			data.Users[i].V3AuthPrivDesAccessStandardAcl = types.Int64Value(value.Int())
		} else {
			data.Users[i].V3AuthPrivDesAccessStandardAcl = types.Int64Null()
		}
		if value := r.Get("v3.auth-config.priv-config.des.access-config.acl-name"); value.Exists() && !data.Users[i].V3AuthPrivDesAccessAclName.IsNull() {
			data.Users[i].V3AuthPrivDesAccessAclName = types.StringValue(value.String())
		} else {
			data.Users[i].V3AuthPrivDesAccessAclName = types.StringNull()
		}
		if value := r.Get("v3.auth-config.priv-config.des3.access-config.ipv6-acl"); value.Exists() && !data.Users[i].V3AuthPrivDes3AccessIpv6Acl.IsNull() {
			data.Users[i].V3AuthPrivDes3AccessIpv6Acl = types.StringValue(value.String())
		} else {
			data.Users[i].V3AuthPrivDes3AccessIpv6Acl = types.StringNull()
		}
		if value := r.Get("v3.auth-config.priv-config.des3.access-config.standard-acl"); value.Exists() && !data.Users[i].V3AuthPrivDes3AccessStandardAcl.IsNull() {
			data.Users[i].V3AuthPrivDes3AccessStandardAcl = types.Int64Value(value.Int())
		} else {
			data.Users[i].V3AuthPrivDes3AccessStandardAcl = types.Int64Null()
		}
		if value := r.Get("v3.auth-config.priv-config.des3.access-config.acl-name"); value.Exists() && !data.Users[i].V3AuthPrivDes3AccessAclName.IsNull() {
			data.Users[i].V3AuthPrivDes3AccessAclName = types.StringValue(value.String())
		} else {
			data.Users[i].V3AuthPrivDes3AccessAclName = types.StringNull()
		}
		if value := r.Get("v3.auth-config.access-config.ipv6-acl"); value.Exists() && !data.Users[i].V3AuthAccessIpv6Acl.IsNull() {
			data.Users[i].V3AuthAccessIpv6Acl = types.StringValue(value.String())
		} else {
			data.Users[i].V3AuthAccessIpv6Acl = types.StringNull()
		}
		if value := r.Get("v3.auth-config.access-config.standard-acl"); value.Exists() && !data.Users[i].V3AuthAccessStandardAcl.IsNull() {
			data.Users[i].V3AuthAccessStandardAcl = types.Int64Value(value.Int())
		} else {
			data.Users[i].V3AuthAccessStandardAcl = types.Int64Null()
		}
		if value := r.Get("v3.auth-config.access-config.acl-name"); value.Exists() && !data.Users[i].V3AuthAccessAclName.IsNull() {
			data.Users[i].V3AuthAccessAclName = types.StringValue(value.String())
		} else {
			data.Users[i].V3AuthAccessAclName = types.StringNull()
		}
	}
}

// End of section. //template:end updateFromBody

// Section below is generated&owned by "gen/generator.go". //template:begin fromBody

func (data *SNMPServer) fromBody(ctx context.Context, res gjson.Result) {
	prefix := helpers.LastElement(data.getPath()) + "."
	if res.Get(helpers.LastElement(data.getPath())).IsArray() {
		prefix += "0."
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:chassis-id"); value.Exists() {
		data.ChassisId = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:contact"); value.Exists() {
		data.Contact = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:ifindex.persist"); value.Exists() {
		data.IfindexPersist = types.BoolValue(true)
	} else {
		data.IfindexPersist = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:location"); value.Exists() {
		data.Location = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:packetsize"); value.Exists() {
		data.Packetsize = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:queue-length"); value.Exists() {
		data.QueueLength = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.logging.getop"); value.Exists() {
		data.EnableLoggingGetop = types.BoolValue(value.Bool())
	} else {
		data.EnableLoggingGetop = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.logging.setop"); value.Exists() {
		data.EnableLoggingSetop = types.BoolValue(value.Bool())
	} else {
		data.EnableLoggingSetop = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.informs"); value.Exists() {
		data.EnableInforms = types.BoolValue(true)
	} else {
		data.EnableInforms = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps"); value.Exists() {
		data.EnableTraps = types.BoolValue(true)
	} else {
		data.EnableTraps = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.authentication"); value.Exists() {
		data.EnableTrapsSnmpAuthentication = types.BoolValue(true)
	} else {
		data.EnableTrapsSnmpAuthentication = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.coldstart"); value.Exists() {
		data.EnableTrapsSnmpColdstart = types.BoolValue(true)
	} else {
		data.EnableTrapsSnmpColdstart = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.linkdown"); value.Exists() {
		data.EnableTrapsSnmpLinkdown = types.BoolValue(true)
	} else {
		data.EnableTrapsSnmpLinkdown = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.linkup"); value.Exists() {
		data.EnableTrapsSnmpLinkup = types.BoolValue(true)
	} else {
		data.EnableTrapsSnmpLinkup = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.warmstart"); value.Exists() {
		data.EnableTrapsSnmpWarmstart = types.BoolValue(true)
	} else {
		data.EnableTrapsSnmpWarmstart = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:host-config.ip-community"); value.Exists() {
		data.Hosts = make([]SNMPServerHosts, 0)
		value.ForEach(func(k, v gjson.Result) bool {
			item := SNMPServerHosts{}
			if cValue := v.Get("ip-address"); cValue.Exists() {
				item.IpAddress = types.StringValue(cValue.String())
			}
			if cValue := v.Get("community-or-user"); cValue.Exists() {
				item.CommunityOrUser = types.StringValue(cValue.String())
			}
			if cValue := v.Get("version"); cValue.Exists() {
				item.Version = types.StringValue(cValue.String())
			}
			if cValue := v.Get("encryption"); cValue.Exists() {
				item.Encryption = types.StringValue(cValue.String())
			}
			if cValue := v.Get("security-level"); cValue.Exists() {
				item.SecurityLevel = types.StringValue(cValue.String())
			}
			data.Hosts = append(data.Hosts, item)
			return true
		})
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:host-config.ip-vrf-community"); value.Exists() {
		data.VrfHosts = make([]SNMPServerVrfHosts, 0)
		value.ForEach(func(k, v gjson.Result) bool {
			item := SNMPServerVrfHosts{}
			if cValue := v.Get("ip-address"); cValue.Exists() {
				item.IpAddress = types.StringValue(cValue.String())
			}
			if cValue := v.Get("vrf"); cValue.Exists() {
				item.Vrf = types.StringValue(cValue.String())
			}
			if cValue := v.Get("community-or-user"); cValue.Exists() {
				item.CommunityOrUser = types.StringValue(cValue.String())
			}
			if cValue := v.Get("version"); cValue.Exists() {
				item.Version = types.StringValue(cValue.String())
			}
			if cValue := v.Get("encryption"); cValue.Exists() {
				item.Encryption = types.StringValue(cValue.String())
			}
			if cValue := v.Get("security-level"); cValue.Exists() {
				item.SecurityLevel = types.StringValue(cValue.String())
			}
			data.VrfHosts = append(data.VrfHosts, item)
			return true
		})
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:system-shutdown"); value.Exists() {
		data.SystemShutdown = types.BoolValue(true)
	} else {
		data.SystemShutdown = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.flowmon"); value.Exists() {
		data.EnableTrapsFlowmon = types.BoolValue(true)
	} else {
		data.EnableTrapsFlowmon = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-perf.throughput-notif"); value.Exists() {
		data.EnableTrapsEntityPerfThroughputNotif = types.BoolValue(true)
	} else {
		data.EnableTrapsEntityPerfThroughputNotif = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.call-home.message-send-fail"); value.Exists() {
		data.EnableTrapsCallHomeMessageSendFail = types.BoolValue(true)
	} else {
		data.EnableTrapsCallHomeMessageSendFail = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.call-home.server-fail"); value.Exists() {
		data.EnableTrapsCallHomeServerFail = types.BoolValue(true)
	} else {
		data.EnableTrapsCallHomeServerFail = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.tty"); value.Exists() {
		data.EnableTrapsTty = types.BoolValue(true)
	} else {
		data.EnableTrapsTty = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospfv3:ospfv3-config.state-change.enable"); value.Exists() {
		data.EnableTrapsOspfv3ConfigStateChange = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfv3ConfigStateChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospfv3:ospfv3-config.errors.enable"); value.Exists() {
		data.EnableTrapsOspfv3ConfigErrors = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfv3ConfigErrors = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.retransmit.enable"); value.Exists() {
		data.EnableTrapsOspfConfigRetransmit = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfConfigRetransmit = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.lsa.enable"); value.Exists() {
		data.EnableTrapsOspfConfigLsa = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfConfigLsa = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.state-change.nssa-trans-change"); value.Exists() {
		data.EnableTrapsOspfNssaTransChange = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfNssaTransChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.state-change.shamlink.interface"); value.Exists() {
		data.EnableTrapsOspfShamlinkInterface = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfShamlinkInterface = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.state-change.shamlink.neighbor"); value.Exists() {
		data.EnableTrapsOspfShamlinkNeighbor = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfShamlinkNeighbor = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.errors.enable"); value.Exists() {
		data.EnableTrapsOspfErrorsEnable = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfErrorsEnable = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.retransmit.enable"); value.Exists() {
		data.EnableTrapsOspfRetransmitEnable = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfRetransmitEnable = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.lsa.enable"); value.Exists() {
		data.EnableTrapsOspfLsaEnable = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfLsaEnable = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.eigrp"); value.Exists() {
		data.EnableTrapsEigrp = types.BoolValue(true)
	} else {
		data.EnableTrapsEigrp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.auth-framework.sec-violation"); value.Exists() {
		data.EnableTrapsAuthFrameworkSecViolation = types.BoolValue(true)
	} else {
		data.EnableTrapsAuthFrameworkSecViolation = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.rep"); value.Exists() {
		data.EnableTrapsRep = types.BoolValue(true)
	} else {
		data.EnableTrapsRep = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vtp"); value.Exists() {
		data.EnableTrapsVtp = types.BoolValue(true)
	} else {
		data.EnableTrapsVtp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vlancreate"); value.Exists() {
		data.EnableTrapsVlancreate = types.BoolValue(true)
	} else {
		data.EnableTrapsVlancreate = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vlandelete"); value.Exists() {
		data.EnableTrapsVlandelete = types.BoolValue(true)
	} else {
		data.EnableTrapsVlandelete = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.port-security"); value.Exists() {
		data.EnableTrapsPortSecurity = types.BoolValue(true)
	} else {
		data.EnableTrapsPortSecurity = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.license"); value.Exists() {
		data.EnableTrapsLicense = types.BoolValue(true)
	} else {
		data.EnableTrapsLicense = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.smart-licenseing.smart-license"); value.Exists() {
		data.EnableTrapsSmartLicense = types.BoolValue(true)
	} else {
		data.EnableTrapsSmartLicense = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cpu.threshold"); value.Exists() {
		data.EnableTrapsCpuThreshold = types.BoolValue(true)
	} else {
		data.EnableTrapsCpuThreshold = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.memory.bufferpeak"); value.Exists() {
		data.EnableTrapsMemoryBufferpeak = types.BoolValue(true)
	} else {
		data.EnableTrapsMemoryBufferpeak = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.stackwise"); value.Exists() {
		data.EnableTrapsStackwise = types.BoolValue(true)
	} else {
		data.EnableTrapsStackwise = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.udld.link-fail-rpt"); value.Exists() {
		data.EnableTrapsUdldLinkFailRpt = types.BoolValue(true)
	} else {
		data.EnableTrapsUdldLinkFailRpt = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.udld.status-change"); value.Exists() {
		data.EnableTrapsUdldStatusChange = types.BoolValue(true)
	} else {
		data.EnableTrapsUdldStatusChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.fru-ctrl"); value.Exists() {
		data.EnableTrapsFruCtrl = types.BoolValue(true)
	} else {
		data.EnableTrapsFruCtrl = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.flash.insertion"); value.Exists() {
		data.EnableTrapsFlashInsertion = types.BoolValue(true)
	} else {
		data.EnableTrapsFlashInsertion = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.flash.removal"); value.Exists() {
		data.EnableTrapsFlashRemoval = types.BoolValue(true)
	} else {
		data.EnableTrapsFlashRemoval = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.flash.lowspace"); value.Exists() {
		data.EnableTrapsFlashLowspace = types.BoolValue(true)
	} else {
		data.EnableTrapsFlashLowspace = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.energywise"); value.Exists() {
		data.EnableTrapsEnergywise = types.BoolValue(true)
	} else {
		data.EnableTrapsEnergywise = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.power-ethernet.group"); value.Exists() {
		data.EnableTrapsPowerEthernetGroup = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.power-ethernet.police"); value.Exists() {
		data.EnableTrapsPowerEthernetPolice = types.BoolValue(true)
	} else {
		data.EnableTrapsPowerEthernetPolice = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity"); value.Exists() {
		data.EnableTrapsEntity = types.BoolValue(true)
	} else {
		data.EnableTrapsEntity = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pw.vc"); value.Exists() {
		data.EnableTrapsPwVc = types.BoolValue(true)
	} else {
		data.EnableTrapsPwVc = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.envmon"); value.Exists() {
		data.EnableTrapsEnvmon = types.BoolValue(true)
	} else {
		data.EnableTrapsEnvmon = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cef.resource-failure"); value.Exists() {
		data.EnableTrapsCefResourceFailure = types.BoolValue(true)
	} else {
		data.EnableTrapsCefResourceFailure = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cef.peer-state-change"); value.Exists() {
		data.EnableTrapsCefPeerStateChange = types.BoolValue(true)
	} else {
		data.EnableTrapsCefPeerStateChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cef.peer-fib-state-change"); value.Exists() {
		data.EnableTrapsCefPeerFibStateChange = types.BoolValue(true)
	} else {
		data.EnableTrapsCefPeerFibStateChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cef.inconsistency"); value.Exists() {
		data.EnableTrapsCefInconsistency = types.BoolValue(true)
	} else {
		data.EnableTrapsCefInconsistency = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.isis"); value.Exists() {
		data.EnableTrapsIsis = types.BoolValue(true)
	} else {
		data.EnableTrapsIsis = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsla"); value.Exists() {
		data.EnableTrapsIpsla = types.BoolValue(true)
	} else {
		data.EnableTrapsIpsla = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-diag.boot-up-fail"); value.Exists() {
		data.EnableTrapsEntityDiagBootUpFail = types.BoolValue(true)
	} else {
		data.EnableTrapsEntityDiagBootUpFail = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-diag.hm-test-recover"); value.Exists() {
		data.EnableTrapsEntityDiagHmTestRecover = types.BoolValue(true)
	} else {
		data.EnableTrapsEntityDiagHmTestRecover = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-diag.hm-thresh-reached"); value.Exists() {
		data.EnableTrapsEntityDiagHmThreshReached = types.BoolValue(true)
	} else {
		data.EnableTrapsEntityDiagHmThreshReached = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-diag.scheduled-test-fail"); value.Exists() {
		data.EnableTrapsEntityDiagScheduledTestFail = types.BoolValue(true)
	} else {
		data.EnableTrapsEntityDiagScheduledTestFail = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bfd"); value.Exists() {
		data.EnableTrapsBfd = types.BoolValue(true)
	} else {
		data.EnableTrapsBfd = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ike.policy.add"); value.Exists() {
		data.EnableTrapsIkePolicyAdd = types.BoolValue(true)
	} else {
		data.EnableTrapsIkePolicyAdd = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ike.policy.delete"); value.Exists() {
		data.EnableTrapsIkePolicyDelete = types.BoolValue(true)
	} else {
		data.EnableTrapsIkePolicyDelete = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ike.tunnel.start"); value.Exists() {
		data.EnableTrapsIkeTunnelStart = types.BoolValue(true)
	} else {
		data.EnableTrapsIkeTunnelStart = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ike.tunnel.stop"); value.Exists() {
		data.EnableTrapsIkeTunnelStop = types.BoolValue(true)
	} else {
		data.EnableTrapsIkeTunnelStop = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.cryptomap.add"); value.Exists() {
		data.EnableTrapsIpsecCryptomapAdd = types.BoolValue(true)
	} else {
		data.EnableTrapsIpsecCryptomapAdd = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.cryptomap.attach"); value.Exists() {
		data.EnableTrapsIpsecCryptomapAttach = types.BoolValue(true)
	} else {
		data.EnableTrapsIpsecCryptomapAttach = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.cryptomap.delete"); value.Exists() {
		data.EnableTrapsIpsecCryptomapDelete = types.BoolValue(true)
	} else {
		data.EnableTrapsIpsecCryptomapDelete = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.cryptomap.detach"); value.Exists() {
		data.EnableTrapsIpsecCryptomapDetach = types.BoolValue(true)
	} else {
		data.EnableTrapsIpsecCryptomapDetach = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.tunnel.start"); value.Exists() {
		data.EnableTrapsIpsecTunnelStart = types.BoolValue(true)
	} else {
		data.EnableTrapsIpsecTunnelStart = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.tunnel.stop"); value.Exists() {
		data.EnableTrapsIpsecTunnelStop = types.BoolValue(true)
	} else {
		data.EnableTrapsIpsecTunnelStop = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.too-many-sas"); value.Exists() {
		data.EnableTrapsIpsecTooManySas = types.BoolValue(true)
	} else {
		data.EnableTrapsIpsecTooManySas = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.config-copy"); value.Exists() {
		data.EnableTrapsConfigCopy = types.BoolValue(true)
	} else {
		data.EnableTrapsConfigCopy = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.config"); value.Exists() {
		data.EnableTrapsConfig = types.BoolValue(true)
	} else {
		data.EnableTrapsConfig = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.config-ctid"); value.Exists() {
		data.EnableTrapsConfigCtid = types.BoolValue(true)
	} else {
		data.EnableTrapsConfigCtid = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.dhcp"); value.Exists() {
		data.EnableTrapsDhcp = types.BoolValue(true)
	} else {
		data.EnableTrapsDhcp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.event-manager"); value.Exists() {
		data.EnableTrapsEventManager = types.BoolValue(true)
	} else {
		data.EnableTrapsEventManager = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.hsrp"); value.Exists() {
		data.EnableTrapsHsrp = types.BoolValue(true)
	} else {
		data.EnableTrapsHsrp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipmulticast"); value.Exists() {
		data.EnableTrapsIpmulticast = types.BoolValue(true)
	} else {
		data.EnableTrapsIpmulticast = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.msdp"); value.Exists() {
		data.EnableTrapsMsdp = types.BoolValue(true)
	} else {
		data.EnableTrapsMsdp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.state-change.enable"); value.Exists() {
		data.EnableTrapsOspfConfigStateChange = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfConfigStateChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.errors.enable"); value.Exists() {
		data.EnableTrapsOspfConfigErrors = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfConfigErrors = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pim.invalid-pim-message"); value.Exists() {
		data.EnableTrapsPimInvalidPimMessage = types.BoolValue(true)
	} else {
		data.EnableTrapsPimInvalidPimMessage = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pim.neighbor-change"); value.Exists() {
		data.EnableTrapsPimNeighborChange = types.BoolValue(true)
	} else {
		data.EnableTrapsPimNeighborChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pim.rp-mapping-change"); value.Exists() {
		data.EnableTrapsPimRpMappingChange = types.BoolValue(true)
	} else {
		data.EnableTrapsPimRpMappingChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bridge.newroot"); value.Exists() {
		data.EnableTrapsBridgeNewroot = types.BoolValue(true)
	} else {
		data.EnableTrapsBridgeNewroot = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bridge.topologychange"); value.Exists() {
		data.EnableTrapsBridgeTopologychange = types.BoolValue(true)
	} else {
		data.EnableTrapsBridgeTopologychange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.stpx.inconsistency"); value.Exists() {
		data.EnableTrapsStpxInconsistency = types.BoolValue(true)
	} else {
		data.EnableTrapsStpxInconsistency = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.stpx.root-inconsistency"); value.Exists() {
		data.EnableTrapsStpxRootInconsistency = types.BoolValue(true)
	} else {
		data.EnableTrapsStpxRootInconsistency = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.stpx.loop-inconsistency"); value.Exists() {
		data.EnableTrapsStpxLoopInconsistency = types.BoolValue(true)
	} else {
		data.EnableTrapsStpxLoopInconsistency = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.syslog"); value.Exists() {
		data.EnableTrapsSyslog = types.BoolValue(true)
	} else {
		data.EnableTrapsSyslog = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-bgp:bgp.cbgp2"); value.Exists() {
		data.EnableTrapsBgpCbgp2 = types.BoolValue(true)
	} else {
		data.EnableTrapsBgpCbgp2 = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.nhrp.nhs"); value.Exists() {
		data.EnableTrapsNhrpNhs = types.BoolValue(true)
	} else {
		data.EnableTrapsNhrpNhs = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.nhrp.nhc"); value.Exists() {
		data.EnableTrapsNhrpNhc = types.BoolValue(true)
	} else {
		data.EnableTrapsNhrpNhc = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.nhrp.nhp"); value.Exists() {
		data.EnableTrapsNhrpNhp = types.BoolValue(true)
	} else {
		data.EnableTrapsNhrpNhp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.nhrp.quota-exceeded"); value.Exists() {
		data.EnableTrapsNhrpQuotaExceeded = types.BoolValue(true)
	} else {
		data.EnableTrapsNhrpQuotaExceeded = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.traffic-eng"); value.Exists() {
		data.EnableTrapsMplsTrafficEng = types.BoolValue(true)
	} else {
		data.EnableTrapsMplsTrafficEng = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls"); value.Exists() {
		data.EnableTrapsMpls = types.BoolValue(true)
	} else {
		data.EnableTrapsMpls = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.vpn"); value.Exists() {
		data.EnableTrapsMplsVpn = types.BoolValue(true)
	} else {
		data.EnableTrapsMplsVpn = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.rfc"); value.Exists() {
		data.EnableTrapsMplsRfc = types.BoolValue(true)
	} else {
		data.EnableTrapsMplsRfc = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.rfc.ldp"); value.Exists() {
		data.EnableTrapsMplsRfcLdp = types.BoolValue(true)
	} else {
		data.EnableTrapsMplsRfcLdp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.ldp"); value.Exists() {
		data.EnableTrapsMplsLdp = types.BoolValue(true)
	} else {
		data.EnableTrapsMplsLdp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.fast-reroute.protected"); value.Exists() {
		data.EnableTrapsFastRerouteProtected = types.BoolValue(true)
	} else {
		data.EnableTrapsFastRerouteProtected = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.local-auth"); value.Exists() {
		data.EnableTrapsLocalAuth = types.BoolValue(true)
	} else {
		data.EnableTrapsLocalAuth = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vlan-membership"); value.Exists() {
		data.EnableTrapsVlanMembership = types.BoolValue(true)
	} else {
		data.EnableTrapsVlanMembership = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.errdisable"); value.Exists() {
		data.EnableTrapsErrdisable = types.BoolValue(true)
	} else {
		data.EnableTrapsErrdisable = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.rf"); value.Exists() {
		data.EnableTrapsRf = types.BoolValue(true)
	} else {
		data.EnableTrapsRf = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.transceiver.all"); value.Exists() {
		data.EnableTrapsTransceiverAll = types.BoolValue(true)
	} else {
		data.EnableTrapsTransceiverAll = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bulkstat.collection"); value.Exists() {
		data.EnableTrapsBulkstatCollection = types.BoolValue(true)
	} else {
		data.EnableTrapsBulkstatCollection = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bulkstat.transfer"); value.Exists() {
		data.EnableTrapsBulkstatTransfer = types.BoolValue(true)
	} else {
		data.EnableTrapsBulkstatTransfer = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mac-notification.change"); value.Exists() {
		data.EnableTrapsMacNotificationChange = types.BoolValue(true)
	} else {
		data.EnableTrapsMacNotificationChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mac-notification.move"); value.Exists() {
		data.EnableTrapsMacNotificationMove = types.BoolValue(true)
	} else {
		data.EnableTrapsMacNotificationMove = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mac-notification.threshold"); value.Exists() {
		data.EnableTrapsMacNotificationThreshold = types.BoolValue(true)
	} else {
		data.EnableTrapsMacNotificationThreshold = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrfmib.vrf-up"); value.Exists() {
		data.EnableTrapsVrfmibVrfUp = types.BoolValue(true)
	} else {
		data.EnableTrapsVrfmibVrfUp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrfmib.vrf-down"); value.Exists() {
		data.EnableTrapsVrfmibVrfDown = types.BoolValue(true)
	} else {
		data.EnableTrapsVrfmibVrfDown = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrfmib.vnet-trunk-up"); value.Exists() {
		data.EnableTrapsVrfmibVnetTrunkUp = types.BoolValue(true)
	} else {
		data.EnableTrapsVrfmibVnetTrunkUp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrfmib.vnet-trunk-down"); value.Exists() {
		data.EnableTrapsVrfmibVnetTrunkDown = types.BoolValue(true)
	} else {
		data.EnableTrapsVrfmibVnetTrunkDown = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mvpn"); value.Exists() {
		data.EnableTrapsMvpn = types.BoolValue(true)
	} else {
		data.EnableTrapsMvpn = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.lisp"); value.Exists() {
		data.EnableTrapsLisp = types.BoolValue(true)
	} else {
		data.EnableTrapsLisp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.aaa_server"); value.Exists() {
		data.EnableTrapsAaaServer = types.BoolValue(true)
	} else {
		data.EnableTrapsAaaServer = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vdsl2line"); value.Exists() {
		data.EnableTrapsVdsl2line = types.BoolValue(true)
	} else {
		data.EnableTrapsVdsl2line = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.adslline"); value.Exists() {
		data.EnableTrapsAdslline = types.BoolValue(true)
	} else {
		data.EnableTrapsAdslline = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pki"); value.Exists() {
		data.EnableTrapsPki = types.BoolValue(true)
	} else {
		data.EnableTrapsPki = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.alarms.alarm-type"); value.Exists() {
		data.EnableTrapsAlarmType = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.casa"); value.Exists() {
		data.EnableTrapsCasa = types.BoolValue(true)
	} else {
		data.EnableTrapsCasa = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cnpd"); value.Exists() {
		data.EnableTrapsCnpd = types.BoolValue(true)
	} else {
		data.EnableTrapsCnpd = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.dial"); value.Exists() {
		data.EnableTrapsDial = types.BoolValue(true)
	} else {
		data.EnableTrapsDial = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.dlsw"); value.Exists() {
		data.EnableTrapsDlsw = types.BoolValue(true)
	} else {
		data.EnableTrapsDlsw = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ds1"); value.Exists() {
		data.EnableTrapsDs1 = types.BoolValue(true)
	} else {
		data.EnableTrapsDs1 = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.dsp.card-status"); value.Exists() {
		data.EnableTrapsDspCardStatus = types.BoolValue(true)
	} else {
		data.EnableTrapsDspCardStatus = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.dsp.oper-state"); value.Exists() {
		data.EnableTrapsDspOperState = types.BoolValue(true)
	} else {
		data.EnableTrapsDspOperState = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-sensor"); value.Exists() {
		data.EnableTrapsEntitySensor = types.BoolValue(true)
	} else {
		data.EnableTrapsEntitySensor = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-state"); value.Exists() {
		data.EnableTrapsEntityState = types.BoolValue(true)
	} else {
		data.EnableTrapsEntityState = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-qfp.mem-res-thresh"); value.Exists() {
		data.EnableTrapsEntityQfpMemResThresh = types.BoolValue(true)
	} else {
		data.EnableTrapsEntityQfpMemResThresh = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-qfp.throughput-notif"); value.Exists() {
		data.EnableTrapsEntityQfpThroughputNotif = types.BoolValue(true)
	} else {
		data.EnableTrapsEntityQfpThroughputNotif = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ether-oam"); value.Exists() {
		data.EnableTrapsEtherOam = types.BoolValue(true)
	} else {
		data.EnableTrapsEtherOam = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.alarm"); value.Exists() {
		data.EnableTrapsEthernetCfmAlarm = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmAlarm = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.config"); value.Exists() {
		data.EnableTrapsEthernetCfmCcConfig = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmCcConfig = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.cross-connect"); value.Exists() {
		data.EnableTrapsEthernetCfmCcCrossConnect = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmCcCrossConnect = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.loop"); value.Exists() {
		data.EnableTrapsEthernetCfmCcLoop = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmCcLoop = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.mep-down"); value.Exists() {
		data.EnableTrapsEthernetCfmCcMepDown = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmCcMepDown = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.mep-up"); value.Exists() {
		data.EnableTrapsEthernetCfmCcMepUp = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmCcMepUp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.crosscheck.mep-missing"); value.Exists() {
		data.EnableTrapsEthernetCfmCrosscheckMepMissing = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmCrosscheckMepMissing = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.crosscheck.mep-unknown"); value.Exists() {
		data.EnableTrapsEthernetCfmCrosscheckMepUnknown = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmCrosscheckMepUnknown = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.crosscheck.service-up"); value.Exists() {
		data.EnableTrapsEthernetCfmCrosscheckServiceUp = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmCrosscheckServiceUp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.evc.create"); value.Exists() {
		data.EnableTrapsEthernetEvcCreate = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetEvcCreate = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.evc.delete"); value.Exists() {
		data.EnableTrapsEthernetEvcDelete = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetEvcDelete = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.evc.status"); value.Exists() {
		data.EnableTrapsEthernetEvcStatus = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetEvcStatus = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.firewall.serverstatus"); value.Exists() {
		data.EnableTrapsFirewallServerstatus = types.BoolValue(true)
	} else {
		data.EnableTrapsFirewallServerstatus = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay-config.only-frame-relay.frame-relay"); value.Exists() {
		data.EnableTrapsFrameRelayConfigOnly = types.BoolValue(true)
	} else {
		data.EnableTrapsFrameRelayConfigOnly = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay-config.frame-relay-options.frame-relay.subif-configs.subif"); value.Exists() {
		data.EnableTrapsFrameRelayConfigSubifConfigs = types.BoolValue(true)
	} else {
		data.EnableTrapsFrameRelayConfigSubifConfigs = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay.subif.count"); value.Exists() {
		data.EnableTrapsFrameRelaySubifCount = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay.subif.interval"); value.Exists() {
		data.EnableTrapsFrameRelaySubifInterval = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay-config.frame-relay-options.frame-relay.multilink.bundle-mismatch"); value.Exists() {
		data.EnableTrapsFrameRelayConfigBundleMismatch = types.BoolValue(true)
	} else {
		data.EnableTrapsFrameRelayConfigBundleMismatch = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay.multilink.bundle-mismatch"); value.Exists() {
		data.EnableTrapsFrameRelayMultilinkBundleMismatch = types.BoolValue(true)
	} else {
		data.EnableTrapsFrameRelayMultilinkBundleMismatch = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ip.local.pool"); value.Exists() {
		data.EnableTrapsIpLocalPool = types.BoolValue(true)
	} else {
		data.EnableTrapsIpLocalPool = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.isdn.call-information"); value.Exists() {
		data.EnableTrapsIsdnCallInformation = types.BoolValue(true)
	} else {
		data.EnableTrapsIsdnCallInformation = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.isdn.chan-not-avail"); value.Exists() {
		data.EnableTrapsIsdnChanNotAvail = types.BoolValue(true)
	} else {
		data.EnableTrapsIsdnChanNotAvail = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.isdn.ietf"); value.Exists() {
		data.EnableTrapsIsdnIetf = types.BoolValue(true)
	} else {
		data.EnableTrapsIsdnIetf = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.isdn.layer2"); value.Exists() {
		data.EnableTrapsIsdnLayer2 = types.BoolValue(true)
	} else {
		data.EnableTrapsIsdnLayer2 = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.l2tun.session"); value.Exists() {
		data.EnableTrapsL2tunSession = types.BoolValue(true)
	} else {
		data.EnableTrapsL2tunSession = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.l2tun.tunnel"); value.Exists() {
		data.EnableTrapsL2tunTunnel = types.BoolValue(true)
	} else {
		data.EnableTrapsL2tunTunnel = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.l2tun.pseudowire.status"); value.Exists() {
		data.EnableTrapsL2tunPseudowireStatus = types.BoolValue(true)
	} else {
		data.EnableTrapsL2tunPseudowireStatus = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.neighbor-loss"); value.Exists() {
		data.EnableTrapsPimstdmibNeighborLoss = types.BoolValue(true)
	} else {
		data.EnableTrapsPimstdmibNeighborLoss = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.invalid-register"); value.Exists() {
		data.EnableTrapsPimstdmibInvalidRegister = types.BoolValue(true)
	} else {
		data.EnableTrapsPimstdmibInvalidRegister = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.invalid-join-prune"); value.Exists() {
		data.EnableTrapsPimstdmibInvalidJoinPrune = types.BoolValue(true)
	} else {
		data.EnableTrapsPimstdmibInvalidJoinPrune = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.rp-mapping-change"); value.Exists() {
		data.EnableTrapsPimstdmibRpMappingChange = types.BoolValue(true)
	} else {
		data.EnableTrapsPimstdmibRpMappingChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.interface-election"); value.Exists() {
		data.EnableTrapsPimstdmibInterfaceElection = types.BoolValue(true)
	} else {
		data.EnableTrapsPimstdmibInterfaceElection = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pfr"); value.Exists() {
		data.EnableTrapsPfr = types.BoolValue(true)
	} else {
		data.EnableTrapsPfr = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pppoe"); value.Exists() {
		data.EnableTrapsPppoe = types.BoolValue(true)
	} else {
		data.EnableTrapsPppoe = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.resource-policy"); value.Exists() {
		data.EnableTrapsResourcePolicy = types.BoolValue(true)
	} else {
		data.EnableTrapsResourcePolicy = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.rsvp"); value.Exists() {
		data.EnableTrapsRsvp = types.BoolValue(true)
	} else {
		data.EnableTrapsRsvp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrrp"); value.Exists() {
		data.EnableTrapsVrrp = types.BoolValue(true)
	} else {
		data.EnableTrapsVrrp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.sonet"); value.Exists() {
		data.EnableTrapsSonet = types.BoolValue(true)
	} else {
		data.EnableTrapsSonet = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.srp"); value.Exists() {
		data.EnableTrapsSrp = types.BoolValue(true)
	} else {
		data.EnableTrapsSrp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.voice"); value.Exists() {
		data.EnableTrapsVoice = types.BoolValue(true)
	} else {
		data.EnableTrapsVoice = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bgp"); value.Exists() {
		data.EnableTrapsBgp = types.BoolValue(true)
	} else {
		data.EnableTrapsBgp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bgp-traps.cbgp2"); value.Exists() {
		data.EnableTrapsCbgp2 = types.BoolValue(true)
	} else {
		data.EnableTrapsCbgp2 = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ospfv3.errors"); value.Exists() {
		data.EnableTrapsOspfv3Errors = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfv3Errors = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ospfv3.state-change"); value.Exists() {
		data.EnableTrapsOspfv3StateChange = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfv3StateChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.GigabitEthernet"); value.Exists() {
		data.SourceInterfaceInformsGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.TenGigabitEthernet"); value.Exists() {
		data.SourceInterfaceInformsTenGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.FortyGigabitEthernet"); value.Exists() {
		data.SourceInterfaceInformsFortyGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.HundredGigE"); value.Exists() {
		data.SourceInterfaceInformsHundredGigE = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.Loopback"); value.Exists() {
		data.SourceInterfaceInformsLoopback = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.Port-channel"); value.Exists() {
		data.SourceInterfaceInformsPortChannel = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.Port-channel-subinterface.Port-channel"); value.Exists() {
		data.SourceInterfaceInformsPortChannelSubinterface = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.Vlan"); value.Exists() {
		data.SourceInterfaceInformsVlan = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.GigabitEthernet"); value.Exists() {
		data.SourceInterfaceTrapsGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.TenGigabitEthernet"); value.Exists() {
		data.SourceInterfaceTrapsTenGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.FortyGigabitEthernet"); value.Exists() {
		data.SourceInterfaceTrapsFortyGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.HundredGigE"); value.Exists() {
		data.SourceInterfaceTrapsHundredGigE = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.Loopback"); value.Exists() {
		data.SourceInterfaceTrapsLoopback = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.Port-channel"); value.Exists() {
		data.SourceInterfaceTrapsPortChannel = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.Port-channel-subinterface.Port-channel"); value.Exists() {
		data.SourceInterfaceTrapsPortChannelSubinterface = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.Vlan"); value.Exists() {
		data.SourceInterfaceTrapsVlan = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.GigabitEthernet"); value.Exists() {
		data.TrapSourceGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.TenGigabitEthernet"); value.Exists() {
		data.TrapSourceTenGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.FortyGigabitEthernet"); value.Exists() {
		data.TrapSourceFortyGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.HundredGigE"); value.Exists() {
		data.TrapSourceHundredGigE = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.Loopback"); value.Exists() {
		data.TrapSourceLoopback = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.Port-channel"); value.Exists() {
		data.TrapSourcePortChannel = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.Port-channel-subinterface.Port-channel"); value.Exists() {
		data.TrapSourcePortChannelSubinterface = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.Vlan"); value.Exists() {
		data.TrapSourceVlan = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:community-config"); value.Exists() {
		data.SnmpCommunities = make([]SNMPServerSnmpCommunities, 0)
		value.ForEach(func(k, v gjson.Result) bool {
			item := SNMPServerSnmpCommunities{}
			if cValue := v.Get("name"); cValue.Exists() {
				item.Name = types.StringValue(cValue.String())
			}
			if cValue := v.Get("view"); cValue.Exists() {
				item.View = types.StringValue(cValue.String())
			}
			if cValue := v.Get("permission"); cValue.Exists() {
				item.Permission = types.StringValue(cValue.String())
			}
			if cValue := v.Get("ipv6"); cValue.Exists() {
				item.Ipv6 = types.StringValue(cValue.String())
			}
			if cValue := v.Get("access-list-name"); cValue.Exists() {
				item.AccessListName = types.StringValue(cValue.String())
			}
			data.SnmpCommunities = append(data.SnmpCommunities, item)
			return true
		})
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:context"); value.Exists() {
		data.Contexts = make([]SNMPServerContexts, 0)
		value.ForEach(func(k, v gjson.Result) bool {
			item := SNMPServerContexts{}
			if cValue := v.Get("name"); cValue.Exists() {
				item.Name = types.StringValue(cValue.String())
			}
			data.Contexts = append(data.Contexts, item)
			return true
		})
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:view"); value.Exists() {
		data.Views = make([]SNMPServerViews, 0)
		value.ForEach(func(k, v gjson.Result) bool {
			item := SNMPServerViews{}
			if cValue := v.Get("name"); cValue.Exists() {
				item.Name = types.StringValue(cValue.String())
			}
			if cValue := v.Get("mib"); cValue.Exists() {
				item.Mib = types.StringValue(cValue.String())
			}
			if cValue := v.Get("inc-exl"); cValue.Exists() {
				item.IncExl = types.StringValue(cValue.String())
			}
			data.Views = append(data.Views, item)
			return true
		})
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:group"); value.Exists() {
		data.Groups = make([]SNMPServerGroups, 0)
		value.ForEach(func(k, v gjson.Result) bool {
			item := SNMPServerGroups{}
			if cValue := v.Get("id"); cValue.Exists() {
				item.Name = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.security-level-list"); cValue.Exists() {
				item.V3Security = make([]SNMPServerGroupsV3Security, 0)
				cValue.ForEach(func(ck, cv gjson.Result) bool {
					cItem := SNMPServerGroupsV3Security{}
					if ccValue := cv.Get("security-level"); ccValue.Exists() {
						cItem.SecurityLevel = types.StringValue(ccValue.String())
					}
					if ccValue := cv.Get("context-node"); ccValue.Exists() {
						cItem.ContextNode = types.StringValue(ccValue.String())
					}
					if ccValue := cv.Get("match-node"); ccValue.Exists() {
						cItem.MatchNode = types.StringValue(ccValue.String())
					}
					if ccValue := cv.Get("read-node"); ccValue.Exists() {
						cItem.ReadNode = types.StringValue(ccValue.String())
					}
					if ccValue := cv.Get("write-node"); ccValue.Exists() {
						cItem.WriteNode = types.StringValue(ccValue.String())
					}
					if ccValue := cv.Get("notify-node"); ccValue.Exists() {
						cItem.NotifyNode = types.StringValue(ccValue.String())
					}
					if ccValue := cv.Get("access-config.ipv6-acl"); ccValue.Exists() {
						cItem.AccessIpv6Acl = types.StringValue(ccValue.String())
					}
					if ccValue := cv.Get("access-config.standard-acl"); ccValue.Exists() {
						cItem.AccessStandardAcl = types.Int64Value(ccValue.Int())
					}
					if ccValue := cv.Get("access-config.acl-name"); ccValue.Exists() {
						cItem.AccessAclName = types.StringValue(ccValue.String())
					}
					item.V3Security = append(item.V3Security, cItem)
					return true
				})
			}
			data.Groups = append(data.Groups, item)
			return true
		})
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:user.names"); value.Exists() {
		data.Users = make([]SNMPServerUsers, 0)
		value.ForEach(func(k, v gjson.Result) bool {
			item := SNMPServerUsers{}
			if cValue := v.Get("username"); cValue.Exists() {
				item.Username = types.StringValue(cValue.String())
			}
			if cValue := v.Get("grpname"); cValue.Exists() {
				item.Grpname = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.algorithm"); cValue.Exists() {
				item.V3AuthAlgorithm = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.password"); cValue.Exists() {
				item.V3AuthPassword = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.aes.algorithm"); cValue.Exists() {
				item.V3AuthPrivAesAlgorithm = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.aes.password"); cValue.Exists() {
				item.V3AuthPrivAesPassword = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.aes.access-config.ipv6-acl"); cValue.Exists() {
				item.V3AuthPrivAesAccessIpv6Acl = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.aes.access-config.standard-acl"); cValue.Exists() {
				item.V3AuthPrivAesAccessStandardAcl = types.Int64Value(cValue.Int())
			}
			if cValue := v.Get("v3.auth-config.priv-config.aes.access-config.acl-name"); cValue.Exists() {
				item.V3AuthPrivAesAccessAclName = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.des.password"); cValue.Exists() {
				item.V3AuthPrivDesPassword = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.des.access-config.ipv6-acl"); cValue.Exists() {
				item.V3AuthPrivDesAccessIpv6Acl = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.des.access-config.standard-acl"); cValue.Exists() {
				item.V3AuthPrivDesAccessStandardAcl = types.Int64Value(cValue.Int())
			}
			if cValue := v.Get("v3.auth-config.priv-config.des.access-config.acl-name"); cValue.Exists() {
				item.V3AuthPrivDesAccessAclName = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.des3.password"); cValue.Exists() {
				item.V3AuthPrivDes3Password = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.des3.access-config.ipv6-acl"); cValue.Exists() {
				item.V3AuthPrivDes3AccessIpv6Acl = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.des3.access-config.standard-acl"); cValue.Exists() {
				item.V3AuthPrivDes3AccessStandardAcl = types.Int64Value(cValue.Int())
			}
			if cValue := v.Get("v3.auth-config.priv-config.des3.access-config.acl-name"); cValue.Exists() {
				item.V3AuthPrivDes3AccessAclName = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.access-config.ipv6-acl"); cValue.Exists() {
				item.V3AuthAccessIpv6Acl = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.access-config.standard-acl"); cValue.Exists() {
				item.V3AuthAccessStandardAcl = types.Int64Value(cValue.Int())
			}
			if cValue := v.Get("v3.auth-config.access-config.acl-name"); cValue.Exists() {
				item.V3AuthAccessAclName = types.StringValue(cValue.String())
			}
			data.Users = append(data.Users, item)
			return true
		})
	}
}

// End of section. //template:end fromBody

// Section below is generated&owned by "gen/generator.go". //template:begin fromBodyData

func (data *SNMPServerData) fromBody(ctx context.Context, res gjson.Result) {
	prefix := helpers.LastElement(data.getPath()) + "."
	if res.Get(helpers.LastElement(data.getPath())).IsArray() {
		prefix += "0."
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:chassis-id"); value.Exists() {
		data.ChassisId = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:contact"); value.Exists() {
		data.Contact = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:ifindex.persist"); value.Exists() {
		data.IfindexPersist = types.BoolValue(true)
	} else {
		data.IfindexPersist = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:location"); value.Exists() {
		data.Location = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:packetsize"); value.Exists() {
		data.Packetsize = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:queue-length"); value.Exists() {
		data.QueueLength = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.logging.getop"); value.Exists() {
		data.EnableLoggingGetop = types.BoolValue(value.Bool())
	} else {
		data.EnableLoggingGetop = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.logging.setop"); value.Exists() {
		data.EnableLoggingSetop = types.BoolValue(value.Bool())
	} else {
		data.EnableLoggingSetop = types.BoolNull()
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.informs"); value.Exists() {
		data.EnableInforms = types.BoolValue(true)
	} else {
		data.EnableInforms = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps"); value.Exists() {
		data.EnableTraps = types.BoolValue(true)
	} else {
		data.EnableTraps = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.authentication"); value.Exists() {
		data.EnableTrapsSnmpAuthentication = types.BoolValue(true)
	} else {
		data.EnableTrapsSnmpAuthentication = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.coldstart"); value.Exists() {
		data.EnableTrapsSnmpColdstart = types.BoolValue(true)
	} else {
		data.EnableTrapsSnmpColdstart = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.linkdown"); value.Exists() {
		data.EnableTrapsSnmpLinkdown = types.BoolValue(true)
	} else {
		data.EnableTrapsSnmpLinkdown = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.linkup"); value.Exists() {
		data.EnableTrapsSnmpLinkup = types.BoolValue(true)
	} else {
		data.EnableTrapsSnmpLinkup = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.snmp.warmstart"); value.Exists() {
		data.EnableTrapsSnmpWarmstart = types.BoolValue(true)
	} else {
		data.EnableTrapsSnmpWarmstart = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:host-config.ip-community"); value.Exists() {
		data.Hosts = make([]SNMPServerHosts, 0)
		value.ForEach(func(k, v gjson.Result) bool {
			item := SNMPServerHosts{}
			if cValue := v.Get("ip-address"); cValue.Exists() {
				item.IpAddress = types.StringValue(cValue.String())
			}
			if cValue := v.Get("community-or-user"); cValue.Exists() {
				item.CommunityOrUser = types.StringValue(cValue.String())
			}
			if cValue := v.Get("version"); cValue.Exists() {
				item.Version = types.StringValue(cValue.String())
			}
			if cValue := v.Get("encryption"); cValue.Exists() {
				item.Encryption = types.StringValue(cValue.String())
			}
			if cValue := v.Get("security-level"); cValue.Exists() {
				item.SecurityLevel = types.StringValue(cValue.String())
			}
			data.Hosts = append(data.Hosts, item)
			return true
		})
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:host-config.ip-vrf-community"); value.Exists() {
		data.VrfHosts = make([]SNMPServerVrfHosts, 0)
		value.ForEach(func(k, v gjson.Result) bool {
			item := SNMPServerVrfHosts{}
			if cValue := v.Get("ip-address"); cValue.Exists() {
				item.IpAddress = types.StringValue(cValue.String())
			}
			if cValue := v.Get("vrf"); cValue.Exists() {
				item.Vrf = types.StringValue(cValue.String())
			}
			if cValue := v.Get("community-or-user"); cValue.Exists() {
				item.CommunityOrUser = types.StringValue(cValue.String())
			}
			if cValue := v.Get("version"); cValue.Exists() {
				item.Version = types.StringValue(cValue.String())
			}
			if cValue := v.Get("encryption"); cValue.Exists() {
				item.Encryption = types.StringValue(cValue.String())
			}
			if cValue := v.Get("security-level"); cValue.Exists() {
				item.SecurityLevel = types.StringValue(cValue.String())
			}
			data.VrfHosts = append(data.VrfHosts, item)
			return true
		})
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:system-shutdown"); value.Exists() {
		data.SystemShutdown = types.BoolValue(true)
	} else {
		data.SystemShutdown = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.flowmon"); value.Exists() {
		data.EnableTrapsFlowmon = types.BoolValue(true)
	} else {
		data.EnableTrapsFlowmon = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-perf.throughput-notif"); value.Exists() {
		data.EnableTrapsEntityPerfThroughputNotif = types.BoolValue(true)
	} else {
		data.EnableTrapsEntityPerfThroughputNotif = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.call-home.message-send-fail"); value.Exists() {
		data.EnableTrapsCallHomeMessageSendFail = types.BoolValue(true)
	} else {
		data.EnableTrapsCallHomeMessageSendFail = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.call-home.server-fail"); value.Exists() {
		data.EnableTrapsCallHomeServerFail = types.BoolValue(true)
	} else {
		data.EnableTrapsCallHomeServerFail = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.tty"); value.Exists() {
		data.EnableTrapsTty = types.BoolValue(true)
	} else {
		data.EnableTrapsTty = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospfv3:ospfv3-config.state-change.enable"); value.Exists() {
		data.EnableTrapsOspfv3ConfigStateChange = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfv3ConfigStateChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospfv3:ospfv3-config.errors.enable"); value.Exists() {
		data.EnableTrapsOspfv3ConfigErrors = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfv3ConfigErrors = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.retransmit.enable"); value.Exists() {
		data.EnableTrapsOspfConfigRetransmit = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfConfigRetransmit = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.lsa.enable"); value.Exists() {
		data.EnableTrapsOspfConfigLsa = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfConfigLsa = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.state-change.nssa-trans-change"); value.Exists() {
		data.EnableTrapsOspfNssaTransChange = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfNssaTransChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.state-change.shamlink.interface"); value.Exists() {
		data.EnableTrapsOspfShamlinkInterface = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfShamlinkInterface = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.state-change.shamlink.neighbor"); value.Exists() {
		data.EnableTrapsOspfShamlinkNeighbor = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfShamlinkNeighbor = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.errors.enable"); value.Exists() {
		data.EnableTrapsOspfErrorsEnable = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfErrorsEnable = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.retransmit.enable"); value.Exists() {
		data.EnableTrapsOspfRetransmitEnable = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfRetransmitEnable = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.cisco-specific.lsa.enable"); value.Exists() {
		data.EnableTrapsOspfLsaEnable = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfLsaEnable = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.eigrp"); value.Exists() {
		data.EnableTrapsEigrp = types.BoolValue(true)
	} else {
		data.EnableTrapsEigrp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.auth-framework.sec-violation"); value.Exists() {
		data.EnableTrapsAuthFrameworkSecViolation = types.BoolValue(true)
	} else {
		data.EnableTrapsAuthFrameworkSecViolation = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.rep"); value.Exists() {
		data.EnableTrapsRep = types.BoolValue(true)
	} else {
		data.EnableTrapsRep = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vtp"); value.Exists() {
		data.EnableTrapsVtp = types.BoolValue(true)
	} else {
		data.EnableTrapsVtp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vlancreate"); value.Exists() {
		data.EnableTrapsVlancreate = types.BoolValue(true)
	} else {
		data.EnableTrapsVlancreate = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vlandelete"); value.Exists() {
		data.EnableTrapsVlandelete = types.BoolValue(true)
	} else {
		data.EnableTrapsVlandelete = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.port-security"); value.Exists() {
		data.EnableTrapsPortSecurity = types.BoolValue(true)
	} else {
		data.EnableTrapsPortSecurity = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.license"); value.Exists() {
		data.EnableTrapsLicense = types.BoolValue(true)
	} else {
		data.EnableTrapsLicense = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.smart-licenseing.smart-license"); value.Exists() {
		data.EnableTrapsSmartLicense = types.BoolValue(true)
	} else {
		data.EnableTrapsSmartLicense = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cpu.threshold"); value.Exists() {
		data.EnableTrapsCpuThreshold = types.BoolValue(true)
	} else {
		data.EnableTrapsCpuThreshold = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.memory.bufferpeak"); value.Exists() {
		data.EnableTrapsMemoryBufferpeak = types.BoolValue(true)
	} else {
		data.EnableTrapsMemoryBufferpeak = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.stackwise"); value.Exists() {
		data.EnableTrapsStackwise = types.BoolValue(true)
	} else {
		data.EnableTrapsStackwise = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.udld.link-fail-rpt"); value.Exists() {
		data.EnableTrapsUdldLinkFailRpt = types.BoolValue(true)
	} else {
		data.EnableTrapsUdldLinkFailRpt = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.udld.status-change"); value.Exists() {
		data.EnableTrapsUdldStatusChange = types.BoolValue(true)
	} else {
		data.EnableTrapsUdldStatusChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.fru-ctrl"); value.Exists() {
		data.EnableTrapsFruCtrl = types.BoolValue(true)
	} else {
		data.EnableTrapsFruCtrl = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.flash.insertion"); value.Exists() {
		data.EnableTrapsFlashInsertion = types.BoolValue(true)
	} else {
		data.EnableTrapsFlashInsertion = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.flash.removal"); value.Exists() {
		data.EnableTrapsFlashRemoval = types.BoolValue(true)
	} else {
		data.EnableTrapsFlashRemoval = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.flash.lowspace"); value.Exists() {
		data.EnableTrapsFlashLowspace = types.BoolValue(true)
	} else {
		data.EnableTrapsFlashLowspace = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.energywise"); value.Exists() {
		data.EnableTrapsEnergywise = types.BoolValue(true)
	} else {
		data.EnableTrapsEnergywise = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.power-ethernet.group"); value.Exists() {
		data.EnableTrapsPowerEthernetGroup = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.power-ethernet.police"); value.Exists() {
		data.EnableTrapsPowerEthernetPolice = types.BoolValue(true)
	} else {
		data.EnableTrapsPowerEthernetPolice = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity"); value.Exists() {
		data.EnableTrapsEntity = types.BoolValue(true)
	} else {
		data.EnableTrapsEntity = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pw.vc"); value.Exists() {
		data.EnableTrapsPwVc = types.BoolValue(true)
	} else {
		data.EnableTrapsPwVc = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.envmon"); value.Exists() {
		data.EnableTrapsEnvmon = types.BoolValue(true)
	} else {
		data.EnableTrapsEnvmon = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cef.resource-failure"); value.Exists() {
		data.EnableTrapsCefResourceFailure = types.BoolValue(true)
	} else {
		data.EnableTrapsCefResourceFailure = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cef.peer-state-change"); value.Exists() {
		data.EnableTrapsCefPeerStateChange = types.BoolValue(true)
	} else {
		data.EnableTrapsCefPeerStateChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cef.peer-fib-state-change"); value.Exists() {
		data.EnableTrapsCefPeerFibStateChange = types.BoolValue(true)
	} else {
		data.EnableTrapsCefPeerFibStateChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cef.inconsistency"); value.Exists() {
		data.EnableTrapsCefInconsistency = types.BoolValue(true)
	} else {
		data.EnableTrapsCefInconsistency = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.isis"); value.Exists() {
		data.EnableTrapsIsis = types.BoolValue(true)
	} else {
		data.EnableTrapsIsis = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsla"); value.Exists() {
		data.EnableTrapsIpsla = types.BoolValue(true)
	} else {
		data.EnableTrapsIpsla = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-diag.boot-up-fail"); value.Exists() {
		data.EnableTrapsEntityDiagBootUpFail = types.BoolValue(true)
	} else {
		data.EnableTrapsEntityDiagBootUpFail = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-diag.hm-test-recover"); value.Exists() {
		data.EnableTrapsEntityDiagHmTestRecover = types.BoolValue(true)
	} else {
		data.EnableTrapsEntityDiagHmTestRecover = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-diag.hm-thresh-reached"); value.Exists() {
		data.EnableTrapsEntityDiagHmThreshReached = types.BoolValue(true)
	} else {
		data.EnableTrapsEntityDiagHmThreshReached = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-diag.scheduled-test-fail"); value.Exists() {
		data.EnableTrapsEntityDiagScheduledTestFail = types.BoolValue(true)
	} else {
		data.EnableTrapsEntityDiagScheduledTestFail = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bfd"); value.Exists() {
		data.EnableTrapsBfd = types.BoolValue(true)
	} else {
		data.EnableTrapsBfd = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ike.policy.add"); value.Exists() {
		data.EnableTrapsIkePolicyAdd = types.BoolValue(true)
	} else {
		data.EnableTrapsIkePolicyAdd = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ike.policy.delete"); value.Exists() {
		data.EnableTrapsIkePolicyDelete = types.BoolValue(true)
	} else {
		data.EnableTrapsIkePolicyDelete = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ike.tunnel.start"); value.Exists() {
		data.EnableTrapsIkeTunnelStart = types.BoolValue(true)
	} else {
		data.EnableTrapsIkeTunnelStart = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ike.tunnel.stop"); value.Exists() {
		data.EnableTrapsIkeTunnelStop = types.BoolValue(true)
	} else {
		data.EnableTrapsIkeTunnelStop = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.cryptomap.add"); value.Exists() {
		data.EnableTrapsIpsecCryptomapAdd = types.BoolValue(true)
	} else {
		data.EnableTrapsIpsecCryptomapAdd = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.cryptomap.attach"); value.Exists() {
		data.EnableTrapsIpsecCryptomapAttach = types.BoolValue(true)
	} else {
		data.EnableTrapsIpsecCryptomapAttach = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.cryptomap.delete"); value.Exists() {
		data.EnableTrapsIpsecCryptomapDelete = types.BoolValue(true)
	} else {
		data.EnableTrapsIpsecCryptomapDelete = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.cryptomap.detach"); value.Exists() {
		data.EnableTrapsIpsecCryptomapDetach = types.BoolValue(true)
	} else {
		data.EnableTrapsIpsecCryptomapDetach = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.tunnel.start"); value.Exists() {
		data.EnableTrapsIpsecTunnelStart = types.BoolValue(true)
	} else {
		data.EnableTrapsIpsecTunnelStart = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.tunnel.stop"); value.Exists() {
		data.EnableTrapsIpsecTunnelStop = types.BoolValue(true)
	} else {
		data.EnableTrapsIpsecTunnelStop = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipsec.too-many-sas"); value.Exists() {
		data.EnableTrapsIpsecTooManySas = types.BoolValue(true)
	} else {
		data.EnableTrapsIpsecTooManySas = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.config-copy"); value.Exists() {
		data.EnableTrapsConfigCopy = types.BoolValue(true)
	} else {
		data.EnableTrapsConfigCopy = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.config"); value.Exists() {
		data.EnableTrapsConfig = types.BoolValue(true)
	} else {
		data.EnableTrapsConfig = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.config-ctid"); value.Exists() {
		data.EnableTrapsConfigCtid = types.BoolValue(true)
	} else {
		data.EnableTrapsConfigCtid = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.dhcp"); value.Exists() {
		data.EnableTrapsDhcp = types.BoolValue(true)
	} else {
		data.EnableTrapsDhcp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.event-manager"); value.Exists() {
		data.EnableTrapsEventManager = types.BoolValue(true)
	} else {
		data.EnableTrapsEventManager = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.hsrp"); value.Exists() {
		data.EnableTrapsHsrp = types.BoolValue(true)
	} else {
		data.EnableTrapsHsrp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ipmulticast"); value.Exists() {
		data.EnableTrapsIpmulticast = types.BoolValue(true)
	} else {
		data.EnableTrapsIpmulticast = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.msdp"); value.Exists() {
		data.EnableTrapsMsdp = types.BoolValue(true)
	} else {
		data.EnableTrapsMsdp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.state-change.enable"); value.Exists() {
		data.EnableTrapsOspfConfigStateChange = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfConfigStateChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-ospf:ospf-config.errors.enable"); value.Exists() {
		data.EnableTrapsOspfConfigErrors = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfConfigErrors = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pim.invalid-pim-message"); value.Exists() {
		data.EnableTrapsPimInvalidPimMessage = types.BoolValue(true)
	} else {
		data.EnableTrapsPimInvalidPimMessage = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pim.neighbor-change"); value.Exists() {
		data.EnableTrapsPimNeighborChange = types.BoolValue(true)
	} else {
		data.EnableTrapsPimNeighborChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pim.rp-mapping-change"); value.Exists() {
		data.EnableTrapsPimRpMappingChange = types.BoolValue(true)
	} else {
		data.EnableTrapsPimRpMappingChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bridge.newroot"); value.Exists() {
		data.EnableTrapsBridgeNewroot = types.BoolValue(true)
	} else {
		data.EnableTrapsBridgeNewroot = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bridge.topologychange"); value.Exists() {
		data.EnableTrapsBridgeTopologychange = types.BoolValue(true)
	} else {
		data.EnableTrapsBridgeTopologychange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.stpx.inconsistency"); value.Exists() {
		data.EnableTrapsStpxInconsistency = types.BoolValue(true)
	} else {
		data.EnableTrapsStpxInconsistency = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.stpx.root-inconsistency"); value.Exists() {
		data.EnableTrapsStpxRootInconsistency = types.BoolValue(true)
	} else {
		data.EnableTrapsStpxRootInconsistency = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.stpx.loop-inconsistency"); value.Exists() {
		data.EnableTrapsStpxLoopInconsistency = types.BoolValue(true)
	} else {
		data.EnableTrapsStpxLoopInconsistency = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.syslog"); value.Exists() {
		data.EnableTrapsSyslog = types.BoolValue(true)
	} else {
		data.EnableTrapsSyslog = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.Cisco-IOS-XE-bgp:bgp.cbgp2"); value.Exists() {
		data.EnableTrapsBgpCbgp2 = types.BoolValue(true)
	} else {
		data.EnableTrapsBgpCbgp2 = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.nhrp.nhs"); value.Exists() {
		data.EnableTrapsNhrpNhs = types.BoolValue(true)
	} else {
		data.EnableTrapsNhrpNhs = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.nhrp.nhc"); value.Exists() {
		data.EnableTrapsNhrpNhc = types.BoolValue(true)
	} else {
		data.EnableTrapsNhrpNhc = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.nhrp.nhp"); value.Exists() {
		data.EnableTrapsNhrpNhp = types.BoolValue(true)
	} else {
		data.EnableTrapsNhrpNhp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.nhrp.quota-exceeded"); value.Exists() {
		data.EnableTrapsNhrpQuotaExceeded = types.BoolValue(true)
	} else {
		data.EnableTrapsNhrpQuotaExceeded = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.traffic-eng"); value.Exists() {
		data.EnableTrapsMplsTrafficEng = types.BoolValue(true)
	} else {
		data.EnableTrapsMplsTrafficEng = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls"); value.Exists() {
		data.EnableTrapsMpls = types.BoolValue(true)
	} else {
		data.EnableTrapsMpls = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.vpn"); value.Exists() {
		data.EnableTrapsMplsVpn = types.BoolValue(true)
	} else {
		data.EnableTrapsMplsVpn = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.rfc"); value.Exists() {
		data.EnableTrapsMplsRfc = types.BoolValue(true)
	} else {
		data.EnableTrapsMplsRfc = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.rfc.ldp"); value.Exists() {
		data.EnableTrapsMplsRfcLdp = types.BoolValue(true)
	} else {
		data.EnableTrapsMplsRfcLdp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.ldp"); value.Exists() {
		data.EnableTrapsMplsLdp = types.BoolValue(true)
	} else {
		data.EnableTrapsMplsLdp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mpls.fast-reroute.protected"); value.Exists() {
		data.EnableTrapsFastRerouteProtected = types.BoolValue(true)
	} else {
		data.EnableTrapsFastRerouteProtected = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.local-auth"); value.Exists() {
		data.EnableTrapsLocalAuth = types.BoolValue(true)
	} else {
		data.EnableTrapsLocalAuth = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vlan-membership"); value.Exists() {
		data.EnableTrapsVlanMembership = types.BoolValue(true)
	} else {
		data.EnableTrapsVlanMembership = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.errdisable"); value.Exists() {
		data.EnableTrapsErrdisable = types.BoolValue(true)
	} else {
		data.EnableTrapsErrdisable = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.rf"); value.Exists() {
		data.EnableTrapsRf = types.BoolValue(true)
	} else {
		data.EnableTrapsRf = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.transceiver.all"); value.Exists() {
		data.EnableTrapsTransceiverAll = types.BoolValue(true)
	} else {
		data.EnableTrapsTransceiverAll = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bulkstat.collection"); value.Exists() {
		data.EnableTrapsBulkstatCollection = types.BoolValue(true)
	} else {
		data.EnableTrapsBulkstatCollection = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bulkstat.transfer"); value.Exists() {
		data.EnableTrapsBulkstatTransfer = types.BoolValue(true)
	} else {
		data.EnableTrapsBulkstatTransfer = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mac-notification.change"); value.Exists() {
		data.EnableTrapsMacNotificationChange = types.BoolValue(true)
	} else {
		data.EnableTrapsMacNotificationChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mac-notification.move"); value.Exists() {
		data.EnableTrapsMacNotificationMove = types.BoolValue(true)
	} else {
		data.EnableTrapsMacNotificationMove = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mac-notification.threshold"); value.Exists() {
		data.EnableTrapsMacNotificationThreshold = types.BoolValue(true)
	} else {
		data.EnableTrapsMacNotificationThreshold = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrfmib.vrf-up"); value.Exists() {
		data.EnableTrapsVrfmibVrfUp = types.BoolValue(true)
	} else {
		data.EnableTrapsVrfmibVrfUp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrfmib.vrf-down"); value.Exists() {
		data.EnableTrapsVrfmibVrfDown = types.BoolValue(true)
	} else {
		data.EnableTrapsVrfmibVrfDown = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrfmib.vnet-trunk-up"); value.Exists() {
		data.EnableTrapsVrfmibVnetTrunkUp = types.BoolValue(true)
	} else {
		data.EnableTrapsVrfmibVnetTrunkUp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrfmib.vnet-trunk-down"); value.Exists() {
		data.EnableTrapsVrfmibVnetTrunkDown = types.BoolValue(true)
	} else {
		data.EnableTrapsVrfmibVnetTrunkDown = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.mvpn"); value.Exists() {
		data.EnableTrapsMvpn = types.BoolValue(true)
	} else {
		data.EnableTrapsMvpn = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.lisp"); value.Exists() {
		data.EnableTrapsLisp = types.BoolValue(true)
	} else {
		data.EnableTrapsLisp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.aaa_server"); value.Exists() {
		data.EnableTrapsAaaServer = types.BoolValue(true)
	} else {
		data.EnableTrapsAaaServer = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vdsl2line"); value.Exists() {
		data.EnableTrapsVdsl2line = types.BoolValue(true)
	} else {
		data.EnableTrapsVdsl2line = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.adslline"); value.Exists() {
		data.EnableTrapsAdslline = types.BoolValue(true)
	} else {
		data.EnableTrapsAdslline = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pki"); value.Exists() {
		data.EnableTrapsPki = types.BoolValue(true)
	} else {
		data.EnableTrapsPki = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.alarms.alarm-type"); value.Exists() {
		data.EnableTrapsAlarmType = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.casa"); value.Exists() {
		data.EnableTrapsCasa = types.BoolValue(true)
	} else {
		data.EnableTrapsCasa = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.cnpd"); value.Exists() {
		data.EnableTrapsCnpd = types.BoolValue(true)
	} else {
		data.EnableTrapsCnpd = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.dial"); value.Exists() {
		data.EnableTrapsDial = types.BoolValue(true)
	} else {
		data.EnableTrapsDial = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.dlsw"); value.Exists() {
		data.EnableTrapsDlsw = types.BoolValue(true)
	} else {
		data.EnableTrapsDlsw = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ds1"); value.Exists() {
		data.EnableTrapsDs1 = types.BoolValue(true)
	} else {
		data.EnableTrapsDs1 = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.dsp.card-status"); value.Exists() {
		data.EnableTrapsDspCardStatus = types.BoolValue(true)
	} else {
		data.EnableTrapsDspCardStatus = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.dsp.oper-state"); value.Exists() {
		data.EnableTrapsDspOperState = types.BoolValue(true)
	} else {
		data.EnableTrapsDspOperState = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-sensor"); value.Exists() {
		data.EnableTrapsEntitySensor = types.BoolValue(true)
	} else {
		data.EnableTrapsEntitySensor = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-state"); value.Exists() {
		data.EnableTrapsEntityState = types.BoolValue(true)
	} else {
		data.EnableTrapsEntityState = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-qfp.mem-res-thresh"); value.Exists() {
		data.EnableTrapsEntityQfpMemResThresh = types.BoolValue(true)
	} else {
		data.EnableTrapsEntityQfpMemResThresh = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.entity-qfp.throughput-notif"); value.Exists() {
		data.EnableTrapsEntityQfpThroughputNotif = types.BoolValue(true)
	} else {
		data.EnableTrapsEntityQfpThroughputNotif = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ether-oam"); value.Exists() {
		data.EnableTrapsEtherOam = types.BoolValue(true)
	} else {
		data.EnableTrapsEtherOam = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.alarm"); value.Exists() {
		data.EnableTrapsEthernetCfmAlarm = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmAlarm = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.config"); value.Exists() {
		data.EnableTrapsEthernetCfmCcConfig = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmCcConfig = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.cross-connect"); value.Exists() {
		data.EnableTrapsEthernetCfmCcCrossConnect = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmCcCrossConnect = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.loop"); value.Exists() {
		data.EnableTrapsEthernetCfmCcLoop = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmCcLoop = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.mep-down"); value.Exists() {
		data.EnableTrapsEthernetCfmCcMepDown = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmCcMepDown = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.cc.mep-up"); value.Exists() {
		data.EnableTrapsEthernetCfmCcMepUp = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmCcMepUp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.crosscheck.mep-missing"); value.Exists() {
		data.EnableTrapsEthernetCfmCrosscheckMepMissing = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmCrosscheckMepMissing = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.crosscheck.mep-unknown"); value.Exists() {
		data.EnableTrapsEthernetCfmCrosscheckMepUnknown = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmCrosscheckMepUnknown = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.cfm.crosscheck.service-up"); value.Exists() {
		data.EnableTrapsEthernetCfmCrosscheckServiceUp = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetCfmCrosscheckServiceUp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.evc.create"); value.Exists() {
		data.EnableTrapsEthernetEvcCreate = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetEvcCreate = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.evc.delete"); value.Exists() {
		data.EnableTrapsEthernetEvcDelete = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetEvcDelete = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ethernet.evc.status"); value.Exists() {
		data.EnableTrapsEthernetEvcStatus = types.BoolValue(true)
	} else {
		data.EnableTrapsEthernetEvcStatus = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.firewall.serverstatus"); value.Exists() {
		data.EnableTrapsFirewallServerstatus = types.BoolValue(true)
	} else {
		data.EnableTrapsFirewallServerstatus = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay-config.only-frame-relay.frame-relay"); value.Exists() {
		data.EnableTrapsFrameRelayConfigOnly = types.BoolValue(true)
	} else {
		data.EnableTrapsFrameRelayConfigOnly = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay-config.frame-relay-options.frame-relay.subif-configs.subif"); value.Exists() {
		data.EnableTrapsFrameRelayConfigSubifConfigs = types.BoolValue(true)
	} else {
		data.EnableTrapsFrameRelayConfigSubifConfigs = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay.subif.count"); value.Exists() {
		data.EnableTrapsFrameRelaySubifCount = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay.subif.interval"); value.Exists() {
		data.EnableTrapsFrameRelaySubifInterval = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay-config.frame-relay-options.frame-relay.multilink.bundle-mismatch"); value.Exists() {
		data.EnableTrapsFrameRelayConfigBundleMismatch = types.BoolValue(true)
	} else {
		data.EnableTrapsFrameRelayConfigBundleMismatch = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.frame-relay.multilink.bundle-mismatch"); value.Exists() {
		data.EnableTrapsFrameRelayMultilinkBundleMismatch = types.BoolValue(true)
	} else {
		data.EnableTrapsFrameRelayMultilinkBundleMismatch = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ip.local.pool"); value.Exists() {
		data.EnableTrapsIpLocalPool = types.BoolValue(true)
	} else {
		data.EnableTrapsIpLocalPool = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.isdn.call-information"); value.Exists() {
		data.EnableTrapsIsdnCallInformation = types.BoolValue(true)
	} else {
		data.EnableTrapsIsdnCallInformation = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.isdn.chan-not-avail"); value.Exists() {
		data.EnableTrapsIsdnChanNotAvail = types.BoolValue(true)
	} else {
		data.EnableTrapsIsdnChanNotAvail = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.isdn.ietf"); value.Exists() {
		data.EnableTrapsIsdnIetf = types.BoolValue(true)
	} else {
		data.EnableTrapsIsdnIetf = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.isdn.layer2"); value.Exists() {
		data.EnableTrapsIsdnLayer2 = types.BoolValue(true)
	} else {
		data.EnableTrapsIsdnLayer2 = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.l2tun.session"); value.Exists() {
		data.EnableTrapsL2tunSession = types.BoolValue(true)
	} else {
		data.EnableTrapsL2tunSession = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.l2tun.tunnel"); value.Exists() {
		data.EnableTrapsL2tunTunnel = types.BoolValue(true)
	} else {
		data.EnableTrapsL2tunTunnel = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.l2tun.pseudowire.status"); value.Exists() {
		data.EnableTrapsL2tunPseudowireStatus = types.BoolValue(true)
	} else {
		data.EnableTrapsL2tunPseudowireStatus = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.neighbor-loss"); value.Exists() {
		data.EnableTrapsPimstdmibNeighborLoss = types.BoolValue(true)
	} else {
		data.EnableTrapsPimstdmibNeighborLoss = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.invalid-register"); value.Exists() {
		data.EnableTrapsPimstdmibInvalidRegister = types.BoolValue(true)
	} else {
		data.EnableTrapsPimstdmibInvalidRegister = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.invalid-join-prune"); value.Exists() {
		data.EnableTrapsPimstdmibInvalidJoinPrune = types.BoolValue(true)
	} else {
		data.EnableTrapsPimstdmibInvalidJoinPrune = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.rp-mapping-change"); value.Exists() {
		data.EnableTrapsPimstdmibRpMappingChange = types.BoolValue(true)
	} else {
		data.EnableTrapsPimstdmibRpMappingChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pimstdmib.interface-election"); value.Exists() {
		data.EnableTrapsPimstdmibInterfaceElection = types.BoolValue(true)
	} else {
		data.EnableTrapsPimstdmibInterfaceElection = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pfr"); value.Exists() {
		data.EnableTrapsPfr = types.BoolValue(true)
	} else {
		data.EnableTrapsPfr = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.pppoe"); value.Exists() {
		data.EnableTrapsPppoe = types.BoolValue(true)
	} else {
		data.EnableTrapsPppoe = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.resource-policy"); value.Exists() {
		data.EnableTrapsResourcePolicy = types.BoolValue(true)
	} else {
		data.EnableTrapsResourcePolicy = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.rsvp"); value.Exists() {
		data.EnableTrapsRsvp = types.BoolValue(true)
	} else {
		data.EnableTrapsRsvp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.vrrp"); value.Exists() {
		data.EnableTrapsVrrp = types.BoolValue(true)
	} else {
		data.EnableTrapsVrrp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.sonet"); value.Exists() {
		data.EnableTrapsSonet = types.BoolValue(true)
	} else {
		data.EnableTrapsSonet = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.srp"); value.Exists() {
		data.EnableTrapsSrp = types.BoolValue(true)
	} else {
		data.EnableTrapsSrp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.voice"); value.Exists() {
		data.EnableTrapsVoice = types.BoolValue(true)
	} else {
		data.EnableTrapsVoice = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bgp"); value.Exists() {
		data.EnableTrapsBgp = types.BoolValue(true)
	} else {
		data.EnableTrapsBgp = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.bgp-traps.cbgp2"); value.Exists() {
		data.EnableTrapsCbgp2 = types.BoolValue(true)
	} else {
		data.EnableTrapsCbgp2 = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ospfv3.errors"); value.Exists() {
		data.EnableTrapsOspfv3Errors = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfv3Errors = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:enable.enable-choice.traps.ospfv3.state-change"); value.Exists() {
		data.EnableTrapsOspfv3StateChange = types.BoolValue(true)
	} else {
		data.EnableTrapsOspfv3StateChange = types.BoolValue(false)
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.GigabitEthernet"); value.Exists() {
		data.SourceInterfaceInformsGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.TenGigabitEthernet"); value.Exists() {
		data.SourceInterfaceInformsTenGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.FortyGigabitEthernet"); value.Exists() {
		data.SourceInterfaceInformsFortyGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.HundredGigE"); value.Exists() {
		data.SourceInterfaceInformsHundredGigE = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.Loopback"); value.Exists() {
		data.SourceInterfaceInformsLoopback = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.Port-channel"); value.Exists() {
		data.SourceInterfaceInformsPortChannel = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.Port-channel-subinterface.Port-channel"); value.Exists() {
		data.SourceInterfaceInformsPortChannelSubinterface = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.informs.Vlan"); value.Exists() {
		data.SourceInterfaceInformsVlan = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.GigabitEthernet"); value.Exists() {
		data.SourceInterfaceTrapsGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.TenGigabitEthernet"); value.Exists() {
		data.SourceInterfaceTrapsTenGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.FortyGigabitEthernet"); value.Exists() {
		data.SourceInterfaceTrapsFortyGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.HundredGigE"); value.Exists() {
		data.SourceInterfaceTrapsHundredGigE = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.Loopback"); value.Exists() {
		data.SourceInterfaceTrapsLoopback = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.Port-channel"); value.Exists() {
		data.SourceInterfaceTrapsPortChannel = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.Port-channel-subinterface.Port-channel"); value.Exists() {
		data.SourceInterfaceTrapsPortChannelSubinterface = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:source-interface.traps.Vlan"); value.Exists() {
		data.SourceInterfaceTrapsVlan = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.GigabitEthernet"); value.Exists() {
		data.TrapSourceGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.TenGigabitEthernet"); value.Exists() {
		data.TrapSourceTenGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.FortyGigabitEthernet"); value.Exists() {
		data.TrapSourceFortyGigabitEthernet = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.HundredGigE"); value.Exists() {
		data.TrapSourceHundredGigE = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.Loopback"); value.Exists() {
		data.TrapSourceLoopback = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.Port-channel"); value.Exists() {
		data.TrapSourcePortChannel = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.Port-channel-subinterface.Port-channel"); value.Exists() {
		data.TrapSourcePortChannelSubinterface = types.StringValue(value.String())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:trap-source.Vlan"); value.Exists() {
		data.TrapSourceVlan = types.Int64Value(value.Int())
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:community-config"); value.Exists() {
		data.SnmpCommunities = make([]SNMPServerSnmpCommunities, 0)
		value.ForEach(func(k, v gjson.Result) bool {
			item := SNMPServerSnmpCommunities{}
			if cValue := v.Get("name"); cValue.Exists() {
				item.Name = types.StringValue(cValue.String())
			}
			if cValue := v.Get("view"); cValue.Exists() {
				item.View = types.StringValue(cValue.String())
			}
			if cValue := v.Get("permission"); cValue.Exists() {
				item.Permission = types.StringValue(cValue.String())
			}
			if cValue := v.Get("ipv6"); cValue.Exists() {
				item.Ipv6 = types.StringValue(cValue.String())
			}
			if cValue := v.Get("access-list-name"); cValue.Exists() {
				item.AccessListName = types.StringValue(cValue.String())
			}
			data.SnmpCommunities = append(data.SnmpCommunities, item)
			return true
		})
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:context"); value.Exists() {
		data.Contexts = make([]SNMPServerContexts, 0)
		value.ForEach(func(k, v gjson.Result) bool {
			item := SNMPServerContexts{}
			if cValue := v.Get("name"); cValue.Exists() {
				item.Name = types.StringValue(cValue.String())
			}
			data.Contexts = append(data.Contexts, item)
			return true
		})
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:view"); value.Exists() {
		data.Views = make([]SNMPServerViews, 0)
		value.ForEach(func(k, v gjson.Result) bool {
			item := SNMPServerViews{}
			if cValue := v.Get("name"); cValue.Exists() {
				item.Name = types.StringValue(cValue.String())
			}
			if cValue := v.Get("mib"); cValue.Exists() {
				item.Mib = types.StringValue(cValue.String())
			}
			if cValue := v.Get("inc-exl"); cValue.Exists() {
				item.IncExl = types.StringValue(cValue.String())
			}
			data.Views = append(data.Views, item)
			return true
		})
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:group"); value.Exists() {
		data.Groups = make([]SNMPServerGroups, 0)
		value.ForEach(func(k, v gjson.Result) bool {
			item := SNMPServerGroups{}
			if cValue := v.Get("id"); cValue.Exists() {
				item.Name = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.security-level-list"); cValue.Exists() {
				item.V3Security = make([]SNMPServerGroupsV3Security, 0)
				cValue.ForEach(func(ck, cv gjson.Result) bool {
					cItem := SNMPServerGroupsV3Security{}
					if ccValue := cv.Get("security-level"); ccValue.Exists() {
						cItem.SecurityLevel = types.StringValue(ccValue.String())
					}
					if ccValue := cv.Get("context-node"); ccValue.Exists() {
						cItem.ContextNode = types.StringValue(ccValue.String())
					}
					if ccValue := cv.Get("match-node"); ccValue.Exists() {
						cItem.MatchNode = types.StringValue(ccValue.String())
					}
					if ccValue := cv.Get("read-node"); ccValue.Exists() {
						cItem.ReadNode = types.StringValue(ccValue.String())
					}
					if ccValue := cv.Get("write-node"); ccValue.Exists() {
						cItem.WriteNode = types.StringValue(ccValue.String())
					}
					if ccValue := cv.Get("notify-node"); ccValue.Exists() {
						cItem.NotifyNode = types.StringValue(ccValue.String())
					}
					if ccValue := cv.Get("access-config.ipv6-acl"); ccValue.Exists() {
						cItem.AccessIpv6Acl = types.StringValue(ccValue.String())
					}
					if ccValue := cv.Get("access-config.standard-acl"); ccValue.Exists() {
						cItem.AccessStandardAcl = types.Int64Value(ccValue.Int())
					}
					if ccValue := cv.Get("access-config.acl-name"); ccValue.Exists() {
						cItem.AccessAclName = types.StringValue(ccValue.String())
					}
					item.V3Security = append(item.V3Security, cItem)
					return true
				})
			}
			data.Groups = append(data.Groups, item)
			return true
		})
	}
	if value := res.Get(prefix + "Cisco-IOS-XE-snmp:user.names"); value.Exists() {
		data.Users = make([]SNMPServerUsers, 0)
		value.ForEach(func(k, v gjson.Result) bool {
			item := SNMPServerUsers{}
			if cValue := v.Get("username"); cValue.Exists() {
				item.Username = types.StringValue(cValue.String())
			}
			if cValue := v.Get("grpname"); cValue.Exists() {
				item.Grpname = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.algorithm"); cValue.Exists() {
				item.V3AuthAlgorithm = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.password"); cValue.Exists() {
				item.V3AuthPassword = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.aes.algorithm"); cValue.Exists() {
				item.V3AuthPrivAesAlgorithm = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.aes.password"); cValue.Exists() {
				item.V3AuthPrivAesPassword = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.aes.access-config.ipv6-acl"); cValue.Exists() {
				item.V3AuthPrivAesAccessIpv6Acl = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.aes.access-config.standard-acl"); cValue.Exists() {
				item.V3AuthPrivAesAccessStandardAcl = types.Int64Value(cValue.Int())
			}
			if cValue := v.Get("v3.auth-config.priv-config.aes.access-config.acl-name"); cValue.Exists() {
				item.V3AuthPrivAesAccessAclName = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.des.password"); cValue.Exists() {
				item.V3AuthPrivDesPassword = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.des.access-config.ipv6-acl"); cValue.Exists() {
				item.V3AuthPrivDesAccessIpv6Acl = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.des.access-config.standard-acl"); cValue.Exists() {
				item.V3AuthPrivDesAccessStandardAcl = types.Int64Value(cValue.Int())
			}
			if cValue := v.Get("v3.auth-config.priv-config.des.access-config.acl-name"); cValue.Exists() {
				item.V3AuthPrivDesAccessAclName = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.des3.password"); cValue.Exists() {
				item.V3AuthPrivDes3Password = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.des3.access-config.ipv6-acl"); cValue.Exists() {
				item.V3AuthPrivDes3AccessIpv6Acl = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.priv-config.des3.access-config.standard-acl"); cValue.Exists() {
				item.V3AuthPrivDes3AccessStandardAcl = types.Int64Value(cValue.Int())
			}
			if cValue := v.Get("v3.auth-config.priv-config.des3.access-config.acl-name"); cValue.Exists() {
				item.V3AuthPrivDes3AccessAclName = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.access-config.ipv6-acl"); cValue.Exists() {
				item.V3AuthAccessIpv6Acl = types.StringValue(cValue.String())
			}
			if cValue := v.Get("v3.auth-config.access-config.standard-acl"); cValue.Exists() {
				item.V3AuthAccessStandardAcl = types.Int64Value(cValue.Int())
			}
			if cValue := v.Get("v3.auth-config.access-config.acl-name"); cValue.Exists() {
				item.V3AuthAccessAclName = types.StringValue(cValue.String())
			}
			data.Users = append(data.Users, item)
			return true
		})
	}
}

// End of section. //template:end fromBodyData

// Section below is generated&owned by "gen/generator.go". //template:begin getDeletedItems

func (data *SNMPServer) getDeletedItems(ctx context.Context, state SNMPServer) []string {
	deletedItems := make([]string, 0)
	for i := range state.Users {
		stateKeyValues := [...]string{state.Users[i].Username.ValueString(), state.Users[i].Grpname.ValueString()}

		emptyKeys := true
		if !reflect.ValueOf(state.Users[i].Username.ValueString()).IsZero() {
			emptyKeys = false
		}
		if !reflect.ValueOf(state.Users[i].Grpname.ValueString()).IsZero() {
			emptyKeys = false
		}
		if emptyKeys {
			continue
		}

		found := false
		for j := range data.Users {
			found = true
			if state.Users[i].Username.ValueString() != data.Users[j].Username.ValueString() {
				found = false
			}
			if state.Users[i].Grpname.ValueString() != data.Users[j].Grpname.ValueString() {
				found = false
			}
			if found {
				if !state.Users[i].V3AuthAccessAclName.IsNull() && data.Users[j].V3AuthAccessAclName.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/access-config/acl-name", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthAccessStandardAcl.IsNull() && data.Users[j].V3AuthAccessStandardAcl.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/access-config/standard-acl", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthAccessIpv6Acl.IsNull() && data.Users[j].V3AuthAccessIpv6Acl.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/access-config/ipv6-acl", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthPrivDes3AccessAclName.IsNull() && data.Users[j].V3AuthPrivDes3AccessAclName.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/priv-config/des3/access-config/acl-name", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthPrivDes3AccessStandardAcl.IsNull() && data.Users[j].V3AuthPrivDes3AccessStandardAcl.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/priv-config/des3/access-config/standard-acl", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthPrivDes3AccessIpv6Acl.IsNull() && data.Users[j].V3AuthPrivDes3AccessIpv6Acl.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/priv-config/des3/access-config/ipv6-acl", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthPrivDes3Password.IsNull() && data.Users[j].V3AuthPrivDes3Password.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/priv-config/des3/password", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthPrivDesAccessAclName.IsNull() && data.Users[j].V3AuthPrivDesAccessAclName.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/priv-config/des/access-config/acl-name", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthPrivDesAccessStandardAcl.IsNull() && data.Users[j].V3AuthPrivDesAccessStandardAcl.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/priv-config/des/access-config/standard-acl", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthPrivDesAccessIpv6Acl.IsNull() && data.Users[j].V3AuthPrivDesAccessIpv6Acl.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/priv-config/des/access-config/ipv6-acl", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthPrivDesPassword.IsNull() && data.Users[j].V3AuthPrivDesPassword.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/priv-config/des/password", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthPrivAesAccessAclName.IsNull() && data.Users[j].V3AuthPrivAesAccessAclName.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/priv-config/aes/access-config/acl-name", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthPrivAesAccessStandardAcl.IsNull() && data.Users[j].V3AuthPrivAesAccessStandardAcl.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/priv-config/aes/access-config/standard-acl", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthPrivAesAccessIpv6Acl.IsNull() && data.Users[j].V3AuthPrivAesAccessIpv6Acl.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/priv-config/aes/access-config/ipv6-acl", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthPrivAesPassword.IsNull() && data.Users[j].V3AuthPrivAesPassword.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/priv-config/aes/password", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthPrivAesAlgorithm.IsNull() && data.Users[j].V3AuthPrivAesAlgorithm.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/priv-config/aes/algorithm", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthPassword.IsNull() && data.Users[j].V3AuthPassword.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/password", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Users[i].V3AuthAlgorithm.IsNull() && data.Users[j].V3AuthAlgorithm.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v/v3/auth-config/algorithm", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				break
			}
		}
		if !found {
			deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v", state.getPath(), strings.Join(stateKeyValues[:], ",")))
		}
	}
	for i := range state.Groups {
		stateKeyValues := [...]string{state.Groups[i].Name.ValueString()}

		emptyKeys := true
		if !reflect.ValueOf(state.Groups[i].Name.ValueString()).IsZero() {
			emptyKeys = false
		}
		if emptyKeys {
			continue
		}

		found := false
		for j := range data.Groups {
			found = true
			if state.Groups[i].Name.ValueString() != data.Groups[j].Name.ValueString() {
				found = false
			}
			if found {
				for ci := range state.Groups[i].V3Security {
					cstateKeyValues := [...]string{state.Groups[i].V3Security[ci].SecurityLevel.ValueString()}

					cemptyKeys := true
					if !reflect.ValueOf(state.Groups[i].V3Security[ci].SecurityLevel.ValueString()).IsZero() {
						cemptyKeys = false
					}
					if cemptyKeys {
						continue
					}

					found := false
					for cj := range data.Groups[j].V3Security {
						found = true
						if state.Groups[i].V3Security[ci].SecurityLevel.ValueString() != data.Groups[j].V3Security[cj].SecurityLevel.ValueString() {
							found = false
						}
						if found {
							if !state.Groups[i].V3Security[ci].AccessAclName.IsNull() && data.Groups[j].V3Security[cj].AccessAclName.IsNull() {
								deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:group=%v/v3/security-level-list=%v/access-config/acl-name", state.getPath(), strings.Join(stateKeyValues[:], ","), strings.Join(cstateKeyValues[:], ",")))
							}
							if !state.Groups[i].V3Security[ci].AccessStandardAcl.IsNull() && data.Groups[j].V3Security[cj].AccessStandardAcl.IsNull() {
								deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:group=%v/v3/security-level-list=%v/access-config/standard-acl", state.getPath(), strings.Join(stateKeyValues[:], ","), strings.Join(cstateKeyValues[:], ",")))
							}
							if !state.Groups[i].V3Security[ci].AccessIpv6Acl.IsNull() && data.Groups[j].V3Security[cj].AccessIpv6Acl.IsNull() {
								deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:group=%v/v3/security-level-list=%v/access-config/ipv6-acl", state.getPath(), strings.Join(stateKeyValues[:], ","), strings.Join(cstateKeyValues[:], ",")))
							}
							if !state.Groups[i].V3Security[ci].NotifyNode.IsNull() && data.Groups[j].V3Security[cj].NotifyNode.IsNull() {
								deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:group=%v/v3/security-level-list=%v/notify-node", state.getPath(), strings.Join(stateKeyValues[:], ","), strings.Join(cstateKeyValues[:], ",")))
							}
							if !state.Groups[i].V3Security[ci].WriteNode.IsNull() && data.Groups[j].V3Security[cj].WriteNode.IsNull() {
								deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:group=%v/v3/security-level-list=%v/write-node", state.getPath(), strings.Join(stateKeyValues[:], ","), strings.Join(cstateKeyValues[:], ",")))
							}
							if !state.Groups[i].V3Security[ci].ReadNode.IsNull() && data.Groups[j].V3Security[cj].ReadNode.IsNull() {
								deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:group=%v/v3/security-level-list=%v/read-node", state.getPath(), strings.Join(stateKeyValues[:], ","), strings.Join(cstateKeyValues[:], ",")))
							}
							if !state.Groups[i].V3Security[ci].MatchNode.IsNull() && data.Groups[j].V3Security[cj].MatchNode.IsNull() {
								deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:group=%v/v3/security-level-list=%v/match-node", state.getPath(), strings.Join(stateKeyValues[:], ","), strings.Join(cstateKeyValues[:], ",")))
							}
							if !state.Groups[i].V3Security[ci].ContextNode.IsNull() && data.Groups[j].V3Security[cj].ContextNode.IsNull() {
								deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:group=%v/v3/security-level-list=%v/context-node", state.getPath(), strings.Join(stateKeyValues[:], ","), strings.Join(cstateKeyValues[:], ",")))
							}
							break
						}
					}
					if !found {
						deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:group=%v/v3/security-level-list=%v", state.getPath(), strings.Join(stateKeyValues[:], ","), strings.Join(cstateKeyValues[:], ",")))
					}
				}
				break
			}
		}
		if !found {
			deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:group=%v", state.getPath(), strings.Join(stateKeyValues[:], ",")))
		}
	}
	for i := range state.Views {
		stateKeyValues := [...]string{state.Views[i].Name.ValueString(), state.Views[i].Mib.ValueString()}

		emptyKeys := true
		if !reflect.ValueOf(state.Views[i].Name.ValueString()).IsZero() {
			emptyKeys = false
		}
		if !reflect.ValueOf(state.Views[i].Mib.ValueString()).IsZero() {
			emptyKeys = false
		}
		if emptyKeys {
			continue
		}

		found := false
		for j := range data.Views {
			found = true
			if state.Views[i].Name.ValueString() != data.Views[j].Name.ValueString() {
				found = false
			}
			if state.Views[i].Mib.ValueString() != data.Views[j].Mib.ValueString() {
				found = false
			}
			if found {
				if !state.Views[i].IncExl.IsNull() && data.Views[j].IncExl.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:view=%v/inc-exl", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				break
			}
		}
		if !found {
			deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:view=%v", state.getPath(), strings.Join(stateKeyValues[:], ",")))
		}
	}
	for i := range state.Contexts {
		stateKeyValues := [...]string{state.Contexts[i].Name.ValueString()}

		emptyKeys := true
		if !reflect.ValueOf(state.Contexts[i].Name.ValueString()).IsZero() {
			emptyKeys = false
		}
		if emptyKeys {
			continue
		}

		found := false
		for j := range data.Contexts {
			found = true
			if state.Contexts[i].Name.ValueString() != data.Contexts[j].Name.ValueString() {
				found = false
			}
			if found {
				break
			}
		}
		if !found {
			deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:context=%v", state.getPath(), strings.Join(stateKeyValues[:], ",")))
		}
	}
	for i := range state.SnmpCommunities {
		stateKeyValues := [...]string{state.SnmpCommunities[i].Name.ValueString()}

		emptyKeys := true
		if !reflect.ValueOf(state.SnmpCommunities[i].Name.ValueString()).IsZero() {
			emptyKeys = false
		}
		if emptyKeys {
			continue
		}

		found := false
		for j := range data.SnmpCommunities {
			found = true
			if state.SnmpCommunities[i].Name.ValueString() != data.SnmpCommunities[j].Name.ValueString() {
				found = false
			}
			if found {
				if !state.SnmpCommunities[i].AccessListName.IsNull() && data.SnmpCommunities[j].AccessListName.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:community-config=%v/access-list-name", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.SnmpCommunities[i].Ipv6.IsNull() && data.SnmpCommunities[j].Ipv6.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:community-config=%v/ipv6", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.SnmpCommunities[i].Permission.IsNull() && data.SnmpCommunities[j].Permission.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:community-config=%v/permission", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.SnmpCommunities[i].View.IsNull() && data.SnmpCommunities[j].View.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:community-config=%v/view", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				break
			}
		}
		if !found {
			deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:community-config=%v", state.getPath(), strings.Join(stateKeyValues[:], ",")))
		}
	}
	if !state.TrapSourceVlan.IsNull() && data.TrapSourceVlan.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:trap-source/Vlan", state.getPath()))
	}
	if !state.TrapSourcePortChannelSubinterface.IsNull() && data.TrapSourcePortChannelSubinterface.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:trap-source/Port-channel-subinterface/Port-channel", state.getPath()))
	}
	if !state.TrapSourcePortChannel.IsNull() && data.TrapSourcePortChannel.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:trap-source/Port-channel", state.getPath()))
	}
	if !state.TrapSourceLoopback.IsNull() && data.TrapSourceLoopback.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:trap-source/Loopback", state.getPath()))
	}
	if !state.TrapSourceHundredGigE.IsNull() && data.TrapSourceHundredGigE.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:trap-source/HundredGigE", state.getPath()))
	}
	if !state.TrapSourceFortyGigabitEthernet.IsNull() && data.TrapSourceFortyGigabitEthernet.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:trap-source/FortyGigabitEthernet", state.getPath()))
	}
	if !state.TrapSourceTenGigabitEthernet.IsNull() && data.TrapSourceTenGigabitEthernet.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:trap-source/TenGigabitEthernet", state.getPath()))
	}
	if !state.TrapSourceGigabitEthernet.IsNull() && data.TrapSourceGigabitEthernet.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:trap-source/GigabitEthernet", state.getPath()))
	}
	if !state.SourceInterfaceTrapsVlan.IsNull() && data.SourceInterfaceTrapsVlan.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/traps/Vlan", state.getPath()))
	}
	if !state.SourceInterfaceTrapsPortChannelSubinterface.IsNull() && data.SourceInterfaceTrapsPortChannelSubinterface.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/traps/Port-channel-subinterface/Port-channel", state.getPath()))
	}
	if !state.SourceInterfaceTrapsPortChannel.IsNull() && data.SourceInterfaceTrapsPortChannel.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/traps/Port-channel", state.getPath()))
	}
	if !state.SourceInterfaceTrapsLoopback.IsNull() && data.SourceInterfaceTrapsLoopback.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/traps/Loopback", state.getPath()))
	}
	if !state.SourceInterfaceTrapsHundredGigE.IsNull() && data.SourceInterfaceTrapsHundredGigE.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/traps/HundredGigE", state.getPath()))
	}
	if !state.SourceInterfaceTrapsFortyGigabitEthernet.IsNull() && data.SourceInterfaceTrapsFortyGigabitEthernet.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/traps/FortyGigabitEthernet", state.getPath()))
	}
	if !state.SourceInterfaceTrapsTenGigabitEthernet.IsNull() && data.SourceInterfaceTrapsTenGigabitEthernet.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/traps/TenGigabitEthernet", state.getPath()))
	}
	if !state.SourceInterfaceTrapsGigabitEthernet.IsNull() && data.SourceInterfaceTrapsGigabitEthernet.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/traps/GigabitEthernet", state.getPath()))
	}
	if !state.SourceInterfaceInformsVlan.IsNull() && data.SourceInterfaceInformsVlan.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/informs/Vlan", state.getPath()))
	}
	if !state.SourceInterfaceInformsPortChannelSubinterface.IsNull() && data.SourceInterfaceInformsPortChannelSubinterface.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/informs/Port-channel-subinterface/Port-channel", state.getPath()))
	}
	if !state.SourceInterfaceInformsPortChannel.IsNull() && data.SourceInterfaceInformsPortChannel.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/informs/Port-channel", state.getPath()))
	}
	if !state.SourceInterfaceInformsLoopback.IsNull() && data.SourceInterfaceInformsLoopback.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/informs/Loopback", state.getPath()))
	}
	if !state.SourceInterfaceInformsHundredGigE.IsNull() && data.SourceInterfaceInformsHundredGigE.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/informs/HundredGigE", state.getPath()))
	}
	if !state.SourceInterfaceInformsFortyGigabitEthernet.IsNull() && data.SourceInterfaceInformsFortyGigabitEthernet.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/informs/FortyGigabitEthernet", state.getPath()))
	}
	if !state.SourceInterfaceInformsTenGigabitEthernet.IsNull() && data.SourceInterfaceInformsTenGigabitEthernet.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/informs/TenGigabitEthernet", state.getPath()))
	}
	if !state.SourceInterfaceInformsGigabitEthernet.IsNull() && data.SourceInterfaceInformsGigabitEthernet.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/informs/GigabitEthernet", state.getPath()))
	}
	if !state.EnableTrapsOspfv3StateChange.IsNull() && data.EnableTrapsOspfv3StateChange.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ospfv3/state-change", state.getPath()))
	}
	if !state.EnableTrapsOspfv3Errors.IsNull() && data.EnableTrapsOspfv3Errors.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ospfv3/errors", state.getPath()))
	}
	if !state.EnableTrapsCbgp2.IsNull() && data.EnableTrapsCbgp2.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bgp-traps/cbgp2", state.getPath()))
	}
	if !state.EnableTrapsBgp.IsNull() && data.EnableTrapsBgp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bgp", state.getPath()))
	}
	if !state.EnableTrapsVoice.IsNull() && data.EnableTrapsVoice.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/voice", state.getPath()))
	}
	if !state.EnableTrapsSrp.IsNull() && data.EnableTrapsSrp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/srp", state.getPath()))
	}
	if !state.EnableTrapsSonet.IsNull() && data.EnableTrapsSonet.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/sonet", state.getPath()))
	}
	if !state.EnableTrapsVrrp.IsNull() && data.EnableTrapsVrrp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vrrp", state.getPath()))
	}
	if !state.EnableTrapsRsvp.IsNull() && data.EnableTrapsRsvp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/rsvp", state.getPath()))
	}
	if !state.EnableTrapsResourcePolicy.IsNull() && data.EnableTrapsResourcePolicy.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/resource-policy", state.getPath()))
	}
	if !state.EnableTrapsPppoe.IsNull() && data.EnableTrapsPppoe.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pppoe", state.getPath()))
	}
	if !state.EnableTrapsPfr.IsNull() && data.EnableTrapsPfr.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pfr", state.getPath()))
	}
	if !state.EnableTrapsPimstdmibInterfaceElection.IsNull() && data.EnableTrapsPimstdmibInterfaceElection.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pimstdmib/interface-election", state.getPath()))
	}
	if !state.EnableTrapsPimstdmibRpMappingChange.IsNull() && data.EnableTrapsPimstdmibRpMappingChange.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pimstdmib/rp-mapping-change", state.getPath()))
	}
	if !state.EnableTrapsPimstdmibInvalidJoinPrune.IsNull() && data.EnableTrapsPimstdmibInvalidJoinPrune.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pimstdmib/invalid-join-prune", state.getPath()))
	}
	if !state.EnableTrapsPimstdmibInvalidRegister.IsNull() && data.EnableTrapsPimstdmibInvalidRegister.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pimstdmib/invalid-register", state.getPath()))
	}
	if !state.EnableTrapsPimstdmibNeighborLoss.IsNull() && data.EnableTrapsPimstdmibNeighborLoss.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pimstdmib/neighbor-loss", state.getPath()))
	}
	if !state.EnableTrapsL2tunPseudowireStatus.IsNull() && data.EnableTrapsL2tunPseudowireStatus.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/l2tun/pseudowire/status", state.getPath()))
	}
	if !state.EnableTrapsL2tunTunnel.IsNull() && data.EnableTrapsL2tunTunnel.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/l2tun/tunnel", state.getPath()))
	}
	if !state.EnableTrapsL2tunSession.IsNull() && data.EnableTrapsL2tunSession.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/l2tun/session", state.getPath()))
	}
	if !state.EnableTrapsIsdnLayer2.IsNull() && data.EnableTrapsIsdnLayer2.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/isdn/layer2", state.getPath()))
	}
	if !state.EnableTrapsIsdnIetf.IsNull() && data.EnableTrapsIsdnIetf.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/isdn/ietf", state.getPath()))
	}
	if !state.EnableTrapsIsdnChanNotAvail.IsNull() && data.EnableTrapsIsdnChanNotAvail.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/isdn/chan-not-avail", state.getPath()))
	}
	if !state.EnableTrapsIsdnCallInformation.IsNull() && data.EnableTrapsIsdnCallInformation.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/isdn/call-information", state.getPath()))
	}
	if !state.EnableTrapsIpLocalPool.IsNull() && data.EnableTrapsIpLocalPool.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ip/local/pool", state.getPath()))
	}
	if !state.EnableTrapsFrameRelayMultilinkBundleMismatch.IsNull() && data.EnableTrapsFrameRelayMultilinkBundleMismatch.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/frame-relay/multilink/bundle-mismatch", state.getPath()))
	}
	if !state.EnableTrapsFrameRelayConfigBundleMismatch.IsNull() && data.EnableTrapsFrameRelayConfigBundleMismatch.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/frame-relay-config/frame-relay-options/frame-relay/multilink/bundle-mismatch", state.getPath()))
	}
	if !state.EnableTrapsFrameRelaySubifInterval.IsNull() && data.EnableTrapsFrameRelaySubifInterval.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/frame-relay/subif/interval", state.getPath()))
	}
	if !state.EnableTrapsFrameRelaySubifCount.IsNull() && data.EnableTrapsFrameRelaySubifCount.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/frame-relay/subif/count", state.getPath()))
	}
	if !state.EnableTrapsFrameRelayConfigSubifConfigs.IsNull() && data.EnableTrapsFrameRelayConfigSubifConfigs.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/frame-relay-config/frame-relay-options/frame-relay/subif-configs/subif", state.getPath()))
	}
	if !state.EnableTrapsFrameRelayConfigOnly.IsNull() && data.EnableTrapsFrameRelayConfigOnly.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/frame-relay-config/only-frame-relay/frame-relay", state.getPath()))
	}
	if !state.EnableTrapsFirewallServerstatus.IsNull() && data.EnableTrapsFirewallServerstatus.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/firewall/serverstatus", state.getPath()))
	}
	if !state.EnableTrapsEthernetEvcStatus.IsNull() && data.EnableTrapsEthernetEvcStatus.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/evc/status", state.getPath()))
	}
	if !state.EnableTrapsEthernetEvcDelete.IsNull() && data.EnableTrapsEthernetEvcDelete.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/evc/delete", state.getPath()))
	}
	if !state.EnableTrapsEthernetEvcCreate.IsNull() && data.EnableTrapsEthernetEvcCreate.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/evc/create", state.getPath()))
	}
	if !state.EnableTrapsEthernetCfmCrosscheckServiceUp.IsNull() && data.EnableTrapsEthernetCfmCrosscheckServiceUp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/crosscheck/service-up", state.getPath()))
	}
	if !state.EnableTrapsEthernetCfmCrosscheckMepUnknown.IsNull() && data.EnableTrapsEthernetCfmCrosscheckMepUnknown.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/crosscheck/mep-unknown", state.getPath()))
	}
	if !state.EnableTrapsEthernetCfmCrosscheckMepMissing.IsNull() && data.EnableTrapsEthernetCfmCrosscheckMepMissing.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/crosscheck/mep-missing", state.getPath()))
	}
	if !state.EnableTrapsEthernetCfmCcMepUp.IsNull() && data.EnableTrapsEthernetCfmCcMepUp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/cc/mep-up", state.getPath()))
	}
	if !state.EnableTrapsEthernetCfmCcMepDown.IsNull() && data.EnableTrapsEthernetCfmCcMepDown.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/cc/mep-down", state.getPath()))
	}
	if !state.EnableTrapsEthernetCfmCcLoop.IsNull() && data.EnableTrapsEthernetCfmCcLoop.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/cc/loop", state.getPath()))
	}
	if !state.EnableTrapsEthernetCfmCcCrossConnect.IsNull() && data.EnableTrapsEthernetCfmCcCrossConnect.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/cc/cross-connect", state.getPath()))
	}
	if !state.EnableTrapsEthernetCfmCcConfig.IsNull() && data.EnableTrapsEthernetCfmCcConfig.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/cc/config", state.getPath()))
	}
	if !state.EnableTrapsEthernetCfmAlarm.IsNull() && data.EnableTrapsEthernetCfmAlarm.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/alarm", state.getPath()))
	}
	if !state.EnableTrapsEtherOam.IsNull() && data.EnableTrapsEtherOam.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ether-oam", state.getPath()))
	}
	if !state.EnableTrapsEntityQfpThroughputNotif.IsNull() && data.EnableTrapsEntityQfpThroughputNotif.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-qfp/throughput-notif", state.getPath()))
	}
	if !state.EnableTrapsEntityQfpMemResThresh.IsNull() && data.EnableTrapsEntityQfpMemResThresh.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-qfp/mem-res-thresh", state.getPath()))
	}
	if !state.EnableTrapsEntityState.IsNull() && data.EnableTrapsEntityState.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-state", state.getPath()))
	}
	if !state.EnableTrapsEntitySensor.IsNull() && data.EnableTrapsEntitySensor.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-sensor", state.getPath()))
	}
	if !state.EnableTrapsDspOperState.IsNull() && data.EnableTrapsDspOperState.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/dsp/oper-state", state.getPath()))
	}
	if !state.EnableTrapsDspCardStatus.IsNull() && data.EnableTrapsDspCardStatus.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/dsp/card-status", state.getPath()))
	}
	if !state.EnableTrapsDs1.IsNull() && data.EnableTrapsDs1.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ds1", state.getPath()))
	}
	if !state.EnableTrapsDlsw.IsNull() && data.EnableTrapsDlsw.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/dlsw", state.getPath()))
	}
	if !state.EnableTrapsDial.IsNull() && data.EnableTrapsDial.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/dial", state.getPath()))
	}
	if !state.EnableTrapsCnpd.IsNull() && data.EnableTrapsCnpd.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cnpd", state.getPath()))
	}
	if !state.EnableTrapsCasa.IsNull() && data.EnableTrapsCasa.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/casa", state.getPath()))
	}
	if !state.EnableTrapsAlarmType.IsNull() && data.EnableTrapsAlarmType.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/alarms/alarm-type", state.getPath()))
	}
	if !state.EnableTrapsPki.IsNull() && data.EnableTrapsPki.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pki", state.getPath()))
	}
	if !state.EnableTrapsAdslline.IsNull() && data.EnableTrapsAdslline.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/adslline", state.getPath()))
	}
	if !state.EnableTrapsVdsl2line.IsNull() && data.EnableTrapsVdsl2line.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vdsl2line", state.getPath()))
	}
	if !state.EnableTrapsAaaServer.IsNull() && data.EnableTrapsAaaServer.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/aaa_server", state.getPath()))
	}
	if !state.EnableTrapsLisp.IsNull() && data.EnableTrapsLisp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/lisp", state.getPath()))
	}
	if !state.EnableTrapsMvpn.IsNull() && data.EnableTrapsMvpn.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mvpn", state.getPath()))
	}
	if !state.EnableTrapsVrfmibVnetTrunkDown.IsNull() && data.EnableTrapsVrfmibVnetTrunkDown.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vrfmib/vnet-trunk-down", state.getPath()))
	}
	if !state.EnableTrapsVrfmibVnetTrunkUp.IsNull() && data.EnableTrapsVrfmibVnetTrunkUp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vrfmib/vnet-trunk-up", state.getPath()))
	}
	if !state.EnableTrapsVrfmibVrfDown.IsNull() && data.EnableTrapsVrfmibVrfDown.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vrfmib/vrf-down", state.getPath()))
	}
	if !state.EnableTrapsVrfmibVrfUp.IsNull() && data.EnableTrapsVrfmibVrfUp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vrfmib/vrf-up", state.getPath()))
	}
	if !state.EnableTrapsMacNotificationThreshold.IsNull() && data.EnableTrapsMacNotificationThreshold.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mac-notification/threshold", state.getPath()))
	}
	if !state.EnableTrapsMacNotificationMove.IsNull() && data.EnableTrapsMacNotificationMove.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mac-notification/move", state.getPath()))
	}
	if !state.EnableTrapsMacNotificationChange.IsNull() && data.EnableTrapsMacNotificationChange.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mac-notification/change", state.getPath()))
	}
	if !state.EnableTrapsBulkstatTransfer.IsNull() && data.EnableTrapsBulkstatTransfer.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bulkstat/transfer", state.getPath()))
	}
	if !state.EnableTrapsBulkstatCollection.IsNull() && data.EnableTrapsBulkstatCollection.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bulkstat/collection", state.getPath()))
	}
	if !state.EnableTrapsTransceiverAll.IsNull() && data.EnableTrapsTransceiverAll.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/transceiver/all", state.getPath()))
	}
	if !state.EnableTrapsRf.IsNull() && data.EnableTrapsRf.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/rf", state.getPath()))
	}
	if !state.EnableTrapsErrdisable.IsNull() && data.EnableTrapsErrdisable.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/errdisable", state.getPath()))
	}
	if !state.EnableTrapsVlanMembership.IsNull() && data.EnableTrapsVlanMembership.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vlan-membership", state.getPath()))
	}
	if !state.EnableTrapsLocalAuth.IsNull() && data.EnableTrapsLocalAuth.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/local-auth", state.getPath()))
	}
	if !state.EnableTrapsFastRerouteProtected.IsNull() && data.EnableTrapsFastRerouteProtected.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/fast-reroute/protected", state.getPath()))
	}
	if !state.EnableTrapsMplsLdp.IsNull() && data.EnableTrapsMplsLdp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/ldp", state.getPath()))
	}
	if !state.EnableTrapsMplsRfcLdp.IsNull() && data.EnableTrapsMplsRfcLdp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/rfc/ldp", state.getPath()))
	}
	if !state.EnableTrapsMplsRfc.IsNull() && data.EnableTrapsMplsRfc.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/rfc", state.getPath()))
	}
	if !state.EnableTrapsMplsVpn.IsNull() && data.EnableTrapsMplsVpn.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/vpn", state.getPath()))
	}
	if !state.EnableTrapsMpls.IsNull() && data.EnableTrapsMpls.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls", state.getPath()))
	}
	if !state.EnableTrapsMplsTrafficEng.IsNull() && data.EnableTrapsMplsTrafficEng.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/traffic-eng", state.getPath()))
	}
	if !state.EnableTrapsNhrpQuotaExceeded.IsNull() && data.EnableTrapsNhrpQuotaExceeded.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/nhrp/quota-exceeded", state.getPath()))
	}
	if !state.EnableTrapsNhrpNhp.IsNull() && data.EnableTrapsNhrpNhp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/nhrp/nhp", state.getPath()))
	}
	if !state.EnableTrapsNhrpNhc.IsNull() && data.EnableTrapsNhrpNhc.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/nhrp/nhc", state.getPath()))
	}
	if !state.EnableTrapsNhrpNhs.IsNull() && data.EnableTrapsNhrpNhs.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/nhrp/nhs", state.getPath()))
	}
	if !state.EnableTrapsBgpCbgp2.IsNull() && data.EnableTrapsBgpCbgp2.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-bgp:bgp/cbgp2", state.getPath()))
	}
	if !state.EnableTrapsSyslog.IsNull() && data.EnableTrapsSyslog.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/syslog", state.getPath()))
	}
	if !state.EnableTrapsStpxLoopInconsistency.IsNull() && data.EnableTrapsStpxLoopInconsistency.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/stpx", state.getPath()))
	}
	if !state.EnableTrapsStpxRootInconsistency.IsNull() && data.EnableTrapsStpxRootInconsistency.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/stpx", state.getPath()))
	}
	if !state.EnableTrapsStpxInconsistency.IsNull() && data.EnableTrapsStpxInconsistency.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/stpx/inconsistency", state.getPath()))
	}
	if !state.EnableTrapsBridgeTopologychange.IsNull() && data.EnableTrapsBridgeTopologychange.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bridge/topologychange", state.getPath()))
	}
	if !state.EnableTrapsBridgeNewroot.IsNull() && data.EnableTrapsBridgeNewroot.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bridge/newroot", state.getPath()))
	}
	if !state.EnableTrapsPimRpMappingChange.IsNull() && data.EnableTrapsPimRpMappingChange.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pim/rp-mapping-change", state.getPath()))
	}
	if !state.EnableTrapsPimNeighborChange.IsNull() && data.EnableTrapsPimNeighborChange.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pim/neighbor-change", state.getPath()))
	}
	if !state.EnableTrapsPimInvalidPimMessage.IsNull() && data.EnableTrapsPimInvalidPimMessage.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pim/invalid-pim-message", state.getPath()))
	}
	if !state.EnableTrapsOspfConfigErrors.IsNull() && data.EnableTrapsOspfConfigErrors.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/errors/enable", state.getPath()))
	}
	if !state.EnableTrapsOspfConfigStateChange.IsNull() && data.EnableTrapsOspfConfigStateChange.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/state-change/enable", state.getPath()))
	}
	if !state.EnableTrapsMsdp.IsNull() && data.EnableTrapsMsdp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/msdp", state.getPath()))
	}
	if !state.EnableTrapsIpmulticast.IsNull() && data.EnableTrapsIpmulticast.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipmulticast", state.getPath()))
	}
	if !state.EnableTrapsHsrp.IsNull() && data.EnableTrapsHsrp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/hsrp", state.getPath()))
	}
	if !state.EnableTrapsEventManager.IsNull() && data.EnableTrapsEventManager.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/event-manager", state.getPath()))
	}
	if !state.EnableTrapsDhcp.IsNull() && data.EnableTrapsDhcp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/dhcp", state.getPath()))
	}
	if !state.EnableTrapsConfigCtid.IsNull() && data.EnableTrapsConfigCtid.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/config-ctid", state.getPath()))
	}
	if !state.EnableTrapsConfig.IsNull() && data.EnableTrapsConfig.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/config", state.getPath()))
	}
	if !state.EnableTrapsConfigCopy.IsNull() && data.EnableTrapsConfigCopy.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/config-copy", state.getPath()))
	}
	if !state.EnableTrapsIpsecTooManySas.IsNull() && data.EnableTrapsIpsecTooManySas.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/too-many-sas", state.getPath()))
	}
	if !state.EnableTrapsIpsecTunnelStop.IsNull() && data.EnableTrapsIpsecTunnelStop.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/tunnel/stop", state.getPath()))
	}
	if !state.EnableTrapsIpsecTunnelStart.IsNull() && data.EnableTrapsIpsecTunnelStart.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/tunnel/start", state.getPath()))
	}
	if !state.EnableTrapsIpsecCryptomapDetach.IsNull() && data.EnableTrapsIpsecCryptomapDetach.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/cryptomap/detach", state.getPath()))
	}
	if !state.EnableTrapsIpsecCryptomapDelete.IsNull() && data.EnableTrapsIpsecCryptomapDelete.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/cryptomap/delete", state.getPath()))
	}
	if !state.EnableTrapsIpsecCryptomapAttach.IsNull() && data.EnableTrapsIpsecCryptomapAttach.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/cryptomap/attach", state.getPath()))
	}
	if !state.EnableTrapsIpsecCryptomapAdd.IsNull() && data.EnableTrapsIpsecCryptomapAdd.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/cryptomap/add", state.getPath()))
	}
	if !state.EnableTrapsIkeTunnelStop.IsNull() && data.EnableTrapsIkeTunnelStop.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ike/tunnel/stop", state.getPath()))
	}
	if !state.EnableTrapsIkeTunnelStart.IsNull() && data.EnableTrapsIkeTunnelStart.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ike/tunnel/start", state.getPath()))
	}
	if !state.EnableTrapsIkePolicyDelete.IsNull() && data.EnableTrapsIkePolicyDelete.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ike/policy/delete", state.getPath()))
	}
	if !state.EnableTrapsIkePolicyAdd.IsNull() && data.EnableTrapsIkePolicyAdd.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ike/policy/add", state.getPath()))
	}
	if !state.EnableTrapsBfd.IsNull() && data.EnableTrapsBfd.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bfd", state.getPath()))
	}
	if !state.EnableTrapsEntityDiagScheduledTestFail.IsNull() && data.EnableTrapsEntityDiagScheduledTestFail.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-diag/scheduled-test-fail", state.getPath()))
	}
	if !state.EnableTrapsEntityDiagHmThreshReached.IsNull() && data.EnableTrapsEntityDiagHmThreshReached.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-diag/hm-thresh-reached", state.getPath()))
	}
	if !state.EnableTrapsEntityDiagHmTestRecover.IsNull() && data.EnableTrapsEntityDiagHmTestRecover.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-diag/hm-test-recover", state.getPath()))
	}
	if !state.EnableTrapsEntityDiagBootUpFail.IsNull() && data.EnableTrapsEntityDiagBootUpFail.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-diag/boot-up-fail", state.getPath()))
	}
	if !state.EnableTrapsIpsla.IsNull() && data.EnableTrapsIpsla.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsla", state.getPath()))
	}
	if !state.EnableTrapsIsis.IsNull() && data.EnableTrapsIsis.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/isis", state.getPath()))
	}
	if !state.EnableTrapsCefInconsistency.IsNull() && data.EnableTrapsCefInconsistency.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cef/inconsistency", state.getPath()))
	}
	if !state.EnableTrapsCefPeerFibStateChange.IsNull() && data.EnableTrapsCefPeerFibStateChange.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cef/peer-fib-state-change", state.getPath()))
	}
	if !state.EnableTrapsCefPeerStateChange.IsNull() && data.EnableTrapsCefPeerStateChange.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cef/peer-state-change", state.getPath()))
	}
	if !state.EnableTrapsCefResourceFailure.IsNull() && data.EnableTrapsCefResourceFailure.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cef/resource-failure", state.getPath()))
	}
	if !state.EnableTrapsEnvmon.IsNull() && data.EnableTrapsEnvmon.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/envmon", state.getPath()))
	}
	if !state.EnableTrapsPwVc.IsNull() && data.EnableTrapsPwVc.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pw", state.getPath()))
	}
	if !state.EnableTrapsEntity.IsNull() && data.EnableTrapsEntity.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity", state.getPath()))
	}
	if !state.EnableTrapsPowerEthernetPolice.IsNull() && data.EnableTrapsPowerEthernetPolice.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/power-ethernet/police", state.getPath()))
	}
	if !state.EnableTrapsPowerEthernetGroup.IsNull() && data.EnableTrapsPowerEthernetGroup.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/power-ethernet/group", state.getPath()))
	}
	if !state.EnableTrapsEnergywise.IsNull() && data.EnableTrapsEnergywise.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/energywise", state.getPath()))
	}
	if !state.EnableTrapsFlashLowspace.IsNull() && data.EnableTrapsFlashLowspace.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/flash/lowspace", state.getPath()))
	}
	if !state.EnableTrapsFlashRemoval.IsNull() && data.EnableTrapsFlashRemoval.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/flash/removal", state.getPath()))
	}
	if !state.EnableTrapsFlashInsertion.IsNull() && data.EnableTrapsFlashInsertion.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/flash/insertion", state.getPath()))
	}
	if !state.EnableTrapsFruCtrl.IsNull() && data.EnableTrapsFruCtrl.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/fru-ctrl", state.getPath()))
	}
	if !state.EnableTrapsUdldStatusChange.IsNull() && data.EnableTrapsUdldStatusChange.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/udld/status-change", state.getPath()))
	}
	if !state.EnableTrapsUdldLinkFailRpt.IsNull() && data.EnableTrapsUdldLinkFailRpt.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/udld/link-fail-rpt", state.getPath()))
	}
	if !state.EnableTrapsStackwise.IsNull() && data.EnableTrapsStackwise.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/stackwise", state.getPath()))
	}
	if !state.EnableTrapsMemoryBufferpeak.IsNull() && data.EnableTrapsMemoryBufferpeak.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/memory/bufferpeak", state.getPath()))
	}
	if !state.EnableTrapsCpuThreshold.IsNull() && data.EnableTrapsCpuThreshold.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cpu/threshold", state.getPath()))
	}
	if !state.EnableTrapsSmartLicense.IsNull() && data.EnableTrapsSmartLicense.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/smart-licenseing/smart-license", state.getPath()))
	}
	if !state.EnableTrapsLicense.IsNull() && data.EnableTrapsLicense.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/license", state.getPath()))
	}
	if !state.EnableTrapsPortSecurity.IsNull() && data.EnableTrapsPortSecurity.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/port-security", state.getPath()))
	}
	if !state.EnableTrapsVlandelete.IsNull() && data.EnableTrapsVlandelete.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vlandelete", state.getPath()))
	}
	if !state.EnableTrapsVlancreate.IsNull() && data.EnableTrapsVlancreate.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vlancreate", state.getPath()))
	}
	if !state.EnableTrapsVtp.IsNull() && data.EnableTrapsVtp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vtp", state.getPath()))
	}
	if !state.EnableTrapsRep.IsNull() && data.EnableTrapsRep.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/rep", state.getPath()))
	}
	if !state.EnableTrapsAuthFrameworkSecViolation.IsNull() && data.EnableTrapsAuthFrameworkSecViolation.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/auth-framework/sec-violation", state.getPath()))
	}
	if !state.EnableTrapsEigrp.IsNull() && data.EnableTrapsEigrp.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/eigrp", state.getPath()))
	}
	if !state.EnableTrapsOspfLsaEnable.IsNull() && data.EnableTrapsOspfLsaEnable.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/lsa/enable", state.getPath()))
	}
	if !state.EnableTrapsOspfRetransmitEnable.IsNull() && data.EnableTrapsOspfRetransmitEnable.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/retransmit/enable", state.getPath()))
	}
	if !state.EnableTrapsOspfErrorsEnable.IsNull() && data.EnableTrapsOspfErrorsEnable.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/errors/enable", state.getPath()))
	}
	if !state.EnableTrapsOspfShamlinkNeighbor.IsNull() && data.EnableTrapsOspfShamlinkNeighbor.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/state-change/shamlink/neighbor", state.getPath()))
	}
	if !state.EnableTrapsOspfShamlinkInterface.IsNull() && data.EnableTrapsOspfShamlinkInterface.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/state-change/shamlink/interface", state.getPath()))
	}
	if !state.EnableTrapsOspfNssaTransChange.IsNull() && data.EnableTrapsOspfNssaTransChange.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/state-change/nssa-trans-change", state.getPath()))
	}
	if !state.EnableTrapsOspfConfigLsa.IsNull() && data.EnableTrapsOspfConfigLsa.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/lsa/enable", state.getPath()))
	}
	if !state.EnableTrapsOspfConfigRetransmit.IsNull() && data.EnableTrapsOspfConfigRetransmit.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/retransmit/enable", state.getPath()))
	}
	if !state.EnableTrapsOspfv3ConfigErrors.IsNull() && data.EnableTrapsOspfv3ConfigErrors.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospfv3:ospfv3-config/errors/enable", state.getPath()))
	}
	if !state.EnableTrapsOspfv3ConfigStateChange.IsNull() && data.EnableTrapsOspfv3ConfigStateChange.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospfv3:ospfv3-config/state-change/enable", state.getPath()))
	}
	if !state.EnableTrapsTty.IsNull() && data.EnableTrapsTty.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/tty", state.getPath()))
	}
	if !state.EnableTrapsCallHomeServerFail.IsNull() && data.EnableTrapsCallHomeServerFail.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/call-home/server-fail", state.getPath()))
	}
	if !state.EnableTrapsCallHomeMessageSendFail.IsNull() && data.EnableTrapsCallHomeMessageSendFail.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/call-home/message-send-fail", state.getPath()))
	}
	if !state.EnableTrapsEntityPerfThroughputNotif.IsNull() && data.EnableTrapsEntityPerfThroughputNotif.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-perf/throughput-notif", state.getPath()))
	}
	if !state.EnableTrapsFlowmon.IsNull() && data.EnableTrapsFlowmon.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/flowmon", state.getPath()))
	}
	if !state.SystemShutdown.IsNull() && data.SystemShutdown.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:system-shutdown", state.getPath()))
	}
	for i := range state.VrfHosts {
		stateKeyValues := [...]string{state.VrfHosts[i].IpAddress.ValueString(), state.VrfHosts[i].Vrf.ValueString()}

		emptyKeys := true
		if !reflect.ValueOf(state.VrfHosts[i].IpAddress.ValueString()).IsZero() {
			emptyKeys = false
		}
		if !reflect.ValueOf(state.VrfHosts[i].Vrf.ValueString()).IsZero() {
			emptyKeys = false
		}
		if emptyKeys {
			continue
		}

		found := false
		for j := range data.VrfHosts {
			found = true
			if state.VrfHosts[i].IpAddress.ValueString() != data.VrfHosts[j].IpAddress.ValueString() {
				found = false
			}
			if state.VrfHosts[i].Vrf.ValueString() != data.VrfHosts[j].Vrf.ValueString() {
				found = false
			}
			if found {
				if !state.VrfHosts[i].SecurityLevel.IsNull() && data.VrfHosts[j].SecurityLevel.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:host-config/ip-vrf-community=%v/security-level", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.VrfHosts[i].Encryption.IsNull() && data.VrfHosts[j].Encryption.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:host-config/ip-vrf-community=%v/encryption", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.VrfHosts[i].Version.IsNull() && data.VrfHosts[j].Version.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:host-config/ip-vrf-community=%v/version", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.VrfHosts[i].CommunityOrUser.IsNull() && data.VrfHosts[j].CommunityOrUser.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:host-config/ip-vrf-community=%v/community-or-user", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				break
			}
		}
		if !found {
			deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:host-config/ip-vrf-community=%v", state.getPath(), strings.Join(stateKeyValues[:], ",")))
		}
	}
	for i := range state.Hosts {
		stateKeyValues := [...]string{state.Hosts[i].IpAddress.ValueString()}

		emptyKeys := true
		if !reflect.ValueOf(state.Hosts[i].IpAddress.ValueString()).IsZero() {
			emptyKeys = false
		}
		if emptyKeys {
			continue
		}

		found := false
		for j := range data.Hosts {
			found = true
			if state.Hosts[i].IpAddress.ValueString() != data.Hosts[j].IpAddress.ValueString() {
				found = false
			}
			if found {
				if !state.Hosts[i].SecurityLevel.IsNull() && data.Hosts[j].SecurityLevel.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:host-config/ip-community=%v/security-level", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Hosts[i].Encryption.IsNull() && data.Hosts[j].Encryption.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:host-config/ip-community=%v/encryption", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Hosts[i].Version.IsNull() && data.Hosts[j].Version.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:host-config/ip-community=%v/version", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				if !state.Hosts[i].CommunityOrUser.IsNull() && data.Hosts[j].CommunityOrUser.IsNull() {
					deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:host-config/ip-community=%v/community-or-user", state.getPath(), strings.Join(stateKeyValues[:], ",")))
				}
				break
			}
		}
		if !found {
			deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:host-config/ip-community=%v", state.getPath(), strings.Join(stateKeyValues[:], ",")))
		}
	}
	if !state.EnableTrapsSnmpWarmstart.IsNull() && data.EnableTrapsSnmpWarmstart.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/snmp/warmstart", state.getPath()))
	}
	if !state.EnableTrapsSnmpLinkup.IsNull() && data.EnableTrapsSnmpLinkup.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/snmp/linkup", state.getPath()))
	}
	if !state.EnableTrapsSnmpLinkdown.IsNull() && data.EnableTrapsSnmpLinkdown.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/snmp/linkdown", state.getPath()))
	}
	if !state.EnableTrapsSnmpColdstart.IsNull() && data.EnableTrapsSnmpColdstart.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/snmp/coldstart", state.getPath()))
	}
	if !state.EnableTrapsSnmpAuthentication.IsNull() && data.EnableTrapsSnmpAuthentication.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/snmp/authentication", state.getPath()))
	}
	if !state.EnableTraps.IsNull() && data.EnableTraps.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps", state.getPath()))
	}
	if !state.EnableInforms.IsNull() && data.EnableInforms.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/informs", state.getPath()))
	}
	if !state.EnableLoggingSetop.IsNull() && data.EnableLoggingSetop.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/logging/setop", state.getPath()))
	}
	if !state.EnableLoggingGetop.IsNull() && data.EnableLoggingGetop.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/logging/getop", state.getPath()))
	}
	if !state.QueueLength.IsNull() && data.QueueLength.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:queue-length", state.getPath()))
	}
	if !state.Packetsize.IsNull() && data.Packetsize.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:packetsize", state.getPath()))
	}
	if !state.Location.IsNull() && data.Location.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:location", state.getPath()))
	}
	if !state.IfindexPersist.IsNull() && data.IfindexPersist.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:ifindex/persist", state.getPath()))
	}
	if !state.Contact.IsNull() && data.Contact.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:contact", state.getPath()))
	}
	if !state.ChassisId.IsNull() && data.ChassisId.IsNull() {
		deletedItems = append(deletedItems, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:chassis-id", state.getPath()))
	}

	return deletedItems
}

// End of section. //template:end getDeletedItems

// Section below is generated&owned by "gen/generator.go". //template:begin getEmptyLeafsDelete

func (data *SNMPServer) getEmptyLeafsDelete(ctx context.Context) []string {
	emptyLeafsDelete := make([]string, 0)

	if !data.EnableTrapsOspfv3StateChange.IsNull() && !data.EnableTrapsOspfv3StateChange.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ospfv3/state-change", data.getPath()))
	}
	if !data.EnableTrapsOspfv3Errors.IsNull() && !data.EnableTrapsOspfv3Errors.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ospfv3/errors", data.getPath()))
	}
	if !data.EnableTrapsCbgp2.IsNull() && !data.EnableTrapsCbgp2.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bgp-traps/cbgp2", data.getPath()))
	}
	if !data.EnableTrapsBgp.IsNull() && !data.EnableTrapsBgp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bgp", data.getPath()))
	}
	if !data.EnableTrapsVoice.IsNull() && !data.EnableTrapsVoice.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/voice", data.getPath()))
	}
	if !data.EnableTrapsSrp.IsNull() && !data.EnableTrapsSrp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/srp", data.getPath()))
	}
	if !data.EnableTrapsSonet.IsNull() && !data.EnableTrapsSonet.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/sonet", data.getPath()))
	}
	if !data.EnableTrapsVrrp.IsNull() && !data.EnableTrapsVrrp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vrrp", data.getPath()))
	}
	if !data.EnableTrapsRsvp.IsNull() && !data.EnableTrapsRsvp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/rsvp", data.getPath()))
	}
	if !data.EnableTrapsResourcePolicy.IsNull() && !data.EnableTrapsResourcePolicy.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/resource-policy", data.getPath()))
	}
	if !data.EnableTrapsPppoe.IsNull() && !data.EnableTrapsPppoe.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pppoe", data.getPath()))
	}
	if !data.EnableTrapsPfr.IsNull() && !data.EnableTrapsPfr.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pfr", data.getPath()))
	}
	if !data.EnableTrapsPimstdmibInterfaceElection.IsNull() && !data.EnableTrapsPimstdmibInterfaceElection.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pimstdmib/interface-election", data.getPath()))
	}
	if !data.EnableTrapsPimstdmibRpMappingChange.IsNull() && !data.EnableTrapsPimstdmibRpMappingChange.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pimstdmib/rp-mapping-change", data.getPath()))
	}
	if !data.EnableTrapsPimstdmibInvalidJoinPrune.IsNull() && !data.EnableTrapsPimstdmibInvalidJoinPrune.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pimstdmib/invalid-join-prune", data.getPath()))
	}
	if !data.EnableTrapsPimstdmibInvalidRegister.IsNull() && !data.EnableTrapsPimstdmibInvalidRegister.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pimstdmib/invalid-register", data.getPath()))
	}
	if !data.EnableTrapsPimstdmibNeighborLoss.IsNull() && !data.EnableTrapsPimstdmibNeighborLoss.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pimstdmib/neighbor-loss", data.getPath()))
	}
	if !data.EnableTrapsL2tunPseudowireStatus.IsNull() && !data.EnableTrapsL2tunPseudowireStatus.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/l2tun/pseudowire/status", data.getPath()))
	}
	if !data.EnableTrapsL2tunTunnel.IsNull() && !data.EnableTrapsL2tunTunnel.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/l2tun/tunnel", data.getPath()))
	}
	if !data.EnableTrapsL2tunSession.IsNull() && !data.EnableTrapsL2tunSession.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/l2tun/session", data.getPath()))
	}
	if !data.EnableTrapsIsdnLayer2.IsNull() && !data.EnableTrapsIsdnLayer2.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/isdn/layer2", data.getPath()))
	}
	if !data.EnableTrapsIsdnIetf.IsNull() && !data.EnableTrapsIsdnIetf.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/isdn/ietf", data.getPath()))
	}
	if !data.EnableTrapsIsdnChanNotAvail.IsNull() && !data.EnableTrapsIsdnChanNotAvail.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/isdn/chan-not-avail", data.getPath()))
	}
	if !data.EnableTrapsIsdnCallInformation.IsNull() && !data.EnableTrapsIsdnCallInformation.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/isdn/call-information", data.getPath()))
	}
	if !data.EnableTrapsIpLocalPool.IsNull() && !data.EnableTrapsIpLocalPool.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ip/local/pool", data.getPath()))
	}
	if !data.EnableTrapsFrameRelayMultilinkBundleMismatch.IsNull() && !data.EnableTrapsFrameRelayMultilinkBundleMismatch.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/frame-relay/multilink/bundle-mismatch", data.getPath()))
	}
	if !data.EnableTrapsFrameRelayConfigBundleMismatch.IsNull() && !data.EnableTrapsFrameRelayConfigBundleMismatch.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/frame-relay-config/frame-relay-options/frame-relay/multilink/bundle-mismatch", data.getPath()))
	}
	if !data.EnableTrapsFrameRelayConfigSubifConfigs.IsNull() && !data.EnableTrapsFrameRelayConfigSubifConfigs.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/frame-relay-config/frame-relay-options/frame-relay/subif-configs/subif", data.getPath()))
	}
	if !data.EnableTrapsFrameRelayConfigOnly.IsNull() && !data.EnableTrapsFrameRelayConfigOnly.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/frame-relay-config/only-frame-relay/frame-relay", data.getPath()))
	}
	if !data.EnableTrapsFirewallServerstatus.IsNull() && !data.EnableTrapsFirewallServerstatus.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/firewall/serverstatus", data.getPath()))
	}
	if !data.EnableTrapsEthernetEvcStatus.IsNull() && !data.EnableTrapsEthernetEvcStatus.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/evc/status", data.getPath()))
	}
	if !data.EnableTrapsEthernetEvcDelete.IsNull() && !data.EnableTrapsEthernetEvcDelete.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/evc/delete", data.getPath()))
	}
	if !data.EnableTrapsEthernetEvcCreate.IsNull() && !data.EnableTrapsEthernetEvcCreate.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/evc/create", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmCrosscheckServiceUp.IsNull() && !data.EnableTrapsEthernetCfmCrosscheckServiceUp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/crosscheck/service-up", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmCrosscheckMepUnknown.IsNull() && !data.EnableTrapsEthernetCfmCrosscheckMepUnknown.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/crosscheck/mep-unknown", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmCrosscheckMepMissing.IsNull() && !data.EnableTrapsEthernetCfmCrosscheckMepMissing.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/crosscheck/mep-missing", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmCcMepUp.IsNull() && !data.EnableTrapsEthernetCfmCcMepUp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/cc/mep-up", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmCcMepDown.IsNull() && !data.EnableTrapsEthernetCfmCcMepDown.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/cc/mep-down", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmCcLoop.IsNull() && !data.EnableTrapsEthernetCfmCcLoop.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/cc/loop", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmCcCrossConnect.IsNull() && !data.EnableTrapsEthernetCfmCcCrossConnect.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/cc/cross-connect", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmCcConfig.IsNull() && !data.EnableTrapsEthernetCfmCcConfig.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/cc/config", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmAlarm.IsNull() && !data.EnableTrapsEthernetCfmAlarm.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/alarm", data.getPath()))
	}
	if !data.EnableTrapsEtherOam.IsNull() && !data.EnableTrapsEtherOam.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ether-oam", data.getPath()))
	}
	if !data.EnableTrapsEntityQfpThroughputNotif.IsNull() && !data.EnableTrapsEntityQfpThroughputNotif.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-qfp/throughput-notif", data.getPath()))
	}
	if !data.EnableTrapsEntityQfpMemResThresh.IsNull() && !data.EnableTrapsEntityQfpMemResThresh.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-qfp/mem-res-thresh", data.getPath()))
	}
	if !data.EnableTrapsEntityState.IsNull() && !data.EnableTrapsEntityState.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-state", data.getPath()))
	}
	if !data.EnableTrapsEntitySensor.IsNull() && !data.EnableTrapsEntitySensor.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-sensor", data.getPath()))
	}
	if !data.EnableTrapsDspOperState.IsNull() && !data.EnableTrapsDspOperState.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/dsp/oper-state", data.getPath()))
	}
	if !data.EnableTrapsDspCardStatus.IsNull() && !data.EnableTrapsDspCardStatus.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/dsp/card-status", data.getPath()))
	}
	if !data.EnableTrapsDs1.IsNull() && !data.EnableTrapsDs1.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ds1", data.getPath()))
	}
	if !data.EnableTrapsDlsw.IsNull() && !data.EnableTrapsDlsw.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/dlsw", data.getPath()))
	}
	if !data.EnableTrapsDial.IsNull() && !data.EnableTrapsDial.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/dial", data.getPath()))
	}
	if !data.EnableTrapsCnpd.IsNull() && !data.EnableTrapsCnpd.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cnpd", data.getPath()))
	}
	if !data.EnableTrapsCasa.IsNull() && !data.EnableTrapsCasa.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/casa", data.getPath()))
	}
	if !data.EnableTrapsPki.IsNull() && !data.EnableTrapsPki.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pki", data.getPath()))
	}
	if !data.EnableTrapsAdslline.IsNull() && !data.EnableTrapsAdslline.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/adslline", data.getPath()))
	}
	if !data.EnableTrapsVdsl2line.IsNull() && !data.EnableTrapsVdsl2line.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vdsl2line", data.getPath()))
	}
	if !data.EnableTrapsAaaServer.IsNull() && !data.EnableTrapsAaaServer.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/aaa_server", data.getPath()))
	}
	if !data.EnableTrapsLisp.IsNull() && !data.EnableTrapsLisp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/lisp", data.getPath()))
	}
	if !data.EnableTrapsMvpn.IsNull() && !data.EnableTrapsMvpn.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mvpn", data.getPath()))
	}
	if !data.EnableTrapsVrfmibVnetTrunkDown.IsNull() && !data.EnableTrapsVrfmibVnetTrunkDown.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vrfmib/vnet-trunk-down", data.getPath()))
	}
	if !data.EnableTrapsVrfmibVnetTrunkUp.IsNull() && !data.EnableTrapsVrfmibVnetTrunkUp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vrfmib/vnet-trunk-up", data.getPath()))
	}
	if !data.EnableTrapsVrfmibVrfDown.IsNull() && !data.EnableTrapsVrfmibVrfDown.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vrfmib/vrf-down", data.getPath()))
	}
	if !data.EnableTrapsVrfmibVrfUp.IsNull() && !data.EnableTrapsVrfmibVrfUp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vrfmib/vrf-up", data.getPath()))
	}
	if !data.EnableTrapsMacNotificationThreshold.IsNull() && !data.EnableTrapsMacNotificationThreshold.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mac-notification/threshold", data.getPath()))
	}
	if !data.EnableTrapsMacNotificationMove.IsNull() && !data.EnableTrapsMacNotificationMove.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mac-notification/move", data.getPath()))
	}
	if !data.EnableTrapsMacNotificationChange.IsNull() && !data.EnableTrapsMacNotificationChange.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mac-notification/change", data.getPath()))
	}
	if !data.EnableTrapsBulkstatTransfer.IsNull() && !data.EnableTrapsBulkstatTransfer.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bulkstat/transfer", data.getPath()))
	}
	if !data.EnableTrapsBulkstatCollection.IsNull() && !data.EnableTrapsBulkstatCollection.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bulkstat/collection", data.getPath()))
	}
	if !data.EnableTrapsTransceiverAll.IsNull() && !data.EnableTrapsTransceiverAll.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/transceiver/all", data.getPath()))
	}
	if !data.EnableTrapsRf.IsNull() && !data.EnableTrapsRf.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/rf", data.getPath()))
	}
	if !data.EnableTrapsErrdisable.IsNull() && !data.EnableTrapsErrdisable.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/errdisable", data.getPath()))
	}
	if !data.EnableTrapsVlanMembership.IsNull() && !data.EnableTrapsVlanMembership.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vlan-membership", data.getPath()))
	}
	if !data.EnableTrapsLocalAuth.IsNull() && !data.EnableTrapsLocalAuth.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/local-auth", data.getPath()))
	}
	if !data.EnableTrapsFastRerouteProtected.IsNull() && !data.EnableTrapsFastRerouteProtected.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/fast-reroute/protected", data.getPath()))
	}
	if !data.EnableTrapsMplsLdp.IsNull() && !data.EnableTrapsMplsLdp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/ldp", data.getPath()))
	}
	if !data.EnableTrapsMplsRfcLdp.IsNull() && !data.EnableTrapsMplsRfcLdp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/rfc/ldp", data.getPath()))
	}
	if !data.EnableTrapsMplsRfc.IsNull() && !data.EnableTrapsMplsRfc.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/rfc", data.getPath()))
	}
	if !data.EnableTrapsMplsVpn.IsNull() && !data.EnableTrapsMplsVpn.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/vpn", data.getPath()))
	}
	if !data.EnableTrapsMpls.IsNull() && !data.EnableTrapsMpls.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls", data.getPath()))
	}
	if !data.EnableTrapsMplsTrafficEng.IsNull() && !data.EnableTrapsMplsTrafficEng.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/traffic-eng", data.getPath()))
	}
	if !data.EnableTrapsNhrpQuotaExceeded.IsNull() && !data.EnableTrapsNhrpQuotaExceeded.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/nhrp/quota-exceeded", data.getPath()))
	}
	if !data.EnableTrapsNhrpNhp.IsNull() && !data.EnableTrapsNhrpNhp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/nhrp/nhp", data.getPath()))
	}
	if !data.EnableTrapsNhrpNhc.IsNull() && !data.EnableTrapsNhrpNhc.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/nhrp/nhc", data.getPath()))
	}
	if !data.EnableTrapsNhrpNhs.IsNull() && !data.EnableTrapsNhrpNhs.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/nhrp/nhs", data.getPath()))
	}
	if !data.EnableTrapsBgpCbgp2.IsNull() && !data.EnableTrapsBgpCbgp2.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-bgp:bgp/cbgp2", data.getPath()))
	}
	if !data.EnableTrapsSyslog.IsNull() && !data.EnableTrapsSyslog.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/syslog", data.getPath()))
	}
	if !data.EnableTrapsStpxLoopInconsistency.IsNull() && !data.EnableTrapsStpxLoopInconsistency.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/stpx/loop-inconsistency", data.getPath()))
	}
	if !data.EnableTrapsStpxRootInconsistency.IsNull() && !data.EnableTrapsStpxRootInconsistency.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/stpx/root-inconsistency", data.getPath()))
	}
	if !data.EnableTrapsStpxInconsistency.IsNull() && !data.EnableTrapsStpxInconsistency.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/stpx/inconsistency", data.getPath()))
	}
	if !data.EnableTrapsBridgeTopologychange.IsNull() && !data.EnableTrapsBridgeTopologychange.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bridge/topologychange", data.getPath()))
	}
	if !data.EnableTrapsBridgeNewroot.IsNull() && !data.EnableTrapsBridgeNewroot.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bridge/newroot", data.getPath()))
	}
	if !data.EnableTrapsPimRpMappingChange.IsNull() && !data.EnableTrapsPimRpMappingChange.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pim/rp-mapping-change", data.getPath()))
	}
	if !data.EnableTrapsPimNeighborChange.IsNull() && !data.EnableTrapsPimNeighborChange.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pim/neighbor-change", data.getPath()))
	}
	if !data.EnableTrapsPimInvalidPimMessage.IsNull() && !data.EnableTrapsPimInvalidPimMessage.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pim/invalid-pim-message", data.getPath()))
	}
	if !data.EnableTrapsOspfConfigErrors.IsNull() && !data.EnableTrapsOspfConfigErrors.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/errors/enable", data.getPath()))
	}
	if !data.EnableTrapsOspfConfigStateChange.IsNull() && !data.EnableTrapsOspfConfigStateChange.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/state-change/enable", data.getPath()))
	}
	if !data.EnableTrapsMsdp.IsNull() && !data.EnableTrapsMsdp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/msdp", data.getPath()))
	}
	if !data.EnableTrapsIpmulticast.IsNull() && !data.EnableTrapsIpmulticast.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipmulticast", data.getPath()))
	}
	if !data.EnableTrapsHsrp.IsNull() && !data.EnableTrapsHsrp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/hsrp", data.getPath()))
	}
	if !data.EnableTrapsEventManager.IsNull() && !data.EnableTrapsEventManager.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/event-manager", data.getPath()))
	}
	if !data.EnableTrapsDhcp.IsNull() && !data.EnableTrapsDhcp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/dhcp", data.getPath()))
	}
	if !data.EnableTrapsConfigCtid.IsNull() && !data.EnableTrapsConfigCtid.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/config-ctid", data.getPath()))
	}
	if !data.EnableTrapsConfig.IsNull() && !data.EnableTrapsConfig.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/config", data.getPath()))
	}
	if !data.EnableTrapsConfigCopy.IsNull() && !data.EnableTrapsConfigCopy.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/config-copy", data.getPath()))
	}
	if !data.EnableTrapsIpsecTooManySas.IsNull() && !data.EnableTrapsIpsecTooManySas.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/too-many-sas", data.getPath()))
	}
	if !data.EnableTrapsIpsecTunnelStop.IsNull() && !data.EnableTrapsIpsecTunnelStop.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/tunnel/stop", data.getPath()))
	}
	if !data.EnableTrapsIpsecTunnelStart.IsNull() && !data.EnableTrapsIpsecTunnelStart.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/tunnel/start", data.getPath()))
	}
	if !data.EnableTrapsIpsecCryptomapDetach.IsNull() && !data.EnableTrapsIpsecCryptomapDetach.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/cryptomap/detach", data.getPath()))
	}
	if !data.EnableTrapsIpsecCryptomapDelete.IsNull() && !data.EnableTrapsIpsecCryptomapDelete.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/cryptomap/delete", data.getPath()))
	}
	if !data.EnableTrapsIpsecCryptomapAttach.IsNull() && !data.EnableTrapsIpsecCryptomapAttach.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/cryptomap/attach", data.getPath()))
	}
	if !data.EnableTrapsIpsecCryptomapAdd.IsNull() && !data.EnableTrapsIpsecCryptomapAdd.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/cryptomap/add", data.getPath()))
	}
	if !data.EnableTrapsIkeTunnelStop.IsNull() && !data.EnableTrapsIkeTunnelStop.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ike/tunnel/stop", data.getPath()))
	}
	if !data.EnableTrapsIkeTunnelStart.IsNull() && !data.EnableTrapsIkeTunnelStart.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ike/tunnel/start", data.getPath()))
	}
	if !data.EnableTrapsIkePolicyDelete.IsNull() && !data.EnableTrapsIkePolicyDelete.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ike/policy/delete", data.getPath()))
	}
	if !data.EnableTrapsIkePolicyAdd.IsNull() && !data.EnableTrapsIkePolicyAdd.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ike/policy/add", data.getPath()))
	}
	if !data.EnableTrapsBfd.IsNull() && !data.EnableTrapsBfd.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bfd", data.getPath()))
	}
	if !data.EnableTrapsEntityDiagScheduledTestFail.IsNull() && !data.EnableTrapsEntityDiagScheduledTestFail.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-diag/scheduled-test-fail", data.getPath()))
	}
	if !data.EnableTrapsEntityDiagHmThreshReached.IsNull() && !data.EnableTrapsEntityDiagHmThreshReached.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-diag/hm-thresh-reached", data.getPath()))
	}
	if !data.EnableTrapsEntityDiagHmTestRecover.IsNull() && !data.EnableTrapsEntityDiagHmTestRecover.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-diag/hm-test-recover", data.getPath()))
	}
	if !data.EnableTrapsEntityDiagBootUpFail.IsNull() && !data.EnableTrapsEntityDiagBootUpFail.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-diag/boot-up-fail", data.getPath()))
	}
	if !data.EnableTrapsIpsla.IsNull() && !data.EnableTrapsIpsla.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsla", data.getPath()))
	}
	if !data.EnableTrapsIsis.IsNull() && !data.EnableTrapsIsis.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/isis", data.getPath()))
	}
	if !data.EnableTrapsCefInconsistency.IsNull() && !data.EnableTrapsCefInconsistency.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cef/inconsistency", data.getPath()))
	}
	if !data.EnableTrapsCefPeerFibStateChange.IsNull() && !data.EnableTrapsCefPeerFibStateChange.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cef/peer-fib-state-change", data.getPath()))
	}
	if !data.EnableTrapsCefPeerStateChange.IsNull() && !data.EnableTrapsCefPeerStateChange.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cef/peer-state-change", data.getPath()))
	}
	if !data.EnableTrapsCefResourceFailure.IsNull() && !data.EnableTrapsCefResourceFailure.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cef/resource-failure", data.getPath()))
	}
	if !data.EnableTrapsEnvmon.IsNull() && !data.EnableTrapsEnvmon.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/envmon", data.getPath()))
	}
	if !data.EnableTrapsPwVc.IsNull() && !data.EnableTrapsPwVc.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pw/vc", data.getPath()))
	}
	if !data.EnableTrapsEntity.IsNull() && !data.EnableTrapsEntity.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity", data.getPath()))
	}
	if !data.EnableTrapsPowerEthernetPolice.IsNull() && !data.EnableTrapsPowerEthernetPolice.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/power-ethernet/police", data.getPath()))
	}
	if !data.EnableTrapsEnergywise.IsNull() && !data.EnableTrapsEnergywise.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/energywise", data.getPath()))
	}
	if !data.EnableTrapsFlashLowspace.IsNull() && !data.EnableTrapsFlashLowspace.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/flash/lowspace", data.getPath()))
	}
	if !data.EnableTrapsFlashRemoval.IsNull() && !data.EnableTrapsFlashRemoval.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/flash/removal", data.getPath()))
	}
	if !data.EnableTrapsFlashInsertion.IsNull() && !data.EnableTrapsFlashInsertion.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/flash/insertion", data.getPath()))
	}
	if !data.EnableTrapsFruCtrl.IsNull() && !data.EnableTrapsFruCtrl.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/fru-ctrl", data.getPath()))
	}
	if !data.EnableTrapsUdldStatusChange.IsNull() && !data.EnableTrapsUdldStatusChange.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/udld/status-change", data.getPath()))
	}
	if !data.EnableTrapsUdldLinkFailRpt.IsNull() && !data.EnableTrapsUdldLinkFailRpt.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/udld/link-fail-rpt", data.getPath()))
	}
	if !data.EnableTrapsStackwise.IsNull() && !data.EnableTrapsStackwise.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/stackwise", data.getPath()))
	}
	if !data.EnableTrapsMemoryBufferpeak.IsNull() && !data.EnableTrapsMemoryBufferpeak.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/memory/bufferpeak", data.getPath()))
	}
	if !data.EnableTrapsCpuThreshold.IsNull() && !data.EnableTrapsCpuThreshold.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cpu/threshold", data.getPath()))
	}
	if !data.EnableTrapsSmartLicense.IsNull() && !data.EnableTrapsSmartLicense.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/smart-licenseing/smart-license", data.getPath()))
	}
	if !data.EnableTrapsLicense.IsNull() && !data.EnableTrapsLicense.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/license", data.getPath()))
	}
	if !data.EnableTrapsPortSecurity.IsNull() && !data.EnableTrapsPortSecurity.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/port-security", data.getPath()))
	}
	if !data.EnableTrapsVlandelete.IsNull() && !data.EnableTrapsVlandelete.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vlandelete", data.getPath()))
	}
	if !data.EnableTrapsVlancreate.IsNull() && !data.EnableTrapsVlancreate.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vlancreate", data.getPath()))
	}
	if !data.EnableTrapsVtp.IsNull() && !data.EnableTrapsVtp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vtp", data.getPath()))
	}
	if !data.EnableTrapsRep.IsNull() && !data.EnableTrapsRep.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/rep", data.getPath()))
	}
	if !data.EnableTrapsAuthFrameworkSecViolation.IsNull() && !data.EnableTrapsAuthFrameworkSecViolation.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/auth-framework/sec-violation", data.getPath()))
	}
	if !data.EnableTrapsEigrp.IsNull() && !data.EnableTrapsEigrp.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/eigrp", data.getPath()))
	}
	if !data.EnableTrapsOspfLsaEnable.IsNull() && !data.EnableTrapsOspfLsaEnable.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/lsa/enable", data.getPath()))
	}
	if !data.EnableTrapsOspfRetransmitEnable.IsNull() && !data.EnableTrapsOspfRetransmitEnable.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/retransmit/enable", data.getPath()))
	}
	if !data.EnableTrapsOspfErrorsEnable.IsNull() && !data.EnableTrapsOspfErrorsEnable.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/errors/enable", data.getPath()))
	}
	if !data.EnableTrapsOspfShamlinkNeighbor.IsNull() && !data.EnableTrapsOspfShamlinkNeighbor.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/state-change/shamlink/neighbor", data.getPath()))
	}
	if !data.EnableTrapsOspfShamlinkInterface.IsNull() && !data.EnableTrapsOspfShamlinkInterface.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/state-change/shamlink/interface", data.getPath()))
	}
	if !data.EnableTrapsOspfNssaTransChange.IsNull() && !data.EnableTrapsOspfNssaTransChange.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/state-change/nssa-trans-change", data.getPath()))
	}
	if !data.EnableTrapsOspfConfigLsa.IsNull() && !data.EnableTrapsOspfConfigLsa.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/lsa/enable", data.getPath()))
	}
	if !data.EnableTrapsOspfConfigRetransmit.IsNull() && !data.EnableTrapsOspfConfigRetransmit.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/retransmit/enable", data.getPath()))
	}
	if !data.EnableTrapsOspfv3ConfigErrors.IsNull() && !data.EnableTrapsOspfv3ConfigErrors.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospfv3:ospfv3-config/errors/enable", data.getPath()))
	}
	if !data.EnableTrapsOspfv3ConfigStateChange.IsNull() && !data.EnableTrapsOspfv3ConfigStateChange.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospfv3:ospfv3-config/state-change/enable", data.getPath()))
	}
	if !data.EnableTrapsTty.IsNull() && !data.EnableTrapsTty.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/tty", data.getPath()))
	}
	if !data.EnableTrapsCallHomeServerFail.IsNull() && !data.EnableTrapsCallHomeServerFail.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/call-home/server-fail", data.getPath()))
	}
	if !data.EnableTrapsCallHomeMessageSendFail.IsNull() && !data.EnableTrapsCallHomeMessageSendFail.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/call-home/message-send-fail", data.getPath()))
	}
	if !data.EnableTrapsEntityPerfThroughputNotif.IsNull() && !data.EnableTrapsEntityPerfThroughputNotif.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-perf/throughput-notif", data.getPath()))
	}
	if !data.EnableTrapsFlowmon.IsNull() && !data.EnableTrapsFlowmon.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/flowmon", data.getPath()))
	}
	if !data.SystemShutdown.IsNull() && !data.SystemShutdown.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:system-shutdown", data.getPath()))
	}

	if !data.EnableTrapsSnmpWarmstart.IsNull() && !data.EnableTrapsSnmpWarmstart.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/snmp/warmstart", data.getPath()))
	}
	if !data.EnableTrapsSnmpLinkup.IsNull() && !data.EnableTrapsSnmpLinkup.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/snmp/linkup", data.getPath()))
	}
	if !data.EnableTrapsSnmpLinkdown.IsNull() && !data.EnableTrapsSnmpLinkdown.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/snmp/linkdown", data.getPath()))
	}
	if !data.EnableTrapsSnmpColdstart.IsNull() && !data.EnableTrapsSnmpColdstart.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/snmp/coldstart", data.getPath()))
	}
	if !data.EnableTrapsSnmpAuthentication.IsNull() && !data.EnableTrapsSnmpAuthentication.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/snmp/authentication", data.getPath()))
	}
	if !data.EnableTraps.IsNull() && !data.EnableTraps.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps", data.getPath()))
	}
	if !data.EnableInforms.IsNull() && !data.EnableInforms.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/informs", data.getPath()))
	}
	if !data.IfindexPersist.IsNull() && !data.IfindexPersist.ValueBool() {
		emptyLeafsDelete = append(emptyLeafsDelete, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:ifindex/persist", data.getPath()))
	}

	return emptyLeafsDelete
}

// End of section. //template:end getEmptyLeafsDelete

// Section below is generated&owned by "gen/generator.go". //template:begin getDeletePaths

func (data *SNMPServer) getDeletePaths(ctx context.Context) []string {
	var deletePaths []string
	for i := range data.Users {
		keyValues := [...]string{data.Users[i].Username.ValueString(), data.Users[i].Grpname.ValueString()}

		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:user/names=%v", data.getPath(), strings.Join(keyValues[:], ",")))
	}
	for i := range data.Groups {
		keyValues := [...]string{data.Groups[i].Name.ValueString()}

		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:group=%v", data.getPath(), strings.Join(keyValues[:], ",")))
	}
	for i := range data.Views {
		keyValues := [...]string{data.Views[i].Name.ValueString(), data.Views[i].Mib.ValueString()}

		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:view=%v", data.getPath(), strings.Join(keyValues[:], ",")))
	}
	for i := range data.Contexts {
		keyValues := [...]string{data.Contexts[i].Name.ValueString()}

		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:context=%v", data.getPath(), strings.Join(keyValues[:], ",")))
	}
	for i := range data.SnmpCommunities {
		keyValues := [...]string{data.SnmpCommunities[i].Name.ValueString()}

		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:community-config=%v", data.getPath(), strings.Join(keyValues[:], ",")))
	}
	if !data.TrapSourceVlan.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:trap-source/Vlan", data.getPath()))
	}
	if !data.TrapSourcePortChannelSubinterface.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:trap-source/Port-channel-subinterface/Port-channel", data.getPath()))
	}
	if !data.TrapSourcePortChannel.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:trap-source/Port-channel", data.getPath()))
	}
	if !data.TrapSourceLoopback.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:trap-source/Loopback", data.getPath()))
	}
	if !data.TrapSourceHundredGigE.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:trap-source/HundredGigE", data.getPath()))
	}
	if !data.TrapSourceFortyGigabitEthernet.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:trap-source/FortyGigabitEthernet", data.getPath()))
	}
	if !data.TrapSourceTenGigabitEthernet.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:trap-source/TenGigabitEthernet", data.getPath()))
	}
	if !data.TrapSourceGigabitEthernet.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:trap-source/GigabitEthernet", data.getPath()))
	}
	if !data.SourceInterfaceTrapsVlan.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/traps/Vlan", data.getPath()))
	}
	if !data.SourceInterfaceTrapsPortChannelSubinterface.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/traps/Port-channel-subinterface/Port-channel", data.getPath()))
	}
	if !data.SourceInterfaceTrapsPortChannel.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/traps/Port-channel", data.getPath()))
	}
	if !data.SourceInterfaceTrapsLoopback.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/traps/Loopback", data.getPath()))
	}
	if !data.SourceInterfaceTrapsHundredGigE.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/traps/HundredGigE", data.getPath()))
	}
	if !data.SourceInterfaceTrapsFortyGigabitEthernet.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/traps/FortyGigabitEthernet", data.getPath()))
	}
	if !data.SourceInterfaceTrapsTenGigabitEthernet.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/traps/TenGigabitEthernet", data.getPath()))
	}
	if !data.SourceInterfaceTrapsGigabitEthernet.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/traps/GigabitEthernet", data.getPath()))
	}
	if !data.SourceInterfaceInformsVlan.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/informs/Vlan", data.getPath()))
	}
	if !data.SourceInterfaceInformsPortChannelSubinterface.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/informs/Port-channel-subinterface/Port-channel", data.getPath()))
	}
	if !data.SourceInterfaceInformsPortChannel.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/informs/Port-channel", data.getPath()))
	}
	if !data.SourceInterfaceInformsLoopback.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/informs/Loopback", data.getPath()))
	}
	if !data.SourceInterfaceInformsHundredGigE.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/informs/HundredGigE", data.getPath()))
	}
	if !data.SourceInterfaceInformsFortyGigabitEthernet.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/informs/FortyGigabitEthernet", data.getPath()))
	}
	if !data.SourceInterfaceInformsTenGigabitEthernet.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/informs/TenGigabitEthernet", data.getPath()))
	}
	if !data.SourceInterfaceInformsGigabitEthernet.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:source-interface/informs/GigabitEthernet", data.getPath()))
	}
	if !data.EnableTrapsOspfv3StateChange.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ospfv3/state-change", data.getPath()))
	}
	if !data.EnableTrapsOspfv3Errors.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ospfv3/errors", data.getPath()))
	}
	if !data.EnableTrapsCbgp2.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bgp-traps/cbgp2", data.getPath()))
	}
	if !data.EnableTrapsBgp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bgp", data.getPath()))
	}
	if !data.EnableTrapsVoice.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/voice", data.getPath()))
	}
	if !data.EnableTrapsSrp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/srp", data.getPath()))
	}
	if !data.EnableTrapsSonet.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/sonet", data.getPath()))
	}
	if !data.EnableTrapsVrrp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vrrp", data.getPath()))
	}
	if !data.EnableTrapsRsvp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/rsvp", data.getPath()))
	}
	if !data.EnableTrapsResourcePolicy.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/resource-policy", data.getPath()))
	}
	if !data.EnableTrapsPppoe.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pppoe", data.getPath()))
	}
	if !data.EnableTrapsPfr.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pfr", data.getPath()))
	}
	if !data.EnableTrapsPimstdmibInterfaceElection.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pimstdmib/interface-election", data.getPath()))
	}
	if !data.EnableTrapsPimstdmibRpMappingChange.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pimstdmib/rp-mapping-change", data.getPath()))
	}
	if !data.EnableTrapsPimstdmibInvalidJoinPrune.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pimstdmib/invalid-join-prune", data.getPath()))
	}
	if !data.EnableTrapsPimstdmibInvalidRegister.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pimstdmib/invalid-register", data.getPath()))
	}
	if !data.EnableTrapsPimstdmibNeighborLoss.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pimstdmib/neighbor-loss", data.getPath()))
	}
	if !data.EnableTrapsL2tunPseudowireStatus.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/l2tun/pseudowire/status", data.getPath()))
	}
	if !data.EnableTrapsL2tunTunnel.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/l2tun/tunnel", data.getPath()))
	}
	if !data.EnableTrapsL2tunSession.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/l2tun/session", data.getPath()))
	}
	if !data.EnableTrapsIsdnLayer2.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/isdn/layer2", data.getPath()))
	}
	if !data.EnableTrapsIsdnIetf.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/isdn/ietf", data.getPath()))
	}
	if !data.EnableTrapsIsdnChanNotAvail.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/isdn/chan-not-avail", data.getPath()))
	}
	if !data.EnableTrapsIsdnCallInformation.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/isdn/call-information", data.getPath()))
	}
	if !data.EnableTrapsIpLocalPool.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ip/local/pool", data.getPath()))
	}
	if !data.EnableTrapsFrameRelayMultilinkBundleMismatch.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/frame-relay/multilink/bundle-mismatch", data.getPath()))
	}
	if !data.EnableTrapsFrameRelayConfigBundleMismatch.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/frame-relay-config/frame-relay-options/frame-relay/multilink/bundle-mismatch", data.getPath()))
	}
	if !data.EnableTrapsFrameRelaySubifInterval.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/frame-relay/subif/interval", data.getPath()))
	}
	if !data.EnableTrapsFrameRelaySubifCount.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/frame-relay/subif/count", data.getPath()))
	}
	if !data.EnableTrapsFrameRelayConfigSubifConfigs.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/frame-relay-config/frame-relay-options/frame-relay/subif-configs/subif", data.getPath()))
	}
	if !data.EnableTrapsFrameRelayConfigOnly.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/frame-relay-config/only-frame-relay/frame-relay", data.getPath()))
	}
	if !data.EnableTrapsFirewallServerstatus.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/firewall/serverstatus", data.getPath()))
	}
	if !data.EnableTrapsEthernetEvcStatus.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/evc/status", data.getPath()))
	}
	if !data.EnableTrapsEthernetEvcDelete.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/evc/delete", data.getPath()))
	}
	if !data.EnableTrapsEthernetEvcCreate.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/evc/create", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmCrosscheckServiceUp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/crosscheck/service-up", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmCrosscheckMepUnknown.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/crosscheck/mep-unknown", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmCrosscheckMepMissing.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/crosscheck/mep-missing", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmCcMepUp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/cc/mep-up", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmCcMepDown.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/cc/mep-down", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmCcLoop.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/cc/loop", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmCcCrossConnect.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/cc/cross-connect", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmCcConfig.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/cc/config", data.getPath()))
	}
	if !data.EnableTrapsEthernetCfmAlarm.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ethernet/cfm/alarm", data.getPath()))
	}
	if !data.EnableTrapsEtherOam.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ether-oam", data.getPath()))
	}
	if !data.EnableTrapsEntityQfpThroughputNotif.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-qfp/throughput-notif", data.getPath()))
	}
	if !data.EnableTrapsEntityQfpMemResThresh.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-qfp/mem-res-thresh", data.getPath()))
	}
	if !data.EnableTrapsEntityState.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-state", data.getPath()))
	}
	if !data.EnableTrapsEntitySensor.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-sensor", data.getPath()))
	}
	if !data.EnableTrapsDspOperState.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/dsp/oper-state", data.getPath()))
	}
	if !data.EnableTrapsDspCardStatus.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/dsp/card-status", data.getPath()))
	}
	if !data.EnableTrapsDs1.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ds1", data.getPath()))
	}
	if !data.EnableTrapsDlsw.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/dlsw", data.getPath()))
	}
	if !data.EnableTrapsDial.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/dial", data.getPath()))
	}
	if !data.EnableTrapsCnpd.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cnpd", data.getPath()))
	}
	if !data.EnableTrapsCasa.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/casa", data.getPath()))
	}
	if !data.EnableTrapsAlarmType.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/alarms/alarm-type", data.getPath()))
	}
	if !data.EnableTrapsPki.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pki", data.getPath()))
	}
	if !data.EnableTrapsAdslline.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/adslline", data.getPath()))
	}
	if !data.EnableTrapsVdsl2line.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vdsl2line", data.getPath()))
	}
	if !data.EnableTrapsAaaServer.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/aaa_server", data.getPath()))
	}
	if !data.EnableTrapsLisp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/lisp", data.getPath()))
	}
	if !data.EnableTrapsMvpn.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mvpn", data.getPath()))
	}
	if !data.EnableTrapsVrfmibVnetTrunkDown.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vrfmib/vnet-trunk-down", data.getPath()))
	}
	if !data.EnableTrapsVrfmibVnetTrunkUp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vrfmib/vnet-trunk-up", data.getPath()))
	}
	if !data.EnableTrapsVrfmibVrfDown.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vrfmib/vrf-down", data.getPath()))
	}
	if !data.EnableTrapsVrfmibVrfUp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vrfmib/vrf-up", data.getPath()))
	}
	if !data.EnableTrapsMacNotificationThreshold.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mac-notification/threshold", data.getPath()))
	}
	if !data.EnableTrapsMacNotificationMove.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mac-notification/move", data.getPath()))
	}
	if !data.EnableTrapsMacNotificationChange.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mac-notification/change", data.getPath()))
	}
	if !data.EnableTrapsBulkstatTransfer.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bulkstat/transfer", data.getPath()))
	}
	if !data.EnableTrapsBulkstatCollection.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bulkstat/collection", data.getPath()))
	}
	if !data.EnableTrapsTransceiverAll.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/transceiver/all", data.getPath()))
	}
	if !data.EnableTrapsRf.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/rf", data.getPath()))
	}
	if !data.EnableTrapsErrdisable.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/errdisable", data.getPath()))
	}
	if !data.EnableTrapsVlanMembership.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vlan-membership", data.getPath()))
	}
	if !data.EnableTrapsLocalAuth.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/local-auth", data.getPath()))
	}
	if !data.EnableTrapsFastRerouteProtected.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/fast-reroute/protected", data.getPath()))
	}
	if !data.EnableTrapsMplsLdp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/ldp", data.getPath()))
	}
	if !data.EnableTrapsMplsRfcLdp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/rfc/ldp", data.getPath()))
	}
	if !data.EnableTrapsMplsRfc.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/rfc", data.getPath()))
	}
	if !data.EnableTrapsMplsVpn.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/vpn", data.getPath()))
	}
	if !data.EnableTrapsMpls.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls", data.getPath()))
	}
	if !data.EnableTrapsMplsTrafficEng.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/mpls/traffic-eng", data.getPath()))
	}
	if !data.EnableTrapsNhrpQuotaExceeded.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/nhrp/quota-exceeded", data.getPath()))
	}
	if !data.EnableTrapsNhrpNhp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/nhrp/nhp", data.getPath()))
	}
	if !data.EnableTrapsNhrpNhc.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/nhrp/nhc", data.getPath()))
	}
	if !data.EnableTrapsNhrpNhs.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/nhrp/nhs", data.getPath()))
	}
	if !data.EnableTrapsBgpCbgp2.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-bgp:bgp/cbgp2", data.getPath()))
	}
	if !data.EnableTrapsSyslog.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/syslog", data.getPath()))
	}
	if !data.EnableTrapsStpxLoopInconsistency.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/stpx", data.getPath()))
	}
	if !data.EnableTrapsStpxRootInconsistency.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/stpx", data.getPath()))
	}
	if !data.EnableTrapsStpxInconsistency.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/stpx/inconsistency", data.getPath()))
	}
	if !data.EnableTrapsBridgeTopologychange.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bridge/topologychange", data.getPath()))
	}
	if !data.EnableTrapsBridgeNewroot.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bridge/newroot", data.getPath()))
	}
	if !data.EnableTrapsPimRpMappingChange.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pim/rp-mapping-change", data.getPath()))
	}
	if !data.EnableTrapsPimNeighborChange.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pim/neighbor-change", data.getPath()))
	}
	if !data.EnableTrapsPimInvalidPimMessage.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pim/invalid-pim-message", data.getPath()))
	}
	if !data.EnableTrapsOspfConfigErrors.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/errors/enable", data.getPath()))
	}
	if !data.EnableTrapsOspfConfigStateChange.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/state-change/enable", data.getPath()))
	}
	if !data.EnableTrapsMsdp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/msdp", data.getPath()))
	}
	if !data.EnableTrapsIpmulticast.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipmulticast", data.getPath()))
	}
	if !data.EnableTrapsHsrp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/hsrp", data.getPath()))
	}
	if !data.EnableTrapsEventManager.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/event-manager", data.getPath()))
	}
	if !data.EnableTrapsDhcp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/dhcp", data.getPath()))
	}
	if !data.EnableTrapsConfigCtid.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/config-ctid", data.getPath()))
	}
	if !data.EnableTrapsConfig.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/config", data.getPath()))
	}
	if !data.EnableTrapsConfigCopy.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/config-copy", data.getPath()))
	}
	if !data.EnableTrapsIpsecTooManySas.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/too-many-sas", data.getPath()))
	}
	if !data.EnableTrapsIpsecTunnelStop.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/tunnel/stop", data.getPath()))
	}
	if !data.EnableTrapsIpsecTunnelStart.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/tunnel/start", data.getPath()))
	}
	if !data.EnableTrapsIpsecCryptomapDetach.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/cryptomap/detach", data.getPath()))
	}
	if !data.EnableTrapsIpsecCryptomapDelete.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/cryptomap/delete", data.getPath()))
	}
	if !data.EnableTrapsIpsecCryptomapAttach.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/cryptomap/attach", data.getPath()))
	}
	if !data.EnableTrapsIpsecCryptomapAdd.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsec/cryptomap/add", data.getPath()))
	}
	if !data.EnableTrapsIkeTunnelStop.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ike/tunnel/stop", data.getPath()))
	}
	if !data.EnableTrapsIkeTunnelStart.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ike/tunnel/start", data.getPath()))
	}
	if !data.EnableTrapsIkePolicyDelete.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ike/policy/delete", data.getPath()))
	}
	if !data.EnableTrapsIkePolicyAdd.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ike/policy/add", data.getPath()))
	}
	if !data.EnableTrapsBfd.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/bfd", data.getPath()))
	}
	if !data.EnableTrapsEntityDiagScheduledTestFail.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-diag/scheduled-test-fail", data.getPath()))
	}
	if !data.EnableTrapsEntityDiagHmThreshReached.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-diag/hm-thresh-reached", data.getPath()))
	}
	if !data.EnableTrapsEntityDiagHmTestRecover.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-diag/hm-test-recover", data.getPath()))
	}
	if !data.EnableTrapsEntityDiagBootUpFail.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-diag/boot-up-fail", data.getPath()))
	}
	if !data.EnableTrapsIpsla.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/ipsla", data.getPath()))
	}
	if !data.EnableTrapsIsis.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/isis", data.getPath()))
	}
	if !data.EnableTrapsCefInconsistency.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cef/inconsistency", data.getPath()))
	}
	if !data.EnableTrapsCefPeerFibStateChange.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cef/peer-fib-state-change", data.getPath()))
	}
	if !data.EnableTrapsCefPeerStateChange.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cef/peer-state-change", data.getPath()))
	}
	if !data.EnableTrapsCefResourceFailure.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cef/resource-failure", data.getPath()))
	}
	if !data.EnableTrapsEnvmon.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/envmon", data.getPath()))
	}
	if !data.EnableTrapsPwVc.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/pw", data.getPath()))
	}
	if !data.EnableTrapsEntity.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity", data.getPath()))
	}
	if !data.EnableTrapsPowerEthernetPolice.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/power-ethernet/police", data.getPath()))
	}
	if !data.EnableTrapsPowerEthernetGroup.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/power-ethernet/group", data.getPath()))
	}
	if !data.EnableTrapsEnergywise.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/energywise", data.getPath()))
	}
	if !data.EnableTrapsFlashLowspace.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/flash/lowspace", data.getPath()))
	}
	if !data.EnableTrapsFlashRemoval.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/flash/removal", data.getPath()))
	}
	if !data.EnableTrapsFlashInsertion.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/flash/insertion", data.getPath()))
	}
	if !data.EnableTrapsFruCtrl.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/fru-ctrl", data.getPath()))
	}
	if !data.EnableTrapsUdldStatusChange.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/udld/status-change", data.getPath()))
	}
	if !data.EnableTrapsUdldLinkFailRpt.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/udld/link-fail-rpt", data.getPath()))
	}
	if !data.EnableTrapsStackwise.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/stackwise", data.getPath()))
	}
	if !data.EnableTrapsMemoryBufferpeak.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/memory/bufferpeak", data.getPath()))
	}
	if !data.EnableTrapsCpuThreshold.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/cpu/threshold", data.getPath()))
	}
	if !data.EnableTrapsSmartLicense.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/smart-licenseing/smart-license", data.getPath()))
	}
	if !data.EnableTrapsLicense.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/license", data.getPath()))
	}
	if !data.EnableTrapsPortSecurity.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/port-security", data.getPath()))
	}
	if !data.EnableTrapsVlandelete.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vlandelete", data.getPath()))
	}
	if !data.EnableTrapsVlancreate.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vlancreate", data.getPath()))
	}
	if !data.EnableTrapsVtp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/vtp", data.getPath()))
	}
	if !data.EnableTrapsRep.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/rep", data.getPath()))
	}
	if !data.EnableTrapsAuthFrameworkSecViolation.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/auth-framework/sec-violation", data.getPath()))
	}
	if !data.EnableTrapsEigrp.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/eigrp", data.getPath()))
	}
	if !data.EnableTrapsOspfLsaEnable.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/lsa/enable", data.getPath()))
	}
	if !data.EnableTrapsOspfRetransmitEnable.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/retransmit/enable", data.getPath()))
	}
	if !data.EnableTrapsOspfErrorsEnable.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/errors/enable", data.getPath()))
	}
	if !data.EnableTrapsOspfShamlinkNeighbor.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/state-change/shamlink/neighbor", data.getPath()))
	}
	if !data.EnableTrapsOspfShamlinkInterface.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/state-change/shamlink/interface", data.getPath()))
	}
	if !data.EnableTrapsOspfNssaTransChange.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/cisco-specific/state-change/nssa-trans-change", data.getPath()))
	}
	if !data.EnableTrapsOspfConfigLsa.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/lsa/enable", data.getPath()))
	}
	if !data.EnableTrapsOspfConfigRetransmit.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospf:ospf-config/retransmit/enable", data.getPath()))
	}
	if !data.EnableTrapsOspfv3ConfigErrors.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospfv3:ospfv3-config/errors/enable", data.getPath()))
	}
	if !data.EnableTrapsOspfv3ConfigStateChange.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/Cisco-IOS-XE-ospfv3:ospfv3-config/state-change/enable", data.getPath()))
	}
	if !data.EnableTrapsTty.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/tty", data.getPath()))
	}
	if !data.EnableTrapsCallHomeServerFail.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/call-home/server-fail", data.getPath()))
	}
	if !data.EnableTrapsCallHomeMessageSendFail.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/call-home/message-send-fail", data.getPath()))
	}
	if !data.EnableTrapsEntityPerfThroughputNotif.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/entity-perf/throughput-notif", data.getPath()))
	}
	if !data.EnableTrapsFlowmon.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/flowmon", data.getPath()))
	}
	if !data.SystemShutdown.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:system-shutdown", data.getPath()))
	}
	for i := range data.VrfHosts {
		keyValues := [...]string{data.VrfHosts[i].IpAddress.ValueString(), data.VrfHosts[i].Vrf.ValueString()}

		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:host-config/ip-vrf-community=%v", data.getPath(), strings.Join(keyValues[:], ",")))
	}
	for i := range data.Hosts {
		keyValues := [...]string{data.Hosts[i].IpAddress.ValueString()}

		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:host-config/ip-community=%v", data.getPath(), strings.Join(keyValues[:], ",")))
	}
	if !data.EnableTrapsSnmpWarmstart.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/snmp/warmstart", data.getPath()))
	}
	if !data.EnableTrapsSnmpLinkup.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/snmp/linkup", data.getPath()))
	}
	if !data.EnableTrapsSnmpLinkdown.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/snmp/linkdown", data.getPath()))
	}
	if !data.EnableTrapsSnmpColdstart.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/snmp/coldstart", data.getPath()))
	}
	if !data.EnableTrapsSnmpAuthentication.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps/snmp/authentication", data.getPath()))
	}
	if !data.EnableTraps.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/traps", data.getPath()))
	}
	if !data.EnableInforms.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/informs", data.getPath()))
	}
	if !data.EnableLoggingSetop.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/logging/setop", data.getPath()))
	}
	if !data.EnableLoggingGetop.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:enable/enable-choice/logging/getop", data.getPath()))
	}
	if !data.QueueLength.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:queue-length", data.getPath()))
	}
	if !data.Packetsize.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:packetsize", data.getPath()))
	}
	if !data.Location.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:location", data.getPath()))
	}
	if !data.IfindexPersist.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:ifindex/persist", data.getPath()))
	}
	if !data.Contact.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:contact", data.getPath()))
	}
	if !data.ChassisId.IsNull() {
		deletePaths = append(deletePaths, fmt.Sprintf("%v/Cisco-IOS-XE-snmp:chassis-id", data.getPath()))
	}

	return deletePaths
}

// End of section. //template:end getDeletePaths
