| 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.SettingAdsl
Description
ADSL Settings
Synopsis
- newtype SettingAdsl = SettingAdsl (ManagedPtr SettingAdsl)
- class (GObject o, IsDescendantOf SettingAdsl o) => IsSettingAdsl o
- toSettingAdsl :: (MonadIO m, IsSettingAdsl o) => o -> m SettingAdsl
- settingAdslGetEncapsulation :: (HasCallStack, MonadIO m, IsSettingAdsl a) => a -> m Text
- settingAdslGetPassword :: (HasCallStack, MonadIO m, IsSettingAdsl a) => a -> m Text
- settingAdslGetPasswordFlags :: (HasCallStack, MonadIO m, IsSettingAdsl a) => a -> m [SettingSecretFlags]
- settingAdslGetProtocol :: (HasCallStack, MonadIO m, IsSettingAdsl a) => a -> m Text
- settingAdslGetUsername :: (HasCallStack, MonadIO m, IsSettingAdsl a) => a -> m Text
- settingAdslGetVci :: (HasCallStack, MonadIO m, IsSettingAdsl a) => a -> m Word32
- settingAdslGetVpi :: (HasCallStack, MonadIO m, IsSettingAdsl a) => a -> m Word32
- settingAdslNew :: (HasCallStack, MonadIO m) => m SettingAdsl
- clearSettingAdslEncapsulation :: (MonadIO m, IsSettingAdsl o) => o -> m ()
- constructSettingAdslEncapsulation :: (IsSettingAdsl o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingAdslEncapsulation :: (MonadIO m, IsSettingAdsl o) => o -> m Text
- setSettingAdslEncapsulation :: (MonadIO m, IsSettingAdsl o) => o -> Text -> m ()
- clearSettingAdslPassword :: (MonadIO m, IsSettingAdsl o) => o -> m ()
- constructSettingAdslPassword :: (IsSettingAdsl o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingAdslPassword :: (MonadIO m, IsSettingAdsl o) => o -> m Text
- setSettingAdslPassword :: (MonadIO m, IsSettingAdsl o) => o -> Text -> m ()
- constructSettingAdslPasswordFlags :: (IsSettingAdsl o, MonadIO m) => [SettingSecretFlags] -> m (GValueConstruct o)
- getSettingAdslPasswordFlags :: (MonadIO m, IsSettingAdsl o) => o -> m [SettingSecretFlags]
- setSettingAdslPasswordFlags :: (MonadIO m, IsSettingAdsl o) => o -> [SettingSecretFlags] -> m ()
- clearSettingAdslProtocol :: (MonadIO m, IsSettingAdsl o) => o -> m ()
- constructSettingAdslProtocol :: (IsSettingAdsl o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingAdslProtocol :: (MonadIO m, IsSettingAdsl o) => o -> m Text
- setSettingAdslProtocol :: (MonadIO m, IsSettingAdsl o) => o -> Text -> m ()
- clearSettingAdslUsername :: (MonadIO m, IsSettingAdsl o) => o -> m ()
- constructSettingAdslUsername :: (IsSettingAdsl o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingAdslUsername :: (MonadIO m, IsSettingAdsl o) => o -> m Text
- setSettingAdslUsername :: (MonadIO m, IsSettingAdsl o) => o -> Text -> m ()
- constructSettingAdslVci :: (IsSettingAdsl o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingAdslVci :: (MonadIO m, IsSettingAdsl o) => o -> m Word32
- setSettingAdslVci :: (MonadIO m, IsSettingAdsl o) => o -> Word32 -> m ()
- constructSettingAdslVpi :: (IsSettingAdsl o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingAdslVpi :: (MonadIO m, IsSettingAdsl o) => o -> m Word32
- setSettingAdslVpi :: (MonadIO m, IsSettingAdsl o) => o -> Word32 -> m ()
Exported types
newtype SettingAdsl Source #
Memory-managed wrapper type.
Constructors
| SettingAdsl (ManagedPtr SettingAdsl) |
Instances
| Eq SettingAdsl Source # | |
Defined in GI.NM.Objects.SettingAdsl | |
| GObject SettingAdsl Source # | |
Defined in GI.NM.Objects.SettingAdsl | |
| ManagedPtrNewtype SettingAdsl Source # | |
Defined in GI.NM.Objects.SettingAdsl Methods | |
| TypedObject SettingAdsl Source # | |
Defined in GI.NM.Objects.SettingAdsl | |
| HasParentTypes SettingAdsl Source # | |
Defined in GI.NM.Objects.SettingAdsl | |
| IsGValue (Maybe SettingAdsl) Source # | Convert |
Defined in GI.NM.Objects.SettingAdsl Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingAdsl -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingAdsl) # | |
| type ParentTypes SettingAdsl Source # | |
Defined in GI.NM.Objects.SettingAdsl | |
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
| (GObject o, IsDescendantOf SettingAdsl o) => IsSettingAdsl o Source # | |
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
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, getEncapsulation, getName, getPassword, getPasswordFlags, getProperty, getProtocol, getQdata, getSecretFlags, getUsername, getVci, getVpi.
Setters
getEncapsulation
settingAdslGetEncapsulation Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettingAdsl a) | |
| => a |
|
| -> 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 |
|
| -> 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 |
|
| -> m [SettingSecretFlags] | Returns: the |
No description available in the introspection data.
getProtocol
settingAdslGetProtocol Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettingAdsl a) | |
| => a |
|
| -> 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 |
|
| -> m Text | Returns: the SettingAdsl:username property of the setting |
No description available in the introspection data.
getVci
Arguments
| :: (HasCallStack, MonadIO m, IsSettingAdsl a) | |
| => a |
|
| -> m Word32 | Returns: the SettingAdsl:vci property of the setting |
No description available in the introspection data.
getVpi
Arguments
| :: (HasCallStack, MonadIO m, IsSettingAdsl a) | |
| => a |
|
| -> m Word32 | Returns: the SettingAdsl:vpi property of the setting |
No description available in the introspection data.
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m SettingAdsl | Returns: the new empty |
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
setsettingAdsl [ #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
setsettingAdsl [ #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
setsettingAdsl [ #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
setsettingAdsl [ #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
setsettingAdsl [ #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
setsettingAdsl [ #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
setsettingAdsl [ #vpi:=value ]