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

Description

ADSL Settings

Synopsis

Exported types

newtype SettingAdsl Source #

Memory-managed wrapper type.

class (GObject o, IsDescendantOf SettingAdsl o) => IsSettingAdsl o Source #

Type class for types which can be safely cast to SettingAdsl, for instance with toSettingAdsl.

Instances

Instances details
(GObject o, IsDescendantOf SettingAdsl o) => IsSettingAdsl o Source # 
Instance details

Defined in GI.NM.Objects.SettingAdsl

toSettingAdsl :: (MonadIO m, IsSettingAdsl o) => o -> m SettingAdsl Source #

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

Methods

getEncapsulation

settingAdslGetEncapsulation Source #

Arguments

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

setting: the SettingAdsl

-> m Text

Returns: the SettingAdsl:encapsulation property of the setting

No description available in the introspection data.

getPassword

settingAdslGetPassword Source #

Arguments

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

setting: the SettingAdsl

-> m Text

Returns: the SettingAdsl:password property of the setting

No description available in the introspection data.

getPasswordFlags

settingAdslGetPasswordFlags Source #

Arguments

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

setting: the SettingAdsl

-> m [SettingSecretFlags]

Returns: the SettingSecretFlags pertaining to the SettingAdsl:password

No description available in the introspection data.

getProtocol

settingAdslGetProtocol Source #

Arguments

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

setting: the SettingAdsl

-> m Text

Returns: the SettingAdsl:protocol property of the setting

No description available in the introspection data.

getUsername

settingAdslGetUsername Source #

Arguments

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

setting: the SettingAdsl

-> m Text

Returns: the SettingAdsl:username property of the setting

No description available in the introspection data.

getVci

settingAdslGetVci Source #

Arguments

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

setting: the SettingAdsl

-> m Word32

Returns: the SettingAdsl:vci property of the setting

No description available in the introspection data.

getVpi

settingAdslGetVpi Source #

Arguments

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

setting: the SettingAdsl

-> m Word32

Returns: the SettingAdsl:vpi property of the setting

No description available in the introspection data.

new

settingAdslNew Source #

Arguments

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

Returns: the new empty SettingAdsl object

Creates a new SettingAdsl object with default values.

Properties

encapsulation

Encapsulation of ADSL connection. Can be "vcmux" or "llc".

clearSettingAdslEncapsulation :: (MonadIO m, IsSettingAdsl o) => o -> m () Source #

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

clear #encapsulation

constructSettingAdslEncapsulation :: (IsSettingAdsl o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingAdslEncapsulation :: (MonadIO m, IsSettingAdsl o) => o -> m Text Source #

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

get settingAdsl #encapsulation

setSettingAdslEncapsulation :: (MonadIO m, IsSettingAdsl o) => o -> Text -> m () Source #

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

set settingAdsl [ #encapsulation := value ]

password

Password used to authenticate with the ADSL service.

clearSettingAdslPassword :: (MonadIO m, IsSettingAdsl o) => o -> m () Source #

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

clear #password

constructSettingAdslPassword :: (IsSettingAdsl o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingAdslPassword :: (MonadIO m, IsSettingAdsl o) => o -> m Text Source #

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

get settingAdsl #password

setSettingAdslPassword :: (MonadIO m, IsSettingAdsl o) => o -> Text -> m () Source #

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

set settingAdsl [ #password := value ]

passwordFlags

Flags indicating how to handle the SettingAdsl:password property.

constructSettingAdslPasswordFlags :: (IsSettingAdsl o, MonadIO m) => [SettingSecretFlags] -> m (GValueConstruct o) Source #

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

getSettingAdslPasswordFlags :: (MonadIO m, IsSettingAdsl o) => o -> m [SettingSecretFlags] Source #

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

get settingAdsl #passwordFlags

setSettingAdslPasswordFlags :: (MonadIO m, IsSettingAdsl o) => o -> [SettingSecretFlags] -> m () Source #

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

set settingAdsl [ #passwordFlags := value ]

protocol

ADSL connection protocol. Can be "pppoa", "pppoe" or "ipoatm".

clearSettingAdslProtocol :: (MonadIO m, IsSettingAdsl o) => o -> m () Source #

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

clear #protocol

constructSettingAdslProtocol :: (IsSettingAdsl o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingAdslProtocol :: (MonadIO m, IsSettingAdsl o) => o -> m Text Source #

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

get settingAdsl #protocol

setSettingAdslProtocol :: (MonadIO m, IsSettingAdsl o) => o -> Text -> m () Source #

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

set settingAdsl [ #protocol := value ]

username

Username used to authenticate with the ADSL service.

clearSettingAdslUsername :: (MonadIO m, IsSettingAdsl o) => o -> m () Source #

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

clear #username

constructSettingAdslUsername :: (IsSettingAdsl o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingAdslUsername :: (MonadIO m, IsSettingAdsl o) => o -> m Text Source #

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

get settingAdsl #username

setSettingAdslUsername :: (MonadIO m, IsSettingAdsl o) => o -> Text -> m () Source #

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

set settingAdsl [ #username := value ]

vci

VCI of ADSL connection

constructSettingAdslVci :: (IsSettingAdsl o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getSettingAdslVci :: (MonadIO m, IsSettingAdsl o) => o -> m Word32 Source #

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

get settingAdsl #vci

setSettingAdslVci :: (MonadIO m, IsSettingAdsl o) => o -> Word32 -> m () Source #

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

set settingAdsl [ #vci := value ]

vpi

VPI of ADSL connection

constructSettingAdslVpi :: (IsSettingAdsl o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getSettingAdslVpi :: (MonadIO m, IsSettingAdsl o) => o -> m Word32 Source #

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

get settingAdsl #vpi

setSettingAdslVpi :: (MonadIO m, IsSettingAdsl o) => o -> Word32 -> m () Source #

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

set settingAdsl [ #vpi := value ]