ApplyArtifactsRequest Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. models. ApplyArtifactsRequest
- com.
Implements
public final class ApplyArtifactsRequest
implements JsonSerializable<ApplyArtifactsRequest>
Request body for applying artifacts to a virtual machine.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplyArtifactsRequest() |
Creates an instance of Apply |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Artifact |
artifacts()
Get the artifacts property: The list of artifacts to apply. |
|
static
Apply |
fromJson(JsonReader jsonReader)
Reads an instance of Apply |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Apply |
withArtifacts(List<ArtifactInstallProperties> artifacts)
Set the artifacts property: The list of artifacts to apply. |
Methods inherited from java.lang.Object
Constructor Details
ApplyArtifactsRequest
public ApplyArtifactsRequest()
Creates an instance of ApplyArtifactsRequest class.
Method Details
artifacts
public List<ArtifactInstallProperties> artifacts()
Get the artifacts property: The list of artifacts to apply.
Returns:
fromJson
public static ApplyArtifactsRequest fromJson(JsonReader jsonReader)
Reads an instance of ApplyArtifactsRequest from the JsonReader.
Parameters:
Returns:
Throws:
toJson
withArtifacts
public ApplyArtifactsRequest withArtifacts(List<ArtifactInstallProperties> artifacts)
Set the artifacts property: The list of artifacts to apply.
Parameters:
Returns: