configdiningtime

package
v0.0.0-...-905ac7b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigDiningTimeRequest

type ConfigDiningTimeRequest struct {
	Data []Data `json:"data"`
}

func (*ConfigDiningTimeRequest) DoInvoke

func (req *ConfigDiningTimeRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*ConfigDiningTimeResponse, error)

type ConfigDiningTimeResponse

type ConfigDiningTimeResponse struct {
	Code string `json:"code"`
	Msg  string `json:"msg"`
	/**
	 * 返回的数据
	 */
	Data    string `json:"data"`
	TraceId string `json:"traceId"`
}

func (*ConfigDiningTimeResponse) IsSuccess

func (response *ConfigDiningTimeResponse) IsSuccess() bool

type Data

type Data struct {
	/**
	 *  星期
	 */
	Weeks []int32 `json:"weeks"`
	/**
	 *  具体配置
	 */
	DiningTime []DiningTime `json:"diningTime"`
}

type DiningTime

type DiningTime struct {
	/**
	 *  时段类型
	 */
	Type int32 `json:"type"`
	/**
	 *  开始小时
	 */
	StartHour int32 `json:"startHour"`
	/**
	 *  开始分钟
	 */
	StartMinute int32 `json:"startMinute"`
	/**
	 *  结束小时
	 */
	EndHour int32 `json:"endHour"`
	/**
	 *  结束分钟
	 */
	EndMinute int32 `json:"endMinute"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL