ResourceStatus constructor
ResourceStatus({
- ResourceName? name,
- ResourceStatus_State? state,
- Timestamp? lastUpdated,
- String? revision,
- String? error,
- GetCloudMetadataResponse? cloudMetadata,
Implementation
factory ResourceStatus({
$14.ResourceName? name,
ResourceStatus_State? state,
$44.Timestamp? lastUpdated,
$core.String? revision,
$core.String? error,
GetCloudMetadataResponse? cloudMetadata,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (state != null) {
$result.state = state;
}
if (lastUpdated != null) {
$result.lastUpdated = lastUpdated;
}
if (revision != null) {
$result.revision = revision;
}
if (error != null) {
$result.error = error;
}
if (cloudMetadata != null) {
$result.cloudMetadata = cloudMetadata;
}
return $result;
}