ClusterProto_UpdateRequest constructor

ClusterProto_UpdateRequest({
  1. Int64? id,
  2. String? name,
  3. String? customName,
  4. String? endpoint,
  5. String? deviceEndpoint,
  6. String? country,
})

Implementation

factory ClusterProto_UpdateRequest({
  $fixnum.Int64? id,
  $core.String? name,
  $core.String? customName,
  $core.String? endpoint,
  $core.String? deviceEndpoint,
  $core.String? country,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (name != null) {
    $result.name = name;
  }
  if (customName != null) {
    $result.customName = customName;
  }
  if (endpoint != null) {
    $result.endpoint = endpoint;
  }
  if (deviceEndpoint != null) {
    $result.deviceEndpoint = deviceEndpoint;
  }
  if (country != null) {
    $result.country = country;
  }
  return $result;
}