Environment constructor

Environment({
  1. String? name,
  2. String? displayName,
  3. String? description,
  4. VmImage? vmImage,
  5. ContainerImage? containerImage,
  6. String? postStartupScript,
  7. Timestamp? createTime,
})

Implementation

factory Environment({
  $core.String? name,
  $core.String? displayName,
  $core.String? description,
  VmImage? vmImage,
  ContainerImage? containerImage,
  $core.String? postStartupScript,
  $2.Timestamp? createTime,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (displayName != null) {
    $result.displayName = displayName;
  }
  if (description != null) {
    $result.description = description;
  }
  if (vmImage != null) {
    $result.vmImage = vmImage;
  }
  if (containerImage != null) {
    $result.containerImage = containerImage;
  }
  if (postStartupScript != null) {
    $result.postStartupScript = postStartupScript;
  }
  if (createTime != null) {
    $result.createTime = createTime;
  }
  return $result;
}