Name | Type | Description | Notes |
---|---|---|---|
Peer | string | ||
Status | PeerStatus |
func NewPeerMisbehavior(peer string, status PeerStatus, ) *PeerMisbehavior
NewPeerMisbehavior instantiates a new PeerMisbehavior 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 NewPeerMisbehaviorWithDefaults() *PeerMisbehavior
NewPeerMisbehaviorWithDefaults instantiates a new PeerMisbehavior 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 *PeerMisbehavior) GetPeer() string
GetPeer returns the Peer field if non-nil, zero value otherwise.
func (o *PeerMisbehavior) GetPeerOk() (*string, bool)
GetPeerOk returns a tuple with the Peer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PeerMisbehavior) SetPeer(v string)
SetPeer sets Peer field to given value.
func (o *PeerMisbehavior) GetStatus() PeerStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *PeerMisbehavior) GetStatusOk() (*PeerStatus, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PeerMisbehavior) SetStatus(v PeerStatus)
SetStatus sets Status field to given value.