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.SettingOvsExternalIDs
Description
OVS External IDs Settings
Synopsis
- newtype SettingOvsExternalIDs = SettingOvsExternalIDs (ManagedPtr SettingOvsExternalIDs)
- class (GObject o, IsDescendantOf SettingOvsExternalIDs o) => IsSettingOvsExternalIDs o
- toSettingOvsExternalIDs :: (MonadIO m, IsSettingOvsExternalIDs o) => o -> m SettingOvsExternalIDs
- settingOvsExternalIDsCheckKey :: (HasCallStack, MonadIO m) => Maybe Text -> m ()
- settingOvsExternalIDsCheckVal :: (HasCallStack, MonadIO m) => Maybe Text -> m ()
- settingOvsExternalIDsGetData :: (HasCallStack, MonadIO m, IsSettingOvsExternalIDs a) => a -> Text -> m Text
- settingOvsExternalIDsGetDataKeys :: (HasCallStack, MonadIO m, IsSettingOvsExternalIDs a) => a -> m [Text]
- settingOvsExternalIDsNew :: (HasCallStack, MonadIO m) => m SettingOvsExternalIDs
- settingOvsExternalIDsSetData :: (HasCallStack, MonadIO m, IsSettingOvsExternalIDs a) => a -> Text -> Maybe Text -> m ()
- clearSettingOvsExternalIDsData :: (MonadIO m, IsSettingOvsExternalIDs o) => o -> m ()
- constructSettingOvsExternalIDsData :: (IsSettingOvsExternalIDs o, MonadIO m) => Map Text Text -> m (GValueConstruct o)
- getSettingOvsExternalIDsData :: (MonadIO m, IsSettingOvsExternalIDs o) => o -> m (Maybe (Map Text Text))
- setSettingOvsExternalIDsData :: (MonadIO m, IsSettingOvsExternalIDs o) => o -> Map Text Text -> m ()
Exported types
newtype SettingOvsExternalIDs Source #
Memory-managed wrapper type.
Constructors
SettingOvsExternalIDs (ManagedPtr SettingOvsExternalIDs) |
Instances
class (GObject o, IsDescendantOf SettingOvsExternalIDs o) => IsSettingOvsExternalIDs o Source #
Type class for types which can be safely cast to SettingOvsExternalIDs
, for instance with toSettingOvsExternalIDs
.
Instances
(GObject o, IsDescendantOf SettingOvsExternalIDs o) => IsSettingOvsExternalIDs o Source # | |
Defined in GI.NM.Objects.SettingOvsExternalIDs |
toSettingOvsExternalIDs :: (MonadIO m, IsSettingOvsExternalIDs o) => o -> m SettingOvsExternalIDs Source #
Cast to SettingOvsExternalIDs
, 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, getDataKeys, getDbusPropertyType, getName, getProperty, getQdata, getSecretFlags.
Setters
checkKey
settingOvsExternalIDsCheckKey Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> Maybe Text |
|
-> m () | (Can throw |
Checks whether key
is a valid key for OVS' external-ids.
This means, the key cannot be Nothing
, not too large and valid ASCII.
Also, only digits and numbers are allowed with a few special
characters. They key must also not start with "NM.".
Since: 1.30
checkVal
settingOvsExternalIDsCheckVal Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> Maybe Text |
|
-> m () | (Can throw |
Checks whether val
is a valid user data value. This means,
value is not Nothing
, not too large and valid UTF-8.
Since: 1.30
getData
settingOvsExternalIDsGetData Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingOvsExternalIDs a) | |
=> a |
|
-> Text |
|
-> m Text | Returns: the value associated with |
No description available in the introspection data.
Since: 1.30
getDataKeys
settingOvsExternalIDsGetDataKeys Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingOvsExternalIDs a) | |
=> a |
|
-> m [Text] | Returns: a
|
No description available in the introspection data.
Since: 1.30
new
settingOvsExternalIDsNew Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> m SettingOvsExternalIDs | Returns: the new empty
|
Creates a new SettingOvsExternalIDs
object with default values.
Since: 1.30
setData
settingOvsExternalIDsSetData Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingOvsExternalIDs a) | |
=> a |
|
-> Text |
|
-> Maybe Text |
|
-> m () |
No description available in the introspection data.
Since: 1.30
Properties
data
A dictionary of key/value pairs with external-ids for OVS.
Since: 1.30
clearSettingOvsExternalIDsData :: (MonadIO m, IsSettingOvsExternalIDs o) => o -> m () Source #
Set the value of the “data
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#data
constructSettingOvsExternalIDsData :: (IsSettingOvsExternalIDs o, MonadIO m) => Map Text Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “data
” property. This is rarely needed directly, but it is used by new
.
getSettingOvsExternalIDsData :: (MonadIO m, IsSettingOvsExternalIDs o) => o -> m (Maybe (Map Text Text)) Source #
Get the value of the “data
” property.
When overloading is enabled, this is equivalent to
get
settingOvsExternalIDs #data
setSettingOvsExternalIDsData :: (MonadIO m, IsSettingOvsExternalIDs o) => o -> Map Text Text -> m () Source #
Set the value of the “data
” property.
When overloading is enabled, this is equivalent to
set
settingOvsExternalIDs [ #data:=
value ]