AssetReferenceBase Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. AssetReferenceBase
- com.
Implements
public class AssetReferenceBase
implements JsonSerializable<AssetReferenceBase>
Base definition for asset references.
Constructor Summary
| Constructor | Description |
|---|---|
| AssetReferenceBase() |
Creates an instance of Asset |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Asset |
fromJson(JsonReader jsonReader)
Reads an instance of Asset |
|
Reference |
referenceType()
Get the reference |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
AssetReferenceBase
public AssetReferenceBase()
Creates an instance of AssetReferenceBase class.
Method Details
fromJson
public static AssetReferenceBase fromJson(JsonReader jsonReader)
Reads an instance of AssetReferenceBase from the JsonReader.
Parameters:
Returns:
Throws:
referenceType
public ReferenceType referenceType()
Get the referenceType property: [Required] Specifies the type of asset reference.
Returns:
toJson
validate
public void validate()
Validates the instance.