{-# LANGUAGE TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.NM.Objects.SettingIP6Config
(
SettingIP6Config(..) ,
IsSettingIP6Config ,
toSettingIP6Config ,
#if defined(ENABLE_OVERLOADING)
ResolveSettingIP6ConfigMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigGetAddrGenModeMethodInfo,
#endif
settingIP6ConfigGetAddrGenMode ,
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigGetDhcpDuidMethodInfo ,
#endif
settingIP6ConfigGetDhcpDuid ,
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigGetDhcpPdHintMethodInfo ,
#endif
settingIP6ConfigGetDhcpPdHint ,
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigGetIp6PrivacyMethodInfo ,
#endif
settingIP6ConfigGetIp6Privacy ,
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigGetMtuMethodInfo ,
#endif
settingIP6ConfigGetMtu ,
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigGetRaTimeoutMethodInfo ,
#endif
settingIP6ConfigGetRaTimeout ,
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigGetTempPreferredLifetimeMethodInfo,
#endif
settingIP6ConfigGetTempPreferredLifetime,
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigGetTempValidLifetimeMethodInfo,
#endif
settingIP6ConfigGetTempValidLifetime ,
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigGetTokenMethodInfo ,
#endif
settingIP6ConfigGetToken ,
settingIP6ConfigNew ,
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigAddrGenModePropertyInfo ,
#endif
constructSettingIP6ConfigAddrGenMode ,
getSettingIP6ConfigAddrGenMode ,
setSettingIP6ConfigAddrGenMode ,
#if defined(ENABLE_OVERLOADING)
settingIP6ConfigAddrGenMode ,
#endif
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigDhcpDuidPropertyInfo ,
#endif
clearSettingIP6ConfigDhcpDuid ,
constructSettingIP6ConfigDhcpDuid ,
getSettingIP6ConfigDhcpDuid ,
setSettingIP6ConfigDhcpDuid ,
#if defined(ENABLE_OVERLOADING)
settingIP6ConfigDhcpDuid ,
#endif
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigDhcpPdHintPropertyInfo ,
#endif
clearSettingIP6ConfigDhcpPdHint ,
constructSettingIP6ConfigDhcpPdHint ,
getSettingIP6ConfigDhcpPdHint ,
setSettingIP6ConfigDhcpPdHint ,
#if defined(ENABLE_OVERLOADING)
settingIP6ConfigDhcpPdHint ,
#endif
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigIp6PrivacyPropertyInfo ,
#endif
constructSettingIP6ConfigIp6Privacy ,
getSettingIP6ConfigIp6Privacy ,
setSettingIP6ConfigIp6Privacy ,
#if defined(ENABLE_OVERLOADING)
settingIP6ConfigIp6Privacy ,
#endif
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigMtuPropertyInfo ,
#endif
constructSettingIP6ConfigMtu ,
getSettingIP6ConfigMtu ,
setSettingIP6ConfigMtu ,
#if defined(ENABLE_OVERLOADING)
settingIP6ConfigMtu ,
#endif
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigRaTimeoutPropertyInfo ,
#endif
constructSettingIP6ConfigRaTimeout ,
getSettingIP6ConfigRaTimeout ,
setSettingIP6ConfigRaTimeout ,
#if defined(ENABLE_OVERLOADING)
settingIP6ConfigRaTimeout ,
#endif
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigTempPreferredLifetimePropertyInfo,
#endif
constructSettingIP6ConfigTempPreferredLifetime,
getSettingIP6ConfigTempPreferredLifetime,
setSettingIP6ConfigTempPreferredLifetime,
#if defined(ENABLE_OVERLOADING)
settingIP6ConfigTempPreferredLifetime ,
#endif
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigTempValidLifetimePropertyInfo,
#endif
constructSettingIP6ConfigTempValidLifetime,
getSettingIP6ConfigTempValidLifetime ,
setSettingIP6ConfigTempValidLifetime ,
#if defined(ENABLE_OVERLOADING)
settingIP6ConfigTempValidLifetime ,
#endif
#if defined(ENABLE_OVERLOADING)
SettingIP6ConfigTokenPropertyInfo ,
#endif
clearSettingIP6ConfigToken ,
constructSettingIP6ConfigToken ,
getSettingIP6ConfigToken ,
setSettingIP6ConfigToken ,
#if defined(ENABLE_OVERLOADING)
settingIP6ConfigToken ,
#endif
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.BasicTypes as B.Types
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GArray as B.GArray
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GHashTable as B.GHT
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Control.Monad.IO.Class as MIO
import qualified Data.Coerce as Coerce
import qualified Data.Text as T
import qualified Data.Kind as DK
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
import qualified GHC.Records as R
import qualified Data.Word as DW
import qualified Data.Int as DI
import qualified System.Posix.Types as SPT
import qualified Foreign.C.Types as FCT
#if MIN_VERSION_base(4,18,0)
import qualified GI.GLib.Structs.Bytes as GLib.Bytes
import qualified GI.GLib.Structs.VariantType as GLib.VariantType
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.NM.Callbacks as NM.Callbacks
import {-# SOURCE #-} qualified GI.NM.Enums as NM.Enums
import {-# SOURCE #-} qualified GI.NM.Flags as NM.Flags
import {-# SOURCE #-} qualified GI.NM.Interfaces.Connection as NM.Connection
import {-# SOURCE #-} qualified GI.NM.Objects.Setting as NM.Setting
import {-# SOURCE #-} qualified GI.NM.Objects.Setting8021x as NM.Setting8021x
import {-# SOURCE #-} qualified GI.NM.Objects.SettingAdsl as NM.SettingAdsl
import {-# SOURCE #-} qualified GI.NM.Objects.SettingBluetooth as NM.SettingBluetooth
import {-# SOURCE #-} qualified GI.NM.Objects.SettingBond as NM.SettingBond
import {-# SOURCE #-} qualified GI.NM.Objects.SettingBridge as NM.SettingBridge
import {-# SOURCE #-} qualified GI.NM.Objects.SettingBridgePort as NM.SettingBridgePort
import {-# SOURCE #-} qualified GI.NM.Objects.SettingCdma as NM.SettingCdma
import {-# SOURCE #-} qualified GI.NM.Objects.SettingConnection as NM.SettingConnection
import {-# SOURCE #-} qualified GI.NM.Objects.SettingDcb as NM.SettingDcb
import {-# SOURCE #-} qualified GI.NM.Objects.SettingDummy as NM.SettingDummy
import {-# SOURCE #-} qualified GI.NM.Objects.SettingGeneric as NM.SettingGeneric
import {-# SOURCE #-} qualified GI.NM.Objects.SettingGsm as NM.SettingGsm
import {-# SOURCE #-} qualified GI.NM.Objects.SettingIP4Config as NM.SettingIP4Config
import {-# SOURCE #-} qualified GI.NM.Objects.SettingIPConfig as NM.SettingIPConfig
import {-# SOURCE #-} qualified GI.NM.Objects.SettingIPTunnel as NM.SettingIPTunnel
import {-# SOURCE #-} qualified GI.NM.Objects.SettingInfiniband as NM.SettingInfiniband
import {-# SOURCE #-} qualified GI.NM.Objects.SettingMacsec as NM.SettingMacsec
import {-# SOURCE #-} qualified GI.NM.Objects.SettingMacvlan as NM.SettingMacvlan
import {-# SOURCE #-} qualified GI.NM.Objects.SettingOlpcMesh as NM.SettingOlpcMesh
import {-# SOURCE #-} qualified GI.NM.Objects.SettingOvsBridge as NM.SettingOvsBridge
import {-# SOURCE #-} qualified GI.NM.Objects.SettingOvsInterface as NM.SettingOvsInterface
import {-# SOURCE #-} qualified GI.NM.Objects.SettingOvsPatch as NM.SettingOvsPatch
import {-# SOURCE #-} qualified GI.NM.Objects.SettingOvsPort as NM.SettingOvsPort
import {-# SOURCE #-} qualified GI.NM.Objects.SettingPpp as NM.SettingPpp
import {-# SOURCE #-} qualified GI.NM.Objects.SettingPppoe as NM.SettingPppoe
import {-# SOURCE #-} qualified GI.NM.Objects.SettingProxy as NM.SettingProxy
import {-# SOURCE #-} qualified GI.NM.Objects.SettingSerial as NM.SettingSerial
import {-# SOURCE #-} qualified GI.NM.Objects.SettingTCConfig as NM.SettingTCConfig
import {-# SOURCE #-} qualified GI.NM.Objects.SettingTeam as NM.SettingTeam
import {-# SOURCE #-} qualified GI.NM.Objects.SettingTeamPort as NM.SettingTeamPort
import {-# SOURCE #-} qualified GI.NM.Objects.SettingTun as NM.SettingTun
import {-# SOURCE #-} qualified GI.NM.Objects.SettingVlan as NM.SettingVlan
import {-# SOURCE #-} qualified GI.NM.Objects.SettingVpn as NM.SettingVpn
import {-# SOURCE #-} qualified GI.NM.Objects.SettingVxlan as NM.SettingVxlan
import {-# SOURCE #-} qualified GI.NM.Objects.SettingWimax as NM.SettingWimax
import {-# SOURCE #-} qualified GI.NM.Objects.SettingWired as NM.SettingWired
import {-# SOURCE #-} qualified GI.NM.Objects.SettingWireless as NM.SettingWireless
import {-# SOURCE #-} qualified GI.NM.Objects.SettingWirelessSecurity as NM.SettingWirelessSecurity
import {-# SOURCE #-} qualified GI.NM.Structs.BridgeVlan as NM.BridgeVlan
import {-# SOURCE #-} qualified GI.NM.Structs.IPAddress as NM.IPAddress
import {-# SOURCE #-} qualified GI.NM.Structs.IPRoute as NM.IPRoute
import {-# SOURCE #-} qualified GI.NM.Structs.IPRoutingRule as NM.IPRoutingRule
import {-# SOURCE #-} qualified GI.NM.Structs.Range as NM.Range
import {-# SOURCE #-} qualified GI.NM.Structs.TCAction as NM.TCAction
import {-# SOURCE #-} qualified GI.NM.Structs.TCQdisc as NM.TCQdisc
import {-# SOURCE #-} qualified GI.NM.Structs.TCTfilter as NM.TCTfilter
import {-# SOURCE #-} qualified GI.NM.Structs.TeamLinkWatcher as NM.TeamLinkWatcher
import {-# SOURCE #-} qualified GI.NM.Structs.VariantAttributeSpec as NM.VariantAttributeSpec
#else
import qualified GI.GObject.Objects.Object as GObject.Object
import {-# SOURCE #-} qualified GI.NM.Enums as NM.Enums
import {-# SOURCE #-} qualified GI.NM.Objects.Setting as NM.Setting
import {-# SOURCE #-} qualified GI.NM.Objects.SettingIPConfig as NM.SettingIPConfig
#endif
newtype SettingIP6Config = SettingIP6Config (SP.ManagedPtr SettingIP6Config)
deriving (SettingIP6Config -> SettingIP6Config -> Bool
(SettingIP6Config -> SettingIP6Config -> Bool)
-> (SettingIP6Config -> SettingIP6Config -> Bool)
-> Eq SettingIP6Config
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SettingIP6Config -> SettingIP6Config -> Bool
== :: SettingIP6Config -> SettingIP6Config -> Bool
$c/= :: SettingIP6Config -> SettingIP6Config -> Bool
/= :: SettingIP6Config -> SettingIP6Config -> Bool
Eq)
instance SP.ManagedPtrNewtype SettingIP6Config where
toManagedPtr :: SettingIP6Config -> ManagedPtr SettingIP6Config
toManagedPtr (SettingIP6Config ManagedPtr SettingIP6Config
p) = ManagedPtr SettingIP6Config
p
foreign import ccall "nm_setting_ip6_config_get_type"
c_nm_setting_ip6_config_get_type :: IO B.Types.GType
instance B.Types.TypedObject SettingIP6Config where
glibType :: IO GType
glibType = IO GType
c_nm_setting_ip6_config_get_type
instance B.Types.GObject SettingIP6Config
class (SP.GObject o, O.IsDescendantOf SettingIP6Config o) => IsSettingIP6Config o
instance (SP.GObject o, O.IsDescendantOf SettingIP6Config o) => IsSettingIP6Config o
instance O.HasParentTypes SettingIP6Config
type instance O.ParentTypes SettingIP6Config = '[NM.SettingIPConfig.SettingIPConfig, NM.Setting.Setting, GObject.Object.Object]
toSettingIP6Config :: (MIO.MonadIO m, IsSettingIP6Config o) => o -> m SettingIP6Config
toSettingIP6Config :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> m SettingIP6Config
toSettingIP6Config = IO SettingIP6Config -> m SettingIP6Config
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO SettingIP6Config -> m SettingIP6Config)
-> (o -> IO SettingIP6Config) -> o -> m SettingIP6Config
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr SettingIP6Config -> SettingIP6Config)
-> o -> IO SettingIP6Config
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr SettingIP6Config -> SettingIP6Config
SettingIP6Config
instance B.GValue.IsGValue (Maybe SettingIP6Config) where
gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_nm_setting_ip6_config_get_type
gvalueSet_ :: Ptr GValue -> Maybe SettingIP6Config -> IO ()
gvalueSet_ Ptr GValue
gv Maybe SettingIP6Config
P.Nothing = Ptr GValue -> Ptr SettingIP6Config -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr SettingIP6Config
forall a. Ptr a
FP.nullPtr :: FP.Ptr SettingIP6Config)
gvalueSet_ Ptr GValue
gv (P.Just SettingIP6Config
obj) = SettingIP6Config -> (Ptr SettingIP6Config -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr SettingIP6Config
obj (Ptr GValue -> Ptr SettingIP6Config -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
gvalueGet_ :: Ptr GValue -> IO (Maybe SettingIP6Config)
gvalueGet_ Ptr GValue
gv = do
Ptr SettingIP6Config
ptr <- Ptr GValue -> IO (Ptr SettingIP6Config)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr SettingIP6Config)
if Ptr SettingIP6Config
ptr Ptr SettingIP6Config -> Ptr SettingIP6Config -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr SettingIP6Config
forall a. Ptr a
FP.nullPtr
then SettingIP6Config -> Maybe SettingIP6Config
forall a. a -> Maybe a
P.Just (SettingIP6Config -> Maybe SettingIP6Config)
-> IO SettingIP6Config -> IO (Maybe SettingIP6Config)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr SettingIP6Config -> SettingIP6Config)
-> Ptr SettingIP6Config -> IO SettingIP6Config
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr SettingIP6Config -> SettingIP6Config
SettingIP6Config Ptr SettingIP6Config
ptr
else Maybe SettingIP6Config -> IO (Maybe SettingIP6Config)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe SettingIP6Config
forall a. Maybe a
P.Nothing
#if defined(ENABLE_OVERLOADING)
type family ResolveSettingIP6ConfigMethod (t :: Symbol) (o :: DK.Type) :: DK.Type where
ResolveSettingIP6ConfigMethod "addAddress" o = NM.SettingIPConfig.SettingIPConfigAddAddressMethodInfo
ResolveSettingIP6ConfigMethod "addDhcpRejectServer" o = NM.SettingIPConfig.SettingIPConfigAddDhcpRejectServerMethodInfo
ResolveSettingIP6ConfigMethod "addDns" o = NM.SettingIPConfig.SettingIPConfigAddDnsMethodInfo
ResolveSettingIP6ConfigMethod "addDnsOption" o = NM.SettingIPConfig.SettingIPConfigAddDnsOptionMethodInfo
ResolveSettingIP6ConfigMethod "addDnsSearch" o = NM.SettingIPConfig.SettingIPConfigAddDnsSearchMethodInfo
ResolveSettingIP6ConfigMethod "addRoute" o = NM.SettingIPConfig.SettingIPConfigAddRouteMethodInfo
ResolveSettingIP6ConfigMethod "addRoutingRule" o = NM.SettingIPConfig.SettingIPConfigAddRoutingRuleMethodInfo
ResolveSettingIP6ConfigMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveSettingIP6ConfigMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveSettingIP6ConfigMethod "clearAddresses" o = NM.SettingIPConfig.SettingIPConfigClearAddressesMethodInfo
ResolveSettingIP6ConfigMethod "clearDhcpRejectServers" o = NM.SettingIPConfig.SettingIPConfigClearDhcpRejectServersMethodInfo
ResolveSettingIP6ConfigMethod "clearDns" o = NM.SettingIPConfig.SettingIPConfigClearDnsMethodInfo
ResolveSettingIP6ConfigMethod "clearDnsOptions" o = NM.SettingIPConfig.SettingIPConfigClearDnsOptionsMethodInfo
ResolveSettingIP6ConfigMethod "clearDnsSearches" o = NM.SettingIPConfig.SettingIPConfigClearDnsSearchesMethodInfo
ResolveSettingIP6ConfigMethod "clearRoutes" o = NM.SettingIPConfig.SettingIPConfigClearRoutesMethodInfo
ResolveSettingIP6ConfigMethod "clearRoutingRules" o = NM.SettingIPConfig.SettingIPConfigClearRoutingRulesMethodInfo
ResolveSettingIP6ConfigMethod "compare" o = NM.Setting.SettingCompareMethodInfo
ResolveSettingIP6ConfigMethod "diff" o = NM.Setting.SettingDiffMethodInfo
ResolveSettingIP6ConfigMethod "duplicate" o = NM.Setting.SettingDuplicateMethodInfo
ResolveSettingIP6ConfigMethod "enumerateValues" o = NM.Setting.SettingEnumerateValuesMethodInfo
ResolveSettingIP6ConfigMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveSettingIP6ConfigMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveSettingIP6ConfigMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveSettingIP6ConfigMethod "hasDnsOptions" o = NM.SettingIPConfig.SettingIPConfigHasDnsOptionsMethodInfo
ResolveSettingIP6ConfigMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveSettingIP6ConfigMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveSettingIP6ConfigMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveSettingIP6ConfigMethod "optionClearByName" o = NM.Setting.SettingOptionClearByNameMethodInfo
ResolveSettingIP6ConfigMethod "optionGet" o = NM.Setting.SettingOptionGetMethodInfo
ResolveSettingIP6ConfigMethod "optionGetAllNames" o = NM.Setting.SettingOptionGetAllNamesMethodInfo
ResolveSettingIP6ConfigMethod "optionGetBoolean" o = NM.Setting.SettingOptionGetBooleanMethodInfo
ResolveSettingIP6ConfigMethod "optionGetUint32" o = NM.Setting.SettingOptionGetUint32MethodInfo
ResolveSettingIP6ConfigMethod "optionSet" o = NM.Setting.SettingOptionSetMethodInfo
ResolveSettingIP6ConfigMethod "optionSetBoolean" o = NM.Setting.SettingOptionSetBooleanMethodInfo
ResolveSettingIP6ConfigMethod "optionSetUint32" o = NM.Setting.SettingOptionSetUint32MethodInfo
ResolveSettingIP6ConfigMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveSettingIP6ConfigMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveSettingIP6ConfigMethod "removeAddress" o = NM.SettingIPConfig.SettingIPConfigRemoveAddressMethodInfo
ResolveSettingIP6ConfigMethod "removeAddressByValue" o = NM.SettingIPConfig.SettingIPConfigRemoveAddressByValueMethodInfo
ResolveSettingIP6ConfigMethod "removeDhcpRejectServer" o = NM.SettingIPConfig.SettingIPConfigRemoveDhcpRejectServerMethodInfo
ResolveSettingIP6ConfigMethod "removeDns" o = NM.SettingIPConfig.SettingIPConfigRemoveDnsMethodInfo
ResolveSettingIP6ConfigMethod "removeDnsByValue" o = NM.SettingIPConfig.SettingIPConfigRemoveDnsByValueMethodInfo
ResolveSettingIP6ConfigMethod "removeDnsOption" o = NM.SettingIPConfig.SettingIPConfigRemoveDnsOptionMethodInfo
ResolveSettingIP6ConfigMethod "removeDnsOptionByValue" o = NM.SettingIPConfig.SettingIPConfigRemoveDnsOptionByValueMethodInfo
ResolveSettingIP6ConfigMethod "removeDnsSearch" o = NM.SettingIPConfig.SettingIPConfigRemoveDnsSearchMethodInfo
ResolveSettingIP6ConfigMethod "removeDnsSearchByValue" o = NM.SettingIPConfig.SettingIPConfigRemoveDnsSearchByValueMethodInfo
ResolveSettingIP6ConfigMethod "removeRoute" o = NM.SettingIPConfig.SettingIPConfigRemoveRouteMethodInfo
ResolveSettingIP6ConfigMethod "removeRouteByValue" o = NM.SettingIPConfig.SettingIPConfigRemoveRouteByValueMethodInfo
ResolveSettingIP6ConfigMethod "removeRoutingRule" o = NM.SettingIPConfig.SettingIPConfigRemoveRoutingRuleMethodInfo
ResolveSettingIP6ConfigMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveSettingIP6ConfigMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveSettingIP6ConfigMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveSettingIP6ConfigMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveSettingIP6ConfigMethod "toString" o = NM.Setting.SettingToStringMethodInfo
ResolveSettingIP6ConfigMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveSettingIP6ConfigMethod "verify" o = NM.Setting.SettingVerifyMethodInfo
ResolveSettingIP6ConfigMethod "verifySecrets" o = NM.Setting.SettingVerifySecretsMethodInfo
ResolveSettingIP6ConfigMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveSettingIP6ConfigMethod "getAddrGenMode" o = SettingIP6ConfigGetAddrGenModeMethodInfo
ResolveSettingIP6ConfigMethod "getAddress" o = NM.SettingIPConfig.SettingIPConfigGetAddressMethodInfo
ResolveSettingIP6ConfigMethod "getAutoRouteExtGw" o = NM.SettingIPConfig.SettingIPConfigGetAutoRouteExtGwMethodInfo
ResolveSettingIP6ConfigMethod "getDadTimeout" o = NM.SettingIPConfig.SettingIPConfigGetDadTimeoutMethodInfo
ResolveSettingIP6ConfigMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveSettingIP6ConfigMethod "getDbusPropertyType" o = NM.Setting.SettingGetDbusPropertyTypeMethodInfo
ResolveSettingIP6ConfigMethod "getDhcpDscp" o = NM.SettingIPConfig.SettingIPConfigGetDhcpDscpMethodInfo
ResolveSettingIP6ConfigMethod "getDhcpDuid" o = SettingIP6ConfigGetDhcpDuidMethodInfo
ResolveSettingIP6ConfigMethod "getDhcpHostname" o = NM.SettingIPConfig.SettingIPConfigGetDhcpHostnameMethodInfo
ResolveSettingIP6ConfigMethod "getDhcpHostnameFlags" o = NM.SettingIPConfig.SettingIPConfigGetDhcpHostnameFlagsMethodInfo
ResolveSettingIP6ConfigMethod "getDhcpIaid" o = NM.SettingIPConfig.SettingIPConfigGetDhcpIaidMethodInfo
ResolveSettingIP6ConfigMethod "getDhcpPdHint" o = SettingIP6ConfigGetDhcpPdHintMethodInfo
ResolveSettingIP6ConfigMethod "getDhcpRejectServers" o = NM.SettingIPConfig.SettingIPConfigGetDhcpRejectServersMethodInfo
ResolveSettingIP6ConfigMethod "getDhcpSendHostname" o = NM.SettingIPConfig.SettingIPConfigGetDhcpSendHostnameMethodInfo
ResolveSettingIP6ConfigMethod "getDhcpSendRelease" o = NM.SettingIPConfig.SettingIPConfigGetDhcpSendReleaseMethodInfo
ResolveSettingIP6ConfigMethod "getDhcpTimeout" o = NM.SettingIPConfig.SettingIPConfigGetDhcpTimeoutMethodInfo
ResolveSettingIP6ConfigMethod "getDns" o = NM.SettingIPConfig.SettingIPConfigGetDnsMethodInfo
ResolveSettingIP6ConfigMethod "getDnsOption" o = NM.SettingIPConfig.SettingIPConfigGetDnsOptionMethodInfo
ResolveSettingIP6ConfigMethod "getDnsPriority" o = NM.SettingIPConfig.SettingIPConfigGetDnsPriorityMethodInfo
ResolveSettingIP6ConfigMethod "getDnsSearch" o = NM.SettingIPConfig.SettingIPConfigGetDnsSearchMethodInfo
ResolveSettingIP6ConfigMethod "getGateway" o = NM.SettingIPConfig.SettingIPConfigGetGatewayMethodInfo
ResolveSettingIP6ConfigMethod "getIgnoreAutoDns" o = NM.SettingIPConfig.SettingIPConfigGetIgnoreAutoDnsMethodInfo
ResolveSettingIP6ConfigMethod "getIgnoreAutoRoutes" o = NM.SettingIPConfig.SettingIPConfigGetIgnoreAutoRoutesMethodInfo
ResolveSettingIP6ConfigMethod "getIp6Privacy" o = SettingIP6ConfigGetIp6PrivacyMethodInfo
ResolveSettingIP6ConfigMethod "getMayFail" o = NM.SettingIPConfig.SettingIPConfigGetMayFailMethodInfo
ResolveSettingIP6ConfigMethod "getMethod" o = NM.SettingIPConfig.SettingIPConfigGetMethodMethodInfo
ResolveSettingIP6ConfigMethod "getMtu" o = SettingIP6ConfigGetMtuMethodInfo
ResolveSettingIP6ConfigMethod "getName" o = NM.Setting.SettingGetNameMethodInfo
ResolveSettingIP6ConfigMethod "getNeverDefault" o = NM.SettingIPConfig.SettingIPConfigGetNeverDefaultMethodInfo
ResolveSettingIP6ConfigMethod "getNumAddresses" o = NM.SettingIPConfig.SettingIPConfigGetNumAddressesMethodInfo
ResolveSettingIP6ConfigMethod "getNumDns" o = NM.SettingIPConfig.SettingIPConfigGetNumDnsMethodInfo
ResolveSettingIP6ConfigMethod "getNumDnsOptions" o = NM.SettingIPConfig.SettingIPConfigGetNumDnsOptionsMethodInfo
ResolveSettingIP6ConfigMethod "getNumDnsSearches" o = NM.SettingIPConfig.SettingIPConfigGetNumDnsSearchesMethodInfo
ResolveSettingIP6ConfigMethod "getNumRoutes" o = NM.SettingIPConfig.SettingIPConfigGetNumRoutesMethodInfo
ResolveSettingIP6ConfigMethod "getNumRoutingRules" o = NM.SettingIPConfig.SettingIPConfigGetNumRoutingRulesMethodInfo
ResolveSettingIP6ConfigMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveSettingIP6ConfigMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveSettingIP6ConfigMethod "getRaTimeout" o = SettingIP6ConfigGetRaTimeoutMethodInfo
ResolveSettingIP6ConfigMethod "getReplaceLocalRule" o = NM.SettingIPConfig.SettingIPConfigGetReplaceLocalRuleMethodInfo
ResolveSettingIP6ConfigMethod "getRequiredTimeout" o = NM.SettingIPConfig.SettingIPConfigGetRequiredTimeoutMethodInfo
ResolveSettingIP6ConfigMethod "getRoute" o = NM.SettingIPConfig.SettingIPConfigGetRouteMethodInfo
ResolveSettingIP6ConfigMethod "getRouteMetric" o = NM.SettingIPConfig.SettingIPConfigGetRouteMetricMethodInfo
ResolveSettingIP6ConfigMethod "getRouteTable" o = NM.SettingIPConfig.SettingIPConfigGetRouteTableMethodInfo
ResolveSettingIP6ConfigMethod "getRoutingRule" o = NM.SettingIPConfig.SettingIPConfigGetRoutingRuleMethodInfo
ResolveSettingIP6ConfigMethod "getSecretFlags" o = NM.Setting.SettingGetSecretFlagsMethodInfo
ResolveSettingIP6ConfigMethod "getTempPreferredLifetime" o = SettingIP6ConfigGetTempPreferredLifetimeMethodInfo
ResolveSettingIP6ConfigMethod "getTempValidLifetime" o = SettingIP6ConfigGetTempValidLifetimeMethodInfo
ResolveSettingIP6ConfigMethod "getToken" o = SettingIP6ConfigGetTokenMethodInfo
ResolveSettingIP6ConfigMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveSettingIP6ConfigMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveSettingIP6ConfigMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveSettingIP6ConfigMethod "setSecretFlags" o = NM.Setting.SettingSetSecretFlagsMethodInfo
ResolveSettingIP6ConfigMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveSettingIP6ConfigMethod t SettingIP6Config, O.OverloadedMethod info SettingIP6Config p) => OL.IsLabel t (SettingIP6Config -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod @info
#else
fromLabel _ = O.overloadedMethod @info
#endif
#if MIN_VERSION_base(4,13,0)
instance (info ~ ResolveSettingIP6ConfigMethod t SettingIP6Config, O.OverloadedMethod info SettingIP6Config p, R.HasField t SettingIP6Config p) => R.HasField t SettingIP6Config p where
getField = O.overloadedMethod @info
#endif
instance (info ~ ResolveSettingIP6ConfigMethod t SettingIP6Config, O.OverloadedMethodInfo info SettingIP6Config) => OL.IsLabel t (O.MethodProxy info SettingIP6Config) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.MethodProxy
#else
fromLabel _ = O.MethodProxy
#endif
#endif
getSettingIP6ConfigAddrGenMode :: (MonadIO m, IsSettingIP6Config o) => o -> m Int32
getSettingIP6ConfigAddrGenMode :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> m Int32
getSettingIP6ConfigAddrGenMode o
obj = IO Int32 -> m Int32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Int32
forall a. GObject a => a -> String -> IO Int32
B.Properties.getObjectPropertyInt32 o
obj String
"addr-gen-mode"
setSettingIP6ConfigAddrGenMode :: (MonadIO m, IsSettingIP6Config o) => o -> Int32 -> m ()
setSettingIP6ConfigAddrGenMode :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> Int32 -> m ()
setSettingIP6ConfigAddrGenMode o
obj Int32
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Int32 -> IO ()
forall a. GObject a => a -> String -> Int32 -> IO ()
B.Properties.setObjectPropertyInt32 o
obj String
"addr-gen-mode" Int32
val
constructSettingIP6ConfigAddrGenMode :: (IsSettingIP6Config o, MIO.MonadIO m) => Int32 -> m (GValueConstruct o)
constructSettingIP6ConfigAddrGenMode :: forall o (m :: * -> *).
(IsSettingIP6Config o, MonadIO m) =>
Int32 -> m (GValueConstruct o)
constructSettingIP6ConfigAddrGenMode Int32
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Int32 -> IO (GValueConstruct o)
forall o. String -> Int32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyInt32 String
"addr-gen-mode" Int32
val
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigAddrGenModePropertyInfo
instance AttrInfo SettingIP6ConfigAddrGenModePropertyInfo where
type AttrAllowedOps SettingIP6ConfigAddrGenModePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint SettingIP6ConfigAddrGenModePropertyInfo = IsSettingIP6Config
type AttrSetTypeConstraint SettingIP6ConfigAddrGenModePropertyInfo = (~) Int32
type AttrTransferTypeConstraint SettingIP6ConfigAddrGenModePropertyInfo = (~) Int32
type AttrTransferType SettingIP6ConfigAddrGenModePropertyInfo = Int32
type AttrGetType SettingIP6ConfigAddrGenModePropertyInfo = Int32
type AttrLabel SettingIP6ConfigAddrGenModePropertyInfo = "addr-gen-mode"
type AttrOrigin SettingIP6ConfigAddrGenModePropertyInfo = SettingIP6Config
attrGet = getSettingIP6ConfigAddrGenMode
attrSet = setSettingIP6ConfigAddrGenMode
attrTransfer _ v = do
return v
attrConstruct = constructSettingIP6ConfigAddrGenMode
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.addrGenMode"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#g:attr:addrGenMode"
})
#endif
getSettingIP6ConfigDhcpDuid :: (MonadIO m, IsSettingIP6Config o) => o -> m T.Text
getSettingIP6ConfigDhcpDuid :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> m Text
getSettingIP6ConfigDhcpDuid o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getSettingIP6ConfigDhcpDuid" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"dhcp-duid"
setSettingIP6ConfigDhcpDuid :: (MonadIO m, IsSettingIP6Config o) => o -> T.Text -> m ()
setSettingIP6ConfigDhcpDuid :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> Text -> m ()
setSettingIP6ConfigDhcpDuid o
obj Text
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"dhcp-duid" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)
constructSettingIP6ConfigDhcpDuid :: (IsSettingIP6Config o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructSettingIP6ConfigDhcpDuid :: forall o (m :: * -> *).
(IsSettingIP6Config o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructSettingIP6ConfigDhcpDuid Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"dhcp-duid" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)
clearSettingIP6ConfigDhcpDuid :: (MonadIO m, IsSettingIP6Config o) => o -> m ()
clearSettingIP6ConfigDhcpDuid :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> m ()
clearSettingIP6ConfigDhcpDuid o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"dhcp-duid" (Maybe Text
forall a. Maybe a
Nothing :: Maybe T.Text)
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigDhcpDuidPropertyInfo
instance AttrInfo SettingIP6ConfigDhcpDuidPropertyInfo where
type AttrAllowedOps SettingIP6ConfigDhcpDuidPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint SettingIP6ConfigDhcpDuidPropertyInfo = IsSettingIP6Config
type AttrSetTypeConstraint SettingIP6ConfigDhcpDuidPropertyInfo = (~) T.Text
type AttrTransferTypeConstraint SettingIP6ConfigDhcpDuidPropertyInfo = (~) T.Text
type AttrTransferType SettingIP6ConfigDhcpDuidPropertyInfo = T.Text
type AttrGetType SettingIP6ConfigDhcpDuidPropertyInfo = T.Text
type AttrLabel SettingIP6ConfigDhcpDuidPropertyInfo = "dhcp-duid"
type AttrOrigin SettingIP6ConfigDhcpDuidPropertyInfo = SettingIP6Config
attrGet = getSettingIP6ConfigDhcpDuid
attrSet = setSettingIP6ConfigDhcpDuid
attrTransfer _ v = do
return v
attrConstruct = constructSettingIP6ConfigDhcpDuid
attrClear = clearSettingIP6ConfigDhcpDuid
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.dhcpDuid"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#g:attr:dhcpDuid"
})
#endif
getSettingIP6ConfigDhcpPdHint :: (MonadIO m, IsSettingIP6Config o) => o -> m T.Text
getSettingIP6ConfigDhcpPdHint :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> m Text
getSettingIP6ConfigDhcpPdHint o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getSettingIP6ConfigDhcpPdHint" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"dhcp-pd-hint"
setSettingIP6ConfigDhcpPdHint :: (MonadIO m, IsSettingIP6Config o) => o -> T.Text -> m ()
setSettingIP6ConfigDhcpPdHint :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> Text -> m ()
setSettingIP6ConfigDhcpPdHint o
obj Text
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"dhcp-pd-hint" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)
constructSettingIP6ConfigDhcpPdHint :: (IsSettingIP6Config o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructSettingIP6ConfigDhcpPdHint :: forall o (m :: * -> *).
(IsSettingIP6Config o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructSettingIP6ConfigDhcpPdHint Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"dhcp-pd-hint" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)
clearSettingIP6ConfigDhcpPdHint :: (MonadIO m, IsSettingIP6Config o) => o -> m ()
clearSettingIP6ConfigDhcpPdHint :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> m ()
clearSettingIP6ConfigDhcpPdHint o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"dhcp-pd-hint" (Maybe Text
forall a. Maybe a
Nothing :: Maybe T.Text)
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigDhcpPdHintPropertyInfo
instance AttrInfo SettingIP6ConfigDhcpPdHintPropertyInfo where
type AttrAllowedOps SettingIP6ConfigDhcpPdHintPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint SettingIP6ConfigDhcpPdHintPropertyInfo = IsSettingIP6Config
type AttrSetTypeConstraint SettingIP6ConfigDhcpPdHintPropertyInfo = (~) T.Text
type AttrTransferTypeConstraint SettingIP6ConfigDhcpPdHintPropertyInfo = (~) T.Text
type AttrTransferType SettingIP6ConfigDhcpPdHintPropertyInfo = T.Text
type AttrGetType SettingIP6ConfigDhcpPdHintPropertyInfo = T.Text
type AttrLabel SettingIP6ConfigDhcpPdHintPropertyInfo = "dhcp-pd-hint"
type AttrOrigin SettingIP6ConfigDhcpPdHintPropertyInfo = SettingIP6Config
attrGet = getSettingIP6ConfigDhcpPdHint
attrSet = setSettingIP6ConfigDhcpPdHint
attrTransfer _ v = do
return v
attrConstruct = constructSettingIP6ConfigDhcpPdHint
attrClear = clearSettingIP6ConfigDhcpPdHint
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.dhcpPdHint"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#g:attr:dhcpPdHint"
})
#endif
getSettingIP6ConfigIp6Privacy :: (MonadIO m, IsSettingIP6Config o) => o -> m NM.Enums.SettingIP6ConfigPrivacy
getSettingIP6ConfigIp6Privacy :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> m SettingIP6ConfigPrivacy
getSettingIP6ConfigIp6Privacy o
obj = IO SettingIP6ConfigPrivacy -> m SettingIP6ConfigPrivacy
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO SettingIP6ConfigPrivacy -> m SettingIP6ConfigPrivacy)
-> IO SettingIP6ConfigPrivacy -> m SettingIP6ConfigPrivacy
forall a b. (a -> b) -> a -> b
$ o -> String -> IO SettingIP6ConfigPrivacy
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"ip6-privacy"
setSettingIP6ConfigIp6Privacy :: (MonadIO m, IsSettingIP6Config o) => o -> NM.Enums.SettingIP6ConfigPrivacy -> m ()
setSettingIP6ConfigIp6Privacy :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> SettingIP6ConfigPrivacy -> m ()
setSettingIP6ConfigIp6Privacy o
obj SettingIP6ConfigPrivacy
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> SettingIP6ConfigPrivacy -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"ip6-privacy" SettingIP6ConfigPrivacy
val
constructSettingIP6ConfigIp6Privacy :: (IsSettingIP6Config o, MIO.MonadIO m) => NM.Enums.SettingIP6ConfigPrivacy -> m (GValueConstruct o)
constructSettingIP6ConfigIp6Privacy :: forall o (m :: * -> *).
(IsSettingIP6Config o, MonadIO m) =>
SettingIP6ConfigPrivacy -> m (GValueConstruct o)
constructSettingIP6ConfigIp6Privacy SettingIP6ConfigPrivacy
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> SettingIP6ConfigPrivacy -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"ip6-privacy" SettingIP6ConfigPrivacy
val
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigIp6PrivacyPropertyInfo
instance AttrInfo SettingIP6ConfigIp6PrivacyPropertyInfo where
type AttrAllowedOps SettingIP6ConfigIp6PrivacyPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint SettingIP6ConfigIp6PrivacyPropertyInfo = IsSettingIP6Config
type AttrSetTypeConstraint SettingIP6ConfigIp6PrivacyPropertyInfo = (~) NM.Enums.SettingIP6ConfigPrivacy
type AttrTransferTypeConstraint SettingIP6ConfigIp6PrivacyPropertyInfo = (~) NM.Enums.SettingIP6ConfigPrivacy
type AttrTransferType SettingIP6ConfigIp6PrivacyPropertyInfo = NM.Enums.SettingIP6ConfigPrivacy
type AttrGetType SettingIP6ConfigIp6PrivacyPropertyInfo = NM.Enums.SettingIP6ConfigPrivacy
type AttrLabel SettingIP6ConfigIp6PrivacyPropertyInfo = "ip6-privacy"
type AttrOrigin SettingIP6ConfigIp6PrivacyPropertyInfo = SettingIP6Config
attrGet = getSettingIP6ConfigIp6Privacy
attrSet = setSettingIP6ConfigIp6Privacy
attrTransfer _ v = do
return v
attrConstruct = constructSettingIP6ConfigIp6Privacy
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.ip6Privacy"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#g:attr:ip6Privacy"
})
#endif
getSettingIP6ConfigMtu :: (MonadIO m, IsSettingIP6Config o) => o -> m Word32
getSettingIP6ConfigMtu :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> m Word32
getSettingIP6ConfigMtu o
obj = IO Word32 -> m Word32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Word32 -> m Word32) -> IO Word32 -> m Word32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Word32
forall a. GObject a => a -> String -> IO Word32
B.Properties.getObjectPropertyUInt32 o
obj String
"mtu"
setSettingIP6ConfigMtu :: (MonadIO m, IsSettingIP6Config o) => o -> Word32 -> m ()
setSettingIP6ConfigMtu :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> Word32 -> m ()
setSettingIP6ConfigMtu o
obj Word32
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Word32 -> IO ()
forall a. GObject a => a -> String -> Word32 -> IO ()
B.Properties.setObjectPropertyUInt32 o
obj String
"mtu" Word32
val
constructSettingIP6ConfigMtu :: (IsSettingIP6Config o, MIO.MonadIO m) => Word32 -> m (GValueConstruct o)
constructSettingIP6ConfigMtu :: forall o (m :: * -> *).
(IsSettingIP6Config o, MonadIO m) =>
Word32 -> m (GValueConstruct o)
constructSettingIP6ConfigMtu Word32
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Word32 -> IO (GValueConstruct o)
forall o. String -> Word32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyUInt32 String
"mtu" Word32
val
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigMtuPropertyInfo
instance AttrInfo SettingIP6ConfigMtuPropertyInfo where
type AttrAllowedOps SettingIP6ConfigMtuPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint SettingIP6ConfigMtuPropertyInfo = IsSettingIP6Config
type AttrSetTypeConstraint SettingIP6ConfigMtuPropertyInfo = (~) Word32
type AttrTransferTypeConstraint SettingIP6ConfigMtuPropertyInfo = (~) Word32
type AttrTransferType SettingIP6ConfigMtuPropertyInfo = Word32
type AttrGetType SettingIP6ConfigMtuPropertyInfo = Word32
type AttrLabel SettingIP6ConfigMtuPropertyInfo = "mtu"
type AttrOrigin SettingIP6ConfigMtuPropertyInfo = SettingIP6Config
attrGet = getSettingIP6ConfigMtu
attrSet = setSettingIP6ConfigMtu
attrTransfer _ v = do
return v
attrConstruct = constructSettingIP6ConfigMtu
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.mtu"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#g:attr:mtu"
})
#endif
getSettingIP6ConfigRaTimeout :: (MonadIO m, IsSettingIP6Config o) => o -> m Int32
getSettingIP6ConfigRaTimeout :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> m Int32
getSettingIP6ConfigRaTimeout o
obj = IO Int32 -> m Int32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Int32
forall a. GObject a => a -> String -> IO Int32
B.Properties.getObjectPropertyInt32 o
obj String
"ra-timeout"
setSettingIP6ConfigRaTimeout :: (MonadIO m, IsSettingIP6Config o) => o -> Int32 -> m ()
setSettingIP6ConfigRaTimeout :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> Int32 -> m ()
setSettingIP6ConfigRaTimeout o
obj Int32
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Int32 -> IO ()
forall a. GObject a => a -> String -> Int32 -> IO ()
B.Properties.setObjectPropertyInt32 o
obj String
"ra-timeout" Int32
val
constructSettingIP6ConfigRaTimeout :: (IsSettingIP6Config o, MIO.MonadIO m) => Int32 -> m (GValueConstruct o)
constructSettingIP6ConfigRaTimeout :: forall o (m :: * -> *).
(IsSettingIP6Config o, MonadIO m) =>
Int32 -> m (GValueConstruct o)
constructSettingIP6ConfigRaTimeout Int32
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Int32 -> IO (GValueConstruct o)
forall o. String -> Int32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyInt32 String
"ra-timeout" Int32
val
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigRaTimeoutPropertyInfo
instance AttrInfo SettingIP6ConfigRaTimeoutPropertyInfo where
type AttrAllowedOps SettingIP6ConfigRaTimeoutPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint SettingIP6ConfigRaTimeoutPropertyInfo = IsSettingIP6Config
type AttrSetTypeConstraint SettingIP6ConfigRaTimeoutPropertyInfo = (~) Int32
type AttrTransferTypeConstraint SettingIP6ConfigRaTimeoutPropertyInfo = (~) Int32
type AttrTransferType SettingIP6ConfigRaTimeoutPropertyInfo = Int32
type AttrGetType SettingIP6ConfigRaTimeoutPropertyInfo = Int32
type AttrLabel SettingIP6ConfigRaTimeoutPropertyInfo = "ra-timeout"
type AttrOrigin SettingIP6ConfigRaTimeoutPropertyInfo = SettingIP6Config
attrGet = getSettingIP6ConfigRaTimeout
attrSet = setSettingIP6ConfigRaTimeout
attrTransfer _ v = do
return v
attrConstruct = constructSettingIP6ConfigRaTimeout
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.raTimeout"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#g:attr:raTimeout"
})
#endif
getSettingIP6ConfigTempPreferredLifetime :: (MonadIO m, IsSettingIP6Config o) => o -> m Int32
getSettingIP6ConfigTempPreferredLifetime :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> m Int32
getSettingIP6ConfigTempPreferredLifetime o
obj = IO Int32 -> m Int32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Int32
forall a. GObject a => a -> String -> IO Int32
B.Properties.getObjectPropertyInt32 o
obj String
"temp-preferred-lifetime"
setSettingIP6ConfigTempPreferredLifetime :: (MonadIO m, IsSettingIP6Config o) => o -> Int32 -> m ()
setSettingIP6ConfigTempPreferredLifetime :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> Int32 -> m ()
setSettingIP6ConfigTempPreferredLifetime o
obj Int32
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Int32 -> IO ()
forall a. GObject a => a -> String -> Int32 -> IO ()
B.Properties.setObjectPropertyInt32 o
obj String
"temp-preferred-lifetime" Int32
val
constructSettingIP6ConfigTempPreferredLifetime :: (IsSettingIP6Config o, MIO.MonadIO m) => Int32 -> m (GValueConstruct o)
constructSettingIP6ConfigTempPreferredLifetime :: forall o (m :: * -> *).
(IsSettingIP6Config o, MonadIO m) =>
Int32 -> m (GValueConstruct o)
constructSettingIP6ConfigTempPreferredLifetime Int32
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Int32 -> IO (GValueConstruct o)
forall o. String -> Int32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyInt32 String
"temp-preferred-lifetime" Int32
val
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigTempPreferredLifetimePropertyInfo
instance AttrInfo SettingIP6ConfigTempPreferredLifetimePropertyInfo where
type AttrAllowedOps SettingIP6ConfigTempPreferredLifetimePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint SettingIP6ConfigTempPreferredLifetimePropertyInfo = IsSettingIP6Config
type AttrSetTypeConstraint SettingIP6ConfigTempPreferredLifetimePropertyInfo = (~) Int32
type AttrTransferTypeConstraint SettingIP6ConfigTempPreferredLifetimePropertyInfo = (~) Int32
type AttrTransferType SettingIP6ConfigTempPreferredLifetimePropertyInfo = Int32
type AttrGetType SettingIP6ConfigTempPreferredLifetimePropertyInfo = Int32
type AttrLabel SettingIP6ConfigTempPreferredLifetimePropertyInfo = "temp-preferred-lifetime"
type AttrOrigin SettingIP6ConfigTempPreferredLifetimePropertyInfo = SettingIP6Config
attrGet = getSettingIP6ConfigTempPreferredLifetime
attrSet = setSettingIP6ConfigTempPreferredLifetime
attrTransfer _ v = do
return v
attrConstruct = constructSettingIP6ConfigTempPreferredLifetime
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.tempPreferredLifetime"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#g:attr:tempPreferredLifetime"
})
#endif
getSettingIP6ConfigTempValidLifetime :: (MonadIO m, IsSettingIP6Config o) => o -> m Int32
getSettingIP6ConfigTempValidLifetime :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> m Int32
getSettingIP6ConfigTempValidLifetime o
obj = IO Int32 -> m Int32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Int32
forall a. GObject a => a -> String -> IO Int32
B.Properties.getObjectPropertyInt32 o
obj String
"temp-valid-lifetime"
setSettingIP6ConfigTempValidLifetime :: (MonadIO m, IsSettingIP6Config o) => o -> Int32 -> m ()
setSettingIP6ConfigTempValidLifetime :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> Int32 -> m ()
setSettingIP6ConfigTempValidLifetime o
obj Int32
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Int32 -> IO ()
forall a. GObject a => a -> String -> Int32 -> IO ()
B.Properties.setObjectPropertyInt32 o
obj String
"temp-valid-lifetime" Int32
val
constructSettingIP6ConfigTempValidLifetime :: (IsSettingIP6Config o, MIO.MonadIO m) => Int32 -> m (GValueConstruct o)
constructSettingIP6ConfigTempValidLifetime :: forall o (m :: * -> *).
(IsSettingIP6Config o, MonadIO m) =>
Int32 -> m (GValueConstruct o)
constructSettingIP6ConfigTempValidLifetime Int32
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Int32 -> IO (GValueConstruct o)
forall o. String -> Int32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyInt32 String
"temp-valid-lifetime" Int32
val
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigTempValidLifetimePropertyInfo
instance AttrInfo SettingIP6ConfigTempValidLifetimePropertyInfo where
type AttrAllowedOps SettingIP6ConfigTempValidLifetimePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint SettingIP6ConfigTempValidLifetimePropertyInfo = IsSettingIP6Config
type AttrSetTypeConstraint SettingIP6ConfigTempValidLifetimePropertyInfo = (~) Int32
type AttrTransferTypeConstraint SettingIP6ConfigTempValidLifetimePropertyInfo = (~) Int32
type AttrTransferType SettingIP6ConfigTempValidLifetimePropertyInfo = Int32
type AttrGetType SettingIP6ConfigTempValidLifetimePropertyInfo = Int32
type AttrLabel SettingIP6ConfigTempValidLifetimePropertyInfo = "temp-valid-lifetime"
type AttrOrigin SettingIP6ConfigTempValidLifetimePropertyInfo = SettingIP6Config
attrGet = getSettingIP6ConfigTempValidLifetime
attrSet = setSettingIP6ConfigTempValidLifetime
attrTransfer _ v = do
return v
attrConstruct = constructSettingIP6ConfigTempValidLifetime
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.tempValidLifetime"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#g:attr:tempValidLifetime"
})
#endif
getSettingIP6ConfigToken :: (MonadIO m, IsSettingIP6Config o) => o -> m T.Text
getSettingIP6ConfigToken :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> m Text
getSettingIP6ConfigToken o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getSettingIP6ConfigToken" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"token"
setSettingIP6ConfigToken :: (MonadIO m, IsSettingIP6Config o) => o -> T.Text -> m ()
setSettingIP6ConfigToken :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> Text -> m ()
setSettingIP6ConfigToken o
obj Text
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"token" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)
constructSettingIP6ConfigToken :: (IsSettingIP6Config o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructSettingIP6ConfigToken :: forall o (m :: * -> *).
(IsSettingIP6Config o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructSettingIP6ConfigToken Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"token" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)
clearSettingIP6ConfigToken :: (MonadIO m, IsSettingIP6Config o) => o -> m ()
clearSettingIP6ConfigToken :: forall (m :: * -> *) o.
(MonadIO m, IsSettingIP6Config o) =>
o -> m ()
clearSettingIP6ConfigToken o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"token" (Maybe Text
forall a. Maybe a
Nothing :: Maybe T.Text)
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigTokenPropertyInfo
instance AttrInfo SettingIP6ConfigTokenPropertyInfo where
type AttrAllowedOps SettingIP6ConfigTokenPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint SettingIP6ConfigTokenPropertyInfo = IsSettingIP6Config
type AttrSetTypeConstraint SettingIP6ConfigTokenPropertyInfo = (~) T.Text
type AttrTransferTypeConstraint SettingIP6ConfigTokenPropertyInfo = (~) T.Text
type AttrTransferType SettingIP6ConfigTokenPropertyInfo = T.Text
type AttrGetType SettingIP6ConfigTokenPropertyInfo = T.Text
type AttrLabel SettingIP6ConfigTokenPropertyInfo = "token"
type AttrOrigin SettingIP6ConfigTokenPropertyInfo = SettingIP6Config
attrGet = getSettingIP6ConfigToken
attrSet = setSettingIP6ConfigToken
attrTransfer _ v = do
return v
attrConstruct = constructSettingIP6ConfigToken
attrClear = clearSettingIP6ConfigToken
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.token"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#g:attr:token"
})
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList SettingIP6Config
type instance O.AttributeList SettingIP6Config = SettingIP6ConfigAttributeList
type SettingIP6ConfigAttributeList = ('[ '("addrGenMode", SettingIP6ConfigAddrGenModePropertyInfo), '("addresses", NM.SettingIPConfig.SettingIPConfigAddressesPropertyInfo), '("autoRouteExtGw", NM.SettingIPConfig.SettingIPConfigAutoRouteExtGwPropertyInfo), '("dadTimeout", NM.SettingIPConfig.SettingIPConfigDadTimeoutPropertyInfo), '("dhcpDscp", NM.SettingIPConfig.SettingIPConfigDhcpDscpPropertyInfo), '("dhcpDuid", SettingIP6ConfigDhcpDuidPropertyInfo), '("dhcpHostname", NM.SettingIPConfig.SettingIPConfigDhcpHostnamePropertyInfo), '("dhcpHostnameFlags", NM.SettingIPConfig.SettingIPConfigDhcpHostnameFlagsPropertyInfo), '("dhcpIaid", NM.SettingIPConfig.SettingIPConfigDhcpIaidPropertyInfo), '("dhcpPdHint", SettingIP6ConfigDhcpPdHintPropertyInfo), '("dhcpRejectServers", NM.SettingIPConfig.SettingIPConfigDhcpRejectServersPropertyInfo), '("dhcpSendHostname", NM.SettingIPConfig.SettingIPConfigDhcpSendHostnamePropertyInfo), '("dhcpSendRelease", NM.SettingIPConfig.SettingIPConfigDhcpSendReleasePropertyInfo), '("dhcpTimeout", NM.SettingIPConfig.SettingIPConfigDhcpTimeoutPropertyInfo), '("dns", NM.SettingIPConfig.SettingIPConfigDnsPropertyInfo), '("dnsOptions", NM.SettingIPConfig.SettingIPConfigDnsOptionsPropertyInfo), '("dnsPriority", NM.SettingIPConfig.SettingIPConfigDnsPriorityPropertyInfo), '("dnsSearch", NM.SettingIPConfig.SettingIPConfigDnsSearchPropertyInfo), '("gateway", NM.SettingIPConfig.SettingIPConfigGatewayPropertyInfo), '("ignoreAutoDns", NM.SettingIPConfig.SettingIPConfigIgnoreAutoDnsPropertyInfo), '("ignoreAutoRoutes", NM.SettingIPConfig.SettingIPConfigIgnoreAutoRoutesPropertyInfo), '("ip6Privacy", SettingIP6ConfigIp6PrivacyPropertyInfo), '("mayFail", NM.SettingIPConfig.SettingIPConfigMayFailPropertyInfo), '("method", NM.SettingIPConfig.SettingIPConfigMethodPropertyInfo), '("mtu", SettingIP6ConfigMtuPropertyInfo), '("name", NM.Setting.SettingNamePropertyInfo), '("neverDefault", NM.SettingIPConfig.SettingIPConfigNeverDefaultPropertyInfo), '("raTimeout", SettingIP6ConfigRaTimeoutPropertyInfo), '("replaceLocalRule", NM.SettingIPConfig.SettingIPConfigReplaceLocalRulePropertyInfo), '("requiredTimeout", NM.SettingIPConfig.SettingIPConfigRequiredTimeoutPropertyInfo), '("routeMetric", NM.SettingIPConfig.SettingIPConfigRouteMetricPropertyInfo), '("routeTable", NM.SettingIPConfig.SettingIPConfigRouteTablePropertyInfo), '("routes", NM.SettingIPConfig.SettingIPConfigRoutesPropertyInfo), '("tempPreferredLifetime", SettingIP6ConfigTempPreferredLifetimePropertyInfo), '("tempValidLifetime", SettingIP6ConfigTempValidLifetimePropertyInfo), '("token", SettingIP6ConfigTokenPropertyInfo)] :: [(Symbol, DK.Type)])
#endif
#if defined(ENABLE_OVERLOADING)
settingIP6ConfigAddrGenMode :: AttrLabelProxy "addrGenMode"
settingIP6ConfigAddrGenMode = AttrLabelProxy
settingIP6ConfigDhcpDuid :: AttrLabelProxy "dhcpDuid"
settingIP6ConfigDhcpDuid = AttrLabelProxy
settingIP6ConfigDhcpPdHint :: AttrLabelProxy "dhcpPdHint"
settingIP6ConfigDhcpPdHint = AttrLabelProxy
settingIP6ConfigIp6Privacy :: AttrLabelProxy "ip6Privacy"
settingIP6ConfigIp6Privacy = AttrLabelProxy
settingIP6ConfigMtu :: AttrLabelProxy "mtu"
settingIP6ConfigMtu = AttrLabelProxy
settingIP6ConfigRaTimeout :: AttrLabelProxy "raTimeout"
settingIP6ConfigRaTimeout = AttrLabelProxy
settingIP6ConfigTempPreferredLifetime :: AttrLabelProxy "tempPreferredLifetime"
settingIP6ConfigTempPreferredLifetime = AttrLabelProxy
settingIP6ConfigTempValidLifetime :: AttrLabelProxy "tempValidLifetime"
settingIP6ConfigTempValidLifetime = AttrLabelProxy
settingIP6ConfigToken :: AttrLabelProxy "token"
settingIP6ConfigToken = AttrLabelProxy
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList SettingIP6Config = SettingIP6ConfigSignalList
type SettingIP6ConfigSignalList = ('[ '("notify", GObject.Object.ObjectNotifySignalInfo)] :: [(Symbol, DK.Type)])
#endif
foreign import ccall "nm_setting_ip6_config_new" nm_setting_ip6_config_new ::
IO (Ptr SettingIP6Config)
settingIP6ConfigNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m SettingIP6Config
settingIP6ConfigNew :: forall (m :: * -> *).
(HasCallStack, MonadIO m) =>
m SettingIP6Config
settingIP6ConfigNew = IO SettingIP6Config -> m SettingIP6Config
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SettingIP6Config -> m SettingIP6Config)
-> IO SettingIP6Config -> m SettingIP6Config
forall a b. (a -> b) -> a -> b
$ do
Ptr SettingIP6Config
result <- IO (Ptr SettingIP6Config)
nm_setting_ip6_config_new
Text -> Ptr SettingIP6Config -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"settingIP6ConfigNew" Ptr SettingIP6Config
result
SettingIP6Config
result' <- ((ManagedPtr SettingIP6Config -> SettingIP6Config)
-> Ptr SettingIP6Config -> IO SettingIP6Config
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
wrapObject ManagedPtr SettingIP6Config -> SettingIP6Config
SettingIP6Config) Ptr SettingIP6Config
result
SettingIP6Config -> IO SettingIP6Config
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return SettingIP6Config
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "nm_setting_ip6_config_get_addr_gen_mode" nm_setting_ip6_config_get_addr_gen_mode ::
Ptr SettingIP6Config ->
IO CUInt
settingIP6ConfigGetAddrGenMode ::
(B.CallStack.HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a
-> m NM.Enums.SettingIP6ConfigAddrGenMode
settingIP6ConfigGetAddrGenMode :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a -> m SettingIP6ConfigAddrGenMode
settingIP6ConfigGetAddrGenMode a
setting = IO SettingIP6ConfigAddrGenMode -> m SettingIP6ConfigAddrGenMode
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SettingIP6ConfigAddrGenMode -> m SettingIP6ConfigAddrGenMode)
-> IO SettingIP6ConfigAddrGenMode -> m SettingIP6ConfigAddrGenMode
forall a b. (a -> b) -> a -> b
$ do
Ptr SettingIP6Config
setting' <- a -> IO (Ptr SettingIP6Config)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
CUInt
result <- Ptr SettingIP6Config -> IO CUInt
nm_setting_ip6_config_get_addr_gen_mode Ptr SettingIP6Config
setting'
let result' :: SettingIP6ConfigAddrGenMode
result' = (Int -> SettingIP6ConfigAddrGenMode
forall a. Enum a => Int -> a
toEnum (Int -> SettingIP6ConfigAddrGenMode)
-> (CUInt -> Int) -> CUInt -> SettingIP6ConfigAddrGenMode
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
SettingIP6ConfigAddrGenMode -> IO SettingIP6ConfigAddrGenMode
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return SettingIP6ConfigAddrGenMode
result'
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigGetAddrGenModeMethodInfo
instance (signature ~ (m NM.Enums.SettingIP6ConfigAddrGenMode), MonadIO m, IsSettingIP6Config a) => O.OverloadedMethod SettingIP6ConfigGetAddrGenModeMethodInfo a signature where
overloadedMethod = settingIP6ConfigGetAddrGenMode
instance O.OverloadedMethodInfo SettingIP6ConfigGetAddrGenModeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.settingIP6ConfigGetAddrGenMode",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#v:settingIP6ConfigGetAddrGenMode"
})
#endif
foreign import ccall "nm_setting_ip6_config_get_dhcp_duid" nm_setting_ip6_config_get_dhcp_duid ::
Ptr SettingIP6Config ->
IO CString
settingIP6ConfigGetDhcpDuid ::
(B.CallStack.HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a
-> m T.Text
settingIP6ConfigGetDhcpDuid :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a -> m Text
settingIP6ConfigGetDhcpDuid a
setting = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
Ptr SettingIP6Config
setting' <- a -> IO (Ptr SettingIP6Config)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
CString
result <- Ptr SettingIP6Config -> IO CString
nm_setting_ip6_config_get_dhcp_duid Ptr SettingIP6Config
setting'
Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"settingIP6ConfigGetDhcpDuid" CString
result
Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigGetDhcpDuidMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsSettingIP6Config a) => O.OverloadedMethod SettingIP6ConfigGetDhcpDuidMethodInfo a signature where
overloadedMethod = settingIP6ConfigGetDhcpDuid
instance O.OverloadedMethodInfo SettingIP6ConfigGetDhcpDuidMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.settingIP6ConfigGetDhcpDuid",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#v:settingIP6ConfigGetDhcpDuid"
})
#endif
foreign import ccall "nm_setting_ip6_config_get_dhcp_pd_hint" nm_setting_ip6_config_get_dhcp_pd_hint ::
Ptr SettingIP6Config ->
IO CString
settingIP6ConfigGetDhcpPdHint ::
(B.CallStack.HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a
-> m T.Text
settingIP6ConfigGetDhcpPdHint :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a -> m Text
settingIP6ConfigGetDhcpPdHint a
setting = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
Ptr SettingIP6Config
setting' <- a -> IO (Ptr SettingIP6Config)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
CString
result <- Ptr SettingIP6Config -> IO CString
nm_setting_ip6_config_get_dhcp_pd_hint Ptr SettingIP6Config
setting'
Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"settingIP6ConfigGetDhcpPdHint" CString
result
Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigGetDhcpPdHintMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsSettingIP6Config a) => O.OverloadedMethod SettingIP6ConfigGetDhcpPdHintMethodInfo a signature where
overloadedMethod = settingIP6ConfigGetDhcpPdHint
instance O.OverloadedMethodInfo SettingIP6ConfigGetDhcpPdHintMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.settingIP6ConfigGetDhcpPdHint",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#v:settingIP6ConfigGetDhcpPdHint"
})
#endif
foreign import ccall "nm_setting_ip6_config_get_ip6_privacy" nm_setting_ip6_config_get_ip6_privacy ::
Ptr SettingIP6Config ->
IO CInt
settingIP6ConfigGetIp6Privacy ::
(B.CallStack.HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a
-> m NM.Enums.SettingIP6ConfigPrivacy
settingIP6ConfigGetIp6Privacy :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a -> m SettingIP6ConfigPrivacy
settingIP6ConfigGetIp6Privacy a
setting = IO SettingIP6ConfigPrivacy -> m SettingIP6ConfigPrivacy
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SettingIP6ConfigPrivacy -> m SettingIP6ConfigPrivacy)
-> IO SettingIP6ConfigPrivacy -> m SettingIP6ConfigPrivacy
forall a b. (a -> b) -> a -> b
$ do
Ptr SettingIP6Config
setting' <- a -> IO (Ptr SettingIP6Config)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
CInt
result <- Ptr SettingIP6Config -> IO CInt
nm_setting_ip6_config_get_ip6_privacy Ptr SettingIP6Config
setting'
let result' :: SettingIP6ConfigPrivacy
result' = (Int -> SettingIP6ConfigPrivacy
forall a. Enum a => Int -> a
toEnum (Int -> SettingIP6ConfigPrivacy)
-> (CInt -> Int) -> CInt -> SettingIP6ConfigPrivacy
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
SettingIP6ConfigPrivacy -> IO SettingIP6ConfigPrivacy
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return SettingIP6ConfigPrivacy
result'
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigGetIp6PrivacyMethodInfo
instance (signature ~ (m NM.Enums.SettingIP6ConfigPrivacy), MonadIO m, IsSettingIP6Config a) => O.OverloadedMethod SettingIP6ConfigGetIp6PrivacyMethodInfo a signature where
overloadedMethod = settingIP6ConfigGetIp6Privacy
instance O.OverloadedMethodInfo SettingIP6ConfigGetIp6PrivacyMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.settingIP6ConfigGetIp6Privacy",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#v:settingIP6ConfigGetIp6Privacy"
})
#endif
foreign import ccall "nm_setting_ip6_config_get_mtu" nm_setting_ip6_config_get_mtu ::
Ptr SettingIP6Config ->
IO Word32
settingIP6ConfigGetMtu ::
(B.CallStack.HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a
-> m Word32
settingIP6ConfigGetMtu :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a -> m Word32
settingIP6ConfigGetMtu a
setting = IO Word32 -> m Word32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Word32 -> m Word32) -> IO Word32 -> m Word32
forall a b. (a -> b) -> a -> b
$ do
Ptr SettingIP6Config
setting' <- a -> IO (Ptr SettingIP6Config)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
Word32
result <- Ptr SettingIP6Config -> IO Word32
nm_setting_ip6_config_get_mtu Ptr SettingIP6Config
setting'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
Word32 -> IO Word32
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Word32
result
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigGetMtuMethodInfo
instance (signature ~ (m Word32), MonadIO m, IsSettingIP6Config a) => O.OverloadedMethod SettingIP6ConfigGetMtuMethodInfo a signature where
overloadedMethod = settingIP6ConfigGetMtu
instance O.OverloadedMethodInfo SettingIP6ConfigGetMtuMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.settingIP6ConfigGetMtu",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#v:settingIP6ConfigGetMtu"
})
#endif
foreign import ccall "nm_setting_ip6_config_get_ra_timeout" nm_setting_ip6_config_get_ra_timeout ::
Ptr SettingIP6Config ->
IO Int32
settingIP6ConfigGetRaTimeout ::
(B.CallStack.HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a
-> m Int32
settingIP6ConfigGetRaTimeout :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a -> m Int32
settingIP6ConfigGetRaTimeout a
setting = IO Int32 -> m Int32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ do
Ptr SettingIP6Config
setting' <- a -> IO (Ptr SettingIP6Config)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
Int32
result <- Ptr SettingIP6Config -> IO Int32
nm_setting_ip6_config_get_ra_timeout Ptr SettingIP6Config
setting'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
Int32 -> IO Int32
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Int32
result
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigGetRaTimeoutMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsSettingIP6Config a) => O.OverloadedMethod SettingIP6ConfigGetRaTimeoutMethodInfo a signature where
overloadedMethod = settingIP6ConfigGetRaTimeout
instance O.OverloadedMethodInfo SettingIP6ConfigGetRaTimeoutMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.settingIP6ConfigGetRaTimeout",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#v:settingIP6ConfigGetRaTimeout"
})
#endif
foreign import ccall "nm_setting_ip6_config_get_temp_preferred_lifetime" nm_setting_ip6_config_get_temp_preferred_lifetime ::
Ptr SettingIP6Config ->
IO Int32
settingIP6ConfigGetTempPreferredLifetime ::
(B.CallStack.HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a
-> m Int32
settingIP6ConfigGetTempPreferredLifetime :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a -> m Int32
settingIP6ConfigGetTempPreferredLifetime a
setting = IO Int32 -> m Int32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ do
Ptr SettingIP6Config
setting' <- a -> IO (Ptr SettingIP6Config)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
Int32
result <- Ptr SettingIP6Config -> IO Int32
nm_setting_ip6_config_get_temp_preferred_lifetime Ptr SettingIP6Config
setting'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
Int32 -> IO Int32
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Int32
result
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigGetTempPreferredLifetimeMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsSettingIP6Config a) => O.OverloadedMethod SettingIP6ConfigGetTempPreferredLifetimeMethodInfo a signature where
overloadedMethod = settingIP6ConfigGetTempPreferredLifetime
instance O.OverloadedMethodInfo SettingIP6ConfigGetTempPreferredLifetimeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.settingIP6ConfigGetTempPreferredLifetime",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#v:settingIP6ConfigGetTempPreferredLifetime"
})
#endif
foreign import ccall "nm_setting_ip6_config_get_temp_valid_lifetime" nm_setting_ip6_config_get_temp_valid_lifetime ::
Ptr SettingIP6Config ->
IO Int32
settingIP6ConfigGetTempValidLifetime ::
(B.CallStack.HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a
-> m Int32
settingIP6ConfigGetTempValidLifetime :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a -> m Int32
settingIP6ConfigGetTempValidLifetime a
setting = IO Int32 -> m Int32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ do
Ptr SettingIP6Config
setting' <- a -> IO (Ptr SettingIP6Config)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
Int32
result <- Ptr SettingIP6Config -> IO Int32
nm_setting_ip6_config_get_temp_valid_lifetime Ptr SettingIP6Config
setting'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
Int32 -> IO Int32
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Int32
result
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigGetTempValidLifetimeMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsSettingIP6Config a) => O.OverloadedMethod SettingIP6ConfigGetTempValidLifetimeMethodInfo a signature where
overloadedMethod = settingIP6ConfigGetTempValidLifetime
instance O.OverloadedMethodInfo SettingIP6ConfigGetTempValidLifetimeMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.settingIP6ConfigGetTempValidLifetime",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#v:settingIP6ConfigGetTempValidLifetime"
})
#endif
foreign import ccall "nm_setting_ip6_config_get_token" nm_setting_ip6_config_get_token ::
Ptr SettingIP6Config ->
IO CString
settingIP6ConfigGetToken ::
(B.CallStack.HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a
-> m T.Text
settingIP6ConfigGetToken :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsSettingIP6Config a) =>
a -> m Text
settingIP6ConfigGetToken a
setting = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
Ptr SettingIP6Config
setting' <- a -> IO (Ptr SettingIP6Config)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
setting
CString
result <- Ptr SettingIP6Config -> IO CString
nm_setting_ip6_config_get_token Ptr SettingIP6Config
setting'
Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"settingIP6ConfigGetToken" CString
result
Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
setting
Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'
#if defined(ENABLE_OVERLOADING)
data SettingIP6ConfigGetTokenMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsSettingIP6Config a) => O.OverloadedMethod SettingIP6ConfigGetTokenMethodInfo a signature where
overloadedMethod = settingIP6ConfigGetToken
instance O.OverloadedMethodInfo SettingIP6ConfigGetTokenMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.NM.Objects.SettingIP6Config.settingIP6ConfigGetToken",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-nm-1.0.1/docs/GI-NM-Objects-SettingIP6Config.html#v:settingIP6ConfigGetToken"
})
#endif