Name | Type | Description | Notes |
---|---|---|---|
Type | Pointer to string | The resource type. | [optional] |
Enabled | Pointer to bool | Indicates whether the SNMP service is enabled. | [optional] |
ManualOverrideEnabled | Pointer to bool | Indicates whether the SNMP service configuration has been manually overridden. | [optional] [readonly] |
ContactName | Pointer to string | The system name to be reported through SNMP. | [optional] |
ContactEmail | Pointer to string | The email address for the system contact to be reported through SNMP. | [optional] |
Location | Pointer to string | The description of the system's location to be reported through SNMP. | [optional] |
Description | Pointer to string | The description of the system to be reported through SNMP. | [optional] |
PollingInterval | Pointer to string | The SNMP polling interval, in ISO 8601 duration format, that determines the frequency that SNMP values are refreshed on the system. | [optional] |
LogLevel | Pointer to string | The logging level for SNMP events. | [optional] |
Snmpv1 | Pointer to Snmpv1Bean | [optional] | |
Snmpv2c | Pointer to Snmpv2cBean | [optional] | |
Snmpv3 | Pointer to Snmpv3Bean | [optional] | |
TrapServers | Pointer to []SnmpTrapServerBean | [optional] |
func NewSNMPService() *SNMPService
NewSNMPService instantiates a new SNMPService object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSNMPServiceWithDefaults() *SNMPService
NewSNMPServiceWithDefaults instantiates a new SNMPService object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *SNMPService) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *SNMPService) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SNMPService) SetType(v string)
SetType sets Type field to given value.
func (o *SNMPService) HasType() bool
HasType returns a boolean if a field has been set.
func (o *SNMPService) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *SNMPService) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SNMPService) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *SNMPService) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *SNMPService) GetManualOverrideEnabled() bool
GetManualOverrideEnabled returns the ManualOverrideEnabled field if non-nil, zero value otherwise.
func (o *SNMPService) GetManualOverrideEnabledOk() (*bool, bool)
GetManualOverrideEnabledOk returns a tuple with the ManualOverrideEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SNMPService) SetManualOverrideEnabled(v bool)
SetManualOverrideEnabled sets ManualOverrideEnabled field to given value.
func (o *SNMPService) HasManualOverrideEnabled() bool
HasManualOverrideEnabled returns a boolean if a field has been set.
func (o *SNMPService) GetContactName() string
GetContactName returns the ContactName field if non-nil, zero value otherwise.
func (o *SNMPService) GetContactNameOk() (*string, bool)
GetContactNameOk returns a tuple with the ContactName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SNMPService) SetContactName(v string)
SetContactName sets ContactName field to given value.
func (o *SNMPService) HasContactName() bool
HasContactName returns a boolean if a field has been set.
func (o *SNMPService) GetContactEmail() string
GetContactEmail returns the ContactEmail field if non-nil, zero value otherwise.
func (o *SNMPService) GetContactEmailOk() (*string, bool)
GetContactEmailOk returns a tuple with the ContactEmail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SNMPService) SetContactEmail(v string)
SetContactEmail sets ContactEmail field to given value.
func (o *SNMPService) HasContactEmail() bool
HasContactEmail returns a boolean if a field has been set.
func (o *SNMPService) GetLocation() string
GetLocation returns the Location field if non-nil, zero value otherwise.
func (o *SNMPService) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SNMPService) SetLocation(v string)
SetLocation sets Location field to given value.
func (o *SNMPService) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (o *SNMPService) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *SNMPService) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SNMPService) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *SNMPService) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *SNMPService) GetPollingInterval() string
GetPollingInterval returns the PollingInterval field if non-nil, zero value otherwise.
func (o *SNMPService) GetPollingIntervalOk() (*string, bool)
GetPollingIntervalOk returns a tuple with the PollingInterval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SNMPService) SetPollingInterval(v string)
SetPollingInterval sets PollingInterval field to given value.
func (o *SNMPService) HasPollingInterval() bool
HasPollingInterval returns a boolean if a field has been set.
func (o *SNMPService) GetLogLevel() string
GetLogLevel returns the LogLevel field if non-nil, zero value otherwise.
func (o *SNMPService) GetLogLevelOk() (*string, bool)
GetLogLevelOk returns a tuple with the LogLevel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SNMPService) SetLogLevel(v string)
SetLogLevel sets LogLevel field to given value.
func (o *SNMPService) HasLogLevel() bool
HasLogLevel returns a boolean if a field has been set.
func (o *SNMPService) GetSnmpv1() Snmpv1Bean
GetSnmpv1 returns the Snmpv1 field if non-nil, zero value otherwise.
func (o *SNMPService) GetSnmpv1Ok() (*Snmpv1Bean, bool)
GetSnmpv1Ok returns a tuple with the Snmpv1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SNMPService) SetSnmpv1(v Snmpv1Bean)
SetSnmpv1 sets Snmpv1 field to given value.
func (o *SNMPService) HasSnmpv1() bool
HasSnmpv1 returns a boolean if a field has been set.
func (o *SNMPService) GetSnmpv2c() Snmpv2cBean
GetSnmpv2c returns the Snmpv2c field if non-nil, zero value otherwise.
func (o *SNMPService) GetSnmpv2cOk() (*Snmpv2cBean, bool)
GetSnmpv2cOk returns a tuple with the Snmpv2c field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SNMPService) SetSnmpv2c(v Snmpv2cBean)
SetSnmpv2c sets Snmpv2c field to given value.
func (o *SNMPService) HasSnmpv2c() bool
HasSnmpv2c returns a boolean if a field has been set.
func (o *SNMPService) GetSnmpv3() Snmpv3Bean
GetSnmpv3 returns the Snmpv3 field if non-nil, zero value otherwise.
func (o *SNMPService) GetSnmpv3Ok() (*Snmpv3Bean, bool)
GetSnmpv3Ok returns a tuple with the Snmpv3 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SNMPService) SetSnmpv3(v Snmpv3Bean)
SetSnmpv3 sets Snmpv3 field to given value.
func (o *SNMPService) HasSnmpv3() bool
HasSnmpv3 returns a boolean if a field has been set.
func (o *SNMPService) GetTrapServers() []SnmpTrapServerBean
GetTrapServers returns the TrapServers field if non-nil, zero value otherwise.
func (o *SNMPService) GetTrapServersOk() (*[]SnmpTrapServerBean, bool)
GetTrapServersOk returns a tuple with the TrapServers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SNMPService) SetTrapServers(v []SnmpTrapServerBean)
SetTrapServers sets TrapServers field to given value.
func (o *SNMPService) HasTrapServers() bool
HasTrapServers returns a boolean if a field has been set.