gi-nm-1.0.1: NM bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.NM.Objects.DeviceVlan

Description

No description available in the introspection data.

Synopsis

Exported types

newtype DeviceVlan Source #

Memory-managed wrapper type.

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

Instances details
(GObject o, IsDescendantOf DeviceVlan o) => IsDeviceVlan o Source # 
Instance details

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

getCarrier

deviceVlanGetCarrier Source #

Arguments

:: (HasCallStack, MonadIO m, IsDeviceVlan a) 
=> a

device: a DeviceVlan

-> m Bool

Returns: True if the device has carrier

Whether the device has carrier.

getParent

deviceVlanGetParent Source #

Arguments

:: (HasCallStack, MonadIO m, IsDeviceVlan a) 
=> a

device: a DeviceVlan

-> m Device

Returns: the device's parent device

No description available in the introspection data.

getVlanId

deviceVlanGetVlanId Source #

Arguments

:: (HasCallStack, MonadIO m, IsDeviceVlan a) 
=> a

device: a DeviceVlan

-> 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