Name | Type | Description | Notes |
---|---|---|---|
CreatedTime | time.Time | The Unix time the specified menu was created in GrabFood's database. | |
UpdatedTime | time.Time | The Unix time the specified menu was created in GrabFood's database. | |
Code | string | The status code for this request. See Menu sync response statuses for more information. | |
Errors | Pointer to []string | An array of strings of error message. | [optional] |
Sections | Pointer to []MenuSyncFail | [optional] |
func NewMenuSyncResponse(createdTime time.Time, updatedTime time.Time, code string, ) *MenuSyncResponse
NewMenuSyncResponse instantiates a new MenuSyncResponse 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 NewMenuSyncResponseWithDefaults() *MenuSyncResponse
NewMenuSyncResponseWithDefaults instantiates a new MenuSyncResponse 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 *MenuSyncResponse) GetCreatedTime() time.Time
GetCreatedTime returns the CreatedTime field if non-nil, zero value otherwise.
func (o *MenuSyncResponse) GetCreatedTimeOk() (*time.Time, bool)
GetCreatedTimeOk returns a tuple with the CreatedTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MenuSyncResponse) SetCreatedTime(v time.Time)
SetCreatedTime sets CreatedTime field to given value.
func (o *MenuSyncResponse) GetUpdatedTime() time.Time
GetUpdatedTime returns the UpdatedTime field if non-nil, zero value otherwise.
func (o *MenuSyncResponse) GetUpdatedTimeOk() (*time.Time, bool)
GetUpdatedTimeOk returns a tuple with the UpdatedTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MenuSyncResponse) SetUpdatedTime(v time.Time)
SetUpdatedTime sets UpdatedTime field to given value.
func (o *MenuSyncResponse) GetCode() string
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *MenuSyncResponse) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MenuSyncResponse) SetCode(v string)
SetCode sets Code field to given value.
func (o *MenuSyncResponse) GetErrors() []string
GetErrors returns the Errors field if non-nil, zero value otherwise.
func (o *MenuSyncResponse) GetErrorsOk() (*[]string, bool)
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MenuSyncResponse) SetErrors(v []string)
SetErrors sets Errors field to given value.
func (o *MenuSyncResponse) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (o *MenuSyncResponse) SetErrorsNil(b bool)
SetErrorsNil sets the value for Errors to be an explicit nil
func (o *MenuSyncResponse) UnsetErrors()
UnsetErrors ensures that no value is present for Errors, not even an explicit nil
func (o *MenuSyncResponse) GetSections() []MenuSyncFail
GetSections returns the Sections field if non-nil, zero value otherwise.
func (o *MenuSyncResponse) GetSectionsOk() (*[]MenuSyncFail, bool)
GetSectionsOk returns a tuple with the Sections field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MenuSyncResponse) SetSections(v []MenuSyncFail)
SetSections sets Sections field to given value.
func (o *MenuSyncResponse) HasSections() bool
HasSections returns a boolean if a field has been set.
func (o *MenuSyncResponse) SetSectionsNil(b bool)
SetSectionsNil sets the value for Sections to be an explicit nil
func (o *MenuSyncResponse) UnsetSections()
UnsetSections ensures that no value is present for Sections, not even an explicit nil