mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
chore: regen open-api
This commit is contained in:
parent
8a2dcd0402
commit
2844fbbcb8
1 changed files with 9 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ class SystemConfigSmtpTransportDto {
|
||||||
required this.ignoreCert,
|
required this.ignoreCert,
|
||||||
required this.password,
|
required this.password,
|
||||||
required this.port,
|
required this.port,
|
||||||
|
required this.secure,
|
||||||
required this.username,
|
required this.username,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -30,6 +31,8 @@ class SystemConfigSmtpTransportDto {
|
||||||
/// Maximum value: 65535
|
/// Maximum value: 65535
|
||||||
num port;
|
num port;
|
||||||
|
|
||||||
|
bool secure;
|
||||||
|
|
||||||
String username;
|
String username;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
@ -38,6 +41,7 @@ class SystemConfigSmtpTransportDto {
|
||||||
other.ignoreCert == ignoreCert &&
|
other.ignoreCert == ignoreCert &&
|
||||||
other.password == password &&
|
other.password == password &&
|
||||||
other.port == port &&
|
other.port == port &&
|
||||||
|
other.secure == secure &&
|
||||||
other.username == username;
|
other.username == username;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
@ -47,10 +51,11 @@ class SystemConfigSmtpTransportDto {
|
||||||
(ignoreCert.hashCode) +
|
(ignoreCert.hashCode) +
|
||||||
(password.hashCode) +
|
(password.hashCode) +
|
||||||
(port.hashCode) +
|
(port.hashCode) +
|
||||||
|
(secure.hashCode) +
|
||||||
(username.hashCode);
|
(username.hashCode);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() => 'SystemConfigSmtpTransportDto[host=$host, ignoreCert=$ignoreCert, password=$password, port=$port, username=$username]';
|
String toString() => 'SystemConfigSmtpTransportDto[host=$host, ignoreCert=$ignoreCert, password=$password, port=$port, secure=$secure, username=$username]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
|
|
@ -58,6 +63,7 @@ class SystemConfigSmtpTransportDto {
|
||||||
json[r'ignoreCert'] = this.ignoreCert;
|
json[r'ignoreCert'] = this.ignoreCert;
|
||||||
json[r'password'] = this.password;
|
json[r'password'] = this.password;
|
||||||
json[r'port'] = this.port;
|
json[r'port'] = this.port;
|
||||||
|
json[r'secure'] = this.secure;
|
||||||
json[r'username'] = this.username;
|
json[r'username'] = this.username;
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
@ -75,6 +81,7 @@ class SystemConfigSmtpTransportDto {
|
||||||
ignoreCert: mapValueOfType<bool>(json, r'ignoreCert')!,
|
ignoreCert: mapValueOfType<bool>(json, r'ignoreCert')!,
|
||||||
password: mapValueOfType<String>(json, r'password')!,
|
password: mapValueOfType<String>(json, r'password')!,
|
||||||
port: num.parse('${json[r'port']}'),
|
port: num.parse('${json[r'port']}'),
|
||||||
|
secure: mapValueOfType<bool>(json, r'secure')!,
|
||||||
username: mapValueOfType<String>(json, r'username')!,
|
username: mapValueOfType<String>(json, r'username')!,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
@ -127,6 +134,7 @@ class SystemConfigSmtpTransportDto {
|
||||||
'ignoreCert',
|
'ignoreCert',
|
||||||
'password',
|
'password',
|
||||||
'port',
|
'port',
|
||||||
|
'secure',
|
||||||
'username',
|
'username',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue