Class AddRelationshipRequest
AddRelationshipRequest
Inherited Members
Namespace: Unity.Services.Apis.Friends
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "AddRelationshipRequest")]
[Preserve]
public class AddRelationshipRequest
Constructors
AddRelationshipRequest(RelationshipType, List<MemberIdentity>)
Initializes a new instance of the Add
Declaration
[Preserve]
public AddRelationshipRequest(RelationshipType type = (RelationshipType)0, List<MemberIdentity> members = null)
Parameters
Type | Name | Description |
---|---|---|
Relationship |
type | type (required). |
List<Member |
members | members (required). |
Properties
Members
Gets or Sets Members
Declaration
[DataMember(Name = "members", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public List<MemberIdentity> Members { get; set; }
Property Value
Type | Description |
---|---|
List<Member |
Type
Gets or Sets Type
Declaration
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public RelationshipType Type { get; set; }
Property Value
Type | Description |
---|---|
Relationship |