Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.NM.Objects.DeviceVlan
Description
No description available in the introspection data.
Synopsis
- newtype DeviceVlan = DeviceVlan (ManagedPtr DeviceVlan)
- class (GObject o, IsDescendantOf DeviceVlan o) => IsDeviceVlan o
- toDeviceVlan :: (MonadIO m, IsDeviceVlan o) => o -> m DeviceVlan
- deviceVlanGetCarrier :: (HasCallStack, MonadIO m, IsDeviceVlan a) => a -> m Bool
- deviceVlanGetParent :: (HasCallStack, MonadIO m, IsDeviceVlan a) => a -> m Device
- deviceVlanGetVlanId :: (HasCallStack, MonadIO m, IsDeviceVlan a) => a -> m Word32
- getDeviceVlanCarrier :: (MonadIO m, IsDeviceVlan o) => o -> m Bool
- getDeviceVlanParent :: (MonadIO m, IsDeviceVlan o) => o -> m Device
- getDeviceVlanVlanId :: (MonadIO m, IsDeviceVlan o) => o -> m Word32
Exported types
newtype DeviceVlan Source #
Memory-managed wrapper type.
Constructors
DeviceVlan (ManagedPtr DeviceVlan) |
Instances
Eq DeviceVlan Source # | |
Defined in GI.NM.Objects.DeviceVlan | |
GObject DeviceVlan Source # | |
Defined in GI.NM.Objects.DeviceVlan | |
ManagedPtrNewtype DeviceVlan Source # | |
Defined in GI.NM.Objects.DeviceVlan Methods | |
TypedObject DeviceVlan Source # | |
Defined in GI.NM.Objects.DeviceVlan | |
HasParentTypes DeviceVlan Source # | |
Defined in GI.NM.Objects.DeviceVlan | |
IsGValue (Maybe DeviceVlan) Source # | Convert |
Defined in GI.NM.Objects.DeviceVlan Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe DeviceVlan -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe DeviceVlan) # | |
type ParentTypes DeviceVlan Source # | |
Defined in GI.NM.Objects.DeviceVlan |
class (GObject o, IsDescendantOf DeviceVlan o) => IsDeviceVlan o Source #
Type class for types which can be safely cast to DeviceVlan
, for instance with toDeviceVlan
.
Instances
(GObject o, IsDescendantOf DeviceVlan o) => IsDeviceVlan o Source # | |
Defined in GI.NM.Objects.DeviceVlan |
toDeviceVlan :: (MonadIO m, IsDeviceVlan o) => o -> m DeviceVlan Source #
Cast to DeviceVlan
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, connectionCompatible, connectionValid, delete, deleteAsync, deleteFinish, disconnect, disconnectAsync, disconnectFinish, filterConnections, forceFloating, freezeNotify, getv, isFloating, isReal, isSoftware, notify, notifyByPspec, reapply, reapplyAsync, reapplyFinish, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getActiveConnection, getAppliedConnection, getAppliedConnectionAsync, getAppliedConnectionFinish, getAutoconnect, getAvailableConnections, getCapabilities, getCarrier, getClient, getConnectivity, getData, getDescription, getDeviceType, getDhcp4Config, getDhcp6Config, getDriver, getDriverVersion, getFirmwareMissing, getFirmwareVersion, getHwAddress, getIface, getInterfaceFlags, getIp4Config, getIp6Config, getIpIface, getLldpNeighbors, getManaged, getMetered, getMtu, getNmPluginMissing, getParent, getPath, getPhysicalPortId, getPorts, getProduct, getProperty, getQdata, getSettingType, getState, getStateReason, getTypeDescription, getUdi, getVendor, getVlanId.
Setters
setAutoconnect, setData, setDataFull, setManaged, setProperty.
getCarrier
Arguments
:: (HasCallStack, MonadIO m, IsDeviceVlan a) | |
=> a |
|
-> m Bool | Returns: |
Whether the device has carrier.
getParent
Arguments
:: (HasCallStack, MonadIO m, IsDeviceVlan a) | |
=> a |
|
-> m Device | Returns: the device's parent device |
No description available in the introspection data.
getVlanId
Arguments
:: (HasCallStack, MonadIO m, IsDeviceVlan a) | |
=> a |
|
-> m Word32 | Returns: the device's VLAN ID |
No description available in the introspection data.
Properties
carrier
Whether the device has carrier.
getDeviceVlanCarrier :: (MonadIO m, IsDeviceVlan o) => o -> m Bool Source #
Get the value of the “carrier
” property.
When overloading is enabled, this is equivalent to
get
deviceVlan #carrier
parent
The devices's parent device.
getDeviceVlanParent :: (MonadIO m, IsDeviceVlan o) => o -> m Device Source #
Get the value of the “parent
” property.
When overloading is enabled, this is equivalent to
get
deviceVlan #parent
vlanId
The device's VLAN ID.
getDeviceVlanVlanId :: (MonadIO m, IsDeviceVlan o) => o -> m Word32 Source #
Get the value of the “vlan-id
” property.
When overloading is enabled, this is equivalent to
get
deviceVlan #vlanId