Struct AssetState
A struct that represents the state of a deployable asset locally. This should be used to represent the validity of the item itself, such as format and naming. For status relative to the 'live' counterpart, use DeploymentStatus
Inherited Members
Namespace: Unity.Services.DeploymentApi .Editor
Assembly: Unity.Services.DeploymentApi.dll
Syntax
[Serializable]
public struct AssetState
Constructors
AssetState(string, string, SeverityLevel)
Constructor of the AssetState.
Declaration
public AssetState(string description, string detail, SeverityLevel level)
Parameters
Type | Name | Description |
---|---|---|
string | description | Status description. |
string | detail | Detail. |
Severity |
level | Severity of the AssetState |
AssetState(string, string, SeverityLevel, string)
Constructor of the AssetState.
Declaration
public AssetState(string description, string detail, SeverityLevel level, string type)
Parameters
Type | Name | Description |
---|---|---|
string | description | Status description. |
string | detail | Detail. |
Severity |
level | Severity of the AssetState |
string | type | The AssetState type |
Properties
Description
Description of the state.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
string |
Detail
A detailed description of the state. Displayed in the Status Panel of the Deployment Window on deployment item selection.
Declaration
public string Detail { get; }
Property Value
Type | Description |
---|---|
string |
Level
The level associated with this state.
Declaration
public SeverityLevel Level { get; }
Property Value
Type | Description |
---|---|
Severity |
Type
Auxiliary field to identify an AssetState for updating
Declaration
public string Type { get; }
Property Value
Type | Description |
---|---|
string |