PingNotice Model
PingNotice Model documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Code | string | Machine-readable notice identifier | |
| Message | string | Human-readable notice message | |
| Details | Pointer to map[string]string | Additional contextual details | [optional] |
Methods
NewPingNotice
func NewPingNotice(code string, message string, ) *PingNotice
NewPingNotice instantiates a new PingNotice 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
NewPingNoticeWithDefaults
func NewPingNoticeWithDefaults() *PingNotice
NewPingNoticeWithDefaults instantiates a new PingNotice 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 *PingNotice) GetCode() string
GetCode returns the Code field if non-nil, zero value otherwise.
GetCodeOk
func (o *PingNotice) 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 *PingNotice) SetCode(v string)
SetCode sets Code field to given value.
GetMessage
func (o *PingNotice) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
GetMessageOk
func (o *PingNotice) 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 *PingNotice) SetMessage(v string)
SetMessage sets Message field to given value.
GetDetails
func (o *PingNotice) GetDetails() map[string]string
GetDetails returns the Details field if non-nil, zero value otherwise.
GetDetailsOk
func (o *PingNotice) GetDetailsOk() (*map[string]string, 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 *PingNotice) SetDetails(v map[string]string)
SetDetails sets Details field to given value.
HasDetails
func (o *PingNotice) HasDetails() bool
HasDetails returns a boolean if a field has been set.
SetDetailsNil
func (o *PingNotice) SetDetailsNil(b bool)
SetDetailsNil sets the value for Details to be an explicit nil
UnsetDetails
func (o *PingNotice) UnsetDetails()
UnsetDetails ensures that no value is present for Details, not even an explicit nil