Class Relationship
Relationship
Inherited Members
Namespace: Unity.Services.Apis.Friends
Assembly: solution.dll
Syntax
[Preserve]
public class Relationship
Constructors
Relationship(string, DateTime, DateTime?, RelationshipType, List<Member>)
Initializes a new instance of the Relationship class.
Declaration
[Preserve]
public Relationship(string id = null, DateTime created = default, DateTime? expires = null, RelationshipType type = (RelationshipType)0, List<Member> members = null)
Parameters
Type | Name | Description |
---|---|---|
string | id | id (required). |
DateTime | created | created (required). |
DateTime? | expires | expires. |
RelationshipType | type | type (required). |
List<Member> | members | A list of members involved in the relationship. (required). |
Properties
Created
Gets or Sets Created
Declaration
[Preserve]
public DateTime Created { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Expires
Gets or Sets Expires
Declaration
[Preserve]
public DateTime? Expires { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
Id
Gets or Sets Id
Declaration
[Preserve]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Members
A list of members involved in the relationship.
Declaration
[Preserve]
public List<Member> Members { get; set; }
Property Value
Type | Description |
---|---|
List<Member> | A list of members involved in the relationship. |
Type
Gets or Sets Type
Declaration
[Preserve]
public RelationshipType Type { get; set; }
Property Value
Type | Description |
---|---|
RelationshipType |