Name | Type | Description | Notes |
---|---|---|---|
Ip | string | The risk event subject IP address (either an IPv4 or IPv6 address) | |
Message | Pointer to string | Additional reasons for the risk level of the IP | [optional] |
RiskLevel | string | The risk level associated with the IP |
func NewRiskEventSubject(ip string, riskLevel string, ) *RiskEventSubject
NewRiskEventSubject instantiates a new RiskEventSubject 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 NewRiskEventSubjectWithDefaults() *RiskEventSubject
NewRiskEventSubjectWithDefaults instantiates a new RiskEventSubject 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 *RiskEventSubject) GetIp() string
GetIp returns the Ip field if non-nil, zero value otherwise.
func (o *RiskEventSubject) GetIpOk() (*string, bool)
GetIpOk returns a tuple with the Ip field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RiskEventSubject) SetIp(v string)
SetIp sets Ip field to given value.
func (o *RiskEventSubject) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (o *RiskEventSubject) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RiskEventSubject) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *RiskEventSubject) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (o *RiskEventSubject) GetRiskLevel() string
GetRiskLevel returns the RiskLevel field if non-nil, zero value otherwise.
func (o *RiskEventSubject) GetRiskLevelOk() (*string, bool)
GetRiskLevelOk returns a tuple with the RiskLevel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RiskEventSubject) SetRiskLevel(v string)
SetRiskLevel sets RiskLevel field to given value.