UNPKG

sleeper-api-tsclient

Version:

Typescript client for the sleeper api

99 lines (91 loc) 2.63 kB
/** * Sleeper API * The Sleeper API is a read-only HTTP API that is free to use and allows access to a users leagues, drafts, and rosters. No API Token is necessary, as you cannot modify contents via this API. Be mindful of the frequency of calls. A general rule is to stay under 1000 API calls per minute, otherwise, you risk being IP-blocked. * * OpenAPI spec version: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { HttpFile } from '../http/http'; export class PickMetadata { 'team': string; 'status': string; 'sport': string; 'position': string; 'playerId': string; 'number': string; 'newsUpdated': string; 'lastName': string; 'injuryStatus': string; 'firstName': string; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "team", "baseName": "team", "type": "string", "format": "" }, { "name": "status", "baseName": "status", "type": "string", "format": "" }, { "name": "sport", "baseName": "sport", "type": "string", "format": "" }, { "name": "position", "baseName": "position", "type": "string", "format": "" }, { "name": "playerId", "baseName": "player_id", "type": "string", "format": "" }, { "name": "number", "baseName": "number", "type": "string", "format": "" }, { "name": "newsUpdated", "baseName": "news_updated", "type": "string", "format": "" }, { "name": "lastName", "baseName": "last_name", "type": "string", "format": "" }, { "name": "injuryStatus", "baseName": "injury_status", "type": "string", "format": "" }, { "name": "firstName", "baseName": "first_name", "type": "string", "format": "" } ]; static getAttributeTypeMap() { return PickMetadata.attributeTypeMap; } public constructor() { } }