PortStatus class
PortStatus represents the error condition of a service port
Constructors
-
PortStatus({Input<
String> ? error, required Input<int> port, required Input<String> protocol}) -
Creates a new PortStatus.
errorError is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall useportPort is the port number of the service port of which status is recorded hereprotocolProtocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"const -
PortStatus.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
error
→ Input<
String> ? -
Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use
CamelCase names
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
port
→ Input<
int> -
Port is the port number of the service port of which status is recorded here
final
-
protocol
→ Input<
String> -
Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited