Name | Type | Description | Notes |
---|---|---|---|
Id | int64 | ||
Type | string | ||
Data | map[string]interface{} | ||
Hash | string | ||
Date | time.Time |
func NewLog(id int64, type_ string, data map[string]interface{}, hash string, date time.Time, ) *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
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
func (o *Log) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Log) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Log) SetId(v int64)
SetId sets Id field to given value.
func (o *Log) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Log) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Log) SetType(v string)
SetType sets Type field to given value.
func (o *Log) GetData() map[string]interface{}
GetData returns the Data field if non-nil, zero value otherwise.
func (o *Log) GetDataOk() (*map[string]interface{}, bool)
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Log) SetData(v map[string]interface{})
SetData sets Data field to given value.
func (o *Log) GetHash() string
GetHash returns the Hash field if non-nil, zero value otherwise.
func (o *Log) GetHashOk() (*string, bool)
GetHashOk returns a tuple with the Hash field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Log) SetHash(v string)
SetHash sets Hash field to given value.
func (o *Log) GetDate() time.Time
GetDate returns the Date field if non-nil, zero value otherwise.
func (o *Log) GetDateOk() (*time.Time, bool)
GetDateOk returns a tuple with the Date field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Log) SetDate(v time.Time)
SetDate sets Date field to given value.