Class Invitation
An invitation to join a course.
Inheritance
System.Object
Invitation
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Classroom.v1.Data
Assembly: Google.Apis.Classroom.v1.dll
Syntax
public class Invitation : IDirectResponseSchema
Properties
CourseId
Identifier of the course to invite the user to.
Declaration
[JsonProperty("courseId")]
public virtual string CourseId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Id
Identifier assigned by Classroom.
Read-only.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Role
Role to invite the user to have. Must not be COURSE_ROLE_UNSPECIFIED.
Declaration
[JsonProperty("role")]
public virtual string Role { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
UserId
Identifier of the invited user.
When specified as a parameter of a request, this identifier can be set to one of the following:
- the numeric identifier for the user * the email address of the user * the string literal
"me", indicating the requesting user
Declaration
[JsonProperty("userId")]
public virtual string UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |