Class RequestAttributes
Used to specify attributes of the requesting app and user for use in rules.
Inherited Members
Namespace: Unity.Services.Apis.RemoteConfig
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "Request_attributes")]
[Preserve]
public class RequestAttributes
Constructors
RequestAttributes(UnityAttributes, Dictionary<string, string>, Dictionary<string, string>)
Initializes a new instance of the Request
Declaration
[Preserve]
public RequestAttributes(UnityAttributes unity = null, Dictionary<string, string> app = null, Dictionary<string, string> user = null)
Parameters
Type | Name | Description |
---|---|---|
Unity |
unity | unity. |
Dictionary<string, string> | app | Custom attributes for the app.. |
Dictionary<string, string> | user | Custom attributes related to the user.. |
Properties
App
Custom attributes for the app.
Declaration
[DataMember(Name = "app", EmitDefaultValue = false)]
[Preserve]
public Dictionary<string, string> App { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Custom attributes for the app. |
Unity
Gets or Sets Unity
Declaration
[DataMember(Name = "unity", EmitDefaultValue = false)]
[Preserve]
public UnityAttributes Unity { get; set; }
Property Value
Type | Description |
---|---|
Unity |
User
Custom attributes related to the user.
Declaration
[DataMember(Name = "user", EmitDefaultValue = false)]
[Preserve]
public Dictionary<string, string> User { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Custom attributes related to the user. |