Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data NetworkInfo = NetworkInfo' {
- interfaceName :: Text
- ipAddress :: Text
- macAddress :: Text
- netMask :: Text
- newNetworkInfo :: Text -> Text -> Text -> Text -> NetworkInfo
- networkInfo_interfaceName :: Lens' NetworkInfo Text
- networkInfo_ipAddress :: Lens' NetworkInfo Text
- networkInfo_macAddress :: Lens' NetworkInfo Text
- networkInfo_netMask :: Lens' NetworkInfo Text
Documentation
data NetworkInfo Source #
Information about the server's network for which the assessment was run.
See: newNetworkInfo
smart constructor.
NetworkInfo' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> NetworkInfo |
Create a value of NetworkInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:interfaceName:NetworkInfo'
, networkInfo_interfaceName
- Information about the name of the interface of the server for which the
assessment was run.
$sel:ipAddress:NetworkInfo'
, networkInfo_ipAddress
- Information about the IP address of the server for which the assessment
was run.
$sel:macAddress:NetworkInfo'
, networkInfo_macAddress
- Information about the MAC address of the server for which the assessment
was run.
$sel:netMask:NetworkInfo'
, networkInfo_netMask
- Information about the subnet mask of the server for which the assessment
was run.
networkInfo_interfaceName :: Lens' NetworkInfo Text Source #
Information about the name of the interface of the server for which the assessment was run.
networkInfo_ipAddress :: Lens' NetworkInfo Text Source #
Information about the IP address of the server for which the assessment was run.
networkInfo_macAddress :: Lens' NetworkInfo Text Source #
Information about the MAC address of the server for which the assessment was run.
networkInfo_netMask :: Lens' NetworkInfo Text Source #
Information about the subnet mask of the server for which the assessment was run.