Name | Type | Description | Notes |
---|---|---|---|
Enabled | Pointer to bool | Indicates whether the SNMP trap server is enabled. | [optional] |
Address | Pointer to string | The IP address of the SNMP trap server. | [optional] |
Port | Pointer to int32 | The SNMP trap server port. | [optional] |
Snmp | Pointer to SnmpBean | [optional] |
func NewSnmpTrapServerBean() *SnmpTrapServerBean
NewSnmpTrapServerBean instantiates a new SnmpTrapServerBean 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 NewSnmpTrapServerBeanWithDefaults() *SnmpTrapServerBean
NewSnmpTrapServerBeanWithDefaults instantiates a new SnmpTrapServerBean 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 *SnmpTrapServerBean) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *SnmpTrapServerBean) 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 *SnmpTrapServerBean) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *SnmpTrapServerBean) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *SnmpTrapServerBean) GetAddress() string
GetAddress returns the Address field if non-nil, zero value otherwise.
func (o *SnmpTrapServerBean) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnmpTrapServerBean) SetAddress(v string)
SetAddress sets Address field to given value.
func (o *SnmpTrapServerBean) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (o *SnmpTrapServerBean) GetPort() int32
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *SnmpTrapServerBean) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnmpTrapServerBean) SetPort(v int32)
SetPort sets Port field to given value.
func (o *SnmpTrapServerBean) HasPort() bool
HasPort returns a boolean if a field has been set.
func (o *SnmpTrapServerBean) GetSnmp() SnmpBean
GetSnmp returns the Snmp field if non-nil, zero value otherwise.
func (o *SnmpTrapServerBean) GetSnmpOk() (*SnmpBean, bool)
GetSnmpOk returns a tuple with the Snmp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnmpTrapServerBean) SetSnmp(v SnmpBean)
SetSnmp sets Snmp field to given value.
func (o *SnmpTrapServerBean) HasSnmp() bool
HasSnmp returns a boolean if a field has been set.