Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 2.61 KB

Log.md

File metadata and controls

108 lines (59 loc) · 2.61 KB

Log

Properties

Name Type Description Notes
Timestamp Pointer to time.Time [optional]
Value Pointer to string [optional]
StatusCode Pointer to int32 [optional]

Methods

NewLog

func NewLog() *Log

NewLog instantiates a new Log 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

NewLogWithDefaults

func NewLogWithDefaults() *Log

NewLogWithDefaults instantiates a new Log 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

GetTimestamp

func (o *Log) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.

GetTimestampOk

func (o *Log) GetTimestampOk() (*time.Time, bool)

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

SetTimestamp

func (o *Log) SetTimestamp(v time.Time)

SetTimestamp sets Timestamp field to given value.

HasTimestamp

func (o *Log) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

GetValue

func (o *Log) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

GetValueOk

func (o *Log) GetValueOk() (*string, bool)

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

SetValue

func (o *Log) SetValue(v string)

SetValue sets Value field to given value.

HasValue

func (o *Log) HasValue() bool

HasValue returns a boolean if a field has been set.

GetStatusCode

func (o *Log) GetStatusCode() int32

GetStatusCode returns the StatusCode field if non-nil, zero value otherwise.

GetStatusCodeOk

func (o *Log) GetStatusCodeOk() (*int32, bool)

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

SetStatusCode

func (o *Log) SetStatusCode(v int32)

SetStatusCode sets StatusCode field to given value.

HasStatusCode

func (o *Log) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

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