docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Relationship

    Relationship

    Inheritance
    object
    Relationship
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)