data class AuthorDetails: Any
Fields
Name | Description |
---|---|
val name: String
|
is a String |
val number: String
|
is a String |
val submitter: Boolean
|
is a Boolean which will be true if the author object was the one performing the submission |
Constructors
<init>
constructor(name: String, number: String, submitter: Boolean)
Represents one of the authors of a Submission. Note that the author might not be the submitter (e.g. if a group has 2 elements, both will be authors, but only one of them will be the submitter).
Parameters
Name | Description |
---|---|
name: String
|
|
number: String
|
|
submitter: Boolean
|
Methods
toString
fun toString(): String
ReturnValue
Name | Description |
---|---|
String
|
Represents one of the authors of a Submission. Note that the author might not be the submitter (e.g. if a group has 2 elements, both will be authors, but only one of them will be the submitter).