> KASClient > KASVideoAttachment

Class: KASVideoAttachment

Hierarchy

KASAttachment

↳ KASVideoAttachment

Index

Properties

Methods


Properties

attachmentId

● attachmentId: string = ""


duration

● duration: number = 0


fileName

● fileName: string = ""


hasSetThumbnail

● hasSetThumbnail: boolean = false


localPath

● localPath: string = ""


requireHighResThumbnail

● requireHighResThumbnail: boolean = false


serverPath

● serverPath: string = ""


size

● size: number = 0


streamingPath

● streamingPath: string = ""


thumbnail

● thumbnail: string = ""


type

● type: KASAttachmentType = KASAttachmentType.Image


Methods

toJSON

toJSON(): JSON

Returns: JSON


<Static> fromJSON

fromJSON(object: any): KASAttachment

Parameters:

Name Type
object any

Returns: KASAttachment


<Static> hasLocalPath

hasLocalPath(obj: KASAttachment): boolean

Parameters:

Name Type
obj KASAttachment

Returns: boolean


<Static> hasServerPath

hasServerPath(obj: KASAttachment): boolean

Parameters:

Name Type
obj KASAttachment

Returns: boolean


<Static> populateModelFromJSON

populateModelFromJSON(attachment: KASVideoAttachment, object: JSON): void

Parameters:

Name Type
attachment KASVideoAttachment
object JSON

Returns: void