kaltura-node-typescript-client
Version:
Kaltura Node Typescript client
29 lines (28 loc) • 1.03 kB
TypeScript
import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaUserScorePropertiesResponse } from './KalturaUserScorePropertiesResponse';
import { KalturaGameObjectType } from './KalturaGameObjectType';
import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request';
export interface UserScoreUpdateActionArgs extends KalturaRequestArgs {
gameObjectId: string;
gameObjectType: KalturaGameObjectType;
userId: string;
score: number;
}
/**
* Build request payload for service 'userScore' action 'update'.
*
*
*
* Server response type: KalturaUserScorePropertiesResponse
* Server failure response type: KalturaAPIException
* @class
* @extends KalturaRequest
*/
export declare class UserScoreUpdateAction extends KalturaRequest<KalturaUserScorePropertiesResponse> {
gameObjectId: string;
gameObjectType: KalturaGameObjectType;
userId: string;
score: number;
constructor(data: UserScoreUpdateActionArgs);
protected _getMetadata(): KalturaObjectMetadata;
}