Store
December 20, 2023 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Id | string | ||
| Name | string | ||
| CreatedAt | time.Time | ||
| UpdatedAt | time.Time | ||
| DeletedAt | Pointer to time.Time | [optional] |
Methods
NewStore
func NewStore(id string, name string, createdAt time.Time, updatedAt time.Time, ) *Store
NewStore instantiates a new Store 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
NewStoreWithDefaults
func NewStoreWithDefaults() *Store
NewStoreWithDefaults instantiates a new Store 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 *Store) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *Store) 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 *Store) SetId(v string)
SetId sets Id field to given value.
GetName
func (o *Store) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *Store) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *Store) SetName(v string)
SetName sets Name field to given value.
GetCreatedAt
func (o *Store) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
GetCreatedAtOk
func (o *Store) 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 *Store) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
GetUpdatedAt
func (o *Store) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
GetUpdatedAtOk
func (o *Store) 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 *Store) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
GetDeletedAt
func (o *Store) GetDeletedAt() time.Time
GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.
GetDeletedAtOk
func (o *Store) GetDeletedAtOk() (*time.Time, bool)
GetDeletedAtOk returns a tuple with the DeletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDeletedAt
func (o *Store) SetDeletedAt(v time.Time)
SetDeletedAt sets DeletedAt field to given value.
HasDeletedAt
func (o *Store) HasDeletedAt() bool
HasDeletedAt returns a boolean if a field has been set.