Target Class
- java.
lang. Object - com.
azure. ai. projects. models. Target
- com.
Implements
public class Target
implements JsonSerializable<Target>
Base class for targets with discriminator support.
Constructor Summary
| Constructor | Description |
|---|---|
| Target() |
Creates an instance of Target class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Target |
fromJson(JsonReader jsonReader)
Reads an instance of Target from the Json |
| String |
getType()
Get the type property: The type of target. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
Target
public Target()
Creates an instance of Target class.
Method Details
fromJson
public static Target fromJson(JsonReader jsonReader)
Reads an instance of Target from the JsonReader.
Parameters:
Returns:
Throws:
getType
public String getType()
Get the type property: The type of target.
Returns: