RobotPart constructor
RobotPart({})
Implementation
factory RobotPart({
$core.String? id,
$core.String? name,
$core.String? secret,
$core.String? robot,
$43.Struct? robotConfig,
$44.Timestamp? lastAccess,
$43.Struct? userSuppliedInfo,
$core.bool? mainPart,
$core.String? fqdn,
$core.String? dnsName,
$core.String? localFqdn,
$core.String? locationId,
$44.Timestamp? createdOn,
$core.Iterable<SharedSecret>? secrets,
$44.Timestamp? lastUpdated,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (name != null) {
$result.name = name;
}
if (secret != null) {
$result.secret = secret;
}
if (robot != null) {
$result.robot = robot;
}
if (robotConfig != null) {
$result.robotConfig = robotConfig;
}
if (lastAccess != null) {
$result.lastAccess = lastAccess;
}
if (userSuppliedInfo != null) {
$result.userSuppliedInfo = userSuppliedInfo;
}
if (mainPart != null) {
$result.mainPart = mainPart;
}
if (fqdn != null) {
$result.fqdn = fqdn;
}
if (dnsName != null) {
$result.dnsName = dnsName;
}
if (localFqdn != null) {
$result.localFqdn = localFqdn;
}
if (locationId != null) {
$result.locationId = locationId;
}
if (createdOn != null) {
$result.createdOn = createdOn;
}
if (secrets != null) {
$result.secrets.addAll(secrets);
}
if (lastUpdated != null) {
$result.lastUpdated = lastUpdated;
}
return $result;
}