Instance_Node constructor

Instance_Node({
  1. String? nodeId,
  2. String? zone,
  3. Instance_Node_State? state,
  4. String? host,
  5. int? port,
  6. MemcacheParameters? parameters,
})

Implementation

factory Instance_Node({
  $core.String? nodeId,
  $core.String? zone,
  Instance_Node_State? state,
  $core.String? host,
  $core.int? port,
  MemcacheParameters? parameters,
}) {
  final $result = create();
  if (nodeId != null) {
    $result.nodeId = nodeId;
  }
  if (zone != null) {
    $result.zone = zone;
  }
  if (state != null) {
    $result.state = state;
  }
  if (host != null) {
    $result.host = host;
  }
  if (port != null) {
    $result.port = port;
  }
  if (parameters != null) {
    $result.parameters = parameters;
  }
  return $result;
}