Events class

イベントを表すクラス。

コンストラクター

Events(PersonalizerClientContext)

イベントを作成します。

コンストラクターの詳細

Events(PersonalizerClientContext)

イベントを作成します。

new Events(client: PersonalizerClientContext)

パラメーター

client
PersonalizerClientContext

サービス クライアントへの参照。

メソッドの詳細

activate(string, RequestOptionsBase)

function activate(eventId: string, options?: RequestOptionsBase): Promise<RestResponse>

パラメーター

eventId

string

このアクティブ化が適用されるイベント ID。

options
RequestOptionsBase

省略可能なパラメーター

返品

Promise<RestResponse>

Promise<msRest.RestResponse応答>

activate(string, RequestOptionsBase, ServiceCallback<void>)

function activate(eventId: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

パラメーター

eventId

string

このアクティブ化が適用されるイベント ID。

options
RequestOptionsBase

省略可能なパラメーター

callback

ServiceCallback<void>

コールバック

activate(string, ServiceCallback<void>)

function activate(eventId: string, callback: ServiceCallback<void>)

パラメーター

eventId

string

このアクティブ化が適用されるイベント ID。

callback

ServiceCallback<void>

コールバック

reward(string, RewardRequest, RequestOptionsBase)

function reward(eventId: string, rewardParameter: RewardRequest, options?: RequestOptionsBase): Promise<RestResponse>

パラメーター

eventId

string

このリワードが適用されるイベント ID。

rewardParameter
RewardRequest

報酬は浮動小数点数にする必要があります。

options
RequestOptionsBase

省略可能なパラメーター

返品

Promise<RestResponse>

Promise<msRest.RestResponse応答>

reward(string, RewardRequest, RequestOptionsBase, ServiceCallback<void>)

function reward(eventId: string, rewardParameter: RewardRequest, options: RequestOptionsBase, callback: ServiceCallback<void>)

パラメーター

eventId

string

このリワードが適用されるイベント ID。

rewardParameter
RewardRequest

報酬は浮動小数点数にする必要があります。

options
RequestOptionsBase

省略可能なパラメーター

callback

ServiceCallback<void>

コールバック

reward(string, RewardRequest, ServiceCallback<void>)

function reward(eventId: string, rewardParameter: RewardRequest, callback: ServiceCallback<void>)

パラメーター

eventId

string

このリワードが適用されるイベント ID。

rewardParameter
RewardRequest

報酬は浮動小数点数にする必要があります。

callback

ServiceCallback<void>

コールバック