Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SingleItemResponse

Hierarchy

Indexable

[field_name: string]: any

Index

Constructors

constructor

  • new SingleItemResponse(__namedParameters: { attachments: {}; fieldsWithAttachments: {}; item: Item }): SingleItemResponse
  • Parameters

    • __namedParameters: { attachments: {}; fieldsWithAttachments: {}; item: Item }
      • attachments: {}
        • [id: string]: Item
      • fieldsWithAttachments: {}
        • [field_name: string]: {}
      • item: Item

    Returns SingleItemResponse

Properties

_attachments

_attachments: {}

Type declaration

  • [id: string]: Item

_empty

_empty: boolean

_fieldsWithAttachments

_fieldsWithAttachments: {}

Type declaration

  • [field_name: string]: {}

items

items: Item[]

Accessors

empty

  • get empty(): boolean
  • Returns boolean

Methods

_wrapFields

  • _wrapFields(items: Item[]): void

_wrapSingleField

  • _wrapSingleField(item: Item, field: keyof Item): void

getAttachments

  • getAttachments(): {}

getMetadata

  • getMetadata(): {}
  • Returns {}

    • [field_name: string]: {}

toObject

  • toObject(): object

Generated using TypeDoc