apis

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2018 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 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 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