Class ApiSourceVersion
A class containing version information about the source API.
Inherited Members
Namespace: Unity.Cloud.Common
Syntax
public class ApiSourceVersion
Constructors
ApiSourceVersion(String, String)
Creates an instance of the ApiSourceVersion with the provided name and version.
Declaration
public ApiSourceVersion(string name, string version)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | The API name. |
| String | version | The API version. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if the |
Fields
k_DevVersion
Declaration
public const string k_DevVersion = "dev"
Field Value
| Type | Description |
|---|---|
| String |
Properties
Name
The name of the source API.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| String |
Version
The version of the source API.
Declaration
public string Version { get; }
Property Value
| Type | Description |
|---|---|
| String |