Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 2.8 KB

RiskEventSubject.md

File metadata and controls

98 lines (53 loc) · 2.8 KB

RiskEventSubject

Properties

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 RiskEventSubjectRiskLevel

Methods

NewRiskEventSubject

func NewRiskEventSubject(ip string, riskLevel RiskEventSubjectRiskLevel, ) *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

NewRiskEventSubjectWithDefaults

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

GetIp

func (o *RiskEventSubject) GetIp() string

GetIp returns the Ip field if non-nil, zero value otherwise.

GetIpOk

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.

SetIp

func (o *RiskEventSubject) SetIp(v string)

SetIp sets Ip field to given value.

GetMessage

func (o *RiskEventSubject) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

GetMessageOk

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.

SetMessage

func (o *RiskEventSubject) SetMessage(v string)

SetMessage sets Message field to given value.

HasMessage

func (o *RiskEventSubject) HasMessage() bool

HasMessage returns a boolean if a field has been set.

GetRiskLevel

func (o *RiskEventSubject) GetRiskLevel() RiskEventSubjectRiskLevel

GetRiskLevel returns the RiskLevel field if non-nil, zero value otherwise.

GetRiskLevelOk

func (o *RiskEventSubject) GetRiskLevelOk() (*RiskEventSubjectRiskLevel, 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.

SetRiskLevel

func (o *RiskEventSubject) SetRiskLevel(v RiskEventSubjectRiskLevel)

SetRiskLevel sets RiskLevel field to given value.

[Back to Model list] [Back to API list] [Back to README]