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

Description

PPP-over-Ethernet Settings

Synopsis

Exported types

class (GObject o, IsDescendantOf SettingPppoe o) => IsSettingPppoe o Source #

Type class for types which can be safely cast to SettingPppoe, for instance with toSettingPppoe.

Instances

Instances details
(GObject o, IsDescendantOf SettingPppoe o) => IsSettingPppoe o Source # 
Instance details

Defined in GI.NM.Objects.SettingPppoe

toSettingPppoe :: (MonadIO m, IsSettingPppoe o) => o -> m SettingPppoe Source #

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

Methods

getParent

settingPppoeGetParent Source #

Arguments

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

setting: the SettingPppoe

-> m Text

Returns: the SettingPppoe:parent property of the setting

No description available in the introspection data.

Since: 1.10

getPassword

settingPppoeGetPassword Source #

Arguments

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

setting: the SettingPppoe

-> m Text

Returns: the SettingPppoe:password property of the setting

No description available in the introspection data.

getPasswordFlags

settingPppoeGetPasswordFlags Source #

Arguments

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

setting: the SettingPppoe

-> m [SettingSecretFlags]

Returns: the SettingSecretFlags pertaining to the SettingPppoe:password

No description available in the introspection data.

getService

settingPppoeGetService Source #

Arguments

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

setting: the SettingPppoe

-> m Text

Returns: the SettingPppoe:service property of the setting

No description available in the introspection data.

getUsername

settingPppoeGetUsername Source #

Arguments

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

setting: the SettingPppoe

-> m Text

Returns: the SettingPppoe:username property of the setting

No description available in the introspection data.

new

settingPppoeNew Source #

Arguments

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

Returns: the new empty SettingPppoe object

Creates a new SettingPppoe object with default values.

Properties

parent

If given, specifies the parent interface name on which this PPPoE connection should be created. If this property is not specified, the connection is activated on the interface specified in SettingConnection:interfaceName of SettingConnection.

Since: 1.10

clearSettingPppoeParent :: (MonadIO m, IsSettingPppoe o) => o -> m () Source #

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

clear #parent

constructSettingPppoeParent :: (IsSettingPppoe o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingPppoeParent :: (MonadIO m, IsSettingPppoe o) => o -> m Text Source #

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

get settingPppoe #parent

setSettingPppoeParent :: (MonadIO m, IsSettingPppoe o) => o -> Text -> m () Source #

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

set settingPppoe [ #parent := value ]

password

Password used to authenticate with the PPPoE service.

clearSettingPppoePassword :: (MonadIO m, IsSettingPppoe o) => o -> m () Source #

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

clear #password

constructSettingPppoePassword :: (IsSettingPppoe 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.

getSettingPppoePassword :: (MonadIO m, IsSettingPppoe o) => o -> m Text Source #

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

get settingPppoe #password

setSettingPppoePassword :: (MonadIO m, IsSettingPppoe o) => o -> Text -> m () Source #

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

set settingPppoe [ #password := value ]

passwordFlags

Flags indicating how to handle the SettingPppoe:password property.

constructSettingPppoePasswordFlags :: (IsSettingPppoe 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.

getSettingPppoePasswordFlags :: (MonadIO m, IsSettingPppoe o) => o -> m [SettingSecretFlags] Source #

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

get settingPppoe #passwordFlags

setSettingPppoePasswordFlags :: (MonadIO m, IsSettingPppoe o) => o -> [SettingSecretFlags] -> m () Source #

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

set settingPppoe [ #passwordFlags := value ]

service

If specified, instruct PPPoE to only initiate sessions with access concentrators that provide the specified service. For most providers, this should be left blank. It is only required if there are multiple access concentrators or a specific service is known to be required.

clearSettingPppoeService :: (MonadIO m, IsSettingPppoe o) => o -> m () Source #

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

clear #service

constructSettingPppoeService :: (IsSettingPppoe o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingPppoeService :: (MonadIO m, IsSettingPppoe o) => o -> m Text Source #

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

get settingPppoe #service

setSettingPppoeService :: (MonadIO m, IsSettingPppoe o) => o -> Text -> m () Source #

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

set settingPppoe [ #service := value ]

username

Username used to authenticate with the PPPoE service.

clearSettingPppoeUsername :: (MonadIO m, IsSettingPppoe o) => o -> m () Source #

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

clear #username

constructSettingPppoeUsername :: (IsSettingPppoe 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.

getSettingPppoeUsername :: (MonadIO m, IsSettingPppoe o) => o -> m Text Source #

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

get settingPppoe #username

setSettingPppoeUsername :: (MonadIO m, IsSettingPppoe o) => o -> Text -> m () Source #

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

set settingPppoe [ #username := value ]