Class Member
Member
Inherited Members
Namespace: Unity.Services.Apis.Friends
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "Member")]
[Preserve]
public class Member
Constructors
Member(string, UserPresence, UserProfile, Role?)
Initializes a new instance of the Member class.
Declaration
[Preserve]
public Member(string id = null, UserPresence presence = null, UserProfile profile = null, Role? role = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | id (required). |
| UserPresence | presence | presence. |
| UserProfile | profile | profile. |
| Role? | role | role. |
Properties
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Presence
Gets or Sets Presence
Declaration
[DataMember(Name = "presence", EmitDefaultValue = false)]
[Preserve]
public UserPresence Presence { get; set; }
Property Value
| Type | Description |
|---|---|
| UserPresence |
Profile
Gets or Sets Profile
Declaration
[DataMember(Name = "profile", EmitDefaultValue = false)]
[Preserve]
public UserProfile Profile { get; set; }
Property Value
| Type | Description |
|---|---|
| UserProfile |
Role
Gets or Sets Role
Declaration
[DataMember(Name = "role", EmitDefaultValue = false)]
[Preserve]
public Role? Role { get; set; }
Property Value
| Type | Description |
|---|---|
| Role? |