CustomRefyLink

constructor()

Constructor to init the CustomRefyLink class No-any params required


constructor(id: String, owner: RefyUser, title: String, description: String, referenceLink: String, creationDate: Long, uniqueAccess: Boolean, expiredTime: CustomRefyLink.ExpiredTime, resources: Map<String, String>, fields: Map<String, String>, previewToken: String)

Constructor to init the CustomRefyLink class

Parameters

id

: the identifier of the link

owner

: the owner of the link

title

: the title of the link

description

:the description of the link

referenceLink

: the link reference value

uniqueAccess

: whether the link, when requested for the first time, must be deleted and no more accessible

expiredTime

: if set, when the link expires and automatically deleted

resources

: the resources to share with the link

fields

: the fields used to protect the resources with a validation form

previewToken

: the token used to entry in the preview mode


constructor(jCustomRefyLink: JSONObject)

Constructor to init the CustomRefyLink class

Parameters

jCustomRefyLink

: the json details of the custom link as JSONObject