Юниверс DG SDK UI
v2.15.0

Класс ModelHttpOp<M, D, RESP, RESULT>

HTTP-операция для получения и конвертации ответа в экземпляр модели.

Параметры типа

Иерархия (Просмотр сводки)

Индекс

Конструкторы

Свойства

apiVersion: string
axiosPromise: AxiosPromise<any> | null
baseURL: string
config: IOpConfig<M, D>
urlContext?: UrlContextType
operationId: number

Методы

  • Redefined function query url Builder

    Возвращает string

  • return raw data from responce

    Параметры

    • value: Record<string, any>

    Возвращает RESP | undefined

  • Returns the name of the property where the expected data is stored

    Возвращает string | string[]

  • Returns the name of the property that contains the request success flag

    Возвращает string

  • Returns the response code that is considered successful

    Возвращает number

  • Returns true if the data has a success flag

    Параметры

    • data: Record<string, any>

    Возвращает boolean

  • Returns true if the data is valid and applicable to the successful result of the operation

    Параметры

    Возвращает boolean | Error