Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.NM.Objects.SettingPppoe
Description
PPP-over-Ethernet Settings
Synopsis
- newtype SettingPppoe = SettingPppoe (ManagedPtr SettingPppoe)
- class (GObject o, IsDescendantOf SettingPppoe o) => IsSettingPppoe o
- toSettingPppoe :: (MonadIO m, IsSettingPppoe o) => o -> m SettingPppoe
- settingPppoeGetParent :: (HasCallStack, MonadIO m, IsSettingPppoe a) => a -> m Text
- settingPppoeGetPassword :: (HasCallStack, MonadIO m, IsSettingPppoe a) => a -> m Text
- settingPppoeGetPasswordFlags :: (HasCallStack, MonadIO m, IsSettingPppoe a) => a -> m [SettingSecretFlags]
- settingPppoeGetService :: (HasCallStack, MonadIO m, IsSettingPppoe a) => a -> m Text
- settingPppoeGetUsername :: (HasCallStack, MonadIO m, IsSettingPppoe a) => a -> m Text
- settingPppoeNew :: (HasCallStack, MonadIO m) => m SettingPppoe
- clearSettingPppoeParent :: (MonadIO m, IsSettingPppoe o) => o -> m ()
- constructSettingPppoeParent :: (IsSettingPppoe o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingPppoeParent :: (MonadIO m, IsSettingPppoe o) => o -> m Text
- setSettingPppoeParent :: (MonadIO m, IsSettingPppoe o) => o -> Text -> m ()
- clearSettingPppoePassword :: (MonadIO m, IsSettingPppoe o) => o -> m ()
- constructSettingPppoePassword :: (IsSettingPppoe o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingPppoePassword :: (MonadIO m, IsSettingPppoe o) => o -> m Text
- setSettingPppoePassword :: (MonadIO m, IsSettingPppoe o) => o -> Text -> m ()
- constructSettingPppoePasswordFlags :: (IsSettingPppoe o, MonadIO m) => [SettingSecretFlags] -> m (GValueConstruct o)
- getSettingPppoePasswordFlags :: (MonadIO m, IsSettingPppoe o) => o -> m [SettingSecretFlags]
- setSettingPppoePasswordFlags :: (MonadIO m, IsSettingPppoe o) => o -> [SettingSecretFlags] -> m ()
- clearSettingPppoeService :: (MonadIO m, IsSettingPppoe o) => o -> m ()
- constructSettingPppoeService :: (IsSettingPppoe o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingPppoeService :: (MonadIO m, IsSettingPppoe o) => o -> m Text
- setSettingPppoeService :: (MonadIO m, IsSettingPppoe o) => o -> Text -> m ()
- clearSettingPppoeUsername :: (MonadIO m, IsSettingPppoe o) => o -> m ()
- constructSettingPppoeUsername :: (IsSettingPppoe o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingPppoeUsername :: (MonadIO m, IsSettingPppoe o) => o -> m Text
- setSettingPppoeUsername :: (MonadIO m, IsSettingPppoe o) => o -> Text -> m ()
Exported types
newtype SettingPppoe Source #
Memory-managed wrapper type.
Constructors
SettingPppoe (ManagedPtr SettingPppoe) |
Instances
Eq SettingPppoe Source # | |
Defined in GI.NM.Objects.SettingPppoe | |
GObject SettingPppoe Source # | |
Defined in GI.NM.Objects.SettingPppoe | |
ManagedPtrNewtype SettingPppoe Source # | |
Defined in GI.NM.Objects.SettingPppoe Methods | |
TypedObject SettingPppoe Source # | |
Defined in GI.NM.Objects.SettingPppoe | |
HasParentTypes SettingPppoe Source # | |
Defined in GI.NM.Objects.SettingPppoe | |
IsGValue (Maybe SettingPppoe) Source # | Convert |
Defined in GI.NM.Objects.SettingPppoe Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingPppoe -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingPppoe) # | |
type ParentTypes SettingPppoe Source # | |
Defined in GI.NM.Objects.SettingPppoe |
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
(GObject o, IsDescendantOf SettingPppoe o) => IsSettingPppoe o Source # | |
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
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, compare, diff, duplicate, enumerateValues, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, optionClearByName, optionGet, optionGetAllNames, optionGetBoolean, optionGetUint32, optionSet, optionSetBoolean, optionSetUint32, ref, refSink, runDispose, stealData, stealQdata, thawNotify, toString, unref, verify, verifySecrets, watchClosure.
Getters
getData, getDbusPropertyType, getName, getParent, getPassword, getPasswordFlags, getProperty, getQdata, getSecretFlags, getService, getUsername.
Setters
getParent
settingPppoeGetParent Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingPppoe a) | |
=> a |
|
-> 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 |
|
-> 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 |
|
-> m [SettingSecretFlags] | Returns: the |
No description available in the introspection data.
getService
settingPppoeGetService Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingPppoe a) | |
=> a |
|
-> 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 |
|
-> m Text | Returns: the SettingPppoe:username property of the setting |
No description available in the introspection data.
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m SettingPppoe | Returns: the new empty |
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 ]