Skip to content

Latest commit

 

History

History
135 lines (72 loc) · 3.03 KB

Log.md

File metadata and controls

135 lines (72 loc) · 3.03 KB

Log

Properties

Name Type Description Notes
Id int64
Type string
Data map[string]interface{}
Hash string
Date time.Time

Methods

NewLog

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

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

GetId

func (o *Log) GetId() int64

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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.

SetId

func (o *Log) SetId(v int64)

SetId sets Id field to given value.

GetType

func (o *Log) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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.

SetType

func (o *Log) SetType(v string)

SetType sets Type field to given value.

GetData

func (o *Log) GetData() map[string]interface{}

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

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.

SetData

func (o *Log) SetData(v map[string]interface{})

SetData sets Data field to given value.

GetHash

func (o *Log) GetHash() string

GetHash returns the Hash field if non-nil, zero value otherwise.

GetHashOk

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.

SetHash

func (o *Log) SetHash(v string)

SetHash sets Hash field to given value.

GetDate

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

GetDate returns the Date field if non-nil, zero value otherwise.

GetDateOk

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.

SetDate

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

SetDate sets Date field to given value.

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