v1.0.0
2022.3+
Class Region
Region model
Inheritance
System.Object
Region
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Relay.Models
Syntax
public class RegionConstructors
Region(String, String)
Creates an instance of Region.
Declaration
public Region(string id, string description)Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | The region ID used in allocation requests. |
| System.String | description | A human-readable description of the region. It can include geographical information such as the city name or country. |
Properties
Description
A human-readable description of the region. It can include geographical information such as the city name or country.
Declaration
public string Description { get; }Property Value
| Type | Description |
|---|---|
| System.String |
Id
The region ID used in allocation requests.
Declaration
public string Id { get; }Property Value
| Type | Description |
|---|---|
| System.String |