Manual Reference Source Test
import SiteContactModel from 'clinical6/src/models/trial/SiteContact.js'
public class | source

SiteContactModel

Direct Subclass:

SiteContact

Model representing a site contact.

Constructor Summary

Public Constructor
public

constructor(response: Object)

Member Summary

Public Members
public
public
public
public
public
public
public
public
public
public
public

Public Constructors

public constructor(response: Object) source

Params:

NameTypeAttributeDescription
response Object

JSON formatted response of a single site contact

response.id Number
  • nullable: false

The id of the site contact on the server

response.first_name String
  • nullable: false

Site contact's first name

response.last_name String
  • nullable: false

Last name of the site contact

response.email String
  • nullable: false

Email Address of the site contact

response.phone String
  • nullable: false

Phone number of the site contact

response.fax String

Fax number of the site contact

response.primary_contact String

Is this a primary contact?

response.created_at String

Created at

response.updated_at String

Updated at

Public Members

public contactType: String source

public contentType: String source

public createdAt: String source

public email: String source

public fax: String source

public firstName: String source

public id: Number source

public lastName: String source

public phone: String source

public primaryContact: Boolean source

public updatedAt: String source