ResourceStatus constructor

ResourceStatus({
  1. ResourceName? name,
  2. ResourceStatus_State? state,
  3. Timestamp? lastUpdated,
  4. String? revision,
  5. String? error,
  6. 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;
}