trade360-nodejs-sdk
Version:
LSports Trade360 SDK for Node.js
27 lines (26 loc) • 1.09 kB
TypeScript
import { HttpRequestDto } from '../../../common/dtos';
/**
* GetFixtureRequest class for sending request
* to get fixture from the API. It extends the
* HttpRequestDto class and contains the properties
* for the request to get fixture from the API.
* @param timestamp The Unix timestamp of the snapshot (seconds since epoch)
* @param fromDate The Unix timestamp for the start date of the snapshot (seconds since epoch)
* @param toDate The Unix timestamp for the end date of the snapshot (seconds since epoch)
* @param sports The sport IDs to filter the fixture
* @param locations The location IDs to filter the fixture
* @param leagues The league IDs to filter the fixture
* @param fixtures The fixture IDs to filter the fixture
* @returns GetFixtureRequest instance that
* contains the properties for the request to get
* fixture from the API.
*/
export declare class GetFixtureRequest extends HttpRequestDto {
timestamp?: number;
fromDate?: number;
toDate?: number;
sports?: number[];
locations?: number[];
leagues?: number[];
fixtures?: number[];
}