Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 2.41 KB

Base.md

File metadata and controls

98 lines (53 loc) · 2.41 KB

Base

Properties

Name Type Description Notes
Id string [readonly]
CreatedAt time.Time [readonly]
UpdatedAt Pointer to time.Time [optional] [readonly]

Methods

NewBase

func NewBase(id string, createdAt time.Time, ) *Base

NewBase instantiates a new Base 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

NewBaseWithDefaults

func NewBaseWithDefaults() *Base

NewBaseWithDefaults instantiates a new Base 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 *Base) GetId() string

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

GetIdOk

func (o *Base) GetIdOk() (*string, 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 *Base) SetId(v string)

SetId sets Id field to given value.

GetCreatedAt

func (o *Base) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *Base) GetCreatedAtOk() (*time.Time, bool)

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

SetCreatedAt

func (o *Base) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *Base) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *Base) GetUpdatedAtOk() (*time.Time, bool)

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

SetUpdatedAt

func (o *Base) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *Base) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

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