apis

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: Apache-2.0 Imports: 2 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetLargeScreenDataRequest

type GetLargeScreenDataRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 查询区域,比如某某省或某某市(可选区域以最终授权为准)  */
	Region string `json:"region"`

	/* 查询行业,比如某个水果或者农作物(可选行业以最终授权为准)  */
	Industry string `json:"industry"`

	/* 查询起始时间,格式如下:yyyy-MM-dd  */
	StartDate string `json:"startDate"`

	/* 查询结束时间,格式如下:yyyy-MM-dd  */
	EndDate string `json:"endDate"`

	/* 数据对应的第一级分析指标(可选一级指标以最终授权为准)  */
	FirstIndex string `json:"firstIndex"`

	/* 数据对应的第二级分析指标,如不填写,则默认把一级指标下的所有二级指标都查询出来(可选二级指标以最终授权为准) (Optional) */
	SecondIndex *string `json:"secondIndex"`
}

func NewGetLargeScreenDataRequest

func NewGetLargeScreenDataRequest(
	regionId string,
	region string,
	industry string,
	startDate string,
	endDate string,
	firstIndex string,
) *GetLargeScreenDataRequest

* param regionId: 地域ID (Required) * param region: 查询区域,比如某某省或某某市(可选区域以最终授权为准) (Required) * param industry: 查询行业,比如某个水果或者农作物(可选行业以最终授权为准) (Required) * param startDate: 查询起始时间,格式如下:yyyy-MM-dd (Required) * param endDate: 查询结束时间,格式如下:yyyy-MM-dd (Required) * param firstIndex: 数据对应的第一级分析指标(可选一级指标以最终授权为准) (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGetLargeScreenDataRequestWithAllParams

func NewGetLargeScreenDataRequestWithAllParams(
	regionId string,
	region string,
	industry string,
	startDate string,
	endDate string,
	firstIndex string,
	secondIndex *string,
) *GetLargeScreenDataRequest

* param regionId: 地域ID (Required) * param region: 查询区域,比如某某省或某某市(可选区域以最终授权为准) (Required) * param industry: 查询行业,比如某个水果或者农作物(可选行业以最终授权为准) (Required) * param startDate: 查询起始时间,格式如下:yyyy-MM-dd (Required) * param endDate: 查询结束时间,格式如下:yyyy-MM-dd (Required) * param firstIndex: 数据对应的第一级分析指标(可选一级指标以最终授权为准) (Required) * param secondIndex: 数据对应的第二级分析指标,如不填写,则默认把一级指标下的所有二级指标都查询出来(可选二级指标以最终授权为准) (Optional)

func NewGetLargeScreenDataRequestWithoutParam

func NewGetLargeScreenDataRequestWithoutParam() *GetLargeScreenDataRequest

This constructor has better compatible ability when API parameters changed

func (GetLargeScreenDataRequest) GetRegionId

func (r GetLargeScreenDataRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*GetLargeScreenDataRequest) SetEndDate

func (r *GetLargeScreenDataRequest) SetEndDate(endDate string)

param endDate: 查询结束时间,格式如下:yyyy-MM-dd(Required)

func (*GetLargeScreenDataRequest) SetFirstIndex

func (r *GetLargeScreenDataRequest) SetFirstIndex(firstIndex string)

param firstIndex: 数据对应的第一级分析指标(可选一级指标以最终授权为准)(Required)

func (*GetLargeScreenDataRequest) SetIndustry

func (r *GetLargeScreenDataRequest) SetIndustry(industry string)

param industry: 查询行业,比如某个水果或者农作物(可选行业以最终授权为准)(Required)

func (*GetLargeScreenDataRequest) SetRegion

func (r *GetLargeScreenDataRequest) SetRegion(region string)

param region: 查询区域,比如某某省或某某市(可选区域以最终授权为准)(Required)

func (*GetLargeScreenDataRequest) SetRegionId

func (r *GetLargeScreenDataRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*GetLargeScreenDataRequest) SetSecondIndex

func (r *GetLargeScreenDataRequest) SetSecondIndex(secondIndex string)

param secondIndex: 数据对应的第二级分析指标,如不填写,则默认把一级指标下的所有二级指标都查询出来(可选二级指标以最终授权为准)(Optional)

func (*GetLargeScreenDataRequest) SetStartDate

func (r *GetLargeScreenDataRequest) SetStartDate(startDate string)

param startDate: 查询起始时间,格式如下:yyyy-MM-dd(Required)

type GetLargeScreenDataResponse

type GetLargeScreenDataResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    GetLargeScreenDataResult `json:"result"`
}

type GetLargeScreenDataResult

type GetLargeScreenDataResult struct {
	Status  bool                                `json:"status"`
	Message string                              `json:"message"`
	Data    industrydata.RegionIndustryDataList `json:"data"`
}

Jump to

Keyboard shortcuts

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