Manual Reference Source Test
import ContentModel from 'clinical6/src/models/content/Content.js'
public class | source

ContentModel

Model representing Dynamic Content.

Constructor Summary

Public Constructor
public

constructor(response: Object)

Member Summary

Public Members
public
public

Public Constructors

public constructor(response: Object) source

Params:

NameTypeAttributeDescription
response Object

JSON formatted default response of a dynamic content

response.id Number

The ID of the content

response.title String

Title of the content

response.description String

A description related to the content

response.created_at String

The time at which the content was created

response.updated_at String

The time at which the content was updated

response.position Number

The position where the content is put on the platform

response.tags Array

The tags to describe the content

response.brand Object

The brand to describe the content

Public Members

public [stringToCamel(key)]: Any source

public id: Number source