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

Description

Veth Settings

Synopsis

Exported types

newtype SettingVeth Source #

Memory-managed wrapper type.

class (GObject o, IsDescendantOf SettingVeth o) => IsSettingVeth o Source #

Type class for types which can be safely cast to SettingVeth, for instance with toSettingVeth.

Instances

Instances details
(GObject o, IsDescendantOf SettingVeth o) => IsSettingVeth o Source # 
Instance details

Defined in GI.NM.Objects.SettingVeth

toSettingVeth :: (MonadIO m, IsSettingVeth o) => o -> m SettingVeth Source #

Cast to SettingVeth, for types for which this is known to be safe. For general casts, use castTo.

Methods

getPeer

settingVethGetPeer Source #

Arguments

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

setting: the SettingVeth

-> m Text

Returns: the SettingVeth:peer property of the setting

No description available in the introspection data.

Since: 1.30

new

settingVethNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m SettingVeth

Returns: the new empty SettingVeth object

Creates a new SettingVeth object with default values.

Since: 1.30

Properties

peer

This property specifies the peer interface name of the veth. This property is mandatory.

Since: 1.30

clearSettingVethPeer :: (MonadIO m, IsSettingVeth o) => o -> m () Source #

Set the value of the “peer” property to Nothing. When overloading is enabled, this is equivalent to

clear #peer

constructSettingVethPeer :: (IsSettingVeth o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “peer” property. This is rarely needed directly, but it is used by new.

getSettingVethPeer :: (MonadIO m, IsSettingVeth o) => o -> m Text Source #

Get the value of the “peer” property. When overloading is enabled, this is equivalent to

get settingVeth #peer

setSettingVethPeer :: (MonadIO m, IsSettingVeth o) => o -> Text -> m () Source #

Set the value of the “peer” property. When overloading is enabled, this is equivalent to

set settingVeth [ #peer := value ]