com.ringcentral.definitions.ParticipantReducedModel Maven / Gradle / Ivy
package com.ringcentral.definitions;
/**
* The internal IDs of RC-authenticated users.
*/
public class ParticipantReducedModel {
/**
* Internal object ID
* Example: 78654321
*/
public String id;
/**
* First (given) name
* Example: John
*/
public String firstName;
/**
* Last (family) name
* Example: Doe
*/
public String lastName;
/**
* The role of the webinar session participant/invitee.
* See also: [Understanding Webinar Roles](https://support.ringcentral.com/webinar/getting-started/understanding-ringcentral-webinar-roles.html)
* Required
* Example: Panelist
* Enum: Panelist, CoHost, Host, Attendee
*/
public String role;
/**
* The role of the webinar session participant/invitee.
* See also: [Understanding Webinar Roles](https://support.ringcentral.com/webinar/getting-started/understanding-ringcentral-webinar-roles.html)
* Required
* Example: Panelist
* Enum: Panelist, CoHost, Host, Attendee
*/
public String originalRole;
/**
*
*/
public RcwDomainUserModel linkedUser;
/**
* A token to access avatar image from CDN. Available only for authenticated panelists
* Example: wedyugwied8wud98u90i329silqdjalidj
*/
public String avatarToken;
/**
* The type of the participant specified in invite or determined at join time
* Required
* Default: User
* Enum: User, Room
*/
public String type;
public ParticipantReducedModel id(String id) {
this.id = id;
return this;
}
public ParticipantReducedModel firstName(String firstName) {
this.firstName = firstName;
return this;
}
public ParticipantReducedModel lastName(String lastName) {
this.lastName = lastName;
return this;
}
public ParticipantReducedModel role(String role) {
this.role = role;
return this;
}
public ParticipantReducedModel originalRole(String originalRole) {
this.originalRole = originalRole;
return this;
}
public ParticipantReducedModel linkedUser(RcwDomainUserModel linkedUser) {
this.linkedUser = linkedUser;
return this;
}
public ParticipantReducedModel avatarToken(String avatarToken) {
this.avatarToken = avatarToken;
return this;
}
public ParticipantReducedModel type(String type) {
this.type = type;
return this;
}
}