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

Description

OvsPatch Link Settings

Synopsis

Exported types

class (GObject o, IsDescendantOf SettingOvsPatch o) => IsSettingOvsPatch o Source #

Type class for types which can be safely cast to SettingOvsPatch, for instance with toSettingOvsPatch.

Instances

Instances details
(GObject o, IsDescendantOf SettingOvsPatch o) => IsSettingOvsPatch o Source # 
Instance details

Defined in GI.NM.Objects.SettingOvsPatch

toSettingOvsPatch :: (MonadIO m, IsSettingOvsPatch o) => o -> m SettingOvsPatch Source #

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

Methods

getPeer

settingOvsPatchGetPeer Source #

Arguments

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

self: the SettingOvsPatch

-> m Text

Returns: the SettingOvsPatch:peer property of the setting

No description available in the introspection data.

Since: 1.10

new

settingOvsPatchNew Source #

Arguments

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

Returns: the new empty SettingOvsPatch object

Creates a new SettingOvsPatch object with default values.

Since: 1.10

Properties

peer

Specifies the name of the interface for the other side of the patch. The patch on the other side must also set this interface as peer.

Since: 1.10

clearSettingOvsPatchPeer :: (MonadIO m, IsSettingOvsPatch o) => o -> m () Source #

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

clear #peer

constructSettingOvsPatchPeer :: (IsSettingOvsPatch 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.

getSettingOvsPatchPeer :: (MonadIO m, IsSettingOvsPatch o) => o -> m Text Source #

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

get settingOvsPatch #peer

setSettingOvsPatchPeer :: (MonadIO m, IsSettingOvsPatch o) => o -> Text -> m () Source #

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

set settingOvsPatch [ #peer := value ]