ArtifactProperties Class
- java.
lang. Object - com.
azure. resourcemanager. logic. models. ArtifactProperties
- com.
Implements
public class ArtifactProperties
implements JsonSerializable<ArtifactProperties>
The artifact properties definition.
Constructor Summary
| Constructor | Description |
|---|---|
| ArtifactProperties() |
Creates an instance of Artifact |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
changedTime()
Get the changed |
|
Offset |
createdTime()
Get the created |
|
static
Artifact |
fromJson(JsonReader jsonReader)
Reads an instance of Artifact |
| Object |
metadata()
Get the metadata property: Anything. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Artifact |
withChangedTime(OffsetDateTime changedTime)
Set the changed |
|
Artifact |
withCreatedTime(OffsetDateTime createdTime)
Set the created |
|
Artifact |
withMetadata(Object metadata)
Set the metadata property: Anything. |
Methods inherited from java.lang.Object
Constructor Details
ArtifactProperties
public ArtifactProperties()
Creates an instance of ArtifactProperties class.
Method Details
changedTime
public OffsetDateTime changedTime()
Get the changedTime property: The artifact changed time.
Returns:
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: The artifact creation time.
Returns:
fromJson
public static ArtifactProperties fromJson(JsonReader jsonReader)
Reads an instance of ArtifactProperties from the JsonReader.
Parameters:
Returns:
Throws:
metadata
public Object metadata()
Get the metadata property: Anything.
Returns:
toJson
validate
public void validate()
Validates the instance.
withChangedTime
public ArtifactProperties withChangedTime(OffsetDateTime changedTime)
Set the changedTime property: The artifact changed time.
Parameters:
Returns:
withCreatedTime
public ArtifactProperties withCreatedTime(OffsetDateTime createdTime)
Set the createdTime property: The artifact creation time.
Parameters:
Returns:
withMetadata
public ArtifactProperties withMetadata(Object metadata)
Set the metadata property: Anything.
Parameters:
Returns: