apis

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2018 License: Apache-2.0 Imports: 2 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRequest added in v1.1.3

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 added in v1.1.3

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 added in v1.1.3

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 added in v1.1.3

func NewCreateRequestWithoutParam() *CreateRequest

This constructor has better compatible ability when API parameters changed

func (CreateRequest) GetRegionId added in v1.1.3

func (r CreateRequest) GetRegionId() string

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

func (*CreateRequest) SetDimensions added in v1.1.3

func (r *CreateRequest) SetDimensions(dimensions string)

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

func (*CreateRequest) SetMallId added in v1.1.3

func (r *CreateRequest) SetMallId(mallId string)

param mallId: 商场ID(Required)

func (*CreateRequest) SetProfileId added in v1.1.3

func (r *CreateRequest) SetProfileId(profileId string)

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

func (*CreateRequest) SetRegionId added in v1.1.3

func (r *CreateRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

type CreateResponse added in v1.1.3

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

type CreateResult added in v1.1.3

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

type GetLargeScreenDataRequest added in v1.1.1

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 added in v1.1.1

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 added in v1.1.1

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 added in v1.1.1

func NewGetLargeScreenDataRequestWithoutParam() *GetLargeScreenDataRequest

This constructor has better compatible ability when API parameters changed

func (GetLargeScreenDataRequest) GetRegionId added in v1.1.1

func (r GetLargeScreenDataRequest) GetRegionId() string

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

func (*GetLargeScreenDataRequest) SetEndDate added in v1.1.1

func (r *GetLargeScreenDataRequest) SetEndDate(endDate string)

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

func (*GetLargeScreenDataRequest) SetFirstIndex added in v1.1.1

func (r *GetLargeScreenDataRequest) SetFirstIndex(firstIndex string)

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

func (*GetLargeScreenDataRequest) SetIndustry added in v1.1.1

func (r *GetLargeScreenDataRequest) SetIndustry(industry string)

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

func (*GetLargeScreenDataRequest) SetRegion added in v1.1.1

func (r *GetLargeScreenDataRequest) SetRegion(region string)

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

func (*GetLargeScreenDataRequest) SetRegionId added in v1.1.1

func (r *GetLargeScreenDataRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*GetLargeScreenDataRequest) SetSecondIndex added in v1.1.1

func (r *GetLargeScreenDataRequest) SetSecondIndex(secondIndex string)

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

func (*GetLargeScreenDataRequest) SetStartDate added in v1.1.1

func (r *GetLargeScreenDataRequest) SetStartDate(startDate string)

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

type GetLargeScreenDataResponse added in v1.1.1

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

type GetLargeScreenDataResult added in v1.1.1

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 added in v1.0.11

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 added in v1.0.11

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 added in v1.0.11

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 added in v1.0.11

func NewGetProfileRequestWithoutParam() *GetProfileRequest

This constructor has better compatible ability when API parameters changed

func (GetProfileRequest) GetRegionId added in v1.0.11

func (r GetProfileRequest) GetRegionId() string

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

func (*GetProfileRequest) SetId added in v1.0.11

func (r *GetProfileRequest) SetId(id string)

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

func (*GetProfileRequest) SetLabelCode added in v1.0.11

func (r *GetProfileRequest) SetLabelCode(labelCode string)

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

func (*GetProfileRequest) SetRegionId added in v1.0.11

func (r *GetProfileRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*GetProfileRequest) SetType added in v1.0.11

func (r *GetProfileRequest) SetType(type_ string)

param type_: 数据类型(Required)

type GetProfileResponse added in v1.0.11

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

type GetProfileResult added in v1.0.11

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

type GetResultRequest added in v1.1.3

type GetResultRequest struct {
	core.JDCloudRequest

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

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

func NewGetResultRequest added in v1.1.3

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

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

func NewGetResultRequestWithAllParams added in v1.1.3

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

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

func NewGetResultRequestWithoutParam added in v1.1.3

func NewGetResultRequestWithoutParam() *GetResultRequest

This constructor has better compatible ability when API parameters changed

func (GetResultRequest) GetRegionId added in v1.1.3

func (r GetResultRequest) GetRegionId() string

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

func (*GetResultRequest) SetProfileSelectRecordId added in v1.1.3

func (r *GetResultRequest) SetProfileSelectRecordId(profileSelectRecordId string)

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

func (*GetResultRequest) SetRegionId added in v1.1.3

func (r *GetResultRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

type GetResultResponse added in v1.1.3

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

type GetResultResult added in v1.1.3

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