apis

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRequest

type CreateRequest struct {
	core.JDCloudRequest

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

	/* 商场ID  */
	MallId string `json:"mallId"`

	/* 定制画像任务ID  */
	ProfileId string `json:"profileId"`

	/* 多级筛选的标签,多个标签请用英文逗号分隔,最多只能传三个标签  */
	Dimensions string `json:"dimensions"`
}

func NewCreateRequest

func NewCreateRequest(
	regionId string,
	mallId string,
	profileId string,
	dimensions string,
) *CreateRequest

* param regionId: 地域ID (Required) * param mallId: 商场ID (Required) * param profileId: 定制画像任务ID (Required) * param dimensions: 多级筛选的标签,多个标签请用英文逗号分隔,最多只能传三个标签 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateRequestWithAllParams

func NewCreateRequestWithAllParams(
	regionId string,
	mallId string,
	profileId string,
	dimensions string,
) *CreateRequest

* param regionId: 地域ID (Required) * param mallId: 商场ID (Required) * param profileId: 定制画像任务ID (Required) * param dimensions: 多级筛选的标签,多个标签请用英文逗号分隔,最多只能传三个标签 (Required)

func NewCreateRequestWithoutParam

func NewCreateRequestWithoutParam() *CreateRequest

This constructor has better compatible ability when API parameters changed

func (CreateRequest) GetRegionId

func (r CreateRequest) GetRegionId() string

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

func (*CreateRequest) SetDimensions

func (r *CreateRequest) SetDimensions(dimensions string)

param dimensions: 多级筛选的标签,多个标签请用英文逗号分隔,最多只能传三个标签(Required)

func (*CreateRequest) SetMallId

func (r *CreateRequest) SetMallId(mallId string)

param mallId: 商场ID(Required)

func (*CreateRequest) SetProfileId

func (r *CreateRequest) SetProfileId(profileId string)

param profileId: 定制画像任务ID(Required)

func (*CreateRequest) SetRegionId

func (r *CreateRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

type CreateResponse

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

type CreateResult

type CreateResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
	Data    string `json:"data"`
}

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    datastar.RegionIndustryDataList `json:"data"`
}

type GetPackageIdRequest

type GetPackageIdRequest struct {
	core.JDCloudRequest

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

	/* MD5(deviceId),多个MD5(deviceId)用英文逗号进行分割,注:MD5结果小写  */
	DeviceIds string `json:"deviceIds"`
}

func NewGetPackageIdRequest

func NewGetPackageIdRequest(
	regionId string,
	deviceIds string,
) *GetPackageIdRequest

* param regionId: 地域ID (Required) * param deviceIds: MD5(deviceId),多个MD5(deviceId)用英文逗号进行分割,注:MD5结果小写 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGetPackageIdRequestWithAllParams

func NewGetPackageIdRequestWithAllParams(
	regionId string,
	deviceIds string,
) *GetPackageIdRequest

* param regionId: 地域ID (Required) * param deviceIds: MD5(deviceId),多个MD5(deviceId)用英文逗号进行分割,注:MD5结果小写 (Required)

func NewGetPackageIdRequestWithoutParam

func NewGetPackageIdRequestWithoutParam() *GetPackageIdRequest

This constructor has better compatible ability when API parameters changed

func (GetPackageIdRequest) GetRegionId

func (r GetPackageIdRequest) GetRegionId() string

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

func (*GetPackageIdRequest) SetDeviceIds

func (r *GetPackageIdRequest) SetDeviceIds(deviceIds string)

param deviceIds: MD5(deviceId),多个MD5(deviceId)用英文逗号进行分割,注:MD5结果小写(Required)

func (*GetPackageIdRequest) SetRegionId

func (r *GetPackageIdRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

type GetPackageIdResponse

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

type GetPackageIdResult

type GetPackageIdResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
	Data    string `json:"data"`
}

type GetProfileRequest

type GetProfileRequest struct {
	core.JDCloudRequest

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

	/* deviceId,mobile等,多个id英文逗号分隔  */
	Id string `json:"id"`

	/* 数据类型  */
	Type string `json:"type"`

	/* 画像标签编号,多个画像标签英文逗号分隔  */
	LabelCode string `json:"labelCode"`
}

func NewGetProfileRequest

func NewGetProfileRequest(
	regionId string,
	id string,
	type_ string,
	labelCode string,
) *GetProfileRequest

* param regionId: 地域ID (Required) * param id: deviceId,mobile等,多个id英文逗号分隔 (Required) * param type_: 数据类型 (Required) * param labelCode: 画像标签编号,多个画像标签英文逗号分隔 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGetProfileRequestWithAllParams

func NewGetProfileRequestWithAllParams(
	regionId string,
	id string,
	type_ string,
	labelCode string,
) *GetProfileRequest

* param regionId: 地域ID (Required) * param id: deviceId,mobile等,多个id英文逗号分隔 (Required) * param type_: 数据类型 (Required) * param labelCode: 画像标签编号,多个画像标签英文逗号分隔 (Required)

func NewGetProfileRequestWithoutParam

func NewGetProfileRequestWithoutParam() *GetProfileRequest

This constructor has better compatible ability when API parameters changed

func (GetProfileRequest) GetRegionId

func (r GetProfileRequest) GetRegionId() string

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

func (*GetProfileRequest) SetId

func (r *GetProfileRequest) SetId(id string)

param id: deviceId,mobile等,多个id英文逗号分隔(Required)

func (*GetProfileRequest) SetLabelCode

func (r *GetProfileRequest) SetLabelCode(labelCode string)

param labelCode: 画像标签编号,多个画像标签英文逗号分隔(Required)

func (*GetProfileRequest) SetRegionId

func (r *GetProfileRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*GetProfileRequest) SetType

func (r *GetProfileRequest) SetType(type_ string)

param type_: 数据类型(Required)

type GetProfileResponse

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

type GetProfileResult

type GetProfileResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
	Data    string `json:"data"`
}

type GetResultRequest

type GetResultRequest struct {
	core.JDCloudRequest

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

	/* 多级筛选任务ID  */
	ProfileSelectRecordId string `json:"profileSelectRecordId"`
}

func NewGetResultRequest

func NewGetResultRequest(
	regionId string,
	profileSelectRecordId string,
) *GetResultRequest

* param regionId: 地域ID (Required) * param profileSelectRecordId: 多级筛选任务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGetResultRequestWithAllParams

func NewGetResultRequestWithAllParams(
	regionId string,
	profileSelectRecordId string,
) *GetResultRequest

* param regionId: 地域ID (Required) * param profileSelectRecordId: 多级筛选任务ID (Required)

func NewGetResultRequestWithoutParam

func NewGetResultRequestWithoutParam() *GetResultRequest

This constructor has better compatible ability when API parameters changed

func (GetResultRequest) GetRegionId

func (r GetResultRequest) GetRegionId() string

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

func (*GetResultRequest) SetProfileSelectRecordId

func (r *GetResultRequest) SetProfileSelectRecordId(profileSelectRecordId string)

param profileSelectRecordId: 多级筛选任务ID(Required)

func (*GetResultRequest) SetRegionId

func (r *GetResultRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

type GetResultResponse

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

type GetResultResult

type GetResultResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
	Data    string `json:"data"`
}

type TestWelcomeRequest

type TestWelcomeRequest struct {
	core.JDCloudRequest

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

	/* testOpenApi入参  */
	TestOpenApiInfo *datastar.TestOpenApiReq `json:"testOpenApiInfo"`
}

func NewTestWelcomeRequest

func NewTestWelcomeRequest(
	regionId string,
	testOpenApiInfo *datastar.TestOpenApiReq,
) *TestWelcomeRequest

* param regionId: 地域ID (Required) * param testOpenApiInfo: testOpenApi入参 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewTestWelcomeRequestWithAllParams

func NewTestWelcomeRequestWithAllParams(
	regionId string,
	testOpenApiInfo *datastar.TestOpenApiReq,
) *TestWelcomeRequest

* param regionId: 地域ID (Required) * param testOpenApiInfo: testOpenApi入参 (Required)

func NewTestWelcomeRequestWithoutParam

func NewTestWelcomeRequestWithoutParam() *TestWelcomeRequest

This constructor has better compatible ability when API parameters changed

func (TestWelcomeRequest) GetRegionId

func (r TestWelcomeRequest) GetRegionId() string

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

func (*TestWelcomeRequest) SetRegionId

func (r *TestWelcomeRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*TestWelcomeRequest) SetTestOpenApiInfo

func (r *TestWelcomeRequest) SetTestOpenApiInfo(testOpenApiInfo *datastar.TestOpenApiReq)

param testOpenApiInfo: testOpenApi入参(Required)

type TestWelcomeResponse

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

type TestWelcomeResult

type TestWelcomeResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
	Data    string `json:"data"`
}

Jump to

Keyboard shortcuts

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