Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 2.81 KB

BannedIpAddress.md

File metadata and controls

98 lines (53 loc) · 2.81 KB

BannedIpAddress

Properties

Name Type Description Notes
Code string Specifies an error code, e.g. error 404.
Message string Specifies the message of the error, i.e. why the error was returned, e.g. error 404 stands for “not found”.
Details Pointer to []BannedIpAddressDetailsInner [optional]

Methods

NewBannedIpAddress

func NewBannedIpAddress(code string, message string, ) *BannedIpAddress

NewBannedIpAddress instantiates a new BannedIpAddress 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

NewBannedIpAddressWithDefaults

func NewBannedIpAddressWithDefaults() *BannedIpAddress

NewBannedIpAddressWithDefaults instantiates a new BannedIpAddress 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

GetCode

func (o *BannedIpAddress) GetCode() string

GetCode returns the Code field if non-nil, zero value otherwise.

GetCodeOk

func (o *BannedIpAddress) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCode

func (o *BannedIpAddress) SetCode(v string)

SetCode sets Code field to given value.

GetMessage

func (o *BannedIpAddress) GetMessage() string

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

GetMessageOk

func (o *BannedIpAddress) 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 *BannedIpAddress) SetMessage(v string)

SetMessage sets Message field to given value.

GetDetails

func (o *BannedIpAddress) GetDetails() []BannedIpAddressDetailsInner

GetDetails returns the Details field if non-nil, zero value otherwise.

GetDetailsOk

func (o *BannedIpAddress) GetDetailsOk() (*[]BannedIpAddressDetailsInner, bool)

GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDetails

func (o *BannedIpAddress) SetDetails(v []BannedIpAddressDetailsInner)

SetDetails sets Details field to given value.

HasDetails

func (o *BannedIpAddress) HasDetails() bool

HasDetails returns a boolean if a field has been set.

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