Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ApiResponse

Index

Constructors

constructor

  • new ApiResponse(statusCode?: number, responseText?: string, errorMessage?: string): ApiResponse

Properties

Private _errorMessage

_errorMessage: string

Private _responseText

_responseText: string

Private _statusCode

_statusCode: number

Accessors

errorMessage

  • set errorMessage(errorMessage: string): void

jsonResponse

  • get jsonResponse(): {}
  • Retorna um JSON corresponde à resposta padrão da API

    Returns {}

    • [key: string]: string

responseText

  • get responseText(): string
  • set responseText(responseText: string): void

statusCode

  • get statusCode(): number
  • set statusCode(statusCode: number): void

Generated using TypeDoc