Skip to content

Latest commit

 

History

History
259 lines (143 loc) · 5.03 KB

Selection.md

File metadata and controls

259 lines (143 loc) · 5.03 KB

soundcloud-fetch / Selection

Class: Selection

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Selection(json, client)

Parameters

Name Type
json any
client SoundCloud

Overrides

Entity.constructor

Defined in

lib/entities/Selection.ts:15

Properties

id

Optional id: null | string

Defined in

lib/entities/Selection.ts:10


items

items: EntityType[]

Defined in

lib/entities/Selection.ts:13


nextUri

Optional nextUri: null | string

Defined in

lib/entities/Selection.ts:12


title

Optional title: null | string

Defined in

lib/entities/Selection.ts:11


type

Readonly type: string

Inherited from

Entity.type

Defined in

lib/entities/Entity.ts:35


type

Static type: string = 'Selection'

Overrides

Entity.type

Defined in

lib/entities/Selection.ts:8

Methods

getClient

Protected getClient(): SoundCloud

Returns

SoundCloud

Inherited from

Entity.getClient

Defined in

lib/entities/Entity.ts:57


getImageUrls

Protected getImageUrls(defaultImageUrl, type): undefined | AvatarImageUrls

Parameters

Name Type
defaultImageUrl undefined | null | string
type "avatar"

Returns

undefined | AvatarImageUrls

Inherited from

Entity.getImageUrls

Defined in

lib/entities/Entity.ts:61

Protected getImageUrls(defaultImageUrl, type?): undefined | ArtworkImageUrls

Parameters

Name Type
defaultImageUrl undefined | null | string
type? "artwork" | "artistStation"

Returns

undefined | ArtworkImageUrls

Inherited from

Entity.getImageUrls

Defined in

lib/entities/Entity.ts:62


getJSON

getJSON(prop?): any

Parameters

Name Type
prop? undefined

Returns

any

Inherited from

Entity.getJSON

Defined in

lib/entities/Entity.ts:47

getJSON<T>(prop): undefined | null | T

Type parameters

Name Type
T extends string

Parameters

Name Type
prop string

Returns

undefined | null | T

Inherited from

Entity.getJSON

Defined in

lib/entities/Entity.ts:48

getJSON<T>(prop): undefined | T

Type parameters

Name
T

Parameters

Name Type
prop string

Returns

undefined | T

Inherited from

Entity.getJSON

Defined in

lib/entities/Entity.ts:49