Represents the data type ResourceLocation.
More...
Represents the data type ResourceLocation.
◆ ResourceLocation() [1/2]
OpenTestSystem.Otx.Runtime.Api.DataTypes.ResourceLocation.ResourceLocation |
( |
final String |
id, |
|
|
final String |
location |
|
) |
| |
|
inline |
Initializes a new instance of the ResourceLocation class.
- Parameters
-
id | ID |
location | Default resource location |
◆ ResourceLocation() [2/2]
OpenTestSystem.Otx.Runtime.Api.DataTypes.ResourceLocation.ResourceLocation |
( |
final String |
id, |
|
|
final String |
location, |
|
|
final String |
mediaType |
|
) |
| |
|
inline |
Initializes a new instance of the ResourceLocation class.
- Parameters
-
id | ID |
location | Default resource location |
mediaType | Media type |
◆ GetID()
String OpenTestSystem.Otx.Runtime.Api.DataTypes.ResourceLocation.GetID |
( |
| ) |
|
|
inline |
Gets ID.
- Returns
- Resource Location's ID
◆ GetLocation()
String OpenTestSystem.Otx.Runtime.Api.DataTypes.ResourceLocation.GetLocation |
( |
| ) |
|
|
inline |
Gets Location.
- Returns
- Resource default location
◆ GetMediaType()
String OpenTestSystem.Otx.Runtime.Api.DataTypes.ResourceLocation.GetMediaType |
( |
| ) |
|
|
inline |
Get classifies the content of a resource using a media type, indicates the nature and format of a document, file, or assortment of bytes.
- Returns
- Media type
◆ SetLocation()
void OpenTestSystem.Otx.Runtime.Api.DataTypes.ResourceLocation.SetLocation |
( |
final String |
location | ) |
|
|
inline |
Sets default location.
- Parameters
-
location | New default location |
The documentation for this class was generated from the following file: